/* Custom Stylesheet for LMS - Learning Management System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --primary-color: #d4b86a;
  --primary-hover: #c5a85d;
  --secondary-color: #06b6d4;
  --accent-color: #f59e0b;
  --gold-icon: #e6d399;
  --gold-icon-dark: #c5a85d;
  --gold-icon-light: #f5e8c2;
  --gold-gradient: linear-gradient(135deg, #e6d399 0%, #d4b86a 50%, #c5a85d 100%);
  --dark-bg: #0f172a;
  --dark-card: #1e293b;
  --light-bg: #f8fafc;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  --border-color: #e2e8f0;
  --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
  --hover-shadow: 0 20px 35px -5px rgba(212, 184, 106, 0.25), 0 10px 15px -6px rgba(212, 184, 106, 0.15);
  --gradient-primary: linear-gradient(135deg, #e6d399 0%, #d4b86a 50%, #c5a85d 100%);
  --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1c1914 50%, #0f172a 100%);
  --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.95));
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.3);
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--light-bg);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
}

/* Navbar Styling */
.navbar-custom {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.8rem 1rem;
  transition: all 0.3s ease;
}

.navbar-brand {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  background: linear-gradient(135deg, #ffffff 0%, #f5e8c2 40%, #e6d399 75%, #d4b86a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-link {
  color: #cbd5e1 !important;
  font-weight: 500;
  margin: 0 0.3rem;
  transition: all 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: #e6d399 !important;
  transform: translateY(-1px);
}

.btn-primary-custom {
  background: var(--gradient-primary);
  color: #121316 !important;
  border: none;
  font-weight: 700;
  padding: 0.6rem 1.4rem;
  border-radius: 50rem;
  box-shadow: 0 4px 14px rgba(230, 211, 153, 0.35);
  transition: all 0.3s ease;
}

.btn-primary-custom:hover,
.btn-primary-custom:focus {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #f5e8c2 0%, #e6d399 50%, #d4b86a 100%);
  box-shadow: 0 6px 20px rgba(230, 211, 153, 0.55);
  color: #000000 !important;
}

.btn-outline-custom {
  border: 2px solid #e6d399;
  color: #e6d399 !important;
  font-weight: 600;
  padding: 0.55rem 1.3rem;
  border-radius: 50rem;
  transition: all 0.3s ease;
}

.btn-outline-custom:hover,
.btn-outline-custom:focus {
  background: #e6d399;
  border-color: #e6d399;
  color: #121316 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(230, 211, 153, 0.35);
}

/* Hero Section */
.hero-section {
  background: var(--gradient-hero);
  color: var(--text-light);
  padding: 5rem 0 6rem 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(230, 211, 153, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3.2rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero-highlight {
  background: linear-gradient(135deg, #ffffff 0%, #f5e8c2 35%, #e6d399 70%, #d4b86a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #94a3b8;
  margin-bottom: 2rem;
  max-width: 600px;
}

.stat-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-badge:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(230, 211, 153, 0.4);
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: #e6d399;
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ─── Hero Promotional Banner Slider ─────────────────────────────────────── */
.hero-slider-wrapper {
  position: relative;
  width: 100%;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(230, 211, 153, 0.25);
  background: #12151b;
  aspect-ratio: 16 / 10;
  max-height: 420px;
}

.hero-slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s ease;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-slide-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.hero-slide-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1);
  transition: transform 6s ease;
}

.hero-slide.active .hero-slide-img {
  transform: scale(1.04);
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 12, 16, 0.94) 0%,
    rgba(10, 12, 16, 0.45) 45%,
    rgba(10, 12, 16, 0.05) 100%
  );
  pointer-events: none;
}

.hero-slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1.75rem;
  z-index: 3;
}

.hero-slide-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
  line-height: 1.3;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-slide-desc {
  font-size: 0.9rem;
  color: #cbd5e1;
  margin-bottom: 0.75rem;
  line-height: 1.4;
  max-width: 85%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

.hero-slide-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1.1rem;
  background: linear-gradient(135deg, #e6d399 0%, #d4b86a 100%);
  color: #121316 !important;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 50rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(230, 211, 153, 0.3);
  transition: all 0.25s ease;
}

.hero-slide-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(230, 211, 153, 0.5);
  color: #000 !important;
}

/* Slider Controls */
.hero-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(18, 21, 27, 0.7);
  border: 1px solid rgba(230, 211, 153, 0.3);
  color: #e6d399;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
  font-size: 0.9rem;
  padding: 0;
}

.hero-slider-arrow:hover {
  background: rgba(230, 211, 153, 0.95);
  color: #121316;
  border-color: #e6d399;
  transform: translateY(-50%) scale(1.08);
}

.hero-slider-prev {
  left: 12px;
}

.hero-slider-next {
  right: 12px;
}

/* Slider Dots */
.hero-slider-dots {
  position: absolute;
  bottom: 14px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 10;
}

.hero-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50rem;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slider-dot.active {
  width: 24px;
  background: #e6d399;
  box-shadow: 0 0 8px rgba(230, 211, 153, 0.6);
}

.hero-slider-dot:hover:not(.active) {
  background: rgba(255, 255, 255, 0.7);
}

/* Hero stats strip */
.hero-stats-strip {
  position: relative;
  z-index: 1;
}

/* Course Card */
.course-card {
  background: white;
  border-radius: 1.25rem;
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--hover-shadow);
  border-color: rgba(212, 184, 106, 0.4);
}

.course-thumb-container {
  position: relative;
  height: 200px;
  background: var(--gradient-hero);
  overflow: hidden;
}

.course-thumb-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.course-card:hover .course-thumb-container img {
  transform: scale(1.05);
}

.course-badge-level {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #e6d399;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 50rem;
  border: 1px solid rgba(230, 211, 153, 0.35);
}

.course-price-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: var(--gradient-primary) !important;
  color: #121316 !important;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.4rem 0.9rem;
  border-radius: 50rem;
  box-shadow: 0 4px 12px rgba(230, 211, 153, 0.35);
}

.course-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.course-cat-tag {
  color: var(--primary-color);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.course-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.35;
  color: var(--text-dark);
}

.course-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.course-title a:hover {
  color: var(--primary-color);
}

.course-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

/* Category Cards */
.category-card {
  background: white;
  border-radius: 1rem;
  padding: 1.8rem 1.5rem;
  text-align: center;
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
  text-decoration: none;
  color: var(--text-dark);
  display: block;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--hover-shadow);
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.category-icon {
  width: 65px;
  height: 65px;
  border-radius: 1rem;
  background: rgba(79, 70, 229, 0.08);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 1.2rem auto;
  transition: all 0.3s ease;
}

.category-card:hover .category-icon {
  background: var(--gradient-primary);
  color: white;
  transform: rotate(5deg) scale(1.05);
}

/* Feature Cards */
.feature-card {
  background: white;
  border-radius: 1.25rem;
  padding: 2.2rem 1.8rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-color);
  box-shadow: var(--hover-shadow);
}

.feature-icon-box {
  width: 55px;
  height: 55px;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, rgba(230, 211, 153, 0.15) 0%, rgba(212, 184, 106, 0.25) 100%);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}

/* Testimonials */
.testimonial-card {
  background: white;
  border-radius: 1.25rem;
  padding: 2rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
  position: relative;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: #475569;
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.rating-stars {
  color: var(--accent-color);
}

/* FAQ Section */
.accordion-custom .accordion-item {
  border: 1px solid var(--border-color);
  border-radius: 1rem !important;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.accordion-custom .accordion-button {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-dark);
  background: white;
  padding: 1.2rem 1.5rem;
}

.accordion-custom .accordion-button:not(.collapsed) {
  background: rgba(79, 70, 229, 0.05);
  color: var(--primary-color);
  box-shadow: none;
}

/* Contact Card */
.contact-card {
  background: white;
  border-radius: 1.5rem;
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
  padding: 2.5rem;
}

/* Footer Styling */
.footer-custom {
  background: var(--dark-bg);
  color: #cbd5e1;
  padding: 4.5rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-text,
.footer-custom .text-muted,
.footer-custom p,
.footer-custom li {
  color: #cbd5e1 !important;
  opacity: 1 !important;
}

.footer-brand {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 800;
}

.footer-link {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #e6d399;
}

.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  margin-right: 0.5rem;
  text-decoration: none;
}

.social-icon-btn:hover {
  background: var(--gradient-primary);
  color: white;
  transform: translateY(-3px);
}

/* Form Controls */
.form-control:focus, .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(79, 70, 229, 0.15);
}

/* Page Section Spacing */
.section-padding {
  padding: 5rem 0;
}

.section-title-wrapper {
  margin-bottom: 3.5rem;
  text-align: center;
}

.section-subtitle {
  color: var(--primary-color);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
}

.section-main-title {
  font-size: 2.3rem;
  color: var(--text-dark);
  margin-top: 0.5rem;
}

/* Student Learn Interface - Video Player Logo Watermark Overlay */
.video-brand-badge,
.gdrive-popout-cover {
  position: absolute !important;
  top: 6px !important;
  right: 6px !important;
  left: auto !important;
  bottom: auto !important;
  width: 52px !important;
  height: 52px !important;
  z-index: 25 !important;
  pointer-events: auto !important;
  cursor: default !important;
  background-color: #0f172a !important;
  border: 1.5px solid rgba(230, 211, 153, 0.45) !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.7) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  padding: 4px !important;
}

.video-brand-badge img,
.gdrive-popout-cover img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  border-radius: 6px !important;
}

.learn-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
}

.learn-prev-btn-box {
  flex: 0 0 auto;
}

.learn-action-status {
  text-align: center;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.learn-next-btn-box {
  flex: 0 0 auto;
}

.learn-action-status .badge.bg-success,
.badge.bg-success {
  background-color: #10b981 !important;
  color: #ffffff !important;
}

.learn-action-status .badge.bg-success * {
  color: #ffffff !important;
}

.learn-tabs {
  border-bottom: 2px solid #e2e8f0;
  gap: 6px;
}

.learn-tabs .nav-link {
  color: #64748b;
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: 8px 8px 0 0;
  padding: 10px 18px;
  transition: all 0.2s ease;
  background: transparent;
}

.learn-tabs .nav-link:hover {
  color: var(--primary-color);
  border-color: transparent;
}

.learn-tabs .nav-link.active {
  color: var(--primary-color) !important;
  border-color: #e2e8f0 #e2e8f0 #fff;
  border-bottom: 2px solid var(--primary-color) !important;
  background-color: #fff !important;
  font-weight: 700;
}

/* ── Student Learn Interface - Left Sidebar Full Height to Footer with Internal Scroll ── */
.learn-page-container {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.learn-page-container > .row {
  align-items: stretch !important;
  margin-bottom: 0 !important;
}

@media (min-width: 992px) {
  .learn-sidebar-col {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    align-self: stretch !important;
  }

  .learn-sidebar-card {
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    left: calc(var(--bs-gutter-x) * 0.5) !important;
    right: calc(var(--bs-gutter-x) * 0.5) !important;
    width: calc(100% - var(--bs-gutter-x)) !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    border-top-left-radius: 1rem !important;
    border-top-right-radius: 1rem !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border: 1px solid #e2e8f0 !important;
    border-bottom: none !important;
    margin-bottom: 0 !important;
    background-color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
  }

  .learn-syllabus-scroll-area {
    flex: 1 1 0px !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    scrollbar-width: thin !important;
    scrollbar-color: #cbd5e1 #f8fafc !important;
    overscroll-behavior: contain !important;
    padding-right: 4px;
  }

  .learn-main-col {
    padding-bottom: 2.5rem !important;
    margin-bottom: 0 !important;
  }
}

/* Custom Sleek Scrollbar for Learn Syllabus */
.learn-syllabus-scroll-area::-webkit-scrollbar,
#sidebarSyllabus::-webkit-scrollbar {
  width: 6px;
}

.learn-syllabus-scroll-area::-webkit-scrollbar-track,
#sidebarSyllabus::-webkit-scrollbar-track {
  background: #f8fafc;
  border-radius: 4px;
}

.learn-syllabus-scroll-area::-webkit-scrollbar-thumb,
#sidebarSyllabus::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.learn-syllabus-scroll-area::-webkit-scrollbar-thumb:hover,
#sidebarSyllabus::-webkit-scrollbar-thumb:hover {
  background: #d4b86a;
}


/* ═══════════════════════════════════════════════════════════════════════════
   GLOBAL BUTTON COLOR OVERRIDES TO MATCH i-Learn LOGO ICON (#E6D399)
   ═══════════════════════════════════════════════════════════════════════════ */

/* Bootstrap .btn-primary */
.btn-primary {
  background: var(--gradient-primary) !important;
  border-color: #d4b86a !important;
  color: #121316 !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(230, 211, 153, 0.3) !important;
  transition: all 0.3s ease !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.show > .btn-primary.dropdown-toggle {
  background: linear-gradient(135deg, #f5e8c2 0%, #e6d399 50%, #d4b86a 100%) !important;
  border-color: #e6d399 !important;
  color: #000000 !important;
  box-shadow: 0 6px 20px rgba(230, 211, 153, 0.5) !important;
  transform: translateY(-1px);
}

/* Bootstrap .btn-outline-primary */
.btn-outline-primary {
  border-color: #d4b86a !important;
  color: #8c6f1a !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active,
.btn-outline-primary.active {
  background: var(--gradient-primary) !important;
  border-color: #d4b86a !important;
  color: #121316 !important;
  box-shadow: 0 4px 14px rgba(230, 211, 153, 0.35) !important;
  transform: translateY(-1px);
}

/* .btn-warning (Used for Certificate Download & Achievements) */
.btn-warning {
  background: linear-gradient(135deg, #f0dfb0 0%, #e6d399 50%, #d4b86a 100%) !important;
  border-color: #d4b86a !important;
  color: #121316 !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 12px rgba(230, 211, 153, 0.3) !important;
}

.btn-warning:hover,
.btn-warning:focus,
.btn-warning:active {
  background: linear-gradient(135deg, #faf0d7 0%, #f0dfb0 50%, #e6d399 100%) !important;
  border-color: #e6d399 !important;
  color: #000000 !important;
  box-shadow: 0 6px 18px rgba(230, 211, 153, 0.5) !important;
  transform: translateY(-1px);
}

/* Course Price Badge matching Logo Gold */
.course-price-badge {
  background: var(--gradient-primary) !important;
  color: #121316 !important;
  font-weight: 800 !important;
}

/* Student Learn Interface Accents matching Logo Gold */
#course-progress-badge {
  background: linear-gradient(135deg, #e6d399 0%, #d4b86a 100%) !important;
  color: #121316 !important;
  font-weight: 700 !important;
}

.list-group-item.active.bg-primary {
  background: linear-gradient(135deg, #e6d399 0%, #d4b86a 100%) !important;
  border-color: #d4b86a !important;
  color: #121316 !important;
  font-weight: 700 !important;
}

.list-group-item.active.bg-primary i {
  color: #121316 !important;
}

.accordion-custom .accordion-button:not(.collapsed) {
  background: rgba(230, 211, 153, 0.12) !important;
  color: #8c6f1a !important;
  box-shadow: none;
}

/* Focus Rings */
.btn:focus-visible,
.btn-primary:focus-visible,
.btn-primary-custom:focus-visible {
  outline: none !important;
  box-shadow: 0 0 0 0.25rem rgba(230, 211, 153, 0.5) !important;
}

/* ─── Floating Toast Notification System ─────────────────────── */
.toast-messages-container {
  position: fixed;
  top: 80px;
  right: 24px;
  z-index: 1090;
  max-width: 440px;
  width: calc(100% - 48px);
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast-message-item {
  pointer-events: auto;
  margin-bottom: 0 !important;
  border-radius: 12px !important;
  padding: 0.85rem 1.15rem !important;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.45;
  background: rgba(15, 23, 42, 0.95) !important;
  color: #f1f5f9 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45) !important;
  animation: toastSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.alert-toast-success {
  border-left: 4px solid #10b981 !important;
}

.alert-toast-info {
  border-left: 4px solid #38bdf8 !important;
}

.alert-toast-warning {
  border-left: 4px solid #f59e0b !important;
}

.alert-toast-danger,
.alert-toast-error {
  border-left: 4px solid #ef4444 !important;
}

.toast-icon {
  flex-shrink: 0;
}

.toast-message-text {
  word-break: break-word;
}

@keyframes toastSlideIn {
  from {
    opacity: 0;
    transform: translateY(-16px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 576px) {
  .toast-messages-container {
    top: 70px;
    left: 16px;
    right: 16px;
    width: calc(100% - 32px);
    max-width: 100%;
  }
}


