/* Modern Autobusa Sidebar & Header Styles 2025 */
.app-menu.navbar-menu {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #667eea 100%) !important;
  /* Same gradient as login page */
  box-shadow: 2px 0 20px rgba(70, 130, 180, 0.15) !important;
  border: none !important;
  border-right: 1.5px solid rgba(255, 255, 255, 0.2) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
}


.sidebar-user {
  background: rgba(255, 255, 255, 0.1) !important;
  /* Glass effect */
  border-radius: 1rem !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
  margin: 1.5rem 1rem !important;
  padding: 1rem !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}

.sidebar-user-name-text,
.sidebar-user-name-sub-text {
  color: #ffffff !important;
  /* White text for glass effect */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}

#scrollbar .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500 !important;
  border-radius: 0.75rem !important;
  transition: all 0.3s ease !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  padding: .525rem 1.5rem !important;
}

#scrollbar .nav-link.active,
#scrollbar .nav-link:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  /* Glass effect */
  color: #000 !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

#scrollbar .nav-link i {
  color: rgba(255, 255, 255, 0.9) !important;
  /* White icons */
  margin-left: 0.5rem !important;
  font-size: 1.2em !important;
  transition: all 0.3s ease !important;
}

#scrollbar .nav-link.active i,
#scrollbar .nav-link:hover i {
  color: #000 !important;
}

#scrollbar .navbar-nav {
  padding-top: 1.5rem !important;
  padding-bottom: 1.5rem !important;
}

.menu-title {
  color: rgba(255, 255, 255, 0.7) !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

@media (max-width: 991.98px) {
  .app-menu.navbar-menu {
    border-radius: 0 !important;
  }
}

header {
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 16px rgba(70, 130, 180, 0.08) !important;
  border-bottom: 1.5px solid #b3d8fd !important;
  border-radius: 0 0 2rem 0 !important;
  min-height: 64px !important;
  height: 64px !important;
  display: flex;
  align-items: center;
}

.navbar-brand-box {
  background: rgba(255, 255, 255, 0.1) !important;
  /* Glass effect */
  border-radius: 0 0 1.5rem 1.5rem !important;
  padding: 0 1.5rem !important;
  height: 64px !important;
  /* E njëjtë me header */
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.2) !important;
  /* Vijë si header */
  box-shadow: none !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}

.navbar-brand-box .logo {
  border-radius: 50% !important;
  padding: 8px !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-item,
.topbar-user,
.topbar-head-dropdown {
  border-radius: 50% !important;
  background: transparent !important;
  box-shadow: none !important;
  margin: 0 0.5rem !important;
  color: #2d3a4a !important;
  padding: 0.3rem !important;
}

.header-profile-user,
.header-profile-user img {
  border-radius: 50% !important;
  border: 2px solid #b3d8fd !important;
  box-shadow: 0 1px 4px rgba(70, 130, 180, 0.10) !important;
  width: 38px !important;
  height: 38px !important;
  object-fit: cover;
}

.user-name-text,
.user-name-sub-text {
  color: #2d3a4a !important;
}

header .dropdown-menu {
  background: #ffffff !important;
  border-radius: 1rem !important;
  color: #2d3a4a !important;
  box-shadow: 0 4px 24px rgba(70, 130, 180, 0.10) !important;
}

header .dropdown-item {
  color: #1a4e89 !important;
  border-radius: 0.5rem !important;
  transition: background 0.2s, color 0.2s !important;
}

header .dropdown-item:hover {
  background: #b3d8fd !important;
  color: #2d3a4a !important;
}

/* Flamuri në header */
#header-lang-img {
  background: #fff !important;
  border-radius: 50% !important;
  box-shadow: 0 2px 8px rgba(70, 130, 180, 0.10) !important;
  padding: 3px !important;
  border: 1.5px solid #e3f0ff !important;
  width: 34px !important;
  height: 34px !important;
  object-fit: cover;
}

/* Dropdown language items: rreth i plotë */
header .dropdown-item img {
  background: #fff !important;
  border-radius: 50% !important;
  box-shadow: 0 2px 8px rgba(70, 130, 180, 0.10) !important;
  padding: 2px !important;
  border: 1.5px solid #e3f0ff !important;
  width: 28px !important;
  height: 28px !important;
  object-fit: cover;
}

@media (max-width: 991.98px) {
  header {
    border-radius: 0 !important;
    padding: 0.5rem 1rem !important;
  }

  .navbar-brand-box {
    border-radius: 0 !important;
    padding: 0.5rem 1rem !important;
  }
}

@media (min-width: 992px) {
  .head-main-css {
    display: flex !important;
    justify-content: end !important;
  }
}

:root {
  --autobus-bg: #e3f0ff;
  --autobus-accent: #b3d8fd;
  --autobus-text: #2d3a4a;
  --autobus-icon: #5ec576;
  --autobus-yellow: #fff9db;
}

.navbar-header {
  width: 100% !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

.btn-primary {
  background: #405189 !important;
  border: none !important;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(64, 81, 137, 0.15);
  transition: background 0.2s, box-shadow 0.2s;
}

.btn-primary:hover,
.btn-primary:focus {
  background: #2b3a6b !important;
}

.btn-secondary {
  background: #64748b !important;
  /* Slate-500 */
  border: none !important;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(100, 116, 139, 0.10);
  transition: background 0.2s, box-shadow 0.2s;
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: #475569 !important;
  /* Slate-600 */
}

.btn-success {
  background: #0ab39c !important;
  border: none !important;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(10, 179, 156, 0.15);
  transition: background 0.2s, box-shadow 0.2s;
}

.btn-success:hover,
.btn-success:focus {
  background: #099180 !important;
}

.btn-danger {
  background: #ef4444 !important;
  /* Red-500 */
  border: none !important;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.10);
  transition: background 0.2s, box-shadow 0.2s;
}

.btn-danger:hover,
.btn-danger:focus {
  background: #dc2626 !important;
  /* Red-600 */
}

.btn-warning {
  background: #f59e42 !important;
  /* Amber-400 */
  border: none !important;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(245, 158, 66, 0.10);
  transition: background 0.2s, box-shadow 0.2s;
}

.btn-warning:hover,
.btn-warning:focus {
  background: #d97706 !important;
  /* Amber-600 */
}

.btn-info {
  background: #0ea5e9 !important;
  /* Sky-500 */
  border: none !important;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.10);
  transition: background 0.2s, box-shadow 0.2s;
}

.btn-info:hover,
.btn-info:focus {
  background: #0369a1 !important;
  /* Sky-700 */
}

.btn-dark {
  background: #0f172a !important;
  /* Slate-900 */
  border: none !important;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.10);
  transition: background 0.2s, box-shadow 0.2s;
}

.btn-dark:hover,
.btn-dark:focus {
  background: #1e293b !important;
  /* Slate-800 */
}

.btn-light {
  background: #f1f5f9 !important;
  /* Slate-100 */
  border: none !important;
  color: #64748b !important;
  /* Slate-500 */
  box-shadow: 0 2px 8px rgba(100, 116, 139, 0.04);
  transition: background 0.2s, box-shadow 0.2s;
}

.btn-light:hover,
.btn-light:focus {
  background: #e2e8f0 !important;
  /* Slate-200 */
}

.bg-primary {
  background-color: #405189 !important;
}

.bg-secondary {
  background-color: #64748b !important;
  /* Slate-500 */
}

.bg-success {
  background-color: #10b981 !important;
  /* Emerald-500 */
}

.bg-danger {
  background-color: #ef4444 !important;
  /* Red-500 */
}

.bg-warning {
  background-color: #f59e42 !important;
  /* Amber-400 */
}

.bg-info {
  background-color: #0ea5e9 !important;
  /* Sky-500 */
}

.bg-dark {
  background-color: #0f172a !important;
  /* Slate-900 */
}

.bg-light {
  background-color: #f1f5f9 !important;
  /* Slate-100 */
}

.text-primary {
  color: #405189 !important;
}

.text-secondary {
  color: #64748b !important;
}

.text-success {
  color: #10b981 !important;
}

.text-danger {
  color: #ef4444 !important;
}

.text-warning {
  color: #f59e42 !important;
}

.text-info {
  color: #0ea5e9 !important;
}

.text-dark {
  color: #0f172a !important;
}

.text-light {
  color: #f1f5f9 !important;
}

/* Modal Styles  */
#bileteModal .modal-content {
  border-radius: 1.5rem;
  border: none;
}

#bileteModal .form-floating>.form-control,
#bileteModal .form-floating>.form-select {
  border-radius: 0.75rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

#bileteModal label {
  color: #495057;
  font-weight: 500;
}

#bileteModal .btn-success {
  background: linear-gradient(90deg, #198754 60%, #0d6efd 100%);
  border: none;
  font-weight: 600;
  letter-spacing: 1px;
}

/* Custom styles for the sales card */
.sales-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  transition: all 0.3s ease;
  border-radius: 16px !important;
}

.sales-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

.bg-gradient-primary {
  background: linear-gradient(135deg, #556ee6 0%, #7c3aed 100%) !important;
}

.bg-gradient-primary.opacity-5 {
  background: linear-gradient(135deg, rgba(85, 110, 230, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%) !important;
}

.avatar-lg .avatar-title {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

.counter-value {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #556ee6 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.progress-bar.bg-gradient-primary {
  background: linear-gradient(90deg, #556ee6 0%, #7c3aed 100%) !important;
  animation: progress-animation 2s ease-in-out infinite alternate;
}

@keyframes progress-animation {
  0% {
    opacity: 0.7;
  }

  100% {
    opacity: 1;
  }
}

.badge.bg-success-subtle {
  background: rgba(25, 135, 84, 0.1) !important;
  border: 1px solid rgba(25, 135, 84, 0.2);
}

.badge.bg-success-subtle.text-success {
  color: #198754 !important;
}

.sales-card .progress {
  border-bottom-left-radius: 16px !important;
  border-bottom-right-radius: 16px !important;
  overflow: hidden;
}

.sales-card .progress-bar {
  border-bottom-left-radius: 16px !important;
  border-bottom-right-radius: 16px !important;
}

.sales-card-compact {
  background: linear-gradient(135deg, #fff 60%, #f4f6fa 100%);
  border-radius: 14px !important;
  box-shadow: 10px 10px 20px #babecc, -10px -10px 20px #ffffff;
  transition: box-shadow 0.2s;
}

.sales-card-compact:hover {
  box-shadow: 0 6px 24px rgba(85, 110, 230, 0.13);
}

.sales-card-compact .avatar-md {
  box-shadow: 0 2px 8px rgba(85, 110, 230, 0.10);
}

.counter-value-compact {
  background: linear-gradient(135deg, #556ee6 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.badge.bg-success-subtle {
  background: rgba(25, 135, 84, 0.08) !important;
  border: 1px solid rgba(25, 135, 84, 0.13);
  font-size: 0.85em;
}

@media (max-width: 575.98px) {
  .sales-card-compact {
    min-width: 0;
    max-width: 100%;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.5rem !important;
    padding: 1rem !important;
  }

  .sales-card-compact .avatar-md {
    margin-bottom: 0.5rem;
  }
}


.stats-cards-unique {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
}

.stats-card-unique {
  flex: 1;
  background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
  border-radius: 2rem;
  box-shadow: 0 6px 32px 0 rgba(80, 112, 255, 0.10), 0 1.5px 6px 0 rgba(0, 0, 0, 0.04);
  padding: 36px 20px 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.18s cubic-bezier(.4, 2, .6, 1), box-shadow 0.18s;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.stats-card-unique:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 12px 40px 0 rgba(80, 112, 255, 0.18), 0 2px 8px 0 rgba(0, 0, 0, 0.06);
}

.stats-card-unique .icon {
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff 60%, #e0e7ff 100%);
  box-shadow: 0 2px 8px 0 rgba(80, 112, 255, 0.10);
  font-size: 2.2rem;
}

.stats-card-unique.card-1 .icon {
  background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
  color: #ff7e5f;
}

.stats-card-unique.card-2 .icon {
  background: linear-gradient(135deg, #d4fc79 0%, #96e6a1 100%);
  color: #43cea2;
}

.stats-card-unique.card-3 .icon {
  background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%);
  color: #2193b0;
}

.stats-card-unique.card-4 .icon {
  background: linear-gradient(135deg, #fbc2eb 0%, #a6c1ee 100%);
  color: #b721ff;
}

.stats-card-unique .title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 6px;
  text-align: center;
}

.stats-card-unique .desc {
  font-size: 0.98rem;
  color: #555;
  text-align: center;
}

.narration-modern-box {
  background: linear-gradient(120deg, #f8fafc 60%, #e0e7ff 100%);
  border-radius: 1.5rem;
  box-shadow: 0 4px 24px 0 rgba(80, 112, 255, 0.10), 0 1.5px 6px 0 rgba(0, 0, 0, 0.04);
  padding: 32px 28px 24px 28px;
  margin-bottom: 32px;
  margin-top: 10px;
  position: relative;
}

.narration-modern-label {
  display: flex;
  align-items: center;
  font-size: 1.08rem;
  font-weight: 600;
  color: #3b3b5c;
  margin-bottom: 12px;
}

.narration-modern-label .icon-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e0e7ff 0%, #fff 100%);
  color: #556ee6;
  margin-right: 10px;
  font-size: 1.3rem;
  box-shadow: 0 1px 4px 0 rgba(80, 112, 255, 0.10);
}

.narration-modern-textarea {
  border-radius: 1rem;
  border: 1.5px solid #d1d5db;
  background: #f4f7fe;
  box-shadow: 0 2px 8px 0 rgba(80, 112, 255, 0.07);
  font-size: 1.08rem;
  color: #222;
  padding: 18px 16px;
  min-height: 180px;
  resize: none;
  outline: none;
  transition: border 0.2s;
}

.narration-modern-textarea:focus {
  border: 1.5px solid #556ee6;
}

