/* AcadSphere Brand Tokens */
:root {
  --font-primary: "HK Grotesk", "hkgrotesk", sans-serif;
  --font-secondary: "Poppins", sans-serif;
  --acad-sphere-primary: #03A141;
  /* #03A141; */
  --acad-sphere-secondary: #FC0F18;
  --acad-sphere-accent: #FFCA00;
  --acad-sphere-dark: #333333;
  --acad-sphere-light: #f8f9fa;
  --acad-sphere-background: #f3f3f9;
  --acad-sphere-white: #FFFFFF;
}

.btn-acad-sphere-primary {
  background-color: var(--acad-sphere-primary);
  border-color: var(--acad-sphere-primary);
  color: #fff;
}

.btn-acad-sphere-primary:hover {
  background-color: #018a35;
  border-color: #018a35;
  color: #fff;
}

.btn-acad-sphere-secondary {
  background-color: var(--acad-sphere-secondary);
  border-color: var(--acad-sphere-secondary);
  color: #fff;
}

.btn-acad-sphere-secondary:hover {
  background-color: #bb2d3b;
  border-color: #bb2d3b;
  color: #fff;
}

html {
  font-size: 14px;
  height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--acad-sphere-primary);
}

body {
  font-family: var(--font-primary);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  background-color: var(--acad-sphere-background);
  padding-top: 0;
  /* Ensure no extra padding that could interfere with sticky navbar */
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
}

main {
  flex: 1;
}

footer {
  margin-top: auto;
}

.form-floating>.form-control-plaintext::placeholder,
.form-floating>.form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating>.form-control-plaintext:focus::placeholder,
.form-floating>.form-control:focus::placeholder {
  text-align: start;
}

/* CUG Custom Styles */
.text-primary {
  color: var(--acad-sphere-primary) !important;
}

.bg-primary {
  background-color: var(--acad-sphere-primary) !important;
}

.btn-primary {
  background-color: var(--acad-sphere-primary);
  border-color: var(--acad-sphere-primary);
}

.btn-primary:hover {
  background-color: #018a35;
  border-color: #018a35;
}

.btn-secondary {
  background-color: var(--acad-sphere-secondary);
  border-color: var(--acad-sphere-secondary);
}

.btn-secondary:hover {
  background-color: #d40e16;
  border-color: #d40e16;
}

/* Custom Navbar */
.custom-navbar {
  position: sticky;
  top: 0;
  z-index: 1030;
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Header styling for sticky navbar */
header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background-color: white;
}

.custom-navbar .nav-link {
  color: var(--acad-sphere-dark) !important;
  font-weight: 500;
  transition: color 0.3s ease;
}

.custom-navbar .nav-link:hover {
  color: var(--acad-sphere-white) !important;
}

.navbar .nav-link img,
.navbar form button.nav-link img {
  margin-right: 0.5rem;
  transition: filter 0.3s ease;
}

.navbar .nav-link:hover img,
.navbar .nav-link.active img,
.navbar form button.nav-link:hover img,
.navbar form button.nav-link.active img {
  filter: brightness(0) saturate(100%) invert(100%);
}

.custom-navbar .btn-acad-sphere-primary {
  background-color: var(--acad-sphere-primary);
  border: none;
  color: white;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.custom-navbar .btn-acad-sphere-secondary {
  padding: 0.5rem 1rem;
}

.custom-navbar .btn-acad-sphere-primary:hover {
  background-color: #018a35;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(1, 161, 64, 0.3);
  color: white;
}

/* Mobile-friendly navbar */
.navbar-brand {
  font-weight: 700;
}

.navbar-brand img {
  max-height: 100px;
}

.navbar-brand .fw-bold {
  font-size: 1rem;
}

.navbar-brand small {
  font-size: 0.75rem;
}

@media (max-width: 991px) {
  .navbar-brand {
    flex-direction: column;
    align-items: flex-start !important;
  }

  .navbar-brand img {
    max-height: 80px;
    margin-bottom: 5px;
  }

  .navbar-brand .fw-bold {
    font-size: 0.9rem;
    line-height: 1.2;
  }

  .navbar-brand small {
    font-size: 0.7rem;
  }

  .navbar-nav .btn {
    margin-top: 10px;
    width: 100%;
  }
}

/* Velzon-inspired Card Styles */
.card {
  border-radius: 5px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
  background-color: #ffffff;
  overflow: hidden;
  position: relative;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1), 0 4px 10px rgba(0, 0, 0, 0.08) !important;
}

.card-header {
  background-color: var(--acad-sphere-white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  border-radius: 12px 12px 0 0;
  position: relative;
}

.card-header.bg-primary {
  background-color: var(--acad-sphere-primary) !important;
  color: #ffffff;
  border-bottom: none;
}

.card-header.bg-success {
  background-color: #28a745 !important;
  color: #ffffff;
  border-bottom: none;
}

.card-header.bg-warning {
  background-color: #ffc107 !important;
  color: #212529;
  border-bottom: none;
}

.card-header.bg-light {
  background-color: #f8f9fa !important;
  color: #495057;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.card-body {
  padding: 1.5rem;
  background-color: #ffffff;
}

.card-footer {
  background-color: #f8f9fa;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding: 1rem 1.5rem;
  border-radius: 0 0 12px 12px;
}

/* Velzon-inspired Form Controls */
.form-control {
  /* border-radius: 8px; */
  border: 1.5px solid #000000 !important;
  transition: all 0.2s ease;
  font-size: 0.9375rem;
  border-radius: 2px;
}

.form-control:focus {
  border-color: var(--acad-sphere-primary);
  box-shadow: 0 0 0 0.15rem rgba(21, 65, 39, 0.15);
  background-color: #ffffff;
}

.form-select,
select.form-select,
.form-select.form-select-lg,
select.form-select.form-select-lg {
  /* border-radius: 8px; */
  border: 1.5px solid #000000 !important;
  transition: all 0.2s ease;
  font-size: 0.9375rem;
}

.form-select:focus,
select.form-select:focus,
.form-select.form-select-lg:focus,
select.form-select.form-select-lg:focus {
  border-color: var(--acad-sphere-primary) !important;
  border-width: 1.5px !important;
  border-style: solid !important;
  box-shadow: 0 0 0 0.15rem rgba(21, 65, 39, 0.15);
  background-color: #ffffff;
}

/* Default state */
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
  border: 1.5px solid #000000 !important;
}

.select2-container--bootstrap-5 .select2-selection {
  border: 1.5px solid #000000 !important;
}

.select2-container--default .select2-selection:focus {
  outline: none !important;
}

.form-label {
  font-weight: 500;
  color: #495057;
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
}

/* Velzon-inspired Alerts */
.alert {
  border-radius: 3px;
  border: none;
  padding: 1rem 1.25rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  font-weight: 500;
}

.alert-success {
  background-color: rgba(40, 167, 69, 0.1);
  border-left: 4px solid #28a745;
  color: #155724;
}

.alert-danger {
  background-color: rgba(252, 15, 24, 0.1);
  border-left: 4px solid var(--acad-sphere-secondary);
  color: #721c24;
}

.alert-warning {
  background-color: rgba(255, 202, 0, 0.15);
  border-left: 4px solid var(--acad-sphere-accent);
  color: #856404;
}

.alert-info {
  background-color: rgba(21, 65, 39, 0.1);
  border-left: 4px solid var(--acad-sphere-primary);
  color: var(--acad-sphere-primary);
}

.alert-sm {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
}

.btn-acad-sphere-primary {
  background-color: var(--acad-sphere-primary);
  border: none;
  color: white;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-acad-sphere-primary:hover {
  background-color: #018a35;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(1, 161, 64, 0.3);
  color: white;
}

.btn-acad-sphere-white {
  background-color: var(--acad-sphere-white);
  border: none;
  color: #000000;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-acad-sphere-white:hover {
  background-color: #018a35;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(1, 161, 64, 0.3);
  color: white;
}

.btn-acad-sphere-secondary {
  background-color: var(--acad-sphere-accent);
  border: none;
  color: var(--acad-sphere-dark);
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-acad-sphere-secondary:hover {
  background-color: #e6b800;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(255, 202, 0, 0.3);
  color: var(--acad-sphere-dark);
}

/* Feature icons */
.feature-icon {
  color: var(--acad-sphere-primary);
  font-size: 2rem;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .feature-icon {
    font-size: 1.5rem;
  }
}

/* Process steps */
.process-step {
  background: white;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 100%;
  border: 1px solid #e9ecef;
}

.process-step:hover {
  transform: translateY(-3px);
}

.step-icon {
  width: 60px;
  height: 60px;
  background-color: var(--acad-sphere-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 1.5rem;
  color: white;
}

@media (max-width: 768px) {
  .step-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}

/* Feature cards */
.feature-card {
  background: white;
  /* border-radius: 8px; */
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 100%;
  border: 1px solid #e9ecef;
}

.feature-card:hover {
  transform: translateY(-2px);
}

/* Hero section - No gradient */
.hero-section {
  background-color: var(--acad-sphere-primary);
  color: white;
  padding: 60px 0;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 40px 0;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-section .lead {
    font-size: 1rem;
  }

  .hero-section .btn {
    width: 100%;
    margin-bottom: 10px;
  }
}

/* Mobile improvements */
@media (max-width: 576px) {
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .card-body {
    padding: 1.5rem;
  }

  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }

  .display-4 {
    font-size: 2rem;
  }

  .display-5 {
    font-size: 1.5rem;
  }

  .h4 {
    font-size: 1.25rem;
  }

  .h5 {
    font-size: 1.1rem;
  }
}

/* Global Table Header Styling */
.table th {
  background-color: #F5F7FA !important;
  color: black !important;
  font-weight: 600;
  border: none;
  padding: 1rem 0.75rem;
}

.table th a {
  color: white !important;
  text-decoration: none;
}

.table th a:hover {
  color: #f8f9fa !important;
  text-decoration: underline;
}

/* Table responsiveness */
@media (max-width: 768px) {
  .table-responsive {
    font-size: 0.875rem;
  }

  .table th,
  .table td {
    padding: 0.5rem;
  }
}

/* Form improvements for mobile */
@media (max-width: 768px) {
  .form-label {
    font-size: 0.9rem;
  }

  .form-control,
  .form-select {
    font-size: 1rem;
  }

  .input-group-text {
    font-size: 0.9rem;
  }
}

/* Alert improvements */
@media (max-width: 768px) {
  .alert {
    font-size: 0.9rem;
    padding: 0.75rem;
  }

  .alert-heading {
    font-size: 1rem;
  }
}

/* Home page specific styles */
.hero-section {
  background-color: var(--acad-sphere-primary);
  color: white;
  padding: 60px 0;
}

.process-step {
  background: white;
  /* border-radius: 8px; */
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 100%;
  border: 1px solid #e9ecef;
}

.process-step:hover {
  transform: translateY(-3px);
}

.step-icon {
  width: 60px;
  height: 60px;
  background-color: var(--acad-sphere-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 1.5rem;
  color: white;
}

.feature-card {
  background: white;
  /* border-radius: 8px; */
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 100%;
  border: 1px solid #e9ecef;
}

.feature-card:hover {
  transform: translateY(-2px);
}

.btn-acad-sphere-primary {
  background-color: #03A141;
  border: none;
  color: white;
  padding: 12px 30px;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-acad-sphere-primary:hover {
  background-color: #018a35;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(1, 161, 64, 0.3);
  color: white;
}

.btn-acad-sphere-secondary {
  background-color: #FFCA00;
  border: none;
  color: #333;
  padding: 12px 30px;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-acad-sphere-secondary:hover {
  background-color: #e6b800;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(255, 202, 0, 0.3);
  color: #333;
}

/* Home page mobile styles */
@media (max-width: 768px) {
  .hero-section {
    padding: 40px 0;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-section .lead {
    font-size: 1rem;
  }

  .hero-section .btn {
    width: 100%;
    margin-bottom: 10px;
  }

  .step-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}

/* Dashboard specific styles */
.dashboard .feature-icon {
  color: #03A141;
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* Dashboard mobile styles */
@media (max-width: 768px) {
  .dashboard .feature-icon {
    font-size: 1.5rem;
  }

  .dashboard .card-body {
    padding: 1.5rem;
  }

  .dashboard .btn {
    width: 100%;
    margin-bottom: 10px;
  }

  .btn {
    border-radius: 0.01rem !important;
  }

  .dashboard .d-flex.justify-content-between {
    flex-direction: column;
  }

  .dashboard .d-flex.justify-content-between .btn {
    width: 100%;
    margin-bottom: 10px;
  }
}

/* New Dashboard Layout */
.dashboard-container {
  display: flex;
  min-height: calc(100vh - 76px);
  /* Subtract header height */
  background-color: #f8f9fa;
}

/* Sidebar Styles */
.dashboard-sidebar {
  width: 280px;
  background-color: #4a9d5c;
  /* Lighter green */
  color: white;
  display: flex;
  flex-direction: column;
  position: fixed;
  height: calc(100vh - 76px);
  overflow-y: auto;
  z-index: 1000;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar-header {
  padding: 2rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.user-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.user-avatar {
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.user-details h6 {
  margin: 0;
  font-weight: 600;
  font-size: 1rem;
}

.user-details small {
  opacity: 0.8;
  font-size: 0.85rem;
}

.sidebar-nav {
  flex: 1;
  padding: 1rem 0;
}

.nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-item {
  margin: 0.25rem 0;
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 1rem 1.5rem;
  /* color: rgba(255, 255, 255, 0.8); */
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  gap: 1rem;
}

.nav-link:hover {
  background-color: var(--acad-sphere-primary);
  color: white;
}

.nav-item.active .nav-link {
  background-color: rgba(255, 255, 255, 0.15);
  color: white;
  font-weight: 600;
}

.nav-item.active .nav-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: var(--acad-sphere-accent);
}

.nav-link i {
  width: 20px;
  text-align: center;
  font-size: 1.1rem;
}

.nav-badge {
  background-color: var(--acad-sphere-secondary);
  color: white;
  font-size: 0.7rem;
  padding: 0.25rem 0.5rem;
  border-radius: 5px;
  margin-left: auto;
}

/* Main Content Styles */
.dashboard-main {
  flex: 1;
  margin-left: 280px;
  display: flex;
  flex-direction: column;
}

.dashboard-header {
  background-color: white;
  padding: 2rem;
  border-bottom: 1px solid #e9ecef;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-title {
  margin: 0;
  color: var(--acad-sphere-primary);
  font-weight: 700;
  font-size: 2rem;
}

.page-subtitle {
  margin: 0.5rem 0 0 0;
  color: #03A141;
  font-size: 1.1rem;
}

.dashboard-content {
  flex: 1;
  padding: 2rem;
}

.content-section {
  display: none;
}

.content-section.active {
  display: block;
}

.section-title {
  color: var(--acad-sphere-primary);
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

/* Status Cards */
.status-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.status-card {
  background-color: white;
  border: 2px solid #a5a0a0;
  border-radius: 3px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
  height: 100%;
}

/* .status-card {
    background: white;
    border-radius: 3px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 2px solid #a5a0a0;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    height: 100%;
} */

.status-card:hover {
  border-color: var(--acad-sphere-primary);
  transform: translateY(-2px);
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  background-color: var(--acad-sphere-primary);
}

.card-icon.success {
  background-color: #28a745;
}

.card-icon.warning {
  background-color: var(--acad-sphere-accent);
  color: var(--acad-sphere-dark);
}

.card-icon.info {
  background-color: #17a2b8;
}

.card-content h6 {
  margin: 0 0 0.5rem 0;
  font-weight: 600;
  color: var(--acad-sphere-dark);
}

.card-content p {
  margin: 0;
  color: #03A141;
  font-size: 0.9rem;
}

/* Quick Actions */
.quick-actions {
  margin-bottom: 2rem;
}

.action-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.action-card {
  background-color: white;
  border: 2px solid #e9ecef;
  border-radius: 5px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.action-card:hover:not(.disabled) {
  border-color: var(--acad-sphere-primary);
  transform: translateY(-2px);
}

.action-card.disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.action-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  background-color: var(--acad-sphere-primary);
  margin: 0 auto 1.5rem;
}

.action-icon.success {
  background-color: #28a745;
}

.action-icon.info {
  background-color: #17a2b8;
}

.action-icon.disabled {
  background-color: #03A141;
}

.action-content h6 {
  margin: 0 0 1rem 0;
  font-weight: 600;
  color: var(--acad-sphere-dark);
  font-size: 1.2rem;
}

.action-content p {
  margin: 0 0 1.5rem 0;
  color: #03A141;
  line-height: 1.5;
}

/* Vouchers Table */
.vouchers-table {
  background-color: white;
  border-radius: 5px;
  overflow: hidden;
  border: 2px solid #e9ecef;
}

.vouchers-table .table {
  margin: 0;
}

.vouchers-table .table th {
  /* background-color: #03A141 !important;
  color: white !important; */
  border: none;
  padding: 1rem;
  font-weight: 600;
}

.vouchers-table .table td {
  padding: 1rem;
  border-color: #e9ecef;
  vertical-align: middle;
}

.voucher-code {
  background-color: #f8f9fa;
  color: var(--acad-sphere-primary);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  font-family: 'Courier New', monospace;
  font-weight: 600;
}


.badge-primary {
  background-color: var(--acad-sphere-primary);
  color: white;
}

.badge-success {
  background-color: #28a745;
  color: white;
}

.badge-info {
  background-color: #17a2b8;
  color: white;
}

.badge-secondary {
  background-color: var(--acad-sphere-secondary);
  color: white;
}

/* Password Form */
.password-form-container {
  background-color: white;
  border-radius: 5px;
  border: 2px solid #e9ecef;
  padding: 2rem;
  max-width: 500px;
}

.password-form .form-group {
  margin-bottom: 1.5rem;
}

.password-form .form-label {
  font-weight: 600;
  color: var(--acad-sphere-dark);
  margin-bottom: 0.5rem;
}

.password-form .form-control {
  border: 2px solid #e9ecef;
  /* border-radius: 8px; */
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.password-form .form-control:focus {
  border-color: var(--acad-sphere-primary);
  box-shadow: 0 0 0 0.2rem rgba(1, 161, 64, 0.25);
}

.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

/* Applications Section */
.applications-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.application-type-section {
  background-color: white;
  border-radius: 5px;
  border: 2px solid #e9ecef;
  padding: 1.5rem;
}

.application-type-title {
  color: var(--acad-sphere-primary);
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  border-bottom: 2px solid #e9ecef;
  padding-bottom: 0.5rem;
}

.application-card {
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  /* border-radius: 8px; */
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.application-card:hover {
  border-color: var(--acad-sphere-primary);
  transform: translateY(-1px);
}

.application-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.application-title {
  color: var(--acad-sphere-dark);
  font-weight: 600;
  margin: 0;
  font-size: 1.1rem;
}

.application-date {
  color: #03A141;
  font-size: 0.9rem;
}

.application-details {
  margin-bottom: 1rem;
}

.program-choice {
  margin-bottom: 0.5rem;
  color: var(--acad-sphere-dark);
}

.program-choice strong {
  color: var(--acad-sphere-primary);
}

.faculty {
  color: #03A141;
  font-style: italic;
}

.mature-candidate {
  margin-top: 0.5rem;
}

.application-status {
  text-align: right;
}

.status-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
}

.status-pending {
  background-color: #fff3cd;
  color: #856404;
  border: 1px solid #ffeaa7;
}

.status-approved {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.status-rejected {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 3rem 2rem;
  background-color: white;
  border-radius: 5px;
  border: 2px solid #e9ecef;
}

.empty-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #03A141;
  margin: 0 auto 1.5rem;
}

.empty-state h5 {
  color: var(--acad-sphere-dark);
  margin-bottom: 1rem;
  font-weight: 600;
}

.empty-state p {
  color: #03A141;
  margin-bottom: 2rem;
  line-height: 1.5;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .dashboard-container {
    flex-direction: column;
  }

  .dashboard-sidebar {
    width: 100%;
    position: relative;
    height: auto;
    order: 1;
  }

  .dashboard-main {
    margin-left: 0;
    order: 2;
  }

  .dashboard-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
  }

  .dashboard-content {
    padding: 1rem;
  }

  .status-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  @media (max-width: 768px) {
    .status-cards {
      grid-template-columns: 1fr;
    }

    .action-buttons {
      grid-template-columns: 1fr;
    }

    .status-card {
      padding: 20px;
    }

    .action-button {
      padding: 15px;
    }
  }

  .action-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .vouchers-table {
    overflow-x: auto;
  }

  .page-title {
    font-size: 1.5rem;
  }

  .user-info {
    /* flex-direction: column; */
    text-align: center;
    gap: 0.5rem;
  }

  .user-avatar {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .nav-link {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  .nav-link i {
    width: 16px;
    font-size: 1rem;
  }

  .application-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .application-date {
    font-size: 0.8rem;
  }

  .application-card {
    padding: 1rem;
  }

  .application-type-section {
    padding: 1rem;
  }
}

/* Sticky Help Button Styles - Always visible, truly sticky */
.sticky-help-btn {
  position: fixed !important;
  bottom: 30px !important;
  right: 30px !important;
  z-index: 9999 !important;
  background-color: var(--acad-sphere-primary) !important;
  color: white !important;
  border: 1px solid white !important;
  border-radius: 10px !important;
  padding: 12px 24px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  transition: all 0.3s ease !important;
  will-change: transform !important;
  backface-visibility: hidden !important;
  -webkit-backface-visibility: hidden !important;
  transform: translateZ(0) !important;
  -webkit-transform: translateZ(0) !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  margin: 0 !important;
  outline: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

.sticky-help-btn:hover {
  background-color: #018a35 !important;
  transform: translateY(-2px) translateZ(0) !important;
  -webkit-transform: translateY(-2px) translateZ(0) !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2) !important;
  color: white !important;
}

.sticky-help-btn:focus,
.sticky-help-btn:active,
.sticky-help-btn:focus-visible {
  outline: none !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 0 0 3px rgba(21, 65, 39, 0.25) !important;
}

.sticky-help-btn i {
  font-size: 1.1rem;
}

/* Legacy floating button support (for backward compatibility) */
.floating-help-btn {
  position: fixed !important;
  bottom: 30px !important;
  right: 30px !important;
  z-index: 9999 !important;
  background-color: var(--acad-sphere-primary) !important;
  color: white !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 12px 24px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  transition: all 0.3s ease !important;
  will-change: transform !important;
  backface-visibility: hidden !important;
  -webkit-backface-visibility: hidden !important;
  transform: translateZ(0) !important;
  -webkit-transform: translateZ(0) !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  margin: 0 !important;
  outline: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

.floating-help-btn:focus,
.floating-help-btn:active,
.floating-help-btn:focus-visible {
  outline: none !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 0 0 3px rgba(21, 65, 39, 0.25) !important;
}

.floating-help-btn:hover {
  background-color: #018a35;
  transform: translateY(-2px) translateZ(0);
  -webkit-transform: translateY(-2px) translateZ(0);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  color: white;
}

.floating-help-btn i {
  font-size: 1.1rem;
}

@media (max-width: 768px) {

  .sticky-help-btn,
  .floating-help-btn {
    bottom: 20px !important;
    right: 20px !important;
    padding: 10px 20px;
    font-size: 0.85rem;
  }
}

/* Prevent any parent from hiding the floating button */
body,
html,
.container,
.container-fluid,
.row,
.col-md-8,
.col-md-10,
.col-lg-8 {
  overflow-x: visible !important;
}

/* Ensure floating button is never hidden by overflow */
.floating-help-btn {
  position: fixed !important;
  z-index: 9999 !important;
}

/* Prevent Select2 dropdown from covering the button */
.select2-container {
  z-index: 9998 !important;
}

.select2-dropdown {
  z-index: 9998 !important;
}

/* Help Modal Styles */
.help-modal {
  display: none;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1060 !important;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  will-change: opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.help-modal.show {
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.help-modal-content {
  background-color: white;
  border-radius: 4px;
  max-width: 600px;
  width: 100%;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  animation: slideInModal 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin: 0 auto;
  position: relative;
  will-change: transform, opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  -webkit-overflow-scrolling: touch;
}

@keyframes slideInModal {
  from {
    opacity: 0;
    transform: translateY(-30px) translateZ(0);
    -webkit-transform: translateY(-30px) translateZ(0);
  }

  to {
    opacity: 1;
    transform: translateY(0) translateZ(0);
    -webkit-transform: translateY(0) translateZ(0);
  }
}

.help-modal-header {
  padding: 20px 25px;
  border-bottom: 2px solid #e9ecef;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f8f9fa;
  border-radius: 5px 5px 0 0;
}

.help-modal-header h5 {
  margin: 0;
  color: var(--acad-sphere-primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.help-modal-header .btn-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #03A141;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10%;
  transition: all 0.3s ease;
}

.help-modal-header .btn-close:hover {
  background-color: #e9ecef;
  color: var(--acad-sphere-secondary);
}

.help-modal-body {
  padding: 25px;
}

.help-modal-body .card {
  margin-bottom: 15px;
  border: 1px solid #e9ecef;
}

.help-modal-body .card:last-child {
  margin-bottom: 0;
}

/* Hide sidebar by default in application steps */
.application-step-sidebar {
  display: none !important;
}

/* Velzon-inspired Additional Card Enhancements */
.card.mb-4 {
  margin-bottom: 1.5rem !important;
}

.card-header h6 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
}

.card-header h6 i {
  margin-right: 0.5rem;
}

/* Velzon-inspired Button Styles */
.btn {
  /* border-radius: 8px; */
  padding: 0.625rem 1.25rem;
  font-weight: 500;
  transition: all 0.2s ease;
  border: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

.btn-primary {
  background-color: var(--acad-sphere-primary);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #018a35;
  color: #ffffff;
}

.btn-success {
  background-color: #28a745;
  color: #ffffff;
}

.btn-success:hover {
  background-color: #20c997;
  color: #ffffff;
}

.btn-outline-primary {
  border: 1px solid var(--acad-sphere-primary);
  color: var(--acad-sphere-primary);
  background: transparent;
}

.btn-outline-primary:hover {
  background: var(--acad-sphere-primary);
  color: #ffffff;
}

.btn-outline-danger {
  border: 1px solid var(--acad-sphere-secondary);
  color: var(--acad-sphere-secondary);
  background: transparent;
}

.btn-outline-danger:hover {
  background: var(--acad-sphere-secondary);
  color: #ffffff;
}

.btn-outline-warning {
  border: 1px solid var(--acad-sphere-accent);
  color: var(--acad-sphere-dark);
  background: transparent;
}

.btn-outline-warning:hover {
  background: var(--acad-sphere-accent);
  color: var(--acad-sphere-dark);
}

/* Velzon-inspired Badge Styles */
.badge {
  border-radius: 0.2rem;
  padding: 0.35em 0.65em;
  font-weight: 500;
  font-size: 0.75rem;
}

/* Velzon-inspired Input Group */
.input-group .form-control,
.input-group .form-select {
  /* border-radius: 8px; */
}

.input-group-text {
  border-radius: 3px;
  border: 1px solid #e0e0e0;
  background-color: #f8f9fa;
}

/* Velzon-inspired Table Styles */
.table {
  overflow: hidden;
}

.table thead th {
  background-color: "#F5F7FA";
  color: #ffffff;
  font-weight: 600;
  border: none;
  padding: 1rem;
}

.table tbody td {
  padding: 1rem;
  border-color: #f0f0f0;
  vertical-align: middle;
}

.table tbody tr:hover {
  background-color: #f8f9fa;
  transition: background-color 0.2s ease;
}

/* Velzon-inspired Specialized Card Styles */
.exam-result-card,
.education-record,
.uploaded-document-card {
  border-radius: 5px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
  background-color: #ffffff;
  overflow: hidden;
}

.exam-result-card:hover,
.education-record:hover,
.uploaded-document-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1), 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* Velzon-inspired Grade Row Styles */
.grade-row {
  background-color: #f8f9fa;
  padding: 1rem;
  /* border-radius: 8px; */
  margin-bottom: 0.75rem;
  border: 1px solid #e9ecef;
  transition: all 0.2s ease;
}

.grade-row:hover {
  border-color: var(--acad-sphere-primary);
  box-shadow: 0 2px 8px rgba(21, 65, 39, 0.1);
}

/* Velzon-inspired Profile Picture Card */
.profile-picture-container .card {
  border-radius: 5px;
  overflow: hidden;
}

/* Velzon-inspired Drop Zone */
.drop-zone {
  border-radius: 5px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.drop-zone:hover {
  box-shadow: 0 8px 20px rgba(13, 110, 253, 0.15);
}

/* Velzon-inspired Modal Enhancements */
.modal-content {
  border-radius: 16px;
  border: none;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 16px 16px 0 0;
  padding: 1.5rem;
}

.modal-body {
  padding: 1.5rem;
}

.modal-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 0 0 16px 16px;
  padding: 1rem 1.5rem;
}

/* Velzon-inspired Help Modal */
.help-modal-content {
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.help-modal-header {
  border-radius: 16px 16px 0 0;
}

/* Velzon-inspired List Styles */
.list-unstyled li {
  padding: 0.5rem 0;
  transition: all 0.2s ease;
}

.list-unstyled li:hover {
  padding-left: 0.5rem;
  color: var(--acad-sphere-primary);
}

/* Velzon-inspired Text Muted */


/* Velzon-inspired Spacing */
.mb-3 {
  margin-bottom: 1rem !important;
}

.mb-4 {
  margin-bottom: 1.5rem !important;
}

.mt-3 {
  margin-top: 1rem !important;
}

.mt-4 {
  margin-top: 1.5rem !important;
}

.card-border-primary {
  border: 2px solid var(--acad-sphere-primary);
}

/* Radio Button Styling - Larger size with primary color border */
input[type="radio"],
.form-check-input[type="radio"] {
  width: 1.1rem !important;
  height: 1.1rem !important;
  border: 2px solid #a5a0a0 !important;
  cursor: pointer;
}

input[type="radio"]:checked,
.form-check-input[type="radio"]:checked {
  background-color: var(--acad-sphere-primary) !important;
  border-color: var(--acad-sphere-primary) !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e") !important;
}

input[type="radio"]:focus,
.form-check-input[type="radio"]:focus {
  border-color: var(--acad-sphere-primary) !important;
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--acad-sphere-primary) !important;
}

input[type="radio"]:hover,
.form-check-input[type="radio"]:hover {
  border-color: var(--acad-sphere-primary) !important;
}

/* Checkbox Styling - Larger size with primary color border (matching radio buttons) */
input[type="checkbox"],
.form-check-input[type="checkbox"] {
  width: 1.1rem !important;
  height: 1.1rem !important;
  border: 2px solid #a5a0a0 !important;
  cursor: pointer;
  border-radius: 0.25rem !important;
}

input[type="checkbox"]:checked,
.form-check-input[type="checkbox"]:checked {
  background-color: var(--acad-sphere-primary) !important;
  border-color: var(--acad-sphere-primary) !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e") !important;
}

input[type="checkbox"]:focus,
.form-check-input[type="checkbox"]:focus {
  border-color: var(--acad-sphere-primary) !important;
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--acad-sphere-primary) !important;
}

input[type="checkbox"]:hover,
.form-check-input[type="checkbox"]:hover {
  border-color: var(--acad-sphere-primary) !important;
}

.btn-outline-secondary {
  border: 1px solid var(--acad-sphere-primary) !important;
  color: #03A141;
  padding: 12px 30px;
  border-radius: 4px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  background: transparent;
}

.btn-outline-secondary:hover {
  background-color: var(--acad-sphere-secondary);
  color: white;
  transform: translateY(-1px);
  text-decoration: none;
}