/* ==========================================================================
   PROSPER DIGITAL LMS - ENTERPRISE DESIGN SYSTEM
   Advanced eBay & eCommerce Training
   ========================================================================== */

/* NOTE: Google Fonts are loaded via <link> with preconnect in the layout <head>
   (see layouts/main.php etc.) — do NOT use @import here, it blocks rendering. */

:root {
  --pd-navy: #1C2340;
  --pd-navy-dark: #141B30;
  --pd-navy-deep: #0A192F;
  --pd-navy-light: #2A3654;
  --pd-navy-subtle: #0F172A;
  --pd-orange: #FF6B00;
  --pd-orange-hover: #E65C00;
  --pd-orange-dark: #C2410C; /* text-safe orange: 4.5:1+ contrast on white for links/body text */
  --pd-orange-gradient: linear-gradient(135deg, #FF7A00 0%, #FF5400 100%);
  --pd-orange-subtle: #FFF4EC;
  --pd-orange-border: #FFD6B8;
  
  --pd-slate-50: #F8FAFC;
  --pd-slate-100: #F1F5F9;
  --pd-slate-200: #E2E8F0;
  --pd-slate-300: #CBD5E1;
  --pd-slate-400: #94A3B8;
  --pd-slate-500: #64748B;
  --pd-slate-600: #475569;
  --pd-slate-700: #334155;
  --pd-slate-800: #1E293B;
  --pd-slate-900: #0F172A;

  --pd-success: #10B981;
  --pd-success-subtle: #ECFDF5;
  --pd-warning: #F59E0B;
  --pd-warning-subtle: #FFFBEB;
  --pd-danger: #EF4444;
  --pd-danger-subtle: #FEF2F2;
  --pd-info: #0284C7;
  --pd-info-subtle: #F0F9FF;

  --pd-font-heading: 'Plus Jakarta Sans', sans-serif;
  --pd-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --pd-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --pd-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --pd-shadow-lg: 0 10px 15px -3px rgba(10, 25, 47, 0.08), 0 4px 6px -2px rgba(10, 25, 47, 0.04);
  --pd-shadow-xl: 0 20px 25px -5px rgba(10, 25, 47, 0.1), 0 10px 10px -5px rgba(10, 25, 47, 0.04);
  --pd-shadow-orange: 0 10px 20px -5px rgba(255, 107, 0, 0.35);

  --pd-radius-sm: 6px;
  --pd-radius-md: 10px;
  --pd-radius-lg: 16px;
  --pd-radius-xl: 24px;
}

/* Base Reset & Typography */
body {
  font-family: var(--pd-font-body);
  background-color: var(--pd-slate-50);
  color: var(--pd-slate-700);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: var(--pd-font-heading);
  color: var(--pd-navy);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  color: var(--pd-orange-dark);
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

a:hover {
  color: var(--pd-orange-hover);
}

/* Utility classes used across views (previously undefined) */
.text-navy { color: var(--pd-navy) !important; }
.fw-600 { font-weight: 600 !important; }
.text-slate-600 { color: var(--pd-slate-600) !important; }
.text-slate-700 { color: var(--pd-slate-700) !important; }
.hover-white { transition: color 0.2s ease-in-out; }
.hover-white:hover { color: #FFFFFF !important; }

/* Brand Buttons */
.btn-prosper {
  background: var(--pd-orange-gradient);
  color: #FFFFFF !important;
  font-family: var(--pd-font-heading);
  font-weight: 700;
  border: none;
  border-radius: var(--pd-radius-md);
  padding: 10px 24px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 4px rgba(255, 107, 0, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-prosper:hover {
  background: linear-gradient(135deg, #FF881A 0%, #E64E00 100%);
  transform: translateY(-2px);
  box-shadow: var(--pd-shadow-orange);
}

.btn-prosper:active {
  transform: translateY(0);
}

.btn-navy {
  background-color: var(--pd-navy);
  color: #FFFFFF !important;
  font-family: var(--pd-font-heading);
  font-weight: 700;
  border: none;
  border-radius: var(--pd-radius-md);
  padding: 10px 24px;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-navy:hover {
  background-color: var(--pd-navy-dark);
  transform: translateY(-2px);
  box-shadow: var(--pd-shadow-lg);
}

.btn-outline-prosper {
  background-color: transparent;
  color: var(--pd-orange) !important;
  border: 1.5px solid var(--pd-orange);
  font-family: var(--pd-font-heading);
  font-weight: 700;
  border-radius: var(--pd-radius-md);
  padding: 9px 22px;
  transition: all 0.2s ease;
}

.btn-outline-prosper:hover {
  background-color: var(--pd-orange);
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: var(--pd-shadow-orange);
}

.btn-outline-navy {
  background-color: transparent;
  color: var(--pd-navy) !important;
  border: 1.5px solid var(--pd-slate-300);
  font-family: var(--pd-font-heading);
  font-weight: 600;
  border-radius: var(--pd-radius-md);
  padding: 9px 22px;
  transition: all 0.2s ease;
}

.btn-outline-navy:hover {
  border-color: var(--pd-navy);
  background-color: var(--pd-slate-100);
}

/* Badges */
.badge-prosper {
  background-color: var(--pd-orange-subtle);
  color: var(--pd-orange);
  border: 1px solid var(--pd-orange-border);
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-navy {
  background-color: rgba(10, 25, 47, 0.08);
  color: var(--pd-navy);
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
}

/* Cards & Surfaces */
.pd-card {
  background: #FFFFFF;
  border: 1px solid var(--pd-slate-200);
  border-radius: var(--pd-radius-lg);
  box-shadow: var(--pd-shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.pd-card-hover:hover {
  transform: translateY(-5px);
  box-shadow: var(--pd-shadow-xl);
  border-color: #CBD5E1;
}

/* Glassmorphism Header */
.pd-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: #FFFFFF;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.pd-header-dark {
  background: #0A192F;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pd-nav-link {
  font-family: var(--pd-font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--pd-slate-700);
  padding: 8px 14px !important;
  border-radius: var(--pd-radius-sm);
  transition: all 0.2s ease;
}

.pd-nav-link:hover, .pd-nav-link.active {
  color: var(--pd-orange) !important;
  background-color: transparent !important;
  background: none !important;
}

/* Hero Section */
.pd-hero-section {
  background: linear-gradient(180deg, #0A192F 0%, #0F172A 100%);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  padding: 90px 0 100px;
}

.pd-hero-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -50px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.15) 0%, rgba(10, 25, 47, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.pd-hero-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -50px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.12) 0%, rgba(10, 25, 47, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.pd-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 30px;
  color: #FF8C33;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.pd-hero-title {
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1.15;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.pd-hero-title span {
  background: var(--pd-orange-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pd-hero-subtitle {
  font-size: 1.2rem;
  color: #94A3B8;
  max-width: 580px;
  margin-bottom: 35px;
  line-height: 1.7;
}

/* Course Card Details */
.course-card {
  background: #FFFFFF;
  border-radius: var(--pd-radius-lg);
  border: 1px solid var(--pd-slate-200);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--pd-shadow-xl);
  border-color: #CBD5E1;
}

.course-card-thumb {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  overflow: hidden;
  background-color: var(--pd-navy);
}

.course-card-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.course-card:hover .course-card-thumb img {
  transform: scale(1.04);
}

.course-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.course-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--pd-navy);
  margin-bottom: 10px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-card-desc {
  font-size: 0.9rem;
  color: var(--pd-slate-500);
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--pd-slate-500);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--pd-slate-100);
  margin-bottom: 16px;
}

.course-card-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price-current {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--pd-navy);
  font-family: var(--pd-font-heading);
}

.price-original {
  font-size: 0.95rem;
  color: var(--pd-slate-400);
  text-decoration: line-through;
}

/* Progress Bars */
.progress-prosper {
  height: 8px;
  background-color: var(--pd-slate-200);
  border-radius: 4px;
  overflow: hidden;
}

.progress-prosper .progress-bar {
  background: var(--pd-orange-gradient);
  border-radius: 4px;
}

/* Dashboard Sidebar */
.pd-sidebar {
  width: 260px;
  background-color: #FFFFFF;
  border-right: 1px solid var(--pd-slate-200);
  min-height: calc(100vh - 75px);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.pd-sidebar-dark {
  background-color: var(--pd-navy);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-heading {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--pd-slate-400);
  padding: 12px 14px 6px;
}

.sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--pd-radius-md);
  font-family: var(--pd-font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--pd-slate-600);
  margin-bottom: 4px;
  transition: all 0.2s ease;
}

.pd-sidebar-dark .sidebar-nav-item {
  color: #CBD5E1;
}

.sidebar-nav-item:hover {
  background-color: var(--pd-slate-100);
  color: var(--pd-orange);
}

.pd-sidebar-dark .sidebar-nav-item:hover {
  background-color: rgba(255, 255, 255, 0.06);
  color: #FF8C33;
}

.sidebar-nav-item.active {
  background: var(--pd-orange-subtle);
  color: var(--pd-orange);
  font-weight: 700;
}

.pd-sidebar-dark .sidebar-nav-item.active {
  background: rgba(255, 107, 0, 0.15);
  color: #FF8C33;
  border-left: 3px solid var(--pd-orange);
}

/* Stat Widget Cards */
.stat-widget {
  background: #FFFFFF;
  border-radius: var(--pd-radius-lg);
  border: 1px solid var(--pd-slate-200);
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--pd-shadow-sm);
  transition: all 0.2s ease;
}

.stat-widget:hover {
  box-shadow: var(--pd-shadow-md);
  border-color: #CBD5E1;
}

.stat-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--pd-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.stat-icon.orange {
  background-color: var(--pd-orange-subtle);
  color: var(--pd-orange);
}

.stat-icon.navy {
  background-color: rgba(10, 25, 47, 0.08);
  color: var(--pd-navy);
}

.stat-icon.green {
  background-color: var(--pd-success-subtle);
  color: var(--pd-success);
}

.stat-icon.blue {
  background-color: var(--pd-info-subtle);
  color: var(--pd-info);
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--pd-navy);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--pd-slate-500);
  margin-top: 4px;
}

/* Student Course Player */
.player-container {
  display: flex;
  min-height: calc(100vh - 65px);
  background-color: #0F172A;
  color: #F8FAFC;
}

.player-video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000000;
  border-radius: var(--pd-radius-md);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.player-video-wrapper iframe,
.player-video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.player-sidebar {
  width: 380px;
  background: #0A192F;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  height: calc(100vh - 65px);
  overflow-y: auto;
}

.player-module-header {
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--pd-font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: #E2E8F0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.player-lesson-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: #94A3B8;
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.player-lesson-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #FFFFFF;
}

.player-lesson-item.active {
  background: rgba(255, 107, 0, 0.15);
  color: #FF9E42;
  border-left: 3px solid var(--pd-orange);
}

.player-lesson-item.locked {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

/* Mobile Bottom Navigation for Students */
.pd-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid var(--pd-slate-200);
  display: none;
  justify-content: space-around;
  padding: 8px 0;
  z-index: 1020;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--pd-slate-500);
  font-size: 0.72rem;
  font-weight: 600;
  gap: 3px;
  text-decoration: none;
}

.bottom-nav-item i {
  font-size: 1.2rem;
}

.bottom-nav-item.active {
  color: var(--pd-orange);
}

@media (max-width: 991.98px) {
  .pd-sidebar {
    position: fixed;
    top: 65px;
    left: -280px;
    height: calc(100vh - 65px);
    z-index: 1040;
    box-shadow: var(--pd-shadow-xl);
  }

  .pd-sidebar.show {
    left: 0;
  }

  .player-container {
    flex-direction: column;
  }

  .player-sidebar {
    width: 100%;
    height: auto;
    max-height: 500px;
  }

  .pd-bottom-nav {
    display: flex;
  }

  body {
    padding-bottom: 60px;
  }
}

/* Toast Notifications */
.pd-toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
}

.pd-toast {
  min-width: 320px;
  background: #FFFFFF;
  border-radius: var(--pd-radius-md);
  box-shadow: var(--pd-shadow-xl);
  border-left: 4px solid var(--pd-orange);
  padding: 16px 20px;
  margin-bottom: 10px;
  animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.pd-hero {
  background: linear-gradient(160deg, #060D17 0%, #0A192F 50%, #0F1F3D 100%);
  min-height: 90vh;
  position: relative;
}
.pd-hero-bg-pattern {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle at 70% 30%, rgba(255,107,0,0.12) 0%, transparent 60%),
                    radial-gradient(circle at 20% 80%, rgba(2,132,199,0.1) 0%, transparent 60%);
}
.pd-text-gradient {
  background: linear-gradient(135deg, #FF8C00, #FF4400);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.pd-text-orange { color: var(--pd-orange) !important; }
.pd-badge-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 16px; border-radius: 30px;
  background: rgba(255,107,0,0.12); border: 1px solid rgba(255,107,0,0.25);
  color: #FF9A42; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em;
}
.pd-stat-mini { display: flex; flex-direction: column; }
.pd-stat-mini-number { color: #FFFFFF; font-family: var(--pd-font-heading); font-size: 1.4rem; font-weight: 900; line-height: 1; }
.pd-stat-mini-label { color: var(--pd-slate-400); font-size: 0.78rem; margin-top: 3px; }
.pd-stat-divider { width: 1px; background: rgba(255,255,255,0.1); align-self: stretch; }
.text-slate-300 { color: #CBD5E1 !important; }
.text-slate-400 { color: #94A3B8 !important; }
.bg-orange { background-color: var(--pd-orange) !important; }
.py-6 { padding-top: 4.5rem !important; padding-bottom: 4.5rem !important; }
.px-6 { padding-left: 3rem !important; padding-right: 3rem !important; }
.btn-glass {
  background: rgba(255,255,255,0.08); color: #FFFFFF !important;
  border: 1px solid rgba(255,255,255,0.18);
  font-family: var(--pd-font-heading); font-weight: 700;
  border-radius: var(--pd-radius-md); transition: all 0.2s ease;
}
.btn-glass:hover { background: rgba(255,255,255,0.15); }
.btn-glass-white {
  background: rgba(255,255,255,0.12); color: #FFFFFF !important;
  border: 1px solid rgba(255,255,255,0.3); font-family: var(--pd-font-heading);
  font-weight: 700; border-radius: var(--pd-radius-md); transition: all 0.2s ease;
}
.btn-glass-white:hover { background: rgba(255,255,255,0.22); }
.btn-xl { padding: 14px 32px !important; font-size: 1rem !important; }

/* Hero Visual Card */
.pd-hero-visual { position: relative; min-height: 380px; }
.pd-hero-card-main {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--pd-radius-xl); padding: 28px; backdrop-filter: blur(20px);
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 340px;
}
.pd-float-badge {
  position: absolute; background: rgba(255,255,255,0.9); border-radius: 12px;
  padding: 8px 14px; font-size: 0.8rem; font-weight: 700; color: var(--pd-navy);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12); backdrop-filter: blur(10px);
  display: flex; align-items: center;
}

/* ==========================================================================
   SOCIAL PROOF BAR
   ========================================================================== */
.pd-proof-bar { background: #FFFFFF; border-top: 1px solid var(--pd-slate-100); border-bottom: 1px solid var(--pd-slate-100); }
.pd-proof-item { font-size: 0.88rem; font-weight: 600; color: var(--pd-slate-600); }
.pd-proof-divider { width: 1px; background: var(--pd-slate-200); height: 20px; }

/* ==========================================================================
   SECTION TYPOGRAPHY
   ========================================================================== */
.pd-section-eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--pd-orange); background: var(--pd-orange-subtle);
  padding: 4px 14px; border-radius: 20px; margin-bottom: 12px;
}
.pd-section-eyebrow-light {
  display: inline-block; font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: rgba(255,160,80,0.9); background: rgba(255,107,0,0.15);
  padding: 4px 14px; border-radius: 20px; margin-bottom: 12px;
}
.pd-section-title {
  font-family: var(--pd-font-heading); font-size: 2.1rem; font-weight: 800;
  color: var(--pd-navy); line-height: 1.2; letter-spacing: -0.025em; margin-bottom: 12px;
}
.bg-slate-50 { background-color: var(--pd-slate-50) !important; }
.bg-navy { background-color: var(--pd-navy) !important; }
.bg-navy-dark { background-color: var(--pd-navy-dark) !important; }

/* ==========================================================================
   CATEGORY PILL
   ========================================================================== */
.pd-category-pill {
  padding: 16px 10px; background: #FFFFFF; border: 1.5px solid var(--pd-slate-200);
  border-radius: var(--pd-radius-lg); color: var(--pd-slate-700);
  transition: all 0.2s ease; box-shadow: var(--pd-shadow-sm);
}
.pd-category-pill:hover {
  border-color: var(--pd-orange); background: var(--pd-orange-subtle);
  transform: translateY(-3px); box-shadow: var(--pd-shadow-md);
}
.pd-category-icon { font-size: 1.8rem; }

/* ==========================================================================
   COURSE CARDS (new pd- prefix)
   ========================================================================== */
.pd-course-card {
  background: #FFFFFF; border: 1.5px solid var(--pd-slate-200);
  border-radius: var(--pd-radius-lg); overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); display: flex; flex-direction: column;
}
.pd-course-card:hover { transform: translateY(-6px); box-shadow: var(--pd-shadow-xl); border-color: var(--pd-slate-300); }
.pd-course-thumb-wrap { position: relative; padding-top: 56.25%; background: var(--pd-navy); overflow: hidden; }
.pd-course-thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.pd-course-card:hover .pd-course-thumb { transform: scale(1.04); }
.pd-play-btn-lg {
  width: 70px; height: 70px; border-radius: 50%;
  background: rgba(255,107,0,0.85); display: flex; align-items: center;
  justify-content: center; color: white; font-size: 2rem;
  backdrop-filter: blur(4px); transition: transform 0.2s ease;
}
.pd-play-btn-lg:hover { transform: scale(1.1); }
.pd-course-badge-free {
  position: absolute; top: 12px; left: 12px;
  font-size: 0.7rem; font-weight: 800; padding: 4px 10px; border-radius: 6px;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.pd-course-badge-free { background: #10B981; color: white; }
.pd-course-card-body { padding: 20px; display: flex; flex-direction: column; flex-grow: 1; }
.pd-category-tag {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--pd-orange); background: var(--pd-orange-subtle);
  padding: 3px 10px; border-radius: 4px;
}
.pd-course-title {
  font-family: var(--pd-font-heading); font-size: 0.95rem; font-weight: 700;
  color: var(--pd-navy); line-height: 1.4; margin-bottom: 6px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pd-course-title:hover { color: var(--pd-orange); }
.pd-course-excerpt {
  font-size: 0.82rem; color: var(--pd-slate-500); margin-bottom: 12px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pd-course-meta-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pd-course-meta-item { font-size: 0.78rem; color: var(--pd-slate-500); }
.pd-course-price-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 0; padding-top: 14px; border-top: 1px solid var(--pd-slate-100); }
.pd-course-meta-wrap { margin-top: auto; }
.pd-price-main { font-size: 1.25rem; font-weight: 800; color: var(--pd-navy); font-family: var(--pd-font-heading); }
.pd-price-original { font-size: 0.9rem; color: var(--pd-slate-400); text-decoration: line-through; }
.pd-price-discount { font-size: 0.75rem; font-weight: 700; color: white; background: #EF4444; padding: 2px 8px; border-radius: 4px; }
.pd-price-free { font-size: 1.25rem; font-weight: 800; color: var(--pd-success); font-family: var(--pd-font-heading); }
.pd-star-rating { display: inline-flex; gap: 2px; }

/* ==========================================================================
   FEATURE CARDS (Why Section)
   ========================================================================== */
.pd-feature-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--pd-radius-lg); padding: 24px; transition: all 0.3s ease;
}
.pd-feature-card:hover { background: rgba(255,255,255,0.07); transform: translateY(-4px); }

/* ==========================================================================
   INSTRUCTOR CARD
   ========================================================================== */
.pd-instructor-card {
  background: #FFFFFF; border: 1.5px solid var(--pd-slate-200);
  border-radius: var(--pd-radius-lg); padding: 32px 24px; transition: all 0.3s ease;
}
.pd-instructor-card:hover { transform: translateY(-5px); box-shadow: var(--pd-shadow-xl); }
.pd-instructor-avatar-wrap { width: 100px; height: 100px; position: relative; }
.pd-instructor-avatar {
  width: 100px; height: 100px; border-radius: 50%; object-fit: cover;
  border: 4px solid var(--pd-orange);
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.pd-testimonial-card {
  background: #FFFFFF; border: 1.5px solid var(--pd-slate-200);
  border-radius: var(--pd-radius-lg); padding: 28px; transition: all 0.3s ease;
}
.pd-testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--pd-shadow-lg); }

/* ==========================================================================
   CTA SECTION
   ========================================================================== */
.pd-cta-section { background: linear-gradient(135deg, #0A192F 0%, #0D2244 100%); }

/* ==========================================================================
   AUTH PAGES (MODERN HIGH-CONVERSION UI)
   ========================================================================== */
.pd-auth-body {
  background: #F1F5F9;
  min-height: 100vh;
  font-family: 'Plus Jakarta Sans', var(--pd-font-sans), sans-serif;
  color: var(--pd-slate-800);
}
.pd-auth-page {
  min-height: 100vh;
  display: flex;
}
@media (min-width: 992px) {
  .pd-auth-page {
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
  }
  .pd-auth-left {
    flex: 0 0 42%;
    max-width: 42%;
    height: 100vh;
    overflow-y: auto;
  }
  .pd-auth-right {
    flex: 0 0 58%;
    max-width: 58%;
    height: 100vh;
    overflow-y: auto;
  }
}
.pd-auth-left {
  flex: 0 0 42%;
  max-width: 42%;
  background: radial-gradient(circle at 100% 50%, rgba(255, 107, 0, 0.16) 0%, transparent 60%),
              linear-gradient(155deg, #050B14 0%, #081528 55%, #0B1F3D 100%);
  position: relative;
  overflow: hidden;
  padding: 2.25rem 2.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.pd-auth-left::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.22), transparent 70%);
  pointer-events: none;
}
.pd-auth-left::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.15), transparent 70%);
  pointer-events: none;
}
.pd-auth-swoosh {
  position: absolute;
  right: -130px;
  bottom: 25px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  border: 32px solid rgba(255, 107, 0, 0.38);
  box-shadow: 0 0 60px rgba(255, 107, 0, 0.28);
  filter: blur(1.5px);
  pointer-events: none;
  z-index: 1;
}
.pd-auth-hero-title {
  font-family: 'Plus Jakarta Sans', var(--pd-font-heading), sans-serif;
  font-size: 2.15rem;
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -0.025em;
  color: #FFFFFF;
}
.pd-auth-hero-desc {
  color: #94A3B8;
  font-size: 0.92rem;
  line-height: 1.5;
  max-width: 440px;
}
.pd-feature-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.bg-orange-tint {
  background: rgba(255, 107, 0, 0.18);
  color: #FF7A00;
}
.bg-blue-tint {
  background: rgba(56, 189, 248, 0.18);
  color: #38BDF8;
}
.bg-emerald-tint {
  background: rgba(16, 185, 129, 0.18);
  color: #10B981;
}
.pd-feature-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: #E2E8F0;
  line-height: 1.35;
}
.pd-auth-desk-visual-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #08111D;
  z-index: 2;
  width: 100%;
  max-width: 480px;
  height: 180px;
}
.pd-auth-desk-visual-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pd-auth-stats-card {
  background: #FFFFFF;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
  padding: 10px 18px;
  z-index: 2;
  position: relative;
}
.pd-auth-right {
  flex: 0 0 50%;
  max-width: 50%;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 2.5rem;
  position: relative;
  border-left: 1px solid #E8EEF5;
}
.pd-auth-card {
  max-width: 480px;
  width: 100%;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
}
.pd-card-heading {
  font-family: 'Plus Jakarta Sans', var(--pd-font-heading), sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0F172A;
}
.pd-card-subtitle {
  color: #64748B;
  font-size: 0.84rem;
  line-height: 1.45;
}
.pd-learning-badge {
  display: inline-flex;
  align-items: center;
  background: #EEF4FF;
  color: #2563EB;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.pd-google-btn-modern {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  padding: 8px 16px;
  font-weight: 600;
  font-size: 0.88rem;
  color: #1E293B;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}
.pd-google-btn-modern:hover {
  background: #F8FAFC;
  border-color: #CBD5E1;
  color: #0F172A;
}
.pd-auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 10px 0;
  color: #94A3B8;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.pd-auth-divider::before,
.pd-auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #E2E8F0;
}
.pd-auth-divider span {
  padding: 0 12px;
}
.pd-input-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 3px;
  display: block;
}
.pd-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.pd-input-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748B;
  font-size: 0.95rem;
  pointer-events: none;
  z-index: 2;
}
.pd-modern-input,
.pd-modern-select {
  width: 100%;
  height: 40px;
  padding: 6px 12px 6px 36px;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  font-size: 0.875rem;
  color: #0F172A;
  transition: all 0.2s ease;
  outline: none;
  font-family: inherit;
}
.pd-modern-select {
  padding-right: 32px;
  background: #F8FAFC url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 13px;
  appearance: none;
  -webkit-appearance: none;
}
.pd-modern-input:focus,
.pd-modern-select:focus {
  background: #FFFFFF;
  border-color: #FF6B00;
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}
.pd-modern-input::placeholder {
  color: #94A3B8;
  font-weight: 400;
  font-size: 0.84rem;
}
.pd-input-eye-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  padding: 4px;
  color: #64748B;
  cursor: pointer;
  z-index: 3;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  transition: color 0.15s;
}
.pd-input-eye-toggle:hover {
  color: #FF6B00;
}
.pd-btn-orange-solid {
  background: linear-gradient(135deg, #FF6B00 0%, #FF4500 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 11px;
  font-weight: 700;
  font-size: 0.92rem;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 6px 18px rgba(255, 107, 0, 0.32);
  text-decoration: none;
  cursor: pointer;
}
.pd-btn-orange-solid:hover {
  background: linear-gradient(135deg, #FF7A1A 0%, #E63E00 100%);
  box-shadow: 0 8px 22px rgba(255, 107, 0, 0.42);
  color: #FFFFFF;
  transform: translateY(-1px);
}
.pd-btn-orange-solid:active {
  transform: translateY(0);
}
.form-check-input:checked {
  background-color: #FF6B00;
  border-color: #FF6B00;
}
.form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 107, 0, 0.2);
  border-color: #FF6B00;
}

/* ==========================================================================
   COURSE CATALOG / FILTERS
   ========================================================================== */
.pd-page-header { background: linear-gradient(180deg, var(--pd-navy) 0%, #0F2040 100%); }
.breadcrumb-light .breadcrumb-item + .breadcrumb-item::before { color: var(--pd-slate-500); }
.pd-filter-sidebar {
  background: #FFFFFF; border: 1.5px solid var(--pd-slate-200);
  border-radius: var(--pd-radius-lg); padding: 24px;
}
.pd-filter-block { margin-bottom: 24px; }
.pd-filter-block:last-child { margin-bottom: 0; }
.pd-filter-title { font-family: var(--pd-font-heading); font-size: 0.9rem; font-weight: 700; color: var(--pd-navy); margin-bottom: 12px; }
.pd-filter-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 12px; border-radius: var(--pd-radius-sm); color: var(--pd-slate-600);
  font-size: 0.875rem; transition: all 0.15s; text-decoration: none;
}
.pd-filter-link:hover { background: var(--pd-slate-100); color: var(--pd-navy); }
.pd-filter-link.active { background: var(--pd-orange-subtle); color: var(--pd-orange); font-weight: 700; }
.pd-filter-count { font-size: 0.75rem; color: var(--pd-slate-400); }
.pd-radio-label { display: flex; align-items: center; gap: 8px; padding: 6px 12px; cursor: pointer; font-size: 0.88rem; color: var(--pd-slate-600); border-radius: var(--pd-radius-sm); transition: background 0.15s; }
.pd-radio-label:hover { background: var(--pd-slate-100); }
.pd-search-input { border-radius: var(--pd-radius-md) 0 0 var(--pd-radius-md) !important; background: rgba(255,255,255,0.1) !important; border-color: rgba(255,255,255,0.2) !important; color: #FFFFFF !important; }
.pd-search-input::placeholder { color: rgba(255,255,255,0.5) !important; }
.pd-sort-select { border: 1.5px solid var(--pd-slate-200); border-radius: var(--pd-radius-sm); font-size: 0.875rem; }
.pd-pagination .page-link { border: 1.5px solid var(--pd-slate-200); color: var(--pd-slate-700); font-weight: 600; border-radius: 8px !important; margin: 0 2px; }
.pd-pagination .page-item.active .page-link { background: var(--pd-orange); border-color: var(--pd-orange); color: white; }

/* ==========================================================================
   COURSE DETAIL
   ========================================================================== */
.pd-detail-block { background: #FFFFFF; border: 1.5px solid var(--pd-slate-200); border-radius: var(--pd-radius-lg); padding: 32px; }
.pd-detail-title { font-family: var(--pd-font-heading); font-size: 1.3rem; font-weight: 800; color: var(--pd-navy); margin-bottom: 20px; }
.pd-purchase-card { background: #FFFFFF; border: 1.5px solid var(--pd-slate-200); border-radius: var(--pd-radius-lg); box-shadow: var(--pd-shadow-xl); overflow: hidden; }
.pd-curriculum-section { border: 1.5px solid var(--pd-slate-200); border-radius: var(--pd-radius-md); margin-bottom: 10px; overflow: hidden; }
.pd-curriculum-section-header {
  width: 100%; background: var(--pd-slate-50); border: none; padding: 16px 20px;
  text-align: left; cursor: pointer; transition: background 0.15s;
}
.pd-curriculum-section-header:hover { background: var(--pd-slate-100); }
.pd-chevron-icon { transition: transform 0.25s; }
.pd-curriculum-section-header.collapsed .pd-chevron-icon { transform: rotate(-90deg); }
.pd-curriculum-lessons { border-top: 1px solid var(--pd-slate-200); }
.pd-curriculum-lesson { display: flex; align-items: center; gap: 12px; padding: 12px 20px; border-bottom: 1px solid var(--pd-slate-100); transition: background 0.15s; }
.pd-curriculum-lesson:hover { background: var(--pd-slate-50); }
.pd-curriculum-lesson.locked { opacity: 0.65; }
.pd-preview-tag { font-size: 0.7rem; font-weight: 700; color: var(--pd-info); background: var(--pd-info-subtle); padding: 2px 8px; border-radius: 4px; }
.pd-requirements-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.pd-requirements-list li { font-size: 0.9rem; color: var(--pd-slate-600); display: flex; align-items: flex-start; gap: 6px; }
.pd-instructor-bio-card { background: var(--pd-slate-50); border: 1.5px solid var(--pd-slate-200); border-radius: var(--pd-radius-lg); padding: 28px; }
.pd-review-item { padding-bottom: 20px; border-bottom: 1px solid var(--pd-slate-100); margin-bottom: 20px; }
.pd-review-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.pd-course-description { font-size: 0.95rem; line-height: 1.8; color: var(--pd-slate-600); white-space: pre-line; }

/* ==========================================================================
   STUDENT PORTAL
   ========================================================================== */
.pd-student-welcome {
  background: linear-gradient(135deg, var(--pd-navy) 0%, #0D2244 100%);
  border-radius: var(--pd-radius-xl); padding: 28px 32px;
}
.pd-stat-card {
  background: #FFFFFF; border: 1.5px solid var(--pd-slate-200);
  border-radius: var(--pd-radius-lg); padding: 20px; display: flex; align-items: center; gap: 16px;
  transition: all 0.2s ease;
}
.pd-stat-card:hover { transform: translateY(-3px); box-shadow: var(--pd-shadow-lg); }
.pd-stat-icon-wrap { width: 48px; height: 48px; border-radius: var(--pd-radius-md); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.pd-stat-value { font-family: var(--pd-font-heading); font-size: 1.8rem; font-weight: 900; color: var(--pd-navy); line-height: 1; }
.pd-stat-label { color: var(--pd-slate-500); font-size: 0.8rem; font-weight: 500; margin-top: 3px; }
.pd-panel { background: #FFFFFF; border: 1.5px solid var(--pd-slate-200); border-radius: var(--pd-radius-lg); overflow: hidden; }
.pd-panel-header { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid var(--pd-slate-100); }
.pd-panel-title { font-family: var(--pd-font-heading); font-size: 0.95rem; font-weight: 700; color: var(--pd-navy); margin: 0; }
.pd-panel-action { font-size: 0.82rem; font-weight: 600; color: var(--pd-orange); text-decoration: none; }
.pd-panel-action:hover { color: var(--pd-orange-hover); }
.pd-panel-body { padding: 20px 24px; }
.pd-enrollment-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--pd-slate-100); }
.pd-enrollment-row:last-child { border-bottom: none; padding-bottom: 0; }
.pd-enrollment-thumb { width: 60px; height: 44px; object-fit: cover; }
.pd-cert-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--pd-slate-100); }
.pd-cert-row:last-child { border-bottom: none; }
.pd-cert-icon-badge { width: 36px; height: 36px; border-radius: 8px; background: var(--pd-warning-subtle); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.pd-notif-item { display: flex; align-items: center; gap: 12px; padding: 12px 20px; border-bottom: 1px solid var(--pd-slate-100); transition: background 0.15s; }
.pd-notif-item:hover { background: var(--pd-slate-50); }
.pd-notif-item.unread { background: rgba(255,107,0,0.04); }
.pd-unread-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pd-orange); flex-shrink: 0; }
.pd-activity-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

/* My Courses Cards */
.pd-enrolled-course-card { background: #FFFFFF; border: 1.5px solid var(--pd-slate-200); border-radius: var(--pd-radius-lg); overflow: hidden; transition: all 0.3s ease; }
.pd-enrolled-course-card:hover { transform: translateY(-4px); box-shadow: var(--pd-shadow-xl); }
.bg-orange { background-color: var(--pd-orange); }
.btn-xs { padding: 3px 8px; font-size: 0.75rem; }

/* Certificates */
.pd-certificate-card { background: #FFFFFF; border: 1.5px solid var(--pd-slate-200); border-radius: var(--pd-radius-lg); overflow: hidden; transition: all 0.3s ease; }
.pd-certificate-card:hover { transform: translateY(-4px); box-shadow: var(--pd-shadow-xl); }
.pd-certificate-preview {
  background: linear-gradient(135deg, #0A192F 0%, #0D2244 60%, #1a2f52 100%);
  padding: 36px 32px; text-align: center; position: relative; overflow: hidden; min-height: 200px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.pd-cert-watermark { position: absolute; right: -20px; bottom: -30px; font-size: 8rem; opacity: 0.04; color: white; }
.pd-cert-label-sm { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: rgba(255,160,80,0.8); margin-bottom: 10px; }
.pd-cert-student-name { font-family: var(--pd-font-heading); font-size: 1.1rem; font-weight: 800; color: #FFFFFF; margin-bottom: 6px; }
.pd-cert-course-name { font-size: 0.82rem; color: rgba(255,255,255,0.7); }
.pd-cert-seal { margin-top: 16px; font-size: 2rem; color: var(--pd-warning); }
.pd-verify-cta { background: var(--pd-slate-100); border: 1px solid var(--pd-slate-200); border-radius: var(--pd-radius-md); padding: 16px 20px; font-size: 0.9rem; color: var(--pd-slate-700); }

/* ==========================================================================
   COURSE PLAYER
   ========================================================================== */
.pd-player-video-wrap { position: relative; background: #000; }
.pd-anti-skip-container { position: relative; }
#antiSkipOverlay {
  position: absolute; inset: 0; background: rgba(0,0,0,0.85);
  display: flex; align-items: center; justify-content: center; z-index: 10;
}
.pd-antiskip-message { background: rgba(255,107,0,0.9); color: white; padding: 16px 28px; border-radius: 12px; font-size: 1rem; font-weight: 700; text-align: center; }
.pd-lesson-content { font-size: 0.95rem; line-height: 1.9; }
.pd-lesson-resources { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--pd-radius-md); padding: 20px; }
.pd-player-curriculum { background: #080F1F; }
.pd-player-section-header { display: flex; align-items: center; padding: 12px 16px; cursor: pointer; border-radius: var(--pd-radius-sm); transition: background 0.15s; }
.pd-player-section-header:hover { background: rgba(255,255,255,0.05); }
.pd-player-lesson-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 28px; border-radius: var(--pd-radius-sm);
  text-decoration: none; color: var(--pd-slate-400); transition: all 0.15s;
}
.pd-player-lesson-item:hover { background: rgba(255,255,255,0.05); color: var(--pd-slate-200); }
.pd-player-lesson-item.active { background: rgba(255,107,0,0.12); color: #FF9A42; }
.pd-player-lesson-item.done { color: var(--pd-slate-500); }
.pd-player-lesson-check { flex-shrink: 0; font-size: 0.9rem; }

/* ==========================================================================
   ADMIN PORTAL KPI CARDS
   ========================================================================== */
.pd-kpi-card {
  background: #FFFFFF; border: 1.5px solid var(--pd-slate-200);
  border-radius: var(--pd-radius-lg); padding: 24px;
  display: flex; align-items: center; gap: 18px; transition: all 0.2s ease;
  position: relative; overflow: hidden;
}
.pd-kpi-card::after {
  content: ''; position: absolute; top: -30px; right: -30px;
  width: 100px; height: 100px; border-radius: 50%; opacity: 0.07;
}
.pd-kpi-card:hover { transform: translateY(-4px); box-shadow: var(--pd-shadow-xl); }
.kpi-orange::after { background: var(--pd-orange); }
.kpi-blue::after { background: var(--pd-info); }
.kpi-green::after { background: var(--pd-success); }
.kpi-purple::after { background: #7C3AED; }
.pd-kpi-icon {
  width: 56px; height: 56px; border-radius: var(--pd-radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; flex-shrink: 0;
}
.kpi-orange .pd-kpi-icon { background: rgba(255,107,0,0.1); color: var(--pd-orange); }
.kpi-blue .pd-kpi-icon { background: rgba(2,132,199,0.1); color: var(--pd-info); }
.kpi-green .pd-kpi-icon { background: rgba(16,185,129,0.1); color: var(--pd-success); }
.kpi-purple .pd-kpi-icon { background: rgba(124,58,237,0.1); color: #7C3AED; }
.pd-kpi-label { font-size: 0.78rem; font-weight: 600; color: var(--pd-slate-500); text-transform: uppercase; letter-spacing: 0.06em; }
.pd-kpi-value { font-family: var(--pd-font-heading); font-size: 1.9rem; font-weight: 900; color: var(--pd-navy); line-height: 1.1; }
.pd-kpi-trend { font-size: 0.78rem; font-weight: 600; margin-top: 2px; }
.pd-mini-kpi { background: #FFFFFF; border: 1.5px solid var(--pd-slate-200); border-radius: var(--pd-radius-md); padding: 16px; text-align: center; transition: all 0.2s ease; }
.pd-mini-kpi:hover { transform: translateY(-3px); box-shadow: var(--pd-shadow-md); }
.pd-mini-kpi-icon { font-size: 1.4rem; margin-bottom: 6px; }
.pd-mini-kpi-value { font-family: var(--pd-font-heading); font-size: 1.5rem; font-weight: 900; color: var(--pd-navy); line-height: 1; }
.pd-mini-kpi-label { font-size: 0.72rem; color: var(--pd-slate-500); font-weight: 600; margin-top: 4px; }
.pd-table thead th { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--pd-slate-500); border-bottom: 2px solid var(--pd-slate-200) !important; }
.pd-table tbody td { font-size: 0.88rem; color: var(--pd-slate-700); border-color: var(--pd-slate-100) !important; vertical-align: middle; }
.pd-table tbody tr:hover td { background: var(--pd-slate-50); }

/* Admin Sidebar Styles */
.sidebar-heading { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.3); padding: 12px 12px 6px; }
.sidebar-nav-item {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border-radius: var(--pd-radius-sm); color: #94A3B8; font-weight: 600; font-size: 0.875rem;
  text-decoration: none; transition: all 0.15s ease; margin-bottom: 2px;
}
.sidebar-nav-item:hover { background: rgba(255,255,255,0.07); color: #FFFFFF; }
.sidebar-nav-item.active { background: rgba(255,107,0,0.15); color: #FF9A42; }
.sidebar-nav-item i { font-size: 1rem; flex-shrink: 0; }

/* ==========================================================================
   COURSE DETAIL PAGE SPECIFIC
   ========================================================================== */
.pd-detail-block { background: #FFFFFF; border: 1.5px solid var(--pd-slate-200); border-radius: var(--pd-radius-lg); padding: 28px 32px; }

/* ==========================================================================
   MOBILE BOTTOM NAV
   ========================================================================== */
.pd-bottom-nav {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 1025;
  background: #FFFFFF; border-top: 1px solid var(--pd-slate-200);
  justify-content: space-around; padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
}
@media (max-width: 991.98px) { .pd-bottom-nav { display: flex; } }
.bottom-nav-item { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 4px 10px; border-radius: 8px; text-decoration: none; color: var(--pd-slate-500); font-size: 0.65rem; font-weight: 600; transition: color 0.15s; }
.bottom-nav-item i { font-size: 1.3rem; }
.bottom-nav-item.active, .bottom-nav-item:hover { color: var(--pd-orange); }

/* ==========================================================================
   FLASH MESSAGES
   ========================================================================== */
.pd-flash { border-left: 4px solid; border-radius: var(--pd-radius-md); padding: 14px 18px; margin-bottom: 16px; display: flex; align-items: flex-start; gap: 12px; }
.pd-flash.success { background: var(--pd-success-subtle); border-color: var(--pd-success); color: #065F46; }
.pd-flash.error, .pd-flash.danger { background: var(--pd-danger-subtle); border-color: var(--pd-danger); color: #7F1D1D; }
.pd-flash.warning { background: var(--pd-warning-subtle); border-color: var(--pd-warning); color: #78350F; }
.pd-flash.info { background: var(--pd-info-subtle); border-color: var(--pd-info); color: #0C4A6E; }

/* ==========================================================================
   CHECKOUT PAGE
   ========================================================================== */
.pd-checkout-card { background: #FFFFFF; border: 1.5px solid var(--pd-slate-200); border-radius: var(--pd-radius-xl); padding: 36px; box-shadow: var(--pd-shadow-lg); }
.pd-checkout-summary { background: var(--pd-navy); border-radius: var(--pd-radius-xl); padding: 32px; color: #FFFFFF; }

/* ==========================================================================
   VERIFY CERTIFICATE PAGE
   ========================================================================== */
.pd-verify-section { background: linear-gradient(180deg, var(--pd-navy) 0%, #0F2040 100%); }

/* ==========================================================================
   MISC / UTILITIES
   ========================================================================== */
.fw-700 { font-weight: 700 !important; }
.fw-800 { font-weight: 800 !important; }
.fw-900 { font-weight: 900 !important; }
.font-heading { font-family: var(--pd-font-heading) !important; }
.text-orange { color: var(--pd-orange) !important; }
.letter-spacing { letter-spacing: 0.08em; }
.min-w-0 { min-width: 0; }
.inset-0 { top: 0; left: 0; right: 0; bottom: 0; }
.z-1 { z-index: 1; }
.pd-quick-actions { padding-top: 24px; border-top: 1px solid var(--pd-slate-200); }

/* Animations & Mockup Helpers */
@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.transition-hover {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.transition-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px -5px rgba(10, 25, 47, 0.12) !important;
}

.hover-orange {
  transition: color 0.2s ease;
}

.hover-orange:hover {
  color: var(--pd-orange) !important;
}



/* ==========================================================================
   PORTAL DESIGNS: ADMIN, INSTRUCTOR & STUDENT PORTALS
   ========================================================================== */

/* --- 1. GLOBAL PORTAL UTILITIES --- */
.pd-portal-card {
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 4px 20px -4px rgba(10, 25, 47, 0.05);
  transition: all 0.25s ease;
}
.pd-portal-card:hover {
  box-shadow: 0 8px 30px -4px rgba(10, 25, 47, 0.09);
}

/* --- 2. ADMIN & INSTRUCTOR SIDEBAR & NAVIGATION --- */
.admin-sidebar, .instructor-sidebar {
  background: linear-gradient(180deg, #071324 0%, #0A192F 100%) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.07) !important;
}

.sidebar-heading {
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.12em !important;
  color: rgba(148, 163, 184, 0.6) !important;
  padding: 14px 12px 6px !important;
}

.sidebar-nav-item {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 10px 14px !important;
  border-radius: 10px !important;
  color: #94A3B8 !important;
  font-weight: 600 !important;
  font-size: 0.88rem !important;
  text-decoration: none !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  margin-bottom: 3px !important;
  position: relative;
}

.sidebar-nav-item i {
  font-size: 1.1rem !important;
  width: 22px;
  text-align: center;
  transition: transform 0.2s ease;
}

.sidebar-nav-item:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #FFFFFF !important;
  transform: translateX(3px);
}

.sidebar-nav-item:hover i {
  transform: scale(1.15);
}

.sidebar-nav-item.active {
  background: linear-gradient(90deg, rgba(255, 107, 0, 0.22) 0%, rgba(255, 107, 0, 0.08) 100%) !important;
  color: #FF8F3D !important;
  border-left: 3px solid #FF6B00 !important;
  font-weight: 700 !important;
}

.sidebar-nav-item.active i {
  color: #FF6B00 !important;
}

/* --- 3. TOPBAR ENHANCEMENTS --- */
.admin-topbar {
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
}

/* --- 4. KPI CARDS ELEVATION --- */
.pd-kpi-card {
  background: #FFFFFF !important;
  border-radius: 18px !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  padding: 24px 22px !important;
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
  box-shadow: 0 4px 18px -2px rgba(10, 25, 47, 0.04) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative;
  overflow: hidden;
}

.pd-kpi-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  transition: height 0.2s ease;
}

.pd-kpi-card.kpi-orange::before { background: linear-gradient(90deg, #FF6B00, #FF9A42); }
.pd-kpi-card.kpi-blue::before { background: linear-gradient(90deg, #0284C7, #38BDF8); }
.pd-kpi-card.kpi-green::before { background: linear-gradient(90deg, #10B981, #34D399); }
.pd-kpi-card.kpi-purple::before { background: linear-gradient(90deg, #7C3AED, #A78BFA); }

.pd-kpi-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 30px -4px rgba(10, 25, 47, 0.1) !important;
}

.pd-kpi-icon {
  width: 54px !important;
  height: 54px !important;
  border-radius: 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.45rem !important;
  flex-shrink: 0 !important;
}

/* --- 5. PANELS & DATA TABLES --- */
.pd-panel {
  background: #FFFFFF !important;
  border-radius: 18px !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  box-shadow: 0 4px 20px -2px rgba(10, 25, 47, 0.04) !important;
  overflow: hidden;
}

.pd-panel-header {
  padding: 18px 24px !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.pd-panel-title {
  font-family: var(--pd-font-heading) !important;
  font-weight: 800 !important;
  font-size: 1.05rem !important;
  color: var(--pd-navy) !important;
  margin-bottom: 0 !important;
}

.pd-panel-action {
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  color: var(--pd-orange) !important;
  text-decoration: none !important;
  transition: color 0.15s ease;
}

.pd-panel-action:hover {
  color: #D95700 !important;
}

/* --- 6. STUDENT PORTAL UI --- */
.student-hero-banner {
  background: linear-gradient(135deg, #0A192F 0%, #112240 60%, #1E3A8A 100%);
  border-radius: 20px;
  padding: 32px 36px;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px -5px rgba(10, 25, 47, 0.2);
}

.student-hero-banner::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.student-course-card {
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(10, 25, 47, 0.04);
}

.student-course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px -6px rgba(10, 25, 47, 0.12);
  border-color: rgba(255, 107, 0, 0.35);
}

.student-progress-wrap {
  height: 6px;
  background: #E2E8F0;
  border-radius: 6px;
  overflow: hidden;
}

.student-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #FF6B00, #FF9A42);
  border-radius: 6px;
  transition: width 0.4s ease;
}

/* Status Badges */
.badge-pill-glow {
  padding: 5px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ==========================================================================
   MOBILE RESPONSIVENESS & ZERO-OVERFLOW DESIGN SYSTEM
   ========================================================================== */
html {
  overflow-x: hidden !important;
  overflow-x: clip !important;
  max-width: 100vw !important;
  width: 100% !important;
  box-sizing: border-box;
}

body {
  overflow-x: hidden !important;
  overflow-x: clip !important;
  max-width: 100vw !important;
  width: 100% !important;
  position: relative;
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
}

/* Public pages container constraints - avoid forcing width on fixed dashboard headers and main wrappers */
body:not(.adm-body):not(.ins-body):not(.std-body) main:not(.adm-main):not(.ins-main):not(.std-main),
body:not(.adm-body):not(.ins-body):not(.std-body) header:not(.adm-topbar):not(.ins-topbar):not(.std-topbar),
footer, section {
  overflow-x: clip;
  max-width: 100%;
}

footer {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  word-break: break-word;
}

@media (max-width: 991.98px) {
  .pd-mockup-hero {
    padding: 36px 0 44px 0 !important;
    text-align: center !important;
    overflow: hidden !important;
  }
  .pd-mockup-hero h1 {
    text-align: center !important;
  }
  .pd-mockup-hero p {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .pd-mockup-hero .pd-hero-graphic-wrap {
    max-width: 400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 1rem;
    overflow: hidden !important;
  }
  .pd-mockup-hero .pd-hero-graphic-wrap img {
    max-height: 300px !important;
    object-fit: cover !important;
    border-radius: 16px !important;
    width: 100% !important;
  }
  /* Hide any floating badges in hero that protrude past container on mobile */
  .pd-hero-graphic-wrap [class*="position-absolute"]:not(.pointer-events-none) {
    display: none !important;
  }
}

@media (max-width: 767.98px) {
  .container, .container-fluid, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl {
    padding-left: 14px !important;
    padding-right: 14px !important;
    max-width: 100% !important;
  }
  /* Constrain negative margins of row to prevent horizontal scrollbar on mobile */
  .row {
    margin-left: -6px !important;
    margin-right: -6px !important;
  }
  .row > [class*="col-"], .row > [class*="col"] {
    padding-left: 6px !important;
    padding-right: 6px !important;
  }
  img {
    max-width: 100% !important;
    height: auto;
  }
  /* Ensure footer elements wrap comfortably */
  footer ul {
    padding-left: 0;
  }
  footer .col-6 {
    margin-bottom: 1.25rem;
  }
}

@media (max-width: 575.98px) {
  .pd-mockup-hero {
    padding: 24px 0 32px 0 !important;
  }
  .pd-mockup-hero h1 {
    font-size: 1.85rem !important;
    line-height: 1.22 !important;
  }
  .pd-mockup-hero .btn {
    width: 100% !important;
    justify-content: center !important;
  }
  .pd-mockup-hero .pd-hero-graphic-wrap {
    max-width: 100% !important;
  }
}

/* Register Button Mobile & Responsive Tuning */
#registerBtn {
  font-size: 0.95rem !important;
  font-weight: 700;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  gap: 8px !important;
  min-height: 48px;
  padding: 10px 18px !important;
}

@media (max-width: 575.98px) {
  #registerBtn {
    font-size: 0.92rem !important;
    padding: 10px 14px !important;
    min-height: 46px;
  }
}

/* Course Detail Mobile Responsiveness */
@media (min-width: 992px) {
  .pd-purchase-card.sticky-top {
    top: 90px;
    z-index: 10;
  }
}

@media (max-width: 991.98px) {
  .pd-purchase-card {
    position: static !important;
    top: auto !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06) !important;
  }
}

@media (max-width: 767.98px) {
  .pd-detail-block {
    padding: 20px 16px !important;
    border-radius: 14px !important;
    margin-bottom: 1.5rem !important;
  }
  .pd-detail-title {
    font-size: 1.15rem !important;
    margin-bottom: 14px !important;
  }
  .pd-instructor-bio-card {
    padding: 20px 16px !important;
    border-radius: 14px !important;
  }
  .pd-curriculum-section-header {
    padding: 14px 14px !important;
  }
  .pd-curriculum-lesson {
    padding: 10px 12px !important;
  }
}

/* ===== REFERENCE CAMPUS CARDS ===== */
.pd-ref-campus-card {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 44px rgba(15,23,42,0.09);
  transition: transform .3s ease, box-shadow .3s ease;
  height: 100%;
}
.pd-ref-campus-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 56px rgba(15,23,42,0.14);
}
.pd-ref-campus-top {
  height: 230px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.pd-ref-campus-badge {
  position: absolute;
  bottom: 14px;
  left: 16px;
  color: #fff;
  padding: 6px 14px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
  z-index: 3;
}
.pd-ref-leader-cutout {
  position: absolute;
  bottom: 0;
  right: 12px;
  height: 200px;
  width: auto;
  max-width: 45%;
  object-fit: contain;
  object-position: bottom;
  z-index: 2;
  filter: drop-shadow(0 -4px 16px rgba(0,0,0,0.2));
}
.pd-ref-campus-body {
  padding: 22px 24px 24px;
}
.pd-ref-info-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid #F1F5F9;
}
.pd-ref-info-row:last-of-type {
  border-bottom: none;
}
.pd-ref-info-row > i {
  font-size: 1.25rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.pd-ref-info-row small {
  display: block;
  font-size: 0.78rem;
  color: #94A3B8;
  font-weight: 600;
}
.pd-ref-info-row strong {
  font-size: 1.05rem;
  color: #0B132B;
  font-weight: 800;
}
.pd-ref-info-row span {
  font-size: 0.95rem;
  color: #475569;
  font-weight: 500;
  line-height: 1.5;
}
.pd-ref-btn-row {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}
.pd-ref-btn-map, .pd-ref-btn-contact {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 10px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.pd-ref-btn-map { color: #fff; }
.pd-ref-btn-map:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.18); }
.pd-ref-btn-contact:hover { transform: translateY(-2px); }

/* Placeholder styling: low opacity, generic look */
::placeholder {
  opacity: 0.45 !important;
  color: #94A3B8 !important;
}
::-webkit-input-placeholder {
  opacity: 0.45 !important;
  color: #94A3B8 !important;
}
::-moz-placeholder {
  opacity: 0.45 !important;
  color: #94A3B8 !important;
}

/* ── Contact page cards ── */
.contact-card { transition: transform .2s ease, box-shadow .2s ease; }
.contact-card:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(0,0,0,.07) !important; }

/* ── Contact full-screen hero (home-style) ── */
.pd-contact-hero { position: relative; width: 100vw; margin-left: calc(50% - 50vw); margin-top: -3rem; min-height: 90vh; display: flex; align-items: flex-start; overflow: hidden; background: #08162A; color: #fff; }
.pd-contact-hero > .container { max-width: 1140px; padding-top: 64px; padding-bottom: 64px; }
.pd-contact-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.pd-contact-hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8,22,42,.96) 0%, rgba(8,22,42,.85) 45%, rgba(8,22,42,.55) 75%, rgba(8,22,42,.35) 100%); }
.pd-contact-hero .container { position: relative; z-index: 2; }
@media (max-width: 991px) { .pd-contact-hero { min-height: auto; padding: 60px 0; } }

/* ── Contact body: full-bleed section, home-style ── */
.contact-page { overflow-x: clip; }
.pd-contact-body { width: 100vw; margin-left: calc(50% - 50vw); background: #FAFBFC; }
.pd-contact-body > .container { padding-top: 80px; padding-bottom: 80px; max-width: 1200px; }
.pd-page-header > .container { max-width: 1140px; }
.pd-courses-body > .container { max-width: 1200px; }

/* ── Contact hero text: same scale as home hero ── */
.pd-contact-title { font-size: 3.4rem; font-weight: 900; line-height: 1.15; }
.pd-contact-desc { font-size: 1.2rem; line-height: 1.7; max-width: 580px; }
@media (max-width: 768px) {
  .pd-contact-title { font-size: 2.4rem; }
  .pd-contact-desc { font-size: 1.05rem; }
}
@media (max-width: 480px) {
  .pd-contact-title { font-size: 2rem; }
}

/* ── Contact info panel (dark card, banner + rows) ── */
.pd-info-panel { background: #0E0E1C; }
.pd-info-banner { position: relative; margin: 12px 12px 0; border-radius: 14px; overflow: hidden; min-height: 150px; background: #1A1A2E; }
.pd-info-banner img { width: 100%; height: 190px; object-fit: cover; display: block; }
.pd-info-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,8,18,.62) 0%, rgba(8,8,18,.12) 55%, rgba(8,8,18,.42) 100%); pointer-events: none; }
.pd-info-banner-brand { position: absolute; top: 14px; left: 18px; z-index: 2; }
.pd-info-logo { color: #fff; font-weight: 800; font-size: 1.35rem; font-family: var(--pd-font-heading); line-height: 1.2; }
.pd-info-logo span { color: var(--pd-orange); }
.pd-info-tagline { color: var(--pd-orange); font-size: .68rem; font-weight: 700; letter-spacing: 3px; margin-top: 2px; }
.pd-info-rows { padding: 4px 22px 16px; }
.pd-info-row { display: flex; align-items: center; gap: 14px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.07); flex-wrap: wrap; }
.pd-info-row:last-child { border-bottom: 0; }
.pd-info-icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(167,139,250,.14); color: #B7A6F5; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.pd-info-title { display: block; color: #fff; font-weight: 700; font-size: .95rem; }
.pd-info-sub { display: block; color: rgba(255,255,255,.55); font-size: .78rem; }
.pd-info-dir { display: inline-flex; align-items: center; justify-content: center; width: 140px; flex-shrink: 0; gap: 6px; font-size: .72rem; font-weight: 700; color: #fff; border: none; background: linear-gradient(135deg, #FF6B00, #FF8A3D); padding: 8px 14px; border-radius: 999px; text-decoration: none; white-space: nowrap; margin-left: auto; box-shadow: 0 6px 16px rgba(255,107,0,.30); transition: transform .18s ease, box-shadow .18s ease; }
.pd-info-badge { display: inline-flex; align-items: center; justify-content: center; width: 140px; flex-shrink: 0; gap: 6px; font-size: .72rem; font-weight: 600; color: #34D399; background: rgba(52,211,153,.12); border: 1px solid rgba(52,211,153,.28); padding: 8px 14px; border-radius: 999px; white-space: nowrap; margin-left: auto; }
.pd-info-badge i { font-size: .45rem; }
.pd-info-badge--closed { color: #F87171; background: rgba(248,113,113,.12); border-color: rgba(248,113,113,.30); }
@media (max-width: 420px) {
  .pd-info-banner img { height: 150px; }
  .pd-info-rows { padding: 4px 16px 14px; }
  .pd-info-dir, .pd-info-badge { margin-left: 58px; }
}

/* ── Team page: premium build ── */
.team-page { overflow-x: clip; background: #fff; }

/* Hero */
.team-hero { position: relative; width: 100vw; margin-left: calc(50% - 50vw); background: linear-gradient(160deg, #060D17 0%, #0A192F 60%, #10203A 100%); color: #fff; overflow: hidden; }
.team-hero-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 78% 22%, rgba(255,107,0,.16) 0%, transparent 55%), radial-gradient(circle at 12% 85%, rgba(56,189,248,.10) 0%, transparent 55%); }
.team-hero .container { position: relative; z-index: 2; max-width: 1140px; padding: 72px 24px 88px; text-align: center; }
.team-crumb { font-size: .8rem; color: rgba(255,255,255,.5); margin-bottom: 18px; }
.team-crumb a { color: rgba(255,255,255,.65); text-decoration: none; }
.team-crumb a:hover { color: var(--pd-orange); }
.team-crumb span { margin: 0 8px; }
.team-crumb span:last-child { color: var(--pd-orange); margin: 0; }
.team-hero-badge { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 700; letter-spacing: 2px; color: #fff; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18); padding: 8px 18px; border-radius: 999px; margin-bottom: 20px; }
.team-hero-title { font-size: 3rem; font-weight: 900; line-height: 1.15; color: #fff; margin-bottom: 16px; }
.team-hero-sub { font-size: 1.1rem; color: rgba(255,255,255,.62); max-width: 620px; margin: 0 auto; line-height: 1.7; }

/* Leadership */
.team-leadership { background: #FAFBFC; }
.team-leadership .container { max-width: 1200px; padding: 88px 24px; }
.team-leader-photo { position: relative; max-width: 420px; margin: 0 auto; }
.team-leader-photo::before { content: ''; position: absolute; inset: 24px -24px -24px 24px; background: linear-gradient(135deg, var(--pd-orange), #FF9A2E); border-radius: 28px; z-index: 0; }
.team-leader-photo img { position: relative; z-index: 1; width: 100%; height: 480px; object-fit: cover; border-radius: 28px; box-shadow: 0 24px 60px rgba(10,25,47,.18); }
.team-leader-ph { position: relative; z-index: 1; width: 100%; height: 480px; border-radius: 28px; background: linear-gradient(135deg, #FFE8D1, #FFC98A); display: flex; align-items: center; justify-content: center; font-size: 5rem; color: #fff; }
.team-leader-tag { display: inline-flex; align-items: center; gap: 10px; color: var(--pd-orange); font-weight: 800; font-size: .78rem; letter-spacing: .14em; margin-bottom: 18px; }
.team-leader-tag span { width: 26px; height: 2px; background: var(--pd-orange); display: inline-block; }
.team-leader-quote { font-size: 1.45rem; font-weight: 600; line-height: 1.55; color: var(--pd-navy); margin-bottom: 26px; }
.team-leader-name { font-size: 1.05rem; font-weight: 800; color: var(--pd-orange); letter-spacing: .04em; }
.team-leader-role { font-size: .85rem; color: #64748B; margin-top: 2px; margin-bottom: 20px; }
.team-leader-mission { color: #475569; font-size: .98rem; line-height: 1.8; border-left: 3px solid var(--pd-orange); padding-left: 18px; margin: 0; }
.team-leader-socials { display: flex; gap: 12px; margin-top: 30px; }
.team-leader-socials a { width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 1px solid #E8EDF3; color: var(--pd-navy); display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem; text-decoration: none; box-shadow: 0 8px 20px rgba(10,25,47,.08); transition: transform .22s ease, background-color .22s ease, color .22s ease, border-color .22s ease; }
.team-leader-socials a:hover { background: var(--pd-orange); border-color: var(--pd-orange); color: #fff; transform: translateY(-3px); }

/* Section titles */
.team-sec-title { text-align: center; font-size: 2rem; font-weight: 800; color: var(--pd-navy); margin-bottom: 10px; }
.team-sec-sub { text-align: center; color: #64748B; max-width: 620px; margin: 0 auto; }

/* Showcase: section boxes (6 members each), per-row orange band */
.team-showcase { background: #fff; padding: 88px 0 96px; overflow: hidden; }
.team-sections { margin-top: 52px; max-width: 1200px; }
.team-section-box { position: relative; background: #fff; border: 1px solid #EEF2F7; border-radius: 24px; box-shadow: 0 20px 50px rgba(10,25,47,.08); padding: 60px 48px 72px; margin-bottom: 48px; overflow: hidden; }
.team-section-box:last-child { margin-bottom: 0; }
.team-section-box::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, #FF6B00, #FF9A42); }
.team-row-wrap { position: relative; }
.team-row-wrap + .team-row-wrap { margin-top: 72px; }
.team-band { position: absolute; left: -48px; right: -48px; top: 200px; height: 200px; background: linear-gradient(100deg, var(--pd-orange) 0%, #FF9A2E 100%); }
.team-row-wrap > .row { position: relative; }
.team-member { text-align: center; padding: 0 12px; }
.team-photo-stage { height: 400px; display: flex; align-items: flex-end; justify-content: center; }
.team-photo { height: 400px; width: auto; max-width: 100%; object-fit: contain; object-position: bottom; filter: grayscale(1) drop-shadow(0 18px 24px rgba(10,25,47,.20)); }
.team-name { margin-top: 26px; font-size: .95rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--pd-navy); }
.team-role { margin-top: 4px; font-size: .85rem; color: #64748B; }
.team-divider { width: 34px; height: 3px; background: var(--pd-orange); margin: 14px auto; border-radius: 2px; }
.team-socials { display: flex; justify-content: center; gap: 10px; }
.team-socials a { width: 36px; height: 36px; border-radius: 50%; background: #F1F5F9; color: var(--pd-navy); display: inline-flex; align-items: center; justify-content: center; font-size: .9rem; text-decoration: none; transition: transform .22s ease, background-color .22s ease, color .22s ease; }
.team-socials a:hover { background: var(--pd-orange); color: #fff; transform: translateY(-2px); }

/* Stats */
.team-stats { background: linear-gradient(160deg, #0A192F 0%, #13294B 100%); }
.team-stats .container { max-width: 1200px; padding: 64px 24px; }
.team-stat-num { font-size: 2.4rem; font-weight: 900; color: #fff; line-height: 1.1; }
.team-stat-num::after { content: ''; display: block; width: 34px; height: 3px; background: var(--pd-orange); margin: 12px auto; border-radius: 2px; }
.team-stat-label { color: rgba(255,255,255,.6); font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; }

/* Values */
.team-values { background: #FAFBFC; }
.team-values .container { max-width: 1200px; padding: 88px 24px; }
.team-value-card { background: #fff; border: 1px solid #EEF2F7; border-radius: 20px; padding: 32px 28px; height: 100%; transition: transform .25s ease, box-shadow .25s ease; }
.team-value-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(10,25,47,.10); }
.team-value-icon { width: 52px; height: 52px; border-radius: 16px; background: #FFF3E6; color: var(--pd-orange); display: inline-flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 18px; }
.team-value-title { font-size: 1.02rem; font-weight: 800; color: var(--pd-navy); margin-bottom: 8px; }
.team-value-card p { color: #64748B; font-size: .88rem; line-height: 1.65; margin: 0; }

/* Join CTA */
.team-join { background: #fff; }
.team-join .container { max-width: 1200px; padding: 24px 24px 96px; }
.team-join-card { position: relative; overflow: hidden; background: linear-gradient(140deg, #0A192F 0%, #1A3358 100%); border-radius: 28px; padding: 64px 32px; text-align: center; }
.team-join-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 80% 15%, rgba(255,107,0,.22) 0%, transparent 50%); pointer-events: none; }
.team-join-card h3 { position: relative; color: #fff; font-weight: 800; font-size: 1.9rem; margin-bottom: 10px; }
.team-join-card p { position: relative; color: rgba(255,255,255,.62); margin-bottom: 30px; }
.team-join-card .d-flex { position: relative; }
.team-join-btn { display: inline-flex; align-items: center; background: var(--pd-orange); color: #fff; font-weight: 700; padding: 13px 30px; border-radius: 999px; text-decoration: none; transition: transform .22s ease, box-shadow .22s ease, filter .22s ease; }
.team-join-btn:hover { color: #fff; transform: translateY(-2px); filter: brightness(1.07); box-shadow: 0 14px 30px rgba(255,107,0,.4); }
.team-join-btn-ghost { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25); }
.team-join-btn-ghost:hover { background: rgba(255,255,255,.16); box-shadow: none; }

/* Responsive */
@media (max-width: 991px) {
  .team-leader-photo img, .team-leader-ph { height: 380px; }
  .team-leader-quote { font-size: 1.2rem; }
}
@media (max-width: 767px) {
  .team-hero .container { padding: 56px 20px 64px; }
  .team-hero-title { font-size: 2.1rem; }
  .team-hero-sub { font-size: 1rem; }
  .team-leadership .container, .team-values .container { padding: 64px 20px; }
  .team-leader-photo img, .team-leader-ph { height: 320px; }
  .team-showcase { padding: 64px 0 72px; }
  .team-sections { margin-top: 36px; }
  .team-section-box { padding: 44px 20px 52px; border-radius: 20px; margin-bottom: 36px; }
  .team-row-wrap + .team-row-wrap { margin-top: 56px; }
  .team-band { left: -20px; right: -20px; top: 150px; height: 150px; }
  .team-photo-stage, .team-photo { height: 300px; }
  .team-member { margin-bottom: 52px; }
  .team-sec-title { font-size: 1.6rem; }
  .team-stat-num { font-size: 1.9rem; }
  .team-join-card { padding: 48px 24px; }
  .team-join-card h3 { font-size: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .team-socials a, .team-value-card, .team-join-btn { transition: none; }
}

/* ── Contact form: iSkills-style fields (label inside) ── */
.pd-form-field { display: flex; align-items: center; gap: 12px; background: #fff; border: 1.5px solid #E8EDF3; border-radius: 14px; padding: 10px 16px; transition: border-color .2s ease, box-shadow .2s ease; }
.pd-form-field:focus-within { border-color: var(--pd-orange); box-shadow: 0 0 0 3px rgba(255,107,0,.12); }
.pd-form-field > i:first-child { color: var(--pd-orange); font-size: 1.05rem; flex-shrink: 0; }
.pd-form-field label { display: block; font-size: .72rem; font-weight: 700; color: var(--pd-navy); margin: 0 0 1px; cursor: pointer; }
.pd-form-field input, .pd-form-field select, .pd-form-field textarea { border: 0; outline: 0; width: 100%; font-size: .85rem; color: #334155; background: transparent; padding: 0; font-family: inherit; }
.pd-form-field input::placeholder, .pd-form-field textarea::placeholder { color: #A3B0C2; }
.pd-form-field select { appearance: none; -webkit-appearance: none; cursor: pointer; color: #334155; }
.pd-form-field select:invalid { color: #A3B0C2; }
.pd-form-field .pd-ff-chevron { color: #A3B0C2; font-size: .85rem; flex-shrink: 0; pointer-events: none; }
.pd-form-field-area { align-items: flex-start; }
.pd-form-field-area > i:first-child { margin-top: 3px; }
.pd-form-field textarea { resize: vertical; min-height: 64px; }

/* ── Contact page: hover micro-interactions on every clickable ── */
.contact-page a, .contact-page button {
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, border-color .25s ease, color .25s ease, filter .25s ease;
}
@media (hover: hover) {
  .contact-page a:not(.contact-qlink):hover, .contact-page button:hover { transform: translateY(-2px); }
  .contact-page .contact-pill:hover {
    transform: translateY(-3px) scale(1.015);
    background: rgba(255,255,255,.72) !important;
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-color: rgba(255,107,0,.35) !important;
    box-shadow: 0 14px 30px rgba(10,25,47,.10);
  }
  .contact-page .contact-social:hover {
    transform: translateY(-3px) scale(1.08);
    background: rgba(255,255,255,.7) !important;
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    color: var(--pd-orange) !important;
    box-shadow: 0 12px 26px rgba(255,107,0,.28);
  }
  .contact-page .contact-submit:hover { box-shadow: 0 14px 30px rgba(255,107,0,.42); filter: brightness(1.07); }
  .contact-page .contact-campus-btn:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 10px 22px rgba(34,197,94,.42); }
  .contact-page .pd-info-dir:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(255,107,0,.42);
    filter: brightness(1.07);
    color: #fff;
  }
  .contact-page .contact-qlink:hover { color: #C2570A !important; text-decoration: underline !important; }
}
.contact-page a:active, .contact-page button:active { transform: translateY(0) scale(.98); }
@media (prefers-reduced-motion: reduce) {
  .contact-page a, .contact-page button { transition: none; }
  .contact-page a:hover, .contact-page button:hover { transform: none; }
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE SAFETY — added 2026-10-20 (full-site mobile pass)
   Auth split panels must stack full-width under lg; pages that
   rely on main.css alone (forgot/reset password) were squeezed
   to 50% width on mobile by the base .pd-auth-right rule.
   ════════════════════════════════════════════════════════════ */
@media (max-width: 991.98px) {
  .pd-auth-page { flex-direction: column; }
  .pd-auth-left, .pd-auth-right {
    flex: 1 1 auto;
    max-width: 100%;
    width: 100%;
  }
}
img, iframe, embed, object { max-width: 100%; }
pre, code { max-width: 100%; overflow-x: auto; }


/* ═══ HEADER (partials/header.php se muntaqil — head-loaded CSS, taake reload par announcement bar ki jhalak/FOUC na aye) ═══ */
/* ===== TOP BAR ===== */
@media (max-width: 768px) {
  .pd-topbar { display: none !important; height: 0 !important; padding: 0 !important; margin: 0 !important; overflow: hidden !important; }
}
.pd-topbar {
  background: #0A192F;
  color: #fff;
  font-size: 0.74rem;
  /* Height FIXED (38px): script se naapna khatam — ghalat naap ki wajah se
     scroll par announcement bar ki patli strip reh jati thi aur reload par
     poori menu bar hilti thi. Ab height hamesha itni hi rahegi. */
  height: 38px;
  padding: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.pd-live-badge {
  background: rgba(255,60,60,0.15);
  border: 1px solid rgba(255,60,60,0.4);
  color: #FF6B6B;
  font-weight: 800;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.pd-live-dot {
  width: 7px; height: 7px;
  background: #FF3B3B;
  border-radius: 50%;
  animation: pdBlink 1.2s infinite;
}
@keyframes pdBlink { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
.pd-topbar-text { color: #CBD5E1; white-space: nowrap; }
.pd-social-icons {
  gap: 14px !important;
}
.pd-social-icons a {
  color: #94A3B8;
  font-size: 0.9rem;
  transition: color .2s;
}
.pd-social-icons a:hover { color: #FF6B00; }
.pd-topbar-sep {
  width: 1px; height: 18px;
  background: rgba(255,255,255,0.15);
  display: inline-block;
}
.pd-portal-btn {
  background: #FF6B00;
  color: #fff !important;
  font-weight: 700;
  font-size: 0.72rem;
  padding: 5px 14px;
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  transition: background .2s;
}
.pd-portal-btn:hover { background: #E55A00; color: #fff !important; }

/* ===== MAIN HEADER (sticky — iSkills ki tarah: topbar scroll ke sath
   upar chala jata hai, header page ke flow me rehte hue top par chipak
   jata hai. Fixed nahi, is liye na JS padding, na refresh par jhatka,
   na peeche se kuch show.) ===== */
.pd-fixed-wrap {
  position: static;
  /* Animation hata di gayi (Nabeel ki hidayat): reload par bar slide hokar
     neeche nahi ayegi — buttons ab upar se neeche nahi girenge. */
}
.pd-fixed-wrap .container,
.pd-topbar .container {
  max-width: 1140px;
}
.pd-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: #FFFFFF;
  transition: none;
  padding: 14px 0;
  box-shadow: 0 2px 20px rgba(15,23,42,0.06);
  border-bottom: 1px solid #EEF2F7;
}
.pd-logo-img {
  height: 46px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
}

.pd-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  color: #334155;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  border-radius: 10px;
  transition: all .2s;
}
.pd-nav-link i { font-size: 0.85rem; color: #94A3B8; transition: color .2s; }
.pd-nav-link:hover { color: #FF6B00 !important; background: none !important; }
.pd-nav-link:hover i { color: #FF6B00; }
.pd-nav-link.active { color: #FF6B00 !important; background: none !important; }
.pd-nav-link.active i { color: #FF6B00; }
.pd-enroll-btn {
  background: #FF6B00;
  color: #fff !important;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 13px 38px;
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(255,107,0,0.35);
  transition: all .25s;
  white-space: nowrap;
}
.pd-enroll-btn:hover {
  background: #E55A00;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255,107,0,0.45);
}
.pd-mobile-toggle {
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #0B132B;
}
.pd-mobile-link {
  display: block;
  padding: 12px 8px;
  color: #334155;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid #F1F5F9;
}
.pd-mobile-link:hover { color: #FF6B00; }


/* ═══ FOOTER hover animations (Nabeel ki hidayat: links + social icons) ═══ */
.pd-foot-link { transition: transform .25s ease, color .25s ease; }
.pd-foot-link i { transition: transform .25s ease, color .25s ease; }
.pd-foot-link:hover { color: #FF6B00 !important; transform: translateX(5px); }
.pd-foot-link:hover i { color: #FF6B00; }
.pd-foot-social { transition: transform .3s ease, background-color .3s ease, color .3s ease, box-shadow .3s ease; }
.pd-foot-social:hover { transform: translateY(-4px) scale(1.1); background: #FF6B00 !important; color: #fff !important; box-shadow: 0 10px 22px rgba(255,107,0,.45); }

/* ════════════════════════════════════════════════════════════════════
   BRAND REMAP (single source) — Bootstrap's blue "primary" and "info"
   families become Prosper orange / navy on EVERY page and portal, so
   no screen can drift off-brand again. Semantic colors (success,
   warning, danger) are intentionally left untouched.
   ════════════════════════════════════════════════════════════════════ */
:root{
  --bs-primary:#FF6B00;
  --bs-primary-rgb:255,107,0;
  --bs-primary-bg-subtle:#FFF1E6;
  --bs-primary-border-subtle:#FFD9B3;
  --bs-primary-text-emphasis:#C2410C;
  --bs-info:#1C2340;
  --bs-info-rgb:28,35,64;
  --bs-info-bg-subtle:#EEF1F8;
  --bs-info-border-subtle:#D5DBEB;
  --bs-info-text-emphasis:#1C2340;
  --bs-link-color:#EA580C;
  --bs-link-color-rgb:234,88,12;
  --bs-link-hover-color:#C2410C;
  --bs-link-hover-color-rgb:194,65,12;
}
.btn-primary{
  --bs-btn-color:#fff;--bs-btn-bg:#FF6B00;--bs-btn-border-color:#FF6B00;
  --bs-btn-hover-color:#fff;--bs-btn-hover-bg:#EA580C;--bs-btn-hover-border-color:#EA580C;
  --bs-btn-focus-shadow-rgb:255,107,0;
  --bs-btn-active-color:#fff;--bs-btn-active-bg:#EA580C;--bs-btn-active-border-color:#EA580C;
  --bs-btn-disabled-bg:#FF6B00;--bs-btn-disabled-border-color:#FF6B00;
}
.btn-outline-primary{
  --bs-btn-color:#EA580C;--bs-btn-border-color:#FF6B00;
  --bs-btn-hover-color:#fff;--bs-btn-hover-bg:#FF6B00;--bs-btn-hover-border-color:#FF6B00;
  --bs-btn-focus-shadow-rgb:255,107,0;
  --bs-btn-active-color:#fff;--bs-btn-active-bg:#EA580C;--bs-btn-active-border-color:#EA580C;
  --bs-btn-disabled-color:#FF6B00;--bs-btn-disabled-bg:transparent;
}
.btn-info{
  --bs-btn-color:#fff;--bs-btn-bg:#1C2340;--bs-btn-border-color:#1C2340;
  --bs-btn-hover-color:#fff;--bs-btn-hover-bg:#141B31;--bs-btn-hover-border-color:#141B31;
  --bs-btn-focus-shadow-rgb:28,35,64;
  --bs-btn-active-color:#fff;--bs-btn-active-bg:#141B31;--bs-btn-active-border-color:#141B31;
  --bs-btn-disabled-bg:#1C2340;--bs-btn-disabled-border-color:#1C2340;
}
.btn-outline-info{
  --bs-btn-color:#1C2340;--bs-btn-border-color:#1C2340;
  --bs-btn-hover-color:#fff;--bs-btn-hover-bg:#1C2340;--bs-btn-hover-border-color:#1C2340;
  --bs-btn-focus-shadow-rgb:28,35,64;
  --bs-btn-active-color:#fff;--bs-btn-active-bg:#141B31;--bs-btn-active-border-color:#141B31;
  --bs-btn-disabled-color:#1C2340;--bs-btn-disabled-bg:transparent;
}
.form-control:focus,.form-select:focus{border-color:#FFB380;box-shadow:0 0 0 .25rem rgba(255,107,0,.18);}
.form-check-input:checked{background-color:#FF6B00;border-color:#FF6B00;}
.form-check-input:focus{border-color:#FFB380;box-shadow:0 0 0 .25rem rgba(255,107,0,.18);}
.form-range::-webkit-slider-thumb{background:#FF6B00;}
.form-range::-moz-range-thumb{background:#FF6B00;}
.page-link{color:#EA580C;}
.page-link:hover{color:#C2410C;}
.page-item.active .page-link{background-color:#FF6B00;border-color:#FF6B00;}
.dropdown-item.active,.dropdown-item:active{background-color:#FF6B00;}
.nav-pills .nav-link.active,.nav-pills .show>.nav-link{background-color:#FF6B00;}
.list-group-item.active{background-color:#FF6B00;border-color:#FF6B00;}
.alert-primary{--bs-alert-bg:#FFF1E6;--bs-alert-border-color:#FFD9B3;--bs-alert-color:#C2410C;--bs-alert-link-color:#C2410C;}
.progress-bar{background-color:#FF6B00;}

/* =============================================================
   PORTAL COMPACT TEXT - 2026-10-31 (Nabeel: "body ko chota nahi
   karna, andar text aur andar wali cheezon ko chota karo, show
   puri screen par hi ho")
   The portal FRAME stays full size - sidebars (240/260px) and
   topbars (60/62px) are px-based and never shrink. What shrinks
   is everything INSIDE: text, headings, buttons, badges and
   rem-based padding, via the root font size (16px -> 14.5px,
   about 9% smaller) on portal pages only. The public site keeps
   16px, phones/tablets keep their tuned sizes, print is full.
   One value controls it: the 14.5px below.
   ============================================================= */
@media (min-width: 992px) {
  :root:has(body.pd-portal) { font-size: 14.5px; }
}
@media print {
  :root:has(body.pd-portal) { font-size: 16px; }
}

/* Disabled means VISIBLY disabled: a form's Save stays quiet and
   greyed until the form guard sees a real change. */
button:disabled, .btn:disabled, input[type="submit"]:disabled {
  opacity: .45 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
}
