/* ================================
   EduZone Professional UI Theme
   ================================ */

/* --- Font Imports --- */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@500;600;700&display=swap");

/* --- Root Variables for Theming --- */
:root {
  --color-primary: #1e3a8a;
  --color-primary-dark: #172554;
  --color-accent: #10b981;
  --color-bg: #f9fafb;
  --color-surface: #ffffff;
  --color-text: #111827;
  --color-text-muted: #6b7280;
  --color-border: #e5e7eb;
  --color-hover: #2563eb;
  --color-error: #ef4444;

  --font-primary: "Inter", sans-serif;
  --font-secondary: "Poppins", sans-serif;
}


/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}


/* --- Global Reset --- */
body {
  font-family: var(--font-primary);
  color: var(--color-text);
  background-color: var(--color-bg);
  margin: 0;
  padding: 0;
  line-height: 1.6;
}
 






/* 🌐 Sidebar Layout - Modern Professional Look */
.sidebar {
  min-height: 100vh;
  background: linear-gradient(180deg, #002244, #004b91);
  color: #e6eefc;
  padding: 20px 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 230px;
  transition: all 0.3s ease-in-out;
  z-index: 100;
  overflow-y: auto;
  box-shadow: 3px 0 10px rgba(0, 0, 0, 0.15);
}

.sidebar h4 {
  text-align: center;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 35px;
  font-size: 1.2rem;
}

.sidebar a {
  display: block;
  color: #bcd4f7;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: 500;
  position: relative;
}

.sidebar a:hover,
.sidebar a.active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: inset 2px 0 0 #00b4d8;
}

.submenu {
  padding-left: 15px;
  display: none;
  transition: all 0.3s ease;
}

.submenu a {
  font-size: 0.9rem;
  padding: 8px 20px;
  color: #a6c3f7;
  border-radius: 6px;
}

.submenu a:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.menu-toggle {
  cursor: pointer;
  position: relative;
}

.menu-toggle::after {
  content: "▸";
  position: absolute;
  right: 20px;
  font-size: 0.9rem;
  transition: transform 0.3s;
  opacity: 0.8;
}

.menu-toggle.active::after {
  transform: rotate(90deg);
}

/* 🌟 Main Content */
.main-content {
  margin-left: 230px;
  padding: 10px;
  background: #f5f7fa;
  min-height: 100vh;
  transition: all 0.3s ease;
}

/* 📱 Navbar (Mobile) */
.navbar-custom {
  background: #ffffff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  padding: 10px 20px;
}

.toggle-btn {
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #004b91;
}

/* 🧱 Sidebar Responsive */
@media (max-width: 992px) {
  .sidebar {
    left: -270px;
  }
  .sidebar.active {
    left: 0;
  }
  .main-content {
    margin-left: 0;
  }
}

/* 💳 Card Styling */
.custom-card {
  border: none;
  border-radius: 15px;
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.custom-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

/* ✨ Scrollbar Style */
.sidebar::-webkit-scrollbar {
  width: 6px;
}
.sidebar::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.25);
  border-radius: 4px;
}
.sidebar::-webkit-scrollbar-thumb:hover {
  background-color: rgba(255, 255, 255, 0.4);
}













/* 🔹 Expiry Notice */
.alert-box {
  background: linear-gradient(90deg, #cce5ff, #e8f4ff);
  color: #084298;
  padding: 15px 20px;
  border-left: 5px solid #0d6efd;
  border-radius: 8px;
  font-weight: 500;
  margin-bottom: 25px;
  box-shadow: 0 2px 6px rgba(13, 110, 253, 0.1);
}

/* 🏢 Company Card */
.company-card {
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  border: none;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(30, 60, 114, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.company-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 25px rgba(30, 60, 114, 0.35);
}

.company-name {
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.5px;
}

.rl-number {
  font-weight: 600;
  opacity: 0.9;
}

/* 💼 Dashboard Cards */
.dashboard-card {
  border: none;
  border-radius: 14px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.dashboard-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

/* 🎨 Gradient Backgrounds */
.bg1 {
  background: linear-gradient(135deg, #0072ff, #00c6ff);
}

.bg2 {
  background: linear-gradient(135deg, #43cea2, #185a9d);
}

.bg3 {
  background: linear-gradient(135deg, #ff512f, #dd2476);
}

/* 🧾 Card Titles */
.dashboard-card .card-title {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 8px;
  opacity: 0.9;
}

/* 🔗 View Links */
.view-link {
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: 20px;
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  transition: background 0.3s ease;
}

.view-link:hover {
  background: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  color: #fff;
}

/* 📱 Responsive */
@media (max-width: 767px) {
  .company-name {
    font-size: 1.2rem;
  }
  .dashboard-card .card-title {
    font-size: 0.95rem;
  }
  .alert-box {
    font-size: 0.9rem;
  }
}















/* 🔔 Notice Card Styling */
.notice-card {
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.notice-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

/* 🎨 Gradient Header */
.notice-header {
  background: linear-gradient(135deg, #0052d4, #4364f7, #6fb1fc);
  color: #fff;
  padding: 15px 20px;
  border: none;
  font-size: 1.1rem;
}

.notice-header h5 {
  font-size: 1.1rem;
  margin: 0;
  color: #fff;
}

.notice-header .icon-box {
  background: rgba(255, 255, 255, 0.2);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fff;
  animation: pulseIcon 2s infinite ease-in-out;
}

/* 🕒 Date */
#noticeDate {
  font-size: 0.85rem;
}

/* 📢 Notice Body */
.notice-body {
  padding: 25px 30px;
  background: #f9fbff;
  border-top: 1px solid #e0e7ff;
}

.notice-text {
  font-size: 1.2rem;
  color: #243b6b;
  line-height: 1.7;
  margin: 0;
  animation: fadeIn 1.2s ease-in-out;
}

/* 🧭 Keyboard Hint */
.key-hint {
  background: #e3f2fd;
  border: 1px solid #90caf9;
  color: #0d47a1;
  border-radius: 6px;
  padding: 2px 6px;
  font-weight: 600;
  font-size: 0.95rem;
}

/* ✨ Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseIcon {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

/* 📱 Responsive */
@media (max-width: 767px) {
  .notice-text {
    font-size: 1rem;
  }
  .notice-header h5 {
    font-size: 1rem;
  }
}



















.card-header {
  background: linear-gradient(90deg, #0d6efd, #6610f2);
  color: #fff !important;
  font-weight: 600;
  letter-spacing: 0.3px;
  font-size: 1.05rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.card {
  border-radius: 10px;
}

.form-control {
  border-radius: 6px;
  transition: all 0.2s ease-in-out;
}

.form-control:focus {
  box-shadow: 0 0 0 0.2rem rgba(13,110,253,.25);
  border-color: #0d6efd;
}

.form-label {
  font-weight: 500;
  margin-bottom: 4px;
}

.form-check-label {
  font-weight: 400;
  color: #333;
}

 
 



















table.dataTable tbody tr {
      cursor: pointer;
      transition: background 0.3s ease;
    }

    table.dataTable tbody tr:hover {
      background-color: #eaf3ff;
    }

    .accordion-details {
      background-color: #f8f9fa;
      border-left: 3px solid #0d6efd;
      animation: fadeIn 0.3s ease;
    }

    @keyframes fadeIn {
      from {opacity: 0; transform: translateY(-5px);}
      to {opacity: 1; transform: translateY(0);}
    }

    .btn-sm i {
      font-size: 0.9rem;
    }

    .dataTables_wrapper .dataTables_filter input {
      border-radius: 8px;
      border: 1px solid #ccc;
      padding: 5px 10px;
    }

    .dataTables_wrapper .dataTables_length select {
      border-radius: 8px;
      padding: 3px 8px;
    }