@import url("https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400..700;1,400..700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Instrument Sans", sans-serif;
  text-decoration: none;
}

/* =====================
   THEME VARIABLES
===================== */

/* Light Mode (default) */
:root {
  --bg-color: #f2f4f6;
  --text-color: #222222;
  --top-bg: #064e3b;
  --top-text: #ffffff;
  --nav-border: #dddddd;
  --link-color: #333333;
}

/* Dark Mode */
body.dark-mode {
  --bg-color: #333;
  --text-color: #e5e7eb;
  --top-bg: #064e3b;
  --top-text: #ffffff;
  --nav-border: #fff;
  --link-color: #e5e7eb;
}

/* =====================
   BASE STYLES
===================== */

body {
  background-color: var(--bg-color);
  color: var(--text-color);
}

/* Top Bar */
.top {
  background-color: var(--top-bg);
  color: var(--top-text);
  text-align: center;
  padding: 10px 0;
  font-size: 1.2em;
}

/* Navigation */
.top_nav {
  border-bottom: 2px solid var(--nav-border);
  padding: 15px 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.logo {
  height: 50px;
  width: 150px;
  background-image: url("../images/logo.png");
  background-size: contain;
  background-repeat: no-repeat;
}

/* Dark Mode Logo */
body.dark-mode .logo {
  background-image: url("../images/white_logo.png");
}

/* Auth Links */
.auth a {
  text-decoration: none;
  color: var(--link-color);
  margin-left: 15px;
}

/* Toggle Button */
.theme-toggle {
  cursor: pointer;
  border: none;
  color: var(--top-bg);
}

.auth_all {
  padding: 0 35%;
  margin-top: 50px;

}

.page_all {
  padding: 0 10%;
  margin-top: 50px;
}


.forms input {
  width: 100%;
  height: 45px;
  padding-left: 5%;
  border-radius: 30px;
}

.forms select {
  width: 100%;
  height: 45px;
  padding-left: 5%;
  border-radius: 30px;
}

.forms {
  margin-top: 20px;
}

.forms h2 {
  text-align: center;
}
.form {
  margin-top: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.forms input,
.forms select,
.forms textarea {
  width: 100%;
  border: 1.5px solid #ddd;
  padding-left: 3%;
}
.forms input:focus,
.forms select:focus,
.forms textarea:focus {
  outline: none;
}

.forms button {
  height: 45px;
  width: 100%;
  border: none;
  background-color: #064e3b;
  color: white;
  font-size: 16px;
  cursor: pointer;
  border-radius: 30px;
}

.form_link {
  text-align: center;
  margin-top: 15px;
}

.form_links a {
  text-align: center;
  font-weight: bold;
  color: #064e3b;
  text-decoration: none;
}
.form_link a {
  text-decoration: none;
  color: #064e3b;
  font-weight: bold;
}

.dropdown {
  position: relative;
}

/* Style the dropdown button */
.dropbtn {
  color: #333;
  border: none;
  background-color: transparent;
  font-size: 18px;
}

/* Dropdown content */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 200px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
}

/* Links inside dropdown content */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */

/* Show the dropdown content on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

.logo_whole {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.forms p {
  text-align: center;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
    border-radius: 30px;

}
th,
td {
  padding: 12px;
  border-bottom: 1px solid #ddd;
  text-align: left;
  
}
th {
  background: #064e3b;
  color: #fff;
  font-weight: 600;
}
tr:hover {
  background: #f9f9f9;
}

.filters {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.formss input {
  width: 300px;
  height: 40px;
  padding-left: 10px;
  border: 1.5px solid #ddd;
  margin-right: 20px;
}

.formss select {
  width: 300px;
  height: 40px;
  padding-left: 10px;
  border: 1.5px solid #ddd;
  margin-right: 20px;
}


.fors{
  margin-top: 20px;
}

.fors p{
  border: 2px solid #ddd;
   height: 45px;
  width: 100%;
  border-radius: 30px;
  display: flex;
  align-items: center;
  padding-left: 3%;
}

.sidebar {
  height: 100vh;
  background-color: #fff;
  width: 280px;
  padding: 0 30px;
  position: fixed;
  left: 0;
  top: 0;
  transform: translateX(-100%);
  transition: transform 0.8s ease-in-out;
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px,
    rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
  z-index: 850;
}

.sidebar.hidden {
  transform: translateX(0);
}

.links {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  margin-top: 35px;
  overflow-y: auto;
  height: 60vh;
  scrollbar-width: thin;
  scrollbar-color: #662c91 #ecf0f1;
}

/* For Chrome, Edge, and Safari */
.links::-webkit-scrollbar {
  width: 8px;
}

.links::-webkit-scrollbar-track {
  background: #ecf0f1; /* Light gray track */
  border-radius: 10px; /* Rounded track */
}

.links::-webkit-scrollbar-thumb {
  background-color: #064e3b; /* Green thumb */
  border-radius: 10px; /* Rounded thumb */
  border: 2px solid #ecf0f1; /* Adds padding effect */
}

.links::-webkit-scrollbar-thumb:hover {
  background-color: #064e3b; /* Darker green on hover */
}

.links a {
  padding-block: 10px;
  color:#000;
}

.sidebar h4 i {
  color: #fff;
}
.dashed {
  border-top: 2px dashed #064e3b;
}

.toggle_btn {
  position: fixed;
  top: 0px;
  left: 0;
  font-size: 20px;
  cursor: pointer;
  background-color: #064e3b;
  color: #ecf0f1;
  height: 28px;
  width: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 851;
  transition: left 0.7s ease-in-out;
}
.toggle_btn.collapsed {
  left: 252px;
}

.main_content{
  padding: 0 7%;
  margin-top: 50px;
}

.links h4 {
  background-color: #064e3b;
  padding: 0 3%;
  padding-block: 10px;
  color: #fff;
}
.auth_all .logo{

display: block;
margin: 0 auto;
height: 80px;
width: 200px;
}
@media (max-width: 768px) {
 

.auth_all {
 padding: 0 10%;
  margin-top: 50px;
 
}

.break{
  display: flex;
  flex-direction: column;
}

}