  :root {
      --bs-primary: #7B68EE;
      --bs-primary-rgb: 123, 104, 238;
      --bs-secondary: #6c757d;
      --bs-success: #4ade80;
      --bs-info: #22d3ee;
      --bs-warning: #fbbf24;
      --bs-danger: #f87171;
      
      --bs-dark: #0f172a;
      --bs-darker: #020617;
      --bs-light: #f1f5f9;
      --bs-lighter: #f8fafc;
      --bs-card-bg: #1e293b;
      --bs-body-bg: #0f172a;
      --bs-body-bg-alt: #1e293b;
      
      --bs-body-color: #e2e8f0;
      --bs-border-color: #334155;
      --bs-highlight: rgba(123, 104, 238, 0.15);
      --bs-secondary-color: #fff;
      
      --bs-primary-light: #9580FF;
      --bs-primary-dark: #6A5ACC;
    }
    
    body {
      font-family: 'Inter', sans-serif;
      background-color: var(--bs-body-bg);
      color: var(--bs-body-color);
      position: relative;
      min-height: 100vh;
      transition: margin-left 0.3s ease;
    }

    @media (min-width: 992px) {
      body.sidebar-open {
        overflow-x: hidden;
      }
    }
    
    @media (max-width: 991.98px) {
      body.sidebar-open {
        overflow-x: hidden;
      }
    }
    
    body::before {
      content: "";
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-image: radial-gradient(circle at 25% 15%, rgba(123, 104, 238, 0.05) 0%, transparent 25%),
                        radial-gradient(circle at 75% 85%, rgba(123, 104, 238, 0.03) 0%, transparent 20%);
      z-index: -1;
    }

    .navbar {
      padding: 1rem 1.5rem;
      background-color: rgba(15, 23, 42, 0.95);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--bs-border-color);
      box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    }
    
    .navbar-brand img {
      height: 40px;
      filter: brightness(1.2);
    }
    
    .nav-link {
      color: var(--bs-body-color);
      font-weight: 500;
      padding: 0.75rem 1rem;
      transition: all 0.3s ease;
      position: relative;
      margin: 0 2px;
      line-height: 1.5;
      display: flex;
      align-items: center;
    }
    
    .nav-link:hover {
      color: var(--bs-primary-light);
    }
    
    .nav-link.active {
      color: var(--bs-primary);
    }
    
    .menu-active-indicator {
      width: 6px;
      height: 6px;
      background-color: var(--bs-primary);
      border-radius: 50%;
      display: inline-block;
      margin-left: 5px;
      position: static;
      box-shadow: 0 0 5px rgba(123, 104, 238, 0.5);
    }
    
    @media (max-width: 991.98px) {
      .menu-active-indicator {
        position: static;
        margin-left: 8px;
      }
    }
    
    .dropdown-menu {
      background-color: var(--bs-card-bg);
      border: 1px solid var(--bs-border-color);
      border-radius: 0.5rem;
      box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
    }
    
    .dropdown-item {
      color: var(--bs-body-color);
      font-weight: 500;
      padding: 0.75rem 1.25rem;
      transition: all 0.2s ease;
    }
    
    .dropdown-item:hover, .dropdown-item:focus {
      background-color: var(--bs-highlight);
      color: var(--bs-primary-light);
    }
    
    .dropdown-item.active {
      background-color: var(--bs-primary);
      color: #fff;
    }
    
    .badge {
      font-weight: 600;
      padding: 0.5em 0.75em;
      border-radius: 6px;
    }
    
    .badge-balance {
      background: linear-gradient(135deg, var(--bs-primary-dark), var(--bs-primary), var(--bs-primary-light));
      color: white;
      padding: 0.6em 1em;
      border-radius: 2rem;
      box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.15);
      transition: all 0.3s ease;
    }
    
    .badge-balance:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
      filter: brightness(1.1);
    }
    
    .card, .well {
      border-radius: 1rem;
      background-color: var(--bs-card-bg);
      border: 1px solid var(--bs-border-color);
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      margin-bottom: 1.5rem;
      padding: 1.5rem;
      transition: all 0.2s ease-in-out;
    }
    
    .card:hover, .well:hover {
      transform: translateY(-3px);
      box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
    }
    
    .card-header {
      border-bottom-color: rgba(51, 65, 85, 0.5);
    }
    
    .form-control, .form-select {
      background-color: var(--bs-dark);
      border: 1px solid var(--bs-border-color);
      border-radius: 0.5rem;
      color: var(--bs-body-color);
      padding: 0.75rem 1rem;
      transition: all 0.2s ease;
    }
    
    .form-control:focus, .form-select:focus {
      border-color: var(--bs-primary);
      box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
      background-color: rgba(15, 23, 42, 0.8);
    }
    
    .input-group-text {
      background-color: var(--bs-darker);
      border: 1px solid var(--bs-border-color);
      color: var(--bs-body-color);
    }
    
    .btn {
      border-radius: 0.5rem;
      font-weight: 600;
      padding: 0.75rem 1.5rem;
      transition: all 0.3s ease;
    }
    
    .btn-primary {
      background: linear-gradient(135deg, var(--bs-primary), var(--bs-primary-light));
      border: none;
    }
    
    .btn-primary:hover {
      background: linear-gradient(135deg, var(--bs-primary-dark), var(--bs-primary));
      transform: translateY(-2px);
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
    
    .btn-outline-light {
      border: 1px solid var(--bs-border-color);
      color: var(--bs-body-color);
    }
    
    .btn-outline-light:hover {
      background-color: var(--bs-card-bg);
      color: var(--bs-primary);
      border-color: var(--bs-primary);
    }
    
    .icon-link {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      color: var(--bs-primary);
      transition: all 0.3s ease;
    }
    
    .icon-link:hover {
      color: var(--bs-primary-light);
    }
    
    .icon-link i {
      transition: transform 0.3s ease;
    }
    
    .icon-link:hover i {
      transform: translateX(2px);
    }
    
    .table {
      color: var(--bs-body-color);
    }
    
    .table-dark {
      --bs-table-bg: var(--bs-card-bg);
      --bs-table-striped-bg: rgba(30, 41, 59, 0.7);
      --bs-table-hover-bg: rgba(123, 104, 238, 0.1);
      --bs-table-border-color: var(--bs-border-color);
    }
    
    .alert {
      border-radius: 0.75rem;
      border: none;
      padding: 1rem 1.5rem;
    }
    
    .alert-success {
      background-color: rgba(74, 222, 128, 0.15);
      color: #86efac;
    }
    
    .alert-danger {
      background-color: rgba(248, 113, 113, 0.15);
      color: #fca5a5;
    }
    
    .alert-warning {
      background-color: rgba(251, 191, 36, 0.15);
      color: #fcd34d;
    }
    
    @keyframes fadeIn {
      0% { opacity: 0; transform: translateY(10px); }
      100% { opacity: 1; transform: translateY(0); }
    }
    
    .fade-in {
      animation: fadeIn 0.5s ease-in-out;
    }
    
    @media (max-width: 768px) {
      .navbar-brand img {
        height: 32px;
      }
      
      .card, .well {
        padding: 1.25rem;
      }
      
      .btn {
        padding: 0.6rem 1.2rem;
      }
    }
    
.notification-badge {
  position: absolute;
  top: -2px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  background-color: var(--bs-danger);
  color: white;
  border-radius: 50%;
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  font-weight: bold;
}

.mobile-menu-value .notification-badge {
  position: static;
  margin-left: 8px;
}    .side-panel {
      position: fixed;
      top: 0;
      right: -400px;
      width: 400px;
      max-width: 100vw;
      height: 100%;
      background: linear-gradient(180deg, var(--bs-dark) 0%, var(--bs-darker) 100%);
      z-index: 1060;
      transition: right 0.3s ease-in-out;
      box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
      display: flex;
      flex-direction: column;
      border-left: 1px solid var(--bs-border-color);
    }
    
    .side-panel.show {
      right: 0;
    }
    
    .side-panel-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 1rem 1.5rem;
      background-color: rgba(15, 23, 42, 0.95);
      border-bottom: 1px solid var(--bs-border-color);
      backdrop-filter: blur(10px);
      min-height: 76px;
    }
    
    .side-panel-header h5 {
      color: var(--bs-body-color);
      font-weight: 500;
    }
    
    .side-panel-header .btn-close {
      background: none;
      border: none;
      color: var(--bs-body-color);
      font-size: 1.5rem;
      padding: 0.25rem;
      border-radius: 0.375rem;
      transition: all 0.2s ease;
      cursor: pointer;
      opacity: 1;
    }
    
    .side-panel-header .btn-close:hover {
      color: var(--bs-primary-light);
      background-color: rgba(123, 104, 238, 0.1);
    }
    
    .side-panel-body {
      flex: 1;
      overflow-y: auto;
      padding: 1rem;
      background: transparent;
    }
    
    .side-panel .table-dark {
      --bs-table-bg: rgba(30, 41, 59, 0.3);
      --bs-table-striped-bg: rgba(30, 41, 59, 0.5);
      --bs-table-hover-bg: rgba(123, 104, 238, 0.1);
      --bs-table-border-color: var(--bs-border-color);
      background-color: transparent;
    }
    
    .side-panel .table-dark th {
      background-color: rgba(15, 23, 42, 0.8);
      border-color: var(--bs-border-color);
      color: var(--bs-body-color);
    }
    
    .side-panel .table-dark td {
      border-color: rgba(255, 255, 255, 0.1);
      color: var(--bs-body-color);
    }
    
    .side-panel .card {
      background: rgba(30, 41, 59, 0.3);
      border: 1px solid var(--bs-border-color);
      border-radius: 0.75rem;
    }
    
    .side-panel .card-header {
      background: rgba(15, 23, 42, 0.8);
      border-bottom: 1px solid var(--bs-border-color);
    }
    
    .side-panel .card-title {
      color: var(--bs-body-color);
    }
    
    .side-panel .card-body {
      color: var(--bs-body-color);
    }
    
    .side-panel .alert-primary {
      background-color: rgba(123, 104, 238, 0.15);
      border: 1px solid rgba(123, 104, 238, 0.3);
      color: var(--bs-primary-light);
    }
    
    .side-panel .alert-warning {
      background-color: rgba(251, 191, 36, 0.15);
      border: 1px solid rgba(251, 191, 36, 0.3);
      color: #fcd34d;
    }
    
    .side-panel-body::-webkit-scrollbar {
      width: 6px;
    }
    
    .side-panel-body::-webkit-scrollbar-track {
      background: rgba(255, 255, 255, 0.1);
      border-radius: 3px;
    }
    
    .side-panel-body::-webkit-scrollbar-thumb {
      background: rgba(123, 104, 238, 0.5);
      border-radius: 3px;
    }
    
    .side-panel-body::-webkit-scrollbar-thumb:hover {
      background: rgba(123, 104, 238, 0.8);
    }
    
    #panelBackdrop {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
      z-index: 1050;
      display: none;
    }
    
    #panelBackdrop.show {
      display: block;
    }
    
    .legend-icon {
      font-size: 1.25rem;
      width: 40px;
      text-align: center;
      margin-right: 10px;
    }
    
    @media (max-width: 576px) {
      .side-panel {
        width: 100%;
      }
    }
    
    .mobile-nav-buttons {
      align-items: center;
    }
    
    .mobile-nav-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      color: var(--bs-body-color);
      font-size: 1.25rem;
      margin-right: 8px;
      position: relative;
    }
    
    .mobile-nav-btn:hover {
      color: var(--bs-primary-light);
    }

.sidebar {
  position: fixed;
  top: 0;
  left: -280px;
  width: 280px;
  height: 100vh;
  background: linear-gradient(180deg, var(--bs-dark) 0%, var(--bs-darker) 100%);
  z-index: 1055;
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-right: 1px solid var(--bs-border-color);
  box-shadow: 2px 0 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
}

.sidebar.show {
  left: 0;
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background-color: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid var(--bs-border-color);
  backdrop-filter: blur(10px);
  min-height: 76px;
}

.sidebar-logo {
  height: 40px;
  filter: brightness(1.2);
}

.sidebar-close {
  background: none;
  border: none;
  color: var(--bs-body-color);
  font-size: 1.5rem;
  padding: 0.25rem;
  border-radius: 0.375rem;
  transition: all 0.2s ease;
  cursor: pointer;
}

.sidebar-close:hover {
  color: var(--bs-primary-light);
  background-color: rgba(123, 104, 238, 0.1);
}

.sidebar-nav {
  flex: 1;
  padding: 1rem 0;
  overflow-y: auto;
}

.sidebar-link {
  display: flex;
  align-items: center;
  padding: 0.875rem 1.5rem;
  color: var(--bs-body-color);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 500;
  position: relative;
  border-left: 3px solid transparent;
  margin-bottom: 2px;
}

.sidebar-link:hover {
  color: var(--bs-primary-light);
  background-color: rgba(123, 104, 238, 0.1);
  border-left-color: var(--bs-primary);
  text-decoration: none;
}

.sidebar-link.active {
  color: var(--bs-primary);
  background-color: rgba(123, 104, 238, 0.15);
  border-left-color: var(--bs-primary);
}

.sidebar-link.active::after {
  content: '';
  position: absolute;
  right: 1rem;
  width: 6px;
  height: 6px;
  background-color: var(--bs-primary);
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(123, 104, 238, 0.5);
}

.sidebar-link i {
  width: 20px;
  margin-right: 0.875rem;
  font-size: 1.125rem;
  text-align: center;
  transition: transform 0.2s ease;
}

.sidebar-link:hover i {
  transform: scale(1.1);
}

.sidebar-link span {
  font-size: 0.95rem;
}

.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.sidebar-overlay.show {
  opacity: 1;
  visibility: visible;
}

.sidebar-toggle {
  background: none;
  border: 2px solid var(--bs-border-color);
  color: var(--bs-body-color);
  font-size: 1.25rem;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-toggle:hover {
  color: var(--bs-primary-light);
  background-color: rgba(123, 104, 238, 0.1);
  border-color: var(--bs-primary);
}

body.sidebar-open .sidebar-toggle {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.navbar {
  transition: margin-left 0.3s ease;
}

@media (min-width: 992px) {
  .sidebar.show {
    position: fixed;
    left: 0;
  }
  
  .sidebar-overlay {
    display: none;
  }
  
  .navbar {
    margin-left: 0;
    transition: margin-left 0.3s ease;
  }
  
  body.sidebar-open .navbar {
    margin-left: 280px;
  }
  
  body.sidebar-open .container,
  body.sidebar-open .container-fluid,
  body.sidebar-open .container-lg,
  body.sidebar-open .container-md,
  body.sidebar-open .container-sm,
  body.sidebar-open .container-xl,
  body.sidebar-open .container-xxl {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-left: 280px;
    width: calc(100% - 280px);
  }
  
  body.sidebar-open .navbar {
    margin-left: 280px;
    width: calc(100% - 280px);
  }
  
  body.sidebar-open .navbar .container-fluid {
    max-width: none;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (max-width: 991.98px) {
  .sidebar {
    z-index: 1060;
  }
  
  .sidebar-overlay {
    z-index: 1055;
  }
  
  @media (max-width: 576px) {
    .sidebar {
      width: 100%;
      left: -100%;
    }
  }
  
  body.sidebar-open .container,
  body.sidebar-open .container-fluid,
  body.sidebar-open .navbar {
    margin-left: 0 !important;
    width: 100% !important;
  }
}

.sidebar-nav::-webkit-scrollbar {
  width: 6px;
}

.sidebar-nav::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.sidebar-nav::-webkit-scrollbar-thumb {
  background: rgba(123, 104, 238, 0.5);
  border-radius: 3px;
}

.sidebar-nav::-webkit-scrollbar-thumb:hover {
  background: rgba(123, 104, 238, 0.8);
}

@keyframes sidebarSlideIn {
  from {
    left: -280px;
  }
  to {
    left: 0;
  }
}

@keyframes sidebarSlideOut {
  from {
    left: 0;
  }
  to {
    left: -280px;
  }
}

.category-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bs-primary);
  color: #fff;
  width: 18px;
  height: 18px;
  font-size: 10px;
  border-radius: 50%;
  margin-left: 5px;
  font-weight: bold;
}

#category-drop .dropdown-item.active::after {
  content: "âœ“";
  margin-left: 5px;
  font-weight: bold;
  color: var(--bs-primary);
}

.dropdown-menu .badge {
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
}

.category-indicator {
  position: relative;
}

.category-indicator::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--bs-primary-dark), var(--bs-primary), var(--bs-primary-light));
  border-radius: 3px;
}

@keyframes categoryPulse {
  0% { background-color: transparent; }
  50% { background-color: var(--bs-highlight); }
  100% { background-color: transparent; }
}

.category-pulse {
  animation: categoryPulse 1s ease-in-out;
}

.text-muted, 
.text-secondary,
.form-text,
.text-body-secondary {
  color: #fff !important; 
}

small, .small {
  color: #fff;
}

.text-muted {
  color: #fff !important;
}

.help-text, 
.form-text,
.text-secondary {
  color: #fff !important;
}

.nowrap {
  white-space: nowrap;
  color: inherit;
}

::placeholder {
  color: rgba(255, 255, 255, 0.6) !important;
}

.form-label {
  color: #fff;
}

.dropdown-menu {
  max-height: 350px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0.5rem;
  scrollbar-width: thin;
}

.dropdown-menu::-webkit-scrollbar {
  width: 6px;
}

.dropdown-menu::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.dropdown-menu::-webkit-scrollbar-thumb {
  background: rgba(123, 104, 238, 0.5);
  border-radius: 3px;
}

.dropdown-menu::-webkit-scrollbar-thumb:hover {
  background: rgba(123, 104, 238, 0.8);
}

.dropdown-header {
  font-weight: 600;
  color: var(--bs-primary);
  padding: 0.5rem 0.75rem;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.dropdown-header:first-child {
  margin-top: 0;
}

.dropdown-item {
  border-radius: 0.375rem;
  padding: 0.5rem 0.75rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  white-space: normal;
  word-break: break-word;
}

.dropdown-item i {
  font-size: 1.1rem;
  margin-right: 0.5rem;
  width: 20px;
  text-align: center;
}

.dropdown-toggle {
  background-color: var(--bs-dark);
  border-color: var(--bs-border-color);
  color: var(--bs-body-color);
  text-align: left;
}

.dropdown-toggle:hover,
.dropdown-toggle:focus {
  background-color: var(--bs-dark);
  border-color: var(--bs-primary);
  color: var(--bs-primary-light);
}

#categoryTitle, 
#serviceTitle {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: flex;
  align-items: center;
  max-width: calc(100% - 20px);
}

#categoryTitle i, 
#serviceTitle i {
  font-size: 1.1rem;
  margin-right: 0.5rem;
}

.dropdown-toggle .badge {
  font-size: 0.7rem;
  padding: 0.25em 0.5em;
  font-weight: 500;
}

.mobile-menu-toggle {
  background: none;
  border: 2px solid var(--bs-border-color);
  color: var(--bs-body-color);
  font-size: 1.5rem;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
}

.mobile-menu-toggle:hover {
  color: var(--bs-primary-light);
  background-color: rgba(123, 104, 238, 0.1);
  border-color: var(--bs-primary);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -350px;
  width: 350px;
  height: 100vh;
  background: linear-gradient(180deg, var(--bs-dark) 0%, var(--bs-darker) 100%);
  z-index: 1060;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 1px solid var(--bs-border-color);
  box-shadow: -2px 0 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
}

.mobile-menu.show {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background-color: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid var(--bs-border-color);
  backdrop-filter: blur(10px);
  min-height: 76px;
}

.mobile-menu-close {
  background: none;
  border: none;
  color: var(--bs-body-color);
  font-size: 1.5rem;
  padding: 0.25rem;
  border-radius: 0.375rem;
  transition: all 0.2s ease;
  cursor: pointer;
}

.mobile-menu-close:hover {
  color: var(--bs-primary-light);
  background-color: rgba(123, 104, 238, 0.1);
}

.mobile-menu-body {
  flex: 1;
  padding: 1rem 0;
  overflow-y: auto;
}

.mobile-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  color: var(--bs-body-color);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

.mobile-menu-item:hover {
  color: var(--bs-primary-light);
  background-color: rgba(123, 104, 238, 0.1);
  text-decoration: none;
}

.mobile-menu-item.text-danger:hover {
  color: var(--bs-danger);
  background-color: rgba(248, 113, 113, 0.1);
}

.mobile-menu-item-no-border {
  border-bottom: none !important;
}

.mobile-menu-label {
  display: flex;
  align-items: center;
  font-weight: 500;
}

.mobile-menu-value {
  display: flex;
  align-items: center;
}

.mobile-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bs-darker);
  border-top: 1px solid var(--bs-border-color);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  z-index: 10;
}

.mobile-menu-item:hover .mobile-submenu {
  max-height: 200px;
}

.mobile-submenu-item {
  display: block;
  padding: 0.75rem 2rem;
  color: var(--bs-body-color);
  text-decoration: none;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  font-size: 0.9rem;
}

.mobile-submenu-item:hover {
  color: var(--bs-primary-light);
  background-color: rgba(123, 104, 238, 0.05);
  text-decoration: none;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1059;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu-overlay.show {
  opacity: 1;
  visibility: visible;
}

body.mobile-menu-open {
  overflow-x: hidden;
}

@media (min-width: 992px) {
  .mobile-menu {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: none !important;
  }
  
  .mobile-menu-overlay {
    display: none;
  }
  
  .navbar {
    display: flex !important;
  }
}

@media (max-width: 991.98px) {
  .navbar {
    display: flex !important;
  }
  
  .navbar .container-fluid {
    justify-content: space-between;
    align-items: center;
  }
  
  .sidebar-toggle {
    order: 1;
  }
  
  .mobile-menu-toggle {
    order: 3;
  }
  
  .flex-grow-1 {
    order: 2;
    flex-grow: 1;
  }
}

@media (max-width: 420px) {
  .mobile-menu {
    width: 100vw;
    right: -100vw;
  }
}

.nav-tabs {
  border-bottom-color: var(--bs-border-color);
}

.nav-tabs .nav-link {
  background-color: transparent;
  border-color: var(--bs-border-color);
  color: var(--bs-body-color);
  transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
  background-color: var(--bs-highlight);
  border-color: var(--bs-primary);
  color: var(--bs-primary-light);
}

.nav-tabs .nav-link.active {
  background-color: var(--bs-card-bg) !important;
  border-color: var(--bs-primary) var(--bs-primary) var(--bs-card-bg) !important;
  color: var(--bs-primary) !important;
  font-weight: 600;
}

.nav-tabs .nav-link.active:hover {
  color: var(--bs-primary-light) !important;
}

button.nav-link.active {
  background-color: var(--bs-card-bg) !important;
  color: var(--bs-primary) !important;
  font-weight: 600;
}

button.nav-link.active:hover {
  color: var(--bs-primary-light) !important;
}

.nav-tabs .nav-link:focus {
  color: var(--bs-primary-light);
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.25);
}

.tab-content {
  background-color: transparent;
  border: none;
}

.side-panel-header .btn-close {
  background: none;
  border: none;
  color: var(--bs-body-color);
  font-size: 1.5rem;
  padding: 0.25rem;
  border-radius: 0.375rem;
  transition: all 0.2s ease;
  cursor: pointer;
  opacity: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.side-panel-header .btn-close:hover {
  color: var(--bs-primary-light);
  background-color: rgba(123, 104, 238, 0.1);
  transform: scale(1.1);
}

.side-panel-header .btn-close i {
  font-size: 1.2rem;
  line-height: 1;
}

/* ===== LOGIN PAGE OPTIMIZATIONS ===== */
.login-container .form-control {
  padding: 0.6rem 0.75rem;
  font-size: 0.95rem;
  height: auto;
}

.login-container .form-floating > label {
  padding: 0.6rem 0.75rem;
  font-size: 0.95rem;
}

.login-container .btn-login {
  padding: 0.6rem 1.25rem;
  font-size: 0.95rem;
}

.login-container .form-check {
  margin-bottom: 0;
}

.login-container .forgot-password-link {
  font-size: 0.875rem;
}

.login-container .custom-checkbox .form-check-label {
  font-size: 0.875rem;
}

.login-container .divider-custom {
  margin: 0.75rem 0;
}

.login-container .signup-prompt {
  font-size: 0.9rem;
}

@media (max-width: 767.98px) {
  .login-container .form-control {
    padding: 0.5rem 0.65rem;
  }
  
  .login-container .form-floating > label {
    padding: 0.5rem 0.65rem;
  }
}

/* ===== TUTORIAL ALERT STYLES ===== */
.tutorial-alert-link {
  display: block;
  color: inherit;
  transition: all 0.3s ease;
}

.tutorial-alert-link:hover {
  color: inherit;
  text-decoration: none;
}

.tutorial-alert-link:hover .tutorial-alert {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(123, 104, 238, 0.3);
  border-color: var(--bs-primary);
}

.tutorial-alert {
  background: linear-gradient(135deg, rgba(123, 104, 238, 0.1) 0%, rgba(123, 104, 238, 0.05) 100%);
  border: 1px solid rgba(123, 104, 238, 0.3);
  border-left: 4px solid var(--bs-primary);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  border-radius: 0.75rem;
  cursor: pointer;
}

.tutorial-alert:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(123, 104, 238, 0.3);
  border-color: var(--bs-primary);
}

.tutorial-alert-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, 
    rgba(123, 104, 238, 0.1), 
    transparent,
    rgba(123, 104, 238, 0.05)
  );
  pointer-events: none;
}

.tutorial-alert-content {
  position: relative;
  z-index: 1;
  font-size: clamp(0.875rem, 2.5vw, 1rem);
  line-height: 1.6;
  color: var(--bs-body-color);
}

.alert-text-content {
  display: inline;
  line-height: 1.5;
  text-align: center;
  word-wrap: break-word;
  hyphens: auto;
}

.alert-text-content strong {
  margin-right: 0.5rem;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--bs-primary);
  display: inline-block;
  animation: pulse 2s infinite;
  box-shadow: 0 0 0 0 rgba(123, 104, 238, 0.7);
  align-self: flex-start;
  margin-top: 0.25rem;
}

.tutorial-cta {
  color: var(--bs-primary-light);
  transition: all 0.3s ease;
  display: inline;
  white-space: nowrap;
  margin-left: 0.25rem;
}

.tutorial-alert-link:hover .tutorial-cta {
  color: var(--bs-primary);
}

.tutorial-cta i {
  transition: transform 0.3s ease;
}

.tutorial-alert-link:hover .tutorial-cta i {
  transform: translateX(3px);
}

@media (max-width: 767.98px) {
  .tutorial-alert-content {
    text-align: center;
    padding: 0.75rem 1rem !important;
  }
  
  .tutorial-alert-content .d-flex {
    align-items: flex-start;
  }
  
  .alert-text-content {
    text-align: center;
    line-height: 1.4;
  }
  
  .pulse-dot {
    width: 8px;
    height: 8px;
    margin-top: 0.3rem;
  }
}

@media (max-width: 575.98px) {
  .tutorial-alert-content {
    padding: 0.5rem 0.75rem !important;
    font-size: 0.875rem;
  }
  
  .alert-text-content {
    line-height: 1.3;
  }
  
  .tutorial-cta {
    font-size: 0.875rem;
  }
}

@keyframes pulse {
  0% { 
    transform: scale(1); 
    box-shadow: 0 0 0 0 rgba(123, 104, 238, 0.7);
  }
  50% { 
    transform: scale(1.2); 
    box-shadow: 0 0 0 8px rgba(123, 104, 238, 0);
  }
  100% { 
    transform: scale(1); 
    box-shadow: 0 0 0 0 rgba(123, 104, 238, 0);
  }
}

/* ===== LOGIN PAGE STYLES ===== */
.hero-section {
  padding: 2rem 0;
  position: relative;
}

.hero-title {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  color: var(--bs-body-color);
  opacity: 0.9;
}

.section-header {
  margin-bottom: 2rem;
}

.section-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  color: var(--bs-body-color);
  opacity: 0.8;
}

.gradient-text {
  background: linear-gradient(135deg, var(--bs-primary), var(--bs-primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.login-card {
  background: var(--bs-card-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
}

.login-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--bs-primary), var(--bs-primary-light));
}

.login-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(123, 104, 238, 0.3);
}

.card-header-custom {
  background: linear-gradient(135deg, rgba(123, 104, 238, 0.1), rgba(123, 104, 238, 0.05));
  border-bottom: 1px solid var(--bs-border-color);
  padding: 1.25rem;
}

.icon-wrapper {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--bs-primary), var(--bs-primary-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(123, 104, 238, 0.4);
}

.icon-wrapper i {
  font-size: 1.5rem;
  color: white;
}

.input-group-custom {
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.input-group-custom:focus-within {
  box-shadow: 0 0 0 3px rgba(123, 104, 238, 0.25);
  transform: translateY(-2px);
}

.input-group-custom .input-group-text {
  background: linear-gradient(135deg, rgba(123, 104, 238, 0.15), rgba(123, 104, 238, 0.1));
  border: 1px solid var(--bs-border-color);
  border-right: none;
  color: var(--bs-primary);
  padding: 0.625rem 0.875rem;
}

.input-group-custom .form-control {
  background-color: var(--bs-dark);
  border: 1px solid var(--bs-border-color);
  border-left: none;
  color: var(--bs-body-color);
  padding: 0.625rem 0.875rem;
}

.input-group-custom .form-control:focus {
  background-color: var(--bs-darker);
  border-color: var(--bs-primary);
  color: var(--bs-body-color);
  box-shadow: none;
}

.input-group-custom .form-control::placeholder {
  color: rgba(226, 232, 240, 0.5);
}

.custom-checkbox .form-check-input {
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid var(--bs-border-color);
  border-radius: 0.35rem;
  background-color: var(--bs-dark);
  cursor: pointer;
  transition: all 0.2s ease;
}

.custom-checkbox .form-check-input:checked {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}

.custom-checkbox .form-check-label {
  cursor: pointer;
  user-select: none;
  margin-left: 0.5rem;
}

.forgot-password-link {
  color: var(--bs-primary-light);
  font-weight: 500;
  transition: all 0.3s ease;
}

.forgot-password-link:hover {
  color: var(--bs-primary);
  transform: translateX(3px);
}

.btn-login {
  position: relative;
  overflow: hidden;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 0.75rem 2rem;
  border: none;
  background: linear-gradient(135deg, var(--bs-primary), var(--bs-primary-light));
  box-shadow: 0 4px 15px rgba(123, 104, 238, 0.4);
  transition: all 0.3s ease;
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(123, 104, 238, 0.6);
  background: linear-gradient(135deg, var(--bs-primary-light), var(--bs-primary));
}

.btn-login:active {
  transform: translateY(0);
}

.btn-login .btn-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}

.btn-login:hover .btn-shine {
  left: 100%;
}

.divider-custom {
  display: flex;
  align-items: center;
  text-align: center;
  position: relative;
}

.divider-custom::before,
.divider-custom::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--bs-border-color);
}

.divider-text {
  padding: 0 1rem;
  color: var(--bs-body-color);
  opacity: 0.6;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 1px;
}

.signup-prompt {
  padding: 0.75rem;
  background: rgba(123, 104, 238, 0.05);
  border-radius: 0.5rem;
  border: 1px solid rgba(123, 104, 238, 0.1);
}

.signup-link {
  color: var(--bs-primary-light);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.signup-link:hover {
  color: var(--bs-primary);
  transform: translateX(5px);
}

.signup-link i:last-child {
  transition: transform 0.3s ease;
}

.signup-link:hover i:last-child {
  transform: translateX(3px);
}

.feature-card {
  background: var(--bs-card-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--bs-primary), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(123, 104, 238, 0.3);
  border-color: var(--bs-primary);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon-wrapper i {
  font-size: 2.5rem;
  color: white;
}

.feature-icon-wrapper.bg-primary {
  background: linear-gradient(135deg, var(--bs-primary), var(--bs-primary-light));
}

.feature-icon-wrapper.bg-success {
  background: linear-gradient(135deg, var(--bs-success), #22c55e);
}

.feature-icon-wrapper.bg-warning {
  background: linear-gradient(135deg, var(--bs-warning), #f59e0b);
}

.feature-icon-wrapper.bg-info {
  background: linear-gradient(135deg, var(--bs-info), #06b6d4);
}

.feature-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--bs-body-color);
}

.feature-text {
  font-size: 0.9375rem;
  color: var(--bs-body-color);
  opacity: 0.8;
  line-height: 1.6;
  margin-bottom: 0;
}

.feature-shine {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(123, 104, 238, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.feature-card:hover .feature-shine {
  opacity: 1;
}

.tutorial-step-card {
  background: var(--bs-card-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tutorial-step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--bs-primary), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tutorial-step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(123, 104, 238, 0.3);
  border-color: var(--bs-primary);
}

.tutorial-step-card:hover::before {
  opacity: 1;
}

.tutorial-step-number {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  font-weight: 700;
  color: var(--bs-primary);
  opacity: 0.15;
  line-height: 1;
  transition: all 0.3s ease;
}

.tutorial-step-card:hover .tutorial-step-number {
  opacity: 0.3;
  transform: scale(1.1);
}

.tutorial-step-icon-wrapper {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--bs-primary), var(--bs-primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative;
  box-shadow: 0 8px 20px rgba(123, 104, 238, 0.4);
  transition: all 0.3s ease;
}

.tutorial-step-card:hover .tutorial-step-icon-wrapper {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 12px 30px rgba(123, 104, 238, 0.6);
}

.tutorial-step-icon-wrapper::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--bs-primary);
  opacity: 0;
  animation: iconPulse 2s infinite;
}

.tutorial-step-icon-wrapper i {
  font-size: 2.5rem;
  color: white;
  z-index: 1;
  position: relative;
}

.tutorial-step-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--bs-body-color);
  position: relative;
  z-index: 1;
}

.tutorial-step-text {
  font-size: 0.9375rem;
  color: var(--bs-body-color);
  opacity: 0.8;
  line-height: 1.6;
  margin-bottom: 0;
  flex-grow: 1;
  position: relative;
  z-index: 1;
}

.tutorial-step-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--bs-primary), var(--bs-primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.tutorial-step-card:hover .tutorial-step-line {
  transform: scaleX(1);
}

@media (min-width: 992px) {
  .tutorial-step-card::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -2rem;
    width: 2rem;
    height: 2px;
    background: linear-gradient(90deg, var(--bs-primary), transparent);
    opacity: 0.3;
    z-index: -1;
  }
  
  .tutorial-step-card:last-child::after {
    display: none;
  }
}

@keyframes iconPulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.4);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
  }
}

@media (max-width: 991.98px) {
  .tutorial-step-card::after {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .card-header-custom {
    padding: 1rem;
  }
  
  .icon-wrapper {
    width: 40px;
    height: 40px;
  }
  
  .icon-wrapper i {
    font-size: 1.25rem;
  }
  
  .feature-icon-wrapper,
  .tutorial-step-icon-wrapper {
    width: 70px;
    height: 70px;
    margin-bottom: 1.25rem;
  }
  
  .feature-icon-wrapper i,
  .tutorial-step-icon-wrapper i {
    font-size: 2rem;
  }
  
  .tutorial-step-number {
    font-size: 1.5rem;
    top: 0.75rem;
    right: 0.75rem;
  }
}

@media (max-width: 575.98px) {
  .hero-section {
    padding: 1rem 0;
  }
  
  .login-card {
    border-radius: 0.75rem;
  }
  
  .btn-login {
    padding: 0.75rem 1.5rem;
  }
  
  .feature-card,
  .tutorial-step-card {
    padding: 1.5rem 1rem;
  }
  
  .tutorial-step-number {
    font-size: 1.25rem;
  }
}

/* ===== CUSTOM CAPTCHA STYLES ===== */
.captcha-wrapper {
  background: var(--bs-card-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: 0.75rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.captcha-wrapper:hover {
  border-color: var(--bs-primary);
  box-shadow: 0 4px 12px rgba(123, 104, 238, 0.2);
}

.captcha-image {
  width: 120px;
  height: 50px;
  object-fit: cover;
  background-color: var(--bs-card-bg);
  border-color: var(--bs-border-color) !important;
  transition: all 0.3s ease;
}

.captcha-image:hover {
  border-color: var(--bs-primary) !important;
  transform: scale(1.02);
}

.captcha-refresh-btn {
  top: -6px;
  right: -6px;
  width: 24px;
  height: 24px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.captcha-refresh-btn:hover {
  transform: rotate(180deg);
  transition: transform 0.4s ease;
}

.captcha-refresh-btn i {
  font-size: 12px;
}

.cursor-pointer {
  cursor: pointer;
}

#custom_captcha {
  letter-spacing: 2px;
  font-family: 'Courier New', monospace;
  font-size: 0.95rem;
  padding: 0.5rem 0.75rem;
}

#custom_captcha::placeholder {
  letter-spacing: normal;
  font-family: inherit;
}

@media (max-width: 767.98px) {
  .captcha-wrapper {
    padding: 0.75rem !important;
  }
  
  .captcha-image {
    width: 100px;
    height: 45px;
  }
  
  .captcha-refresh-btn {
    top: -4px;
    right: -4px;
    width: 22px;
    height: 22px;
  }
  
  .captcha-refresh-btn i {
    font-size: 11px;
  }
  
  #custom_captcha {
    font-size: 0.9rem;
    padding: 0.5rem;
    letter-spacing: 1.5px;
  }
  
  #custom-captcha-container .form-label {
    font-size: 0.875rem;
  }
  
  #custom-captcha-container .form-text {
    font-size: 0.75rem;
  }
}

@media (max-width: 575.98px) {
  .captcha-wrapper {
    padding: 0.5rem !important;
  }
  
  .captcha-image {
    width: 90px;
    height: 40px;
  }
  
  #custom-captcha-container .row {
    gap: 0.5rem !important;
  }
}

