/* =====================================================
   PREMIUM ROOT VARIABLES & THEMES
   ===================================================== */
:root {

  --login-primary: #2563eb;
  --login-secondary: #60a5fa;
  --login-card: rgba(255, 255, 255, 0.92);
  --login-text: #0f172a;
  --login-border: rgba(255, 255, 255, 0.4);
  --login-shadow: 0 25px 50px rgba(0, 0, 0, .18);

  /* Sidebar Premium Variables */
  --navbar-left-width: 260px;
  --navbar-left-bg: #0f172a;
  /* Slate Dark हमेशा डार्क रहेगा */
  --navbar-left-text: #94a3b8;
  --navbar-left-text-light: #f8fafc;
  --navbar-left-hover: rgba(255, 255, 255, 0.06);
  --navbar-left-active-bg: linear-gradient(90deg, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0.03) 100%);
  --navbar-left-accent-color: #3b82f6;
  --navbar-left-submenu-bg: #0b1120;

  /* === DAY MODE VARIABLES (DEFAULT) === */
  --top-nav-bg: rgba(255, 255, 255, 0.95);
  --top-nav-height: 70px;
  --nav-text-dark: #0f172a;
  --nav-text-muted: #64748b;
  --nav-primary-accent: #2563eb;
  --nav-hover-bg: #f1f5f9;
  --nav-border-color: #e2e8f0;
  --nav-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.02);

  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-card-label: #475569;
  --text-card-value: #0f172a;

  --clock-bg: #ffffff;
  --clock-border: #cbd5e1;
  --clock-hand-main: #1e293b;

  /* Modal Dynamic Background for Day */
  --modal-bg: #ffffff;
  --modal-header-bg: #ef4444;
}

/* === NIGHT MODE VARIABLES (DARK MODE ACTIVE) === */
body.dark-mode {
  --top-nav-bg: rgba(15, 23, 42, 0.95);
  /* Deep Slate Blue */
  --nav-text-dark: #f8fafc;
  --nav-text-muted: #94a3b8;
  --nav-primary-accent: #3b82f6;
  --nav-hover-bg: rgba(255, 255, 255, 0.05);
  --nav-border-color: rgba(255, 255, 255, 0.08);
  --nav-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);

  --bg-main: #0b1329;
  --bg-card: #111c44;
  --border-color: rgba(255, 255, 255, 0.08);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-card-label: #cbd5e1;
  --text-card-value: #ffffff;

  --clock-bg: #1e293b;
  --clock-border: #334155;
  --clock-hand-main: #f8fafc;

  /* Modal Dynamic Background for Night */
  --modal-bg: #1e293b;
  --modal-header-bg: #dc2626;
}

/* Global Transition for Theme Switching */
body {
  background-color: var(--bg-main);
  color: var(--text-main);
  transition: background-color 0.3s ease, color 0.3s ease;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Outfit', sans-serif;
}

.login_page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;

  background-image: url("../static/image/lbackground1.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.login_page::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg,
      rgba(37, 99, 235, .75),
      rgba(59, 130, 246, .45));
  backdrop-filter: blur(4px);
}

.login_wrapper {
  width: 100%;
  max-width: 460px;
  position: relative;
  z-index: 2;
}

.login_container {
  background: var(--login-card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 28px;

  padding: 45px 35px;

  box-shadow: var(--login-shadow);

  overflow: hidden;
  position: relative;
}

.login_container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;

  background: linear-gradient(90deg,
      #2563eb,
      #60a5fa,
      #93c5fd);
}

/* Logo */

.login_company_image {
  text-align: center;
  margin-bottom: 18px;
}

.login_company_image img {
  width: 95px;
  transition: .4s ease;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, .15));
}

.login_company_image img:hover {
  transform: translateY(-4px) scale(1.05);
}

/* Header */

.login_header {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.login_header::after {
  content: "School ERP Portal";
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: #64748b;
  margin-top: 6px;
}

/* Form */

.login_form_group {
  margin-bottom: 18px;
}

.login_form_group label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
}

.login_form_group input {
  width: 100%;
  height: 55px;
border: 1px solid var(--login-secondary);
  /* border: none; */
  outline: none;

  border-radius: 14px;

  padding: 0 18px;

  font-size: 15px;
  font-weight: 500;

  background: #f8fafc;

  transition: .3s;
}

.login_form_group input:focus {
  background: #fff;

}

/* Password */

.login_password_wrapper {
  position: relative;
}

.login_password_wrapper input {
  padding-right: 55px;
}

.login_btn_hide {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);

  border: none;
  background: none;

  cursor: pointer;
  font-size: 18px;

  color: #64748b;
}

.login_btn_hide:hover {
  color: #2563eb;
}

/* Button */

.login_button {
  margin-top: 28px;
}

.login_button input {
  width: 100%;
  height: 56px;

  border: none;
  border-radius: 14px;

  background:
    linear-gradient(135deg,
      #2563eb,
      #3b82f6);

  color: #fff;

  font-size: 16px;
  font-weight: 600;

  cursor: pointer;

  transition: .35s;
}

.login_button input:hover {
  transform: translateY(-3px);

  box-shadow:
    0 15px 25px rgba(37, 99, 235, .30);
}

/* Footer */

.login_company_footer {
  text-align: center;
  margin-top: 22px;
}

.login_company_footer p {
  font-size: 13px;
  color: #64748b;
}

/* Responsive */

@media(max-width:480px) {

  .login_container {
    padding: 30px 22px;
    border-radius: 22px;
  }

  .login_header {
    font-size: 26px;
  }

  .login_company_image img {
    width: 80px;
  }

}
/* Logo Header Container */
.login_logo_section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
  /* /* padding: 10px 14px; */
  /* background: rgba(255, 255, 255, 0.45); */
  /* border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04); */ */
}

/* Individual Logo Block */
.logo_item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.logo_item img {
  width: auto;
  max-width: 84px;
  /* height: 50px; */
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.logo_item img:hover {
  transform: translateY(-3px) scale(1.05);
}
/* Link Styling for Left Logo */
.logo_link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.logo_link:hover span {
  color: #2563eb; /* Hover par text blue hover highlight hoga */
}
/* Logo Names Below Image */
.logo_item span {
  font-size: 11px;
  font-weight: 700;
  color: #334155;
  margin-top: 6px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-align: center;
}

/* Center Handshake Highlight */
.logo_item.center_handshake img {
  max-width: 140px;
  /* height: 40px; */
  padding: 4px;
  /* background: #ffffff; */
  border-radius: 50%;
  /* box-shadow: 0 4px 10px rgba(37, 99, 235, 0.15); */
}

.logo_item.center_handshake span {
  color: #2563eb;
  font-size: 10px;
}

/* Responsive adjustments for mobile screen */
@media (max-width: 480px) {
  .login_logo_section {
    padding: 8px 10px;
    gap: 8px;
  }

  .logo_item img {
    max-width: 55px;
    height: 40px;
  }

  .logo_item.center_handshake img {
    max-width: 38px;
    height: 35px;
  }

  .logo_item span {
    font-size: 10px;
  }
}



/* Navbar_left  Part start here========================================= */


.navbar_left_header {
  font-family: 'Plus Jakarta Sans', 'Inter', 'Segoe UI', sans-serif;
}

/* =====================================================
   टॉगल बटन (मोबाइल के लिए)
   ===================================================== */
.navbar_left_menu_toggle {
  position: fixed;
  top: 15px;
  left: 15px;
  font-size: 22px;
  color: var(--navbar-left-text-light);
  background: var(--navbar-left-bg);
  padding: 8px 12px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  z-index: 999;
  display: none;
  transition: all 0.2s ease;
}

.navbar_left_menu_toggle:hover {
  transform: scale(1.05);
  background: var(--navbar-left-accent-color);
}

/* =====================================================
   साइडबार मुख्य कंटेनर (SaaS Premium Look)
   ===================================================== */
.navbar_left_sidebar {
  position: fixed;
  top: 0;
  left: -260px;
  /* डिफ़ॉल्ट रूप से बंद */
  width: var(--navbar-left-width);
  height: 100vh;
  background-color: var(--navbar-left-bg);
  color: var(--navbar-left-text);
  /* Cubic-bezier से एनिमेशन को झटकेदार की जगह एकदम स्मूथ (Elastic Glide) बनाया गया है */
  transition: left 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  overflow-y: auto;
  z-index: 1000;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.3);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

/* कस्टम स्क्रोलबार (साइडबार के अंदर) */
.navbar_left_sidebar::-webkit-scrollbar {
  width: 5px;
}

.navbar_left_sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

/* सक्रिय होने पर साइडबार दिखेगा */
.navbar_left_sidebar.navbar_left_active {
  left: 0;
}

/* =====================================================
   कंपनी/लोगो एरिया
   ===================================================== */
.navbar_left_company {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar_left_company h4,
.navbar_left_company span {
  font-weight: 700;
  color: var(--navbar-left-text-light);
  letter-spacing: -0.5px;
}

.navbar_left_close_btn {
  font-size: 22px;
  color: var(--navbar-left-text);
  cursor: pointer;
  /* display: none; */
  transition: color 0.2s;
}

.navbar_left_close_btn:hover {
  color: #ef4444;
  /* रेड ग्लो क्लोज बटन पर */
}

/* =====================================================
   मेनू लिस्ट और आइटम्स (Sleek Micro-Interactions)
   ===================================================== */
.navbar_left_menu {
  padding: 16px 12px;
  /* हल्की इनर स्पेसिंग कार्ड फील देने के लिए */
}

.navbar_left_item {
  margin-bottom: 4px;
}

.navbar_left_item a {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  color: var(--navbar-left-text);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  border-radius: 8px;
  /* कर्व्ड कोनों के साथ modern लुक */
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar_left_item a i:first-child {
  width: 28px;
  font-size: 17px;
  opacity: 0.8;
  transition: transform 0.2s;
}

/* होवर इफ़ेक्ट */
.navbar_left_item a:hover {
  background-color: var(--navbar-left-hover);
  color: var(--navbar-left-text-light);
}

.navbar_left_item a:hover i:first-child {
  transform: translateX(2px);
  /* आइकन हल्का सा खिसकेगा */
  color: var(--navbar-left-accent-color);
}

/* एक्टिव लिंक स्टाइल (Premium Glowing Indicator) */
.navbar_left_item a.navbar_left_active_link {
  background: var(--navbar-left-active-bg);
  color: var(--navbar-left-text-light);
  font-weight: 600;
  position: relative;
}

/* लेफ्ट साइड में चमकदार वर्टिकल बार */
.navbar_left_item a.navbar_left_active_link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 4px;
  background-color: var(--navbar-left-accent-color);
  border-radius: 0 4px 4px 0;
  box-shadow: 0 0 10px var(--navbar-left-accent-color);
}

/* =====================================================
   ड्रॉपडाउन और सब-मेनू (Accurate & Smooth Transitions)
   ===================================================== */
.navbar_left_dropdown_trigger {
  justify-content: space-between;
  cursor: pointer;
}

.navbar_left_arrow {
  font-size: 12px;
  opacity: 0.7;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* जब सबमेनू खुला हो तो तीर स्मूथली घूमेगा */
.navbar_left_item.navbar_left_open>.navbar_left_dropdown_trigger .navbar_left_arrow,
.navbar_left_nested_dropdown.navbar_left_open>.navbar_left_nested_trigger .navbar_left_arrow {
  transform: rotate(180deg);
  color: var(--navbar-left-accent-color);
}

/* सबमेनू कंटेनर (Fluid Motion) */
.navbar_left_submenu,
.navbar_left_nested_submenu {
  max-height: 0;
  overflow: hidden;
  background-color: var(--navbar-left-submenu-bg);
  border-radius: 8px;
  margin: 0 4px;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* डिफ़ॉल्ट शो क्लास */
.navbar_left_submenu.navbar_left_show,
.navbar_left_nested_submenu.navbar_left_show {
  max-height: 1000px;
}

.navbar_left_submenu ul,
.navbar_left_nested_submenu ul {
  list-style: none;
  padding: 6px 0;
  margin: 0;
  border-left: 1px dashed rgba(255, 255, 255, 0.08);
  /* लेफ्ट ट्री स्ट्रक्चर */
  margin-left: 24px;
}

.navbar_left_submenu ul li a {
  padding-left: 16px;
  font-size: 13.5px;
  opacity: 0.75;
}

.navbar_left_nested_submenu ul li a {
  padding-left: 24px;
  font-size: 13px;
}

.navbar_left_submenu ul li a:hover,
.navbar_left_nested_submenu ul li a:hover {
  opacity: 1;
  color: var(--navbar-left-text-light);
  background-color: transparent;
  /* सबमेनू आइटम बैकग्राउंड की जगह टेक्स्ट पर फोकस */
  text-decoration: translate(3px);
}

/* =====================================================
   रिस्पॉन्सिव मीडिया क्वेरीज़
   ===================================================== */
@media (max-width: 768px) {
  .navbar_left_sidebar {
    left: -260px;
  }



}

/* Navbar_left  Part end here========================================= */
/* Navbar_top  Part end here========================================= */
/* =====================================================
   PREMIUM TOP NAVBAR & MODAL SYSTEM (CUSTOM CSS)
   ===================================================== */

.ncodesutram_right_brand {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  text-decoration: none;
  padding: 4px 10px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 8px;
  margin-left: 10px;
  transition: all 0.3s ease;
}

.ncodesutram_right_brand:hover {
  background: rgba(37, 99, 235, 0.15);
  transform: translateY(-1px);
}

.ncodesutram_right_brand .powered_text {
  font-size: 9px;
  font-weight: 500;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1;
}

.ncodesutram_right_brand .brand_highlight {
  font-size: 12px;
  font-weight: 700;
  color: #2563eb;
  line-height: 1.2;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .ncodesutram_right_brand {
    display: none; /* Small screens par hide ho jayega taaki topbar overflow na kare */
  }
}
.navbar_top_container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--top-nav-height);
  background: var(--top-nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--nav-shadow);
  z-index: 99;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  padding: 0 24px;
  box-sizing: border-box;
}

.navbar_top_fluid {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Left Zone */
.navbar_top_left_zone {
  display: flex;
  align-items: center;
  gap: 16px;
}

.navbar_top_toggle {
  background: transparent;
  border: none;
  outline: none;
  font-size: 20px;
  color: var(--nav-text-dark);
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar_top_toggle:hover {
  background: var(--nav-hover-bg);
  color: var(--nav-primary-accent);
}

.navbar_top_brand_wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar_top_logo {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.navbar_top_brand_name {
  font-size: 18px;
  font-weight: 700;
  color: var(--nav-text-dark);
  letter-spacing: -0.5px;
}

/* Right Zone */
.navbar_top_right_zone {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Smart Search Box */
.navbar_top_search_box {
  position: relative;
  width: 280px;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar_top_search_box:focus-within {
  width: 340px;
}

.navbar_top_search_input_wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.navbar_top_search_icon {
  position: absolute;
  left: 14px;
  color: var(--nav-text-muted);
  font-size: 14px;
  pointer-events: none;
}

.navbar_top_search_field {
  width: 100%;
  height: 42px;
  background: var(--top-nav-bg);
  border: 1px solid var(--nav-border-color);
  border-radius: 12px;
  padding: 0 16px 0 38px;
  font-size: 14px;
  font-weight: 500;
  color: var(--nav-text-dark);
  outline: none;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.navbar_top_search_field:focus {
  background: var(--top-nav-bg);
  border-color: var(--nav-primary-accent);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

/* Search Dropdown Panel */
.navbar_top_search_results_dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  background: var(--top-nav-bg);
  border-radius: 12px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--nav-border-color);
  max-height: 280px;
  overflow-y: auto;
  display: none;
  z-index: 110;
  padding: 6px;
  box-sizing: border-box;
}

.navbar_top_search_item {
  display: block;
  padding: 10px 14px;
  font-size: 13.5px;
  color: var(--nav-text-dark);
  text-decoration: none;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.15s ease;
}

.navbar_top_search_item:hover {
  background: var(--nav-primary-accent);
  color: #ffffff;
}
/* --- Search Box Wrapper Custom Styling --- */
.navbar_top_search_box {
  position: relative;
  width: 280px;
  transition: width 0.3s ease;
}

.navbar_top_search_box:focus-within {
  width: 320px; /* Type karte waqt thoda bada ho jayega */
}

/* --- Dropdown Card Styling (Modern Glassmorphism Look) --- */
.navbar_top_search_results_dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  max-height: 320px;
  overflow-y: auto;
  background:var(--top-nav-bg);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  display: none;
  z-index: 1000;
  padding: 6px;
  scrollbar-width: thin;
}

/* Dark Mode Support (Agar aapka ERP supports karta hai) */
[data-theme="dark"] .navbar_top_search_results_dropdown {
  background: rgba(30, 41, 59, 0.95);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
}

/* --- Search Items Styling --- */
.search_item {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  color: #334155;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.2s ease;
  margin-bottom: 2px;
}

[data-theme="dark"] .search_item {
  color: #cbd5e1;
}

/* --- Hover aur Keyboard Selection (Active) State --- */
.search_item:hover, 
.search_item.search_active {
  background-color: #f1f5f9;
  color: #2563eb; /* Premium Blue Color */
  padding-left: 18px; /* Smooth sliding effect */
  outline: none;
}

[data-theme="dark"] .search_item:hover, 
[data-theme="dark"] .search_item.search_active {
  background-color: #334155;
  color: #38bdf8;
}

/* --- Highlighted Text (Jo user type karega) --- */
.search_item strong {
  color: #2563eb;
  font-weight: 700;
  background-color: rgba(37, 99, 235, 0.1);
  padding: 1px 4px;
  border-radius: 4px;
}

[data-theme="dark"] .search_item strong {
  color: #38bdf8;
  background-color: rgba(56, 189, 248, 0.15);
}

/* --- No Results State Styling --- */
.search_no_results {
  padding: 16px;
  text-align: center;
  color: #64748b;
  font-size: 13px;
}

/* Profile Dropdown Setup */
.navbar_top_user_dropdown_parent {
  position: relative;
}

.navbar_top_avatar_btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 50px;
  outline: none;
}

.navbar_top_avatar_circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  color: var(--nav-primary-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.2s ease;
}

.navbar_top_avatar_btn:hover .navbar_top_avatar_circle {
  background: var(--nav-primary-accent);
  color: #ffffff;
}

.navbar_top_chevron {
  font-size: 11px;
  color: var(--nav-text-muted);
  transition: transform 0.2s ease;
}

.navbar_top_user_dropdown_parent.open_dropdown .navbar_top_chevron {
  transform: rotate(180deg);
}

.navbar_top_dropdown_menu_card {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 250px;
  background: var(--top-nav-bg);
  border-radius: 16px;
  border: 1px solid var(--nav-border-color);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  padding: 12px;
  list-style: none;
  display: none;
  z-index: 105;
  box-sizing: border-box;
}

.navbar_top_user_dropdown_parent.open_dropdown .navbar_top_dropdown_menu_card {
  display: block;
  animation: topNavDropdownFade 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar_top_dropdown_header {
  padding: 6px 10px 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.navbar_top_user_title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--nav-text-dark);
  line-height: 1.3;
}

.navbar_top_user_badge {
  font-size: 10px;
  font-weight: 800;
  background: #f1f5f9;
  color: var(--nav-text-muted);
  padding: 3px 8px;
  border-radius: 6px;
  width: max-content;
}

.navbar_top_divider {
  margin: 6px 0;
  border: 0;
  border-top: 1px solid #edf2f7;
}

.navbar_top_dropdown_item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  color: var(--nav-text-dark);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.15s ease;
}

.navbar_top_dropdown_item:hover {
  background: var(--nav-hover-bg);
}

.navbar_top_dropdown_item.logout_trigger_btn {
  color: #ef4444;
}

.navbar_top_dropdown_item.logout_trigger_btn:hover {
  background: #fef2f2;
}

/* =====================================================
   CUSTOM MODAL SYSTEM (NO BOOTSTRAP)
   ===================================================== */
.custom_modal_overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.custom_modal_overlay.modal_show {
  opacity: 1;
  pointer-events: auto;
}

.custom_modal_card {
  background: var(--bg-card);
  width: 100%;
  max-width: 480px;
  border-radius: 20px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  transform: scale(0.9);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.custom_modal_overlay.modal_show .custom_modal_card {
  transform: scale(1);
}

.custom_modal_header {
  background: #ef4444;
  color: #ffffff;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.custom_modal_title {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.custom_modal_close_btn {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.15s;
}

.custom_modal_close_btn:hover {
  opacity: 1;
}

.custom_modal_body {
  padding: 28px 24px;
  text-align: center;
}

.custom_modal_body p {
  font-size: 16px;
  font-weight: 600;
  color: var(--nav-text-dark);
  margin: 0 0 6px 0;
}

.custom_modal_subtext {
  font-size: 13px;
  color: var(--nav-text-muted);
}

.custom_modal_footer {
  padding: 16px 24px 24px 24px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

/* Custom Buttons Inside Modal */
.custom_btn {
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
}

.custom_btn_light {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
}

.custom_btn_light:hover {
  background: #e2e8f0;
}

.custom_btn_danger {
  background: #ef4444;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

.custom_btn_danger:hover {
  background: #dc2626;
  transform: translateY(-1px);
}

@keyframes topNavDropdownFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Responsive */
@media (max-width: 576px) {
  .navbar_top_search_box {
    width: 140px;
  }

  .navbar_top_search_box:focus-within {
    width: 180px;
  }

  .navbar_top_brand_name {
    display: none;
  }

  .navbar_top_container {
    padding: 0 12px;
  }

  .custom_modal_card {
    margin: 16px;
  }
}


/* navbar top Part end here ============================================= */
/* admin_dashboard  Part Start here ============================================= */
/* ==========================================================================
   1. Theme Variables (Day & Night Mode)
   ========================================================================== */

/* ==========================================================================
   2. Global Reset & Base Styles
   ========================================================================== */

.admin_dashboard_main_content {
  margin-left: 0;
  width: 100%;
  padding: 30px;
  margin-top: 65px;
  transition: margin-left 0.3s ease, width 0.3s ease;
  /* इसी से स्मूथ एनिमेशन आएगा */
}

/* जब साइडबार खुलता है (जावास्क्रिप्ट द्वारा क्लास एक्टिव होने पर) */
.admin_dashboard_main_content.sidebar_shift_right {
  margin-left: 260px;
  /* आपके साइडबार की चौड़ाई के बराबर (जैसे 250px या 260px) */
  width: calc(100% - 260px);
  /* ताकि स्क्रीन की चौड़ाई एडजस्ट हो और ग्राफ न कटें */
}

/* ==========================================================================
   3. Header & Title Section
   ========================================================================== */
.admin_dashboard_title_container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 15px;
}

.admin_dashboard_title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: bold;
  margin: 0;
}

.admin_dashboard_title i {
  color: #007bff;
}

.admin_dashboard_clock_text {
  margin: 0;
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Theme Toggle Button Style */
.theme_toggle_btn {
  background: #007bff;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s;
}

.theme_toggle_btn:hover {
  background: #0056b3;
}

/* ==========================================================================
   4. Grids Layouts
   ========================================================================== */
.admin_dashboard_top_grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.admin_dashboard_graph_grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
  margin-bottom: 30px;
}

.admin_dashboard_stats_grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

/* ==========================================================================
   5. Info Box Cards (Top Row)
   ========================================================================== */
.admin_dashboard_info_box {
  display: flex;
  align-items: center;
  border-radius: 15px;
  padding: 20px;
  min-height: 100px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #fff;
  text-decoration: none;
}

.admin_dashboard_info_box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.admin_dashboard_bg_primary {
  background: linear-gradient(135deg, #007bff, #0056b3);
}

.admin_dashboard_bg_danger {
  background: linear-gradient(135deg, #dc3545, #bd2130);
}

/* Clock Card Background Update */
.admin_dashboard_bg_clock {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.admin_dashboard_icon_circle {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-right: 15px;
  flex-shrink: 0;
}

.admin_dashboard_bg_clock .admin_dashboard_icon_circle {
  background-color: rgba(0, 123, 255, 0.1);
  color: #007bff;
}

.admin_dashboard_info_text .admin_dashboard_label {
  font-size: 14px;
  margin: 0 0 5px 0;
  opacity: 0.9;
}

.admin_dashboard_info_text .admin_dashboard_value {
  font-size: 22px;
  margin: 0;
  font-weight: 700;
}

/* ==========================================================================
   6. Stats Card Styles (Bottom Section)
   ========================================================================== */
.admin_dashboard_card {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border-radius: 15px;
  padding: 15px 20px;
  height: 90px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  border-left: 6px solid #ccc;
  text-decoration: none;
  color: inherit;
}

.admin_dashboard_card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

.admin_dashboard_border_primary {
  border-left-color: #007bff;
}

.admin_dashboard_border_success {
  border-left-color: #28a745;
}

.admin_dashboard_border_danger {
  border-left-color: #dc3545;
}

.admin_dashboard_border_warning {
  border-left-color: #ffc107;
}

.admin_dashboard_border_info {
  border-left-color: #17a2b8;
}

.admin_dashboard_border_dark {
  border-left-color: #343a40;
}

.admin_dashboard_border_secondary {
  border-left-color: #6c757d;
}

.admin_dashboard_icon_box {
  width: 50px;
  height: 50px;
  font-size: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  color: #fff;
  flex-shrink: 0;
}

.admin_dashboard_icon_box.admin_dashboard_bg_primary {
  background: #007bff;
}

.admin_dashboard_icon_box.admin_dashboard_bg_success {
  background: #28a745;
}

.admin_dashboard_icon_box.admin_dashboard_bg_danger {
  background: #dc3545;
}

.admin_dashboard_icon_box.admin_dashboard_bg_warning {
  background: #ffc107;
}

.admin_dashboard_icon_box.admin_dashboard_bg_info {
  background: #17a2b8;
}

.admin_dashboard_icon_box.admin_dashboard_bg_dark {
  background: #343a40;
}

.admin_dashboard_icon_box.admin_dashboard_bg_secondary {
  background: #6c757d;
}

.admin_dashboard_text_box .admin_dashboard_card_label {
  margin: 0 0 4px 0;
  font-size: 14px;
  color: var(--text-card-label);
}

.admin_dashboard_text_box .admin_dashboard_card_value {
  margin: 0;
  font-size: 20px;
  font-weight: bold;
  color: var(--text-card-value);
}

/* Icon Hover Animations */
.admin_dashboard_info_box i,
.admin_dashboard_card i {
  transition: transform 0.3s ease;
}

.admin_dashboard_info_box:hover i,
.admin_dashboard_card:hover i {
  transform: scale(1.2) rotate(5deg);
}

/* ==========================================================================
   7. Analog Clock Style
   ========================================================================== */
.admin_dashboard_clock_container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.admin_dashboard_clock {
  position: relative;
  width: 110px;
  height: 110px;
  border: 5px solid var(--clock-border);
  border-radius: 50%;
  background: var(--clock-bg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.admin_dashboard_hand {
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform-origin: bottom center;
  transform: rotate(0deg);
  background-color: var(--clock-hand-main);
  border-radius: 2px;
}

.admin_dashboard_hour {
  width: 5px;
  height: 32px;
  background-color: var(--clock-hand-main);
}

.admin_dashboard_minute {
  width: 3px;
  height: 44px;
  background-color: var(--clock-hand-main);
}

.admin_dashboard_second {
  width: 1.5px;
  height: 50px;
  background-color: red;
}

.admin_dashboard_center_circle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  background-color: var(--clock-hand-main);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.admin_dashboard_number {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 45%;
  text-align: center;
  font-size: 11px;
  color: var(--text-main);
}

.admin_dashboard_number span {
  position: absolute;
  transform: translate(-50%, -50%);
  font-weight: bold;
}

/* ==========================================================================
   8. Graphs Cards
   ========================================================================== */
.admin_dashboard_graph_card {
  background: var(--bg-card);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.admin_dashboard_graph_card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.admin_dashboard_graph_header {
  padding: 16px 20px;
  color: #fff;
}

.admin_dashboard_graph_header h5 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin_dashboard_primary_header {
  background: linear-gradient(135deg, #007bff, #0056b3);
}

.admin_dashboard_success_header {
  background: linear-gradient(135deg, #28a745, #1e7e34);
}

.admin_dashboard_graph_body {
  padding: 18px;
  background: var(--bg-card);
  height: 280px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.admin_dashboard_graph_body canvas {
  width: 100% !important;
  height: 100% !important;
}

.admin_dashboard_pie_graph_body canvas {
  max-width: 220px !important;
  max-height: 220px !important;
}

/* ==========================================================================
   9. Notifications / Flash Messages
   ========================================================================== */
.admin_dashboard_toast_container {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1060;
  width: 90%;
  max-width: 400px;
}

.admin_dashboard_alert {
  padding: 15px;
  margin-bottom: 10px;
  border-radius: 10px;
  background: var(--bg-card);
  color: var(--text-main);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-left: 5px solid #007bff;
}

.admin_dashboard_alert_success {
  border-left-color: #28a745;
}

.admin_dashboard_alert_danger {
  border-left-color: #dc3545;
}

.admin_dashboard_alert_warning {
  border-left-color: #ffc107;
}

/* admin_dashboard  Part end here ============================================= */
/* transport student view Part start here ============================================= */
/* ==========================================================================
       TRANSPORT PASS CARD ARCHITECTURE (DAY / NIGHT INTEGRATED)
       ========================================================================== */
.transport-id-card {
  background: var(--bg-card);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.transport-id-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.id-top-strip {
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  color: white;
  text-align: center;
  padding: 14px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.student-photo-wrap {
  text-align: center;
  padding: 20px 0 10px;
}

.student-id-photo {
  width: 95px;
  height: 95px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--nav-primary-accent);
  padding: 3px;
  background: var(--bg-card);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.student-info-box {
  padding: 15px 20px;
  flex-grow: 1;
}

.student-info-box h4 {
  text-align: center;
  margin: 0 0 18px 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
}

.info-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px dashed var(--border-color);
  font-size: 14px;
  color: var(--text-main);
}

.info-line span {
  color: var(--text-card-label);
  font-weight: 500;
}

.info-line strong {
  color: var(--text-main);
}

.status-pill {
  margin-top: 15px;
  text-align: center;
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  padding: 8px;
  border-radius: 20px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
}

/* Action Buttons System Inside Cards */
.id-action-buttons {
  display: flex;
  gap: 10px;
  padding: 15px 20px 20px;
}

.admincss_action-btn-card {
  flex: 1;
  text-align: center;
  padding: 10px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.admincss_action-btn-card.btn-view {
  background: var(--nav-primary-accent);
  color: white;
}

.admincss_action-btn-card.btn-view:hover {
  opacity: 0.9;
}

.admincss_action-btn-card.btn-edit {
  background: #ffc107;
  color: #1e1e1e;
}

.admincss_action-btn-card.btn-edit:hover {
  background: #e0a800;
}

/* transport student view Part end here ============================================= */

/* admin_bulk_admit Part start here ============================================ */
/* ==========================================================================
   PURE CSS PREMIUM DESIGN IMPLEMENTATION (NO-BOOTSTRAP, THEME RESPONSIVE)
   ========================================================================== */


/* .admincss_d-flex {
  display: flex;
} */

.admincss_gap-2 {
  gap: 12px;
}

.admincss_flex-grow {
  flex-grow: 1;
}

.admincss_text-end {
  text-align: right;
}

.admincss_text-center {
  text-align: center;
}

.admincss_w-100 {
  width: 100%;
}

.admincss_mb-3 {
  margin-bottom: 16px;
}

.admincss_mb-4 {
  margin-bottom: 24px;
}

.admincss_mt-3 {
  margin-top: 20px;
}

.admincss_flex-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* प्रीमियम पेज हेडर */
.admincss_page-header {
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  padding: 20px 24px;
  border-radius: 12px;
  color: white;
  margin-bottom: 24px;
  box-shadow: 0 4px 15px rgba(30, 60, 114, 0.15);
}

.admincss_page-header h3 {
  margin: 0;
  font-weight: 600;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.admincss_page-header small {
  opacity: 0.85;
  font-size: 0.85rem;
  display: block;
  margin-top: 4px;
}

/* डायनामिक थीम सपोर्टेड कार्ड */
.admincss_filter-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--nav-shadow);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.admincss_card-header-premium {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border-color);
  color: var(--text-main);
}

.admincss_card-header-premium h4,
.admincss_card-header-premium h5 {
  margin: 0;
  font-weight: 600;
}

/* Container ko flexbox banaya aur wrapping enable ki */
.admincss_form-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

/* Mobile par (Default): Sabhi items 100% width lenge, yaani ek ke niche ek strictly 1 column */
.admincss_form-grid > div {
  width: 100%;
  box-sizing: border-box;
}

/* Desktop aur Tablet par (Screen size 768px ya usse badi hone par) */
@media (min-width: 768px) {
  .admincss_form-grid > div {
    /* calc(50% - 10px) ka matlab hai strictly pair (2 columns) me aana half-half space lekar */
    width: calc(50% - 10px); 
  }
  
  /* Subjects wale inline style (grid-column) ko desktop par flexbox ke hisab se full line (100%) gherne ke liye */
  .admincss_form-grid > div[style*="grid-column"] {
    width: 100% !important;
  }
}

.admincss_form-group-full {
  grid-column: 1 / -1;
}

.admincss_form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-card-label);
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.admincss_form-select-custom {
  width: 100%;
  padding: 10px 14px;
  font-size: 0.95rem;
  background-color: var(--bg-main);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  outline: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.admincss_form-select-custom:focus {
  border-color: var(--nav-primary-accent);
}
.admincss_table_form-select-custom {
  /* width: 100%; */
  padding: 10px 14px;
  font-size: 0.95rem;
  background-color: var(--bg-main);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  outline: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.admincss_table_form-select-custom:focus {
  border-color: var(--nav-primary-accent);
}

/* स्पेशलाइजेशन कंटेनर और चेकबॉक्स */
.admincss_template-box {
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  padding: 16px;
  border-radius: 10px;
  min-height: 55px;
  transition: all 0.3s ease;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.admincss_custom-check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: var(--text-main);
  font-size: 0.95rem;
  padding: 6px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  transition: all 0.2s ease;
}

.admincss_custom-check-item:hover {
  border-color: var(--nav-primary-accent);
}

.admincss_custom-check-input {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: var(--nav-primary-accent);
}

/* प्रीमियम टेबल आर्किटेक्चर */
.admincss_table-wrapper {
  width: 100%;
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: var(--bg-card, #ffffff);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.admincss_custom-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  color: var(--text-main);
  text-align: left;
}

.admincss_custom-table th {
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  color: #ffffff;
  padding: 16px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.admincss_custom-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.95rem;
  vertical-align: middle;
}

.admincss_custom-table tbody tr {
  transition: background-color 0.2s ease;
}

.admincss_custom-table tbody tr:hover {
  background-color: rgba(42, 82, 152, 0.04);
}

.admincss_custom-table tr:last-child td {
  border-bottom: none;
}

/* एक्शन बटन्स और वेरिएंट्स */
.admincss_btn-flex {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.admincss_btn-header-back {
  background: rgba(255, 255, 255, 0.18);
  color: white;
}

.admincss_btn-header-back:hover {
  background: rgba(255, 255, 255, 0.3);
}

.admincss_btn-submit-action {
  background: var(--nav-primary-accent);
  color: white;
  padding: 12px 36px;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.admincss_btn-submit-action:hover:not(:disabled) {
  opacity: 0.9;
  transform: translateY(-1px);
}

.admincss_btn-submit-action:disabled {
  background: var(--text-muted);
  cursor: not-allowed;
  box-shadow: none;
}

/* इनलाइन स्माल एक्शन बटन्स (टेबल/मोडल के लिए) */
.admincss_action-btn {
  padding: 6px 14px;
  font-size: 0.85rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.admincss_btn-warning-custom {
  background: #ffc107;
  color: #1e1e1e;
}

.admincss_btn-warning-custom:hover {
  background: #e0a800;
  transform: translateY(-1px);
}

.admincss_btn-success-custom {
  background: #28a745;
  color: #ffffff;
}

.admincss_btn-success-custom:hover {
  background: #218838;
}

.admincss_btn-secondary-custom {
  background: #6c757d;
  color: #ffffff;
}

.admincss_btn-secondary-custom:hover {
  background: #5a6268;
}

/* कस्टमाइज्ड अलर्ट सिस्टम */
.admincss_custom-alert {
  display: flex;
  align-items: center;
  padding: 14px 20px;
  border-radius: 8px;
  margin-bottom: 16px;
  border: 1px solid transparent;
  animation: fadeIn 0.3s ease;
}

.admincss_alert-close-btn {
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  color: var(--text-main);
  margin-left: auto;
}

/* प्योर CSS मोडल विंडो */
.admincss_custom-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  display: none;
  justify-content: center;
  align-items: flex-start;
  /* center se badal kar flex-start kiya taaki scroll top se start ho */
  z-index: 1050;
  animation: fadeIn 0.2s ease;
  overflow-y: auto;
  /* 🔥 Jab content bada hoga toh overlay scroll hone lagega */
  padding: 20px 10px;
  /* Window ke top/bottom se thoda gap rakhne ke liye */
}

.admincss_custom-modal-box {
  width: 100%;
  max-width: 800px;
  /* Discount form bada hai isliye max-width 500px se badha kar 800px kar di */
  background: var(--bg-card, #ffffff);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  margin-top: 40px;
  /* Modal ko top se thoda space dene ke liye */
  margin-bottom: 40px;
}

.admincss_modal-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admincss_modal-body {
  padding: 24px;
}

.admincss_modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* मोडल क्लोज ट्रिगर बटन (Cross Icon) */
.admincss_modal-close-trigger {
  background: transparent;
  border: none;
  font-size: 28px;
  /* Cross icon ka size */
  font-weight: 300;
  line-height: 1;
  color: #6c757d;
  /* Standard Muted Gray color */
  cursor: pointer;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, transform 0.2s ease;
}

/* होवर करने पर इफेक्ट */
.admincss_modal-close-trigger:hover {
  color: #dc3545;
  /* Hover karne par Red color */
  transform: scale(1.1);
  /* Halka sa bada hoga */
}

/* बटन पर फोकस होने पर आउटलाइन हटाने के लिए */
.admincss_modal-close-trigger:focus {
  outline: none;
}

/* कीफ्रेम एनिमेशन्स */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* ==========================================================================
   केवल अलग (Unique) और अपडेटेड CSS रूल्स
   ========================================================================== */

/* प्रीमियम पेज हेडर - दोनों वर्शन्स में पैडिंग, बॉर्डर रेडियस और बॉक्स शैडो अलग हैं */
.admincss_page-header {
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  padding: 24px;
  /* वर्शन 1 में 24px, वर्शन 2 में 20px 24px था */
  border-radius: 16px;
  /* वर्शन 1 में 16px, वर्शन 2 में 12px था */
  color: white;
  margin-bottom: 24px;
  box-shadow: 0 6px 20px rgba(30, 60, 114, 0.15);
  /* वर्शन 1 का शैडो गहरा है */
}

.admincss_page-header h3 {
  margin: 0;
  font-weight: 700;
  /* वर्शन 1 में 700, वर्शन 2 में 600 था */
  font-size: 1.5rem;
  /* वर्शन 1 में 1.5rem, वर्शन 2 में 1.4rem था */
  display: flex;
  align-items: center;
  gap: 12px;
  /* वर्शन 1 में 12px, वर्शन 2 में 10px था */
}

.admincss_page-header small {
  opacity: 0.85;
  font-size: 0.88rem;
  /* वर्शन 1 में 0.88rem, वर्शन 2 में 0.85rem था */
  display: block;
  margin-top: 6px;
  /* वर्शन 1 में 6px, वर्शन 2 में 4px था */
}

/* डायनामिक थीम सपोर्टेड कार्ड - बॉर्डर रेडियस और शैडो वेरिएबल्स अलग हैं */
.admincss_filter-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  /* वर्शन 1 में 18px, वर्शन 2 में 12px था */
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  /* वर्शन 2 में var(--nav-shadow) था */
  transition: background-color 0.3s ease, border-color 0.3s ease;
  /* केवल वर्शन 2 में था */
}

.admincss_card-header-premium {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  /* वर्शन 1 में 24px, वर्शन 2 में 20px था */
  padding-bottom: 14px;
  /* वर्शन 1 में 14px, वर्शन 2 में 12px था */
  border-bottom: 2px solid var(--border-color);
  color: var(--text-main);
}

.admincss_card-header-premium h4 {
  margin: 0;
  font-weight: 700;
  /* वर्शन 1 में 700, वर्शन 2 में 600 था */
  font-size: 1.25rem;
  /* केवल वर्शन 1 में विशिष्ट फ़ॉन्ट आकार था */
}





/* एक्शन बटन्स - पैडिंग, बॉर्डर रेडियस और फ़ॉन्ट वेट अलग हैं */
.admincss_btn-flex {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  /* वर्शन 1 में 600, वर्शन 2 में 500 था */
  padding: 12px 22px;
  /* वर्शन 1 में 12px 22px, वर्शन 2 में 10px 20px था */
  border-radius: 12px;
  /* वर्शन 1 में 12px, वर्शन 2 में 8px था */
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.95rem;
  /* वर्शन 1 में 0.95rem, वर्शन 2 में 0.9rem था */
}

.admincss_btn-header-back {
  background: rgba(255, 255, 255, 0.15);
  /* वर्शन 1 में 0.15 ओपेसिटी, वर्शन 2 में 0.18 */
  color: white;
}

.admincss_btn-header-back:hover {
  background: rgba(255, 255, 255, 0.25);
  /* वर्शन 1 में 0.25 ओपेसिटी, वर्शन 2 में 0.30 */
}

/* इनलाइन स्माल एक्शन बटन्स - पैडिंग और बॉर्डर रेडियस अलग हैं */
.admincss_action-btn {
  padding: 8px 16px;
  /* वर्शन 1 में 8px 16px, वर्शन 2 में 6px 14px था */
  font-size: 0.88rem;
  /* वर्शन 1 में 0.88rem, वर्शन 2 में 0.85rem था */
  border-radius: 10px;
  /* वर्शन 1 में 10px, वर्शन 2 में 6px था */
  border: none;
  cursor: pointer;
  font-weight: 600;
  /* वर्शन 1 में 600, वर्शन 2 में 500 था */
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  gap: 6px;
  transition: all 0.2s ease;
}

.admincss_btn-success-custom {
  background: #2563eb;
  /* वर्शन 1 में ब्लू टोन (#2563eb), वर्शन 2 में ग्रीन टोन (#28a745) था */
  color: #ffffff;
}

.admincss_btn-success-custom:hover {
  background: #1d4ed8;
  /* वर्शन 1 में #1d4ed8, वर्शन 2 में #218838 था */
}













/* ==========================================================================
   केवल वर्शन 1 में मिलने वाले बिल्कुल यूनीक (Unique) क्लासेस 
   ========================================================================== */

/* रूट टाइमलाइन आर्किटेक्चर (बस रूट ट्रैक मैप के लिए) */
.admincss_route-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 24px;
  margin: 20px 0;
}

.admincss_route-timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 12px;
  bottom: 12px;
  width: 3px;
  background: linear-gradient(135deg, #22c55e, #2563eb, #ef4444);
  border-radius: 4px;
}

.admincss_timeline-node {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  padding: 12px 20px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
}

.admincss_timeline-dot {
  position: absolute;
  left: -23px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #2563eb;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 2px #2563eb;
}

.admincss_timeline-dot.node-start {
  background: #22c55e;
  box-shadow: 0 0 0 2px #22c55e;
}

.admincss_timeline-dot.node-end {
  background: #ef4444;
  box-shadow: 0 0 0 2px #ef4444;
}


/* ==========================================================================
   केवल वर्शन 2 में मिलने वाले बिल्कुल यूनीक (Unique) क्लासेस
   ========================================================================== */

.admincss_custom-check-input {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: var(--nav-primary-accent);
}

/* प्रीमियम डेटा टेबल आर्किटेक्चर */
.admincss_table-wrapper {
  width: 100%;
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: var(--bg-card, #ffffff);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.admincss_custom-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  color: var(--text-main);
  text-align: left;
}

.admincss_custom-table th {
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  color: #ffffff;
  padding: 16px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.admincss_custom-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.95rem;
  vertical-align: middle;
}

.admincss_custom-table tbody tr {
  transition: background-color 0.2s ease;
}

.admincss_custom-table tbody tr:hover {
  background-color: rgba(42, 82, 152, 0.04);
}

.admincss_custom-table tr:last-child td {
  border-bottom: none;
}

/* सबमिट / ब्लॉक बटन डिज़ाइन */
.admincss_btn-submit-action {
  background: var(--nav-primary-accent);
  color: white;
  padding: 12px 36px;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.admincss_btn-submit-action:hover:not(:disabled) {
  opacity: 0.9;
  transform: translateY(-1px);
}

.admincss_btn-submit-action:disabled {
  background: var(--text-muted);
  cursor: not-allowed;
  box-shadow: none;
}
/* कस्टमाइज्ड यूटिलिटी स्टाइल */
    .admincss_modal-open-trigger {
      background: var(--nav-primary-accent, #2563eb);
      color: white;
      padding: 10px 20px;
      border-radius: 8px;
      font-weight: 600;
      border: none;
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .admincss_modal-open-trigger:hover {
      opacity: 0.9;
    }

    .admincss_barcode-input-styled {
      width: 100%;
      max-width: 200px;
      margin: 8px auto 0 auto;
      text-align: center;
      font-family: monospace;
      letter-spacing: 1px;
    }
    
    /* बुक टाइटल के लिए प्रीमियम कार्ड कंपोनेंट स्टाइल */
    .admincss_book-title-card {
      background: var(--bg-card, #ffffff);
      border: 1px solid var(--border-color, #e2e8f0);
      border-left: 4px solid var(--nav-primary-accent, #2563eb);
      padding: 8px 12px;
      border-radius: 6px;
      font-weight: 600;
      color: var(--nav-primary-accent, #2563eb);
      cursor: pointer;
      display: inline-block;
      transition: all 0.2s ease;
      box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    }

    .admincss_book-title-card:hover {
      background: #f8fafc;
      transform: translateY(-1px);
      box-shadow: 0 4px 6px rgba(37, 99, 235, 0.08);
    }
     .admincss_search-submit-btn {
      display: block;
      width: 100%;
      max-width: 200px;
      margin: 24px auto 12px auto;
      background: var(--nav-primary-accent, #2563eb);
      color: white;
      font-weight: 600;
      padding: 12px 24px;
      border: none;
      border-radius: 6px;
      cursor: pointer;
      transition: all 0.2s ease;
      text-align: center;
      box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
    }

    .admincss_search-submit-btn:hover {
      opacity: 0.9;
      transform: translateY(-1px);
    }
     .admincss_d-none {
    display: none !important;
  }

  /* बिना किसी क्लास के: जब भी किसी input में required होगा, तो उसके ठीक बाद वाले label में स्टार आ जाएगा */


label:has(+ input:required)::after,
label:has(+ textarea:required)::after,
label:has(+ select:required)::after {
  content: " *";
  color: red;
  font-weight: bold;
  margin-left: 4px;
}

        /* पूरे DataTables कंट्रोलर कंटेनर को व्यवस्थित करना */
    .dataTables_wrapper {
      padding: 15px 0;
      color: var(--text-main) !important;
    }
    /* शो एंट्रीज़ (Dropdown) को सजाना */
    .dataTables_length {
      margin-bottom: 16px;
      font-size: 0.9rem;
      font-weight: 500;
      color: var(--text-card-label, #555);
    }
    .dataTables_length select {
      padding: 6px 10px;
      border-radius: 6px;
      border: 1px solid var(--border-color, #ccc);
      background-color: var(--bg-main, #fff);
      color: var(--text-main);
      outline: none;
      margin: 0 6px;
    }
    /* सर्च बॉक्स को प्रीमियम लुक देना */
    .dataTables_filter {
      margin-bottom: 16px;
      font-size: 0.9rem;
      font-weight: 500;
      color: var(--text-card-label, #555);
    }
    .dataTables_filter input {
      padding: 8px 14px;
      border-radius: 8px;
      border: 1px solid var(--border-color, #ccc);
      background-color: var(--bg-main, #fff);
      color: var(--text-main);
      outline: none;
      margin-left: 8px;
      width: 220px;
      transition: all 0.3s ease;
    }
    .dataTables_filter input:focus {
      border-color: var(--nav-primary-accent, #2563eb);
      box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
    }
    /* नीचे की इनफार्मेशन (Showing 1 to 10 of X entries) */
    .dataTables_info {
      padding-top: 16px !important;
      font-size: 0.88rem;
      color: var(--text-card-label, #666);
    }
    /* पैजिनेशन बटन्स (Next, Previous, Numbers) */
    .dataTables_paginate {
      padding-top: 14px !important;
    }
    .dataTables_wrapper .dataTables_paginate .paginate_button {
      padding: 6px 12px !important;
      margin-left: 4px !important;
      border-radius: 6px !important;
      border: 1px solid var(--border-color, #e2e8f0) !important;
      background: var(--bg-card, #fff) !important;
      color: var(--text-main) !important;
      font-size: 0.88rem;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.2s ease;
    }
    .dataTables_wrapper .dataTables_paginate .paginate_button.current, 
    .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
      background: var(--nav-primary-accent, #2563eb) !important;
      color: white !important;
      border-color: var(--nav-primary-accent, #2563eb) !important;
    }
    .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
      background: rgba(37, 99, 235, 0.08) !important;
      color: var(--nav-primary-accent, #2563eb) !important;
      border-color: var(--nav-primary-accent, #2563eb) !important;
    }
    .dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
    .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover {
      color: var(--text-muted, #94a3b8) !important;
      background: var(--bg-main, #f8fafc) !important;
      border-color: var(--border-color, #e2e8f0) !important;
      cursor: not-allowed;
    }
    /* Photo ke baahar ka dabba (Wrapper) */
.admincss_profile-photo-wrapper {
    width: 120px;          /* Aap apne hisab se size chota-bada kar sakte hain */
    height: 120px;
    border-radius: 50%;    /* Isse dabba gol ho jayega */
    overflow: hidden;      /* Jo photo baahar niklegi wo kat jayegi */
    border: 3px solid #e2e8f0; /* Ek light grey color ka border */
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f7fafc; /* Agar image load na ho toh peeche ka background */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); /* Halka sa shadow premium look ke liye */
}

/* Actual Student Photo */
.admincss_student-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;     /* Sabse important! Isse photo bina khinche fit ho jayegi */
    object-position: center; /* Photo ka center part hamesha beech mein dikhega */
}

