@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&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: #fff;
  --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);
}

h1, h2, h3, h4, h5, h6 {
  font-family: "DM Serif Display", serif;
  font-weight: 400;
}
/* 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: 50px;
  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%;
}

.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);
}
.sidebar a.active {
  font-weight: bold;
  background: #e9f7f3;
  border-left: 4px solid #064e3b;
  padding-left: 10px;
}
.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;
}
.logout {
  border: none;
  background-color: #fb8c8c;
  text-align: center !important;
  padding-block: 15px;
  border-radius: 10px;
  color: #a60c0c;
}
.terms {
  margin-top: 30px;
  border-left: 6px solid #064e3b;
  padding-left: 10px;
  border-radius: 3px;
}

.terms li {
  text-decoration: none;
  list-style: none;
  margin-top: 10px;
}

.footer_all {
  position: fixed;
  bottom: 30px;
  display: flex;
  justify-content: space-between;
  width: 90%;
  margin-left: 5%;
  margin-right: 5%;
  padding: 30px;
  padding-block: 20px;
  z-index: 550;
  background-color: #fff;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  border-radius: 60px;
}
.ft_box {
  text-align: center;
}
.ft_box a {
  color: #064e3b;
}

.header {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 5%;
  padding-block: 20px;
  /* border-bottom: 2px solid #333; */
  position: sticky;
  top: 0;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;

  background-color: #fff;
}

.name {
  display: flex;
  flex-direction: column;
}
.ft_box a {
    text-decoration: none;
    color: #555;
    font-size: 13px;
}

.ft_box a.active {
    font-weight: bold;
    color: #064e3b;
}

.ft_box a.active i {
    font-weight: bold;
}
.all{
  padding: 0 5%;
  margin-top: 50px;
  
}
  .logos {
            background-image: url(../images/logo.png);
            background-size: contain;
            background-repeat: no-repeat;
            height: 200px;
            width: 200px;
        }
        .page_headings{
          text-align: center;
          display: flex;
          flex-direction: column;
          justify-content: center;
          align-items: center;
          margin: 0 auto;
        }
@media (max-width: 768px) {
  .chart_all {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .auth_all {
    padding: 0 10%;
    margin-top: 50px;
  }

  .break {
    display: flex;
    flex-direction: column;
  }
  .login_all {
    padding: 0 5%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
}
