/* Main CSS Here */

@import url(
"https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
:root {
  --background-color1: #fafaff;
  --background-color2: #ffffff;
  --background-color3: #ededed;
  --background-color4: #cad7fda4;
  --primary-color: #2a9866;
  --secondary-color:#2a9866;
  --Border-color: #2a9866;
  --one-use-color: #2a9866;
  --two-use-color: #2a9866;
}
body {
  background-color: var(--background-color4);
  max-width: 100%;
  overflow-x: hidden;
}



.logo {
  font-size: 27px;
  font-weight: 600;
  color: rgb(47, 141, 70);
}

.icn {
  height: 30px;
}
.menuicn {
  cursor: pointer;
}

.searchbar,
.message,
.logosec {
  display: flex;
  align-items: center;
  justify-content: center;
}

.searchbar2 {
  display: none;
}

.logosec {
  gap: 60px;
}

.searchbar input {
  width: 250px;
  height: 42px;
  border-radius: 50px 0 0 50px;
  background-color: var(--background-color3);
  padding: 0 20px;
  font-size: 15px;
  outline: none;
  border: none;
}
.searchbtn {
  width: 50px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0px 50px 50px 0px;
  background-color: var(--secondary-color);
  cursor: pointer;
}

.message {
  gap: 40px;
  position: relative;
  cursor: pointer;
}
.circle {
  height: 7px;
  width: 7px;
  position: absolute;
  background-color: #7bfaa1;
  border-radius: 50%;
  left: 19px;
  top: 8px;
}
.dp {
  height: 40px;
  width: 40px;
  background-color: #626262;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.main-container {
  display: flex;
  width: 100vh;
  position: relative;
  top: 0px;
  z-index: 1;
}
.dpicn {
  height: 42px;
}

.main {
  height: calc(100vh - 70px);
  width: 97%;
  overflow-y: scroll;
  overflow-x: hidden;
  padding: 40px 30px 30px 30px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.main::-webkit-scrollbar-thumb {
  background-image: 
        linear-gradient(to bottom, rgb(0, 0, 85), rgb(0, 0, 50));
}
.main::-webkit-scrollbar {
  width: 5px;
}
.main::-webkit-scrollbar-track {
  background-color: #9e9e9eb2;
}

.box-container {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
  gap: 60px;
}
.nav {
  min-height: 91vh;
  width: 190px;
  background-color: var(--background-color2);
  position: absolute;
  top: 0px;
  left: 00;
  box-shadow: 1px 1px 10px rgba(198, 189, 248, 0.825);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 30px 0 20px 10px;
}
.navcontainer {
  height: calc(100vh - 70px);
  width: 190px;
  position: relative;
  overflow-y: scroll;
  overflow-x: hidden;
  transition: all 0.5s ease-in-out;
}
.navcontainer::-webkit-scrollbar {
  display: none;
}
.navclose {
  width: 50px;
}
.navclose:hover {
  width: 190px;
}
.nav-option {
  width: 190px;
  font-size: 12px;
  height: 30px;
  display: flex;
  align-items: center;
  padding: 0 20px 0 20px;
  gap: 10px;
  transition: all 0.1s ease-in-out;
}
.nav-option:hover {
  border-left: 5px solid #040404;
  background-color: #44b492;
  cursor: pointer;
}
.nav-img {
  height: 30px;
}

.nav-upper-options {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.option1 {
  border-left: 5px solid #3b9665;
  
  color: black;
  cursor: pointer;
}
.option1:hover {
  border-left: 5px solid #68bd96;
 
}
.box {
  height: 100px;
  width: 185px;
  border-radius: 3px;
  box-shadow: 3px 3px 10px rgb(59, 145, 98);
  
  display: flex;
  align-items: center;
  justify-content: space-around;
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
}
.box:hover {
  transform: scale(1.08);
}

.box:nth-child(1) {
  background-color: var(--one-use-color);
}
.box:nth-child(2) {
  background-color: var(--two-use-color);
}
.box:nth-child(3) {
  background-color: var(--one-use-color);
}
.box:nth-child(4) {
  background-color: var(--two-use-color);
}

.box img {
  height: 50px;
}
.box .text {
  color: white;
}
.topic {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 1px;
}

.topic-heading {
  font-size: 30px;
  letter-spacing: 3px;
}

.report-container {
  width:100%;
  min-height: 200px;
  max-width: 1400px;
  margin: 15px auto 0px auto;
  background-color: #ffffff;
  border-radius: 0px;
  box-shadow: 3px 3px 10px rgb(188, 188, 188);
  padding: 0px 20px 20px 20px;
}
.report-header {
  height: 80px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 10px 20px;
  border-bottom: 2px solid rgb(52, 144, 116);
}

.recent-Articles {
  font-size: 30px;
  font-weight: 600;
  color: #626f6cef;
}

.view {
  height: 35px;
  width: 90px;
  border-radius: 8px;
  background-color: #4eb980;
  color: white;
  font-size: 15px;
  border: none;
  cursor: pointer;
}

.report-body {
  max-width: 1160px;
  overflow-x: auto;
  padding: 20px;
}
.report-topic-heading,
.item1 {
  width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.t-op {
  font-size: 12px;
  letter-spacing: 0px;
}

.items {
  width: 1120px;
  margin-top: 15px;
}

.item1 {
  margin-top: 20px;
}
.t-op-nextlvl {
  font-size: 14px;
  letter-spacing: 0px;
  font-weight: 600;
}

.label-tag {
  width: 100px;
  text-align: center;
  background-color: rgb(0, 177, 0);
  color: white;
  border-radius: 4px;
}




.container {
    max-width: 1200px;
    margin: auto;
    background: white;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.title {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.btn {
  background-color: #439b8c;
  color: white;
  padding: 1px 1px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  margin-bottom: 0px;
  display: block;
  width: auto;           /* Use auto width instead of 100% */
  text-align: center;
  font-size: 10px;
  margin-left: auto;      /* Pushes the button to the right side */
}


.btn:hover {
    background-color: #3aab94;
}

table.dataTable {
    width: 100%;
    
}

table.dataTable thead {
    background-color: #ffffff;
    color: rgb(0, 0, 0);
}

table.dataTable th, table.dataTable td {
  font-size:10px;
    padding: 6px;
    text-align: left;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background-color: #f1f1f1;
    color: black;
    padding: 10px;
    border: none;
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}


/* Responsive Styles */
@media (max-width: 768px) {
    .btn {
        font-size: 8px;
    }

    table.dataTable th, table.dataTable td {
        font-size: 10px;
        padding: 6px;
    }
    
}


.add-new-btn:hover {
  background-color: #218838;
}
/* Modal styles */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1000; /* Sit on top */
  left: 0;
  top: 0;
  padding: 20px;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0, 0, 0, 0.5); /* Black w/ opacity */
}

/* Modal content */
.modal-content {
  background-color: #fefefe;
  position: fixed; /* Fixed position */
  left: 50%; /* Center horizontally */
  top: 50%; /* Center vertically */
  transform: translate(-50%, -50%); /* Adjust position */
  padding: 10px; /* Padding */
  border: 1px solid #888;
  width: 300px; /* Fixed width */
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Close button */
.close {
  color: #aaa;
  font-size: 20px; /* Font size */
  font-weight: bold;
  margin-top: 20px; /* Add space above the close icon */
  margin-left: 260px; /* Add space to the left of the close icon */
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* Form styles */
form {
  display: flex;
  flex-direction: column;
}

label {
  margin-top: 5px; /* Margin */
  font-size: 14px; /* Font size */
}

input {
  padding: 6px; /* Padding */
  margin-top: 3px; /* Margin */
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px; /* Font size */
}

input:focus {
  border-color: #007bff;
  outline: none;
}

/* Button styles */
.submitbtn {
  margin-top: 8px; /* Margin */
  padding: 6px; /* Padding */
  background-color: #195c28; /* Green */
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 10px; /* Font size */
}

/* Centered button styles */
.center-button {
  display: flex;
  justify-content: center; /* Center horizontally */
  margin-top: 15px; /* Margin for spacing */
}

.btn:hover {
  background-color: #218838; /* Darker green */
}
/* Message styles */
.message {
  margin-top: 10px; /* Space above the message */
  padding: 10px; /* Padding */
  border-radius: 4px; /* Rounded corners */
  display: none; /* Hidden by default */
}

.success {
  background-color: #d4edda; /* Light green background */
  color: #155724; /* Dark green text */
}

.error {
  background-color: #f8d7da; /* Light red background */
  
}

