﻿/* ========================================================= */
/* ================= CLEAN UDEMY THEME ===================== */
/* ========================================================= */

body.landing-mode, 
body.landing-mode #app-root, 
body.landing-mode main {
  background: #FFFFFF !important;
  color: #1C1D1F !important;
}

/* 1. HERO SECTION */
body.landing-mode .hero-slideshow .hero-overlay {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(15, 25, 45, 0.75) 100%) !important;
}
body.landing-mode .hero-slideshow h1,
body.landing-mode .hero-slideshow h2,
body.landing-mode .hero-slideshow p,
body.landing-mode .hero-slideshow span,
body.landing-mode .hero-slideshow div {
  color: #ffffff !important;
  text-shadow: 0 4px 20px rgba(0,0,0,1) !important;
}

/* 2. NAVBAR (Force Dark Glass so Logo & Text are visible) */
body.landing-mode #mainNavbar,
body.landing-mode nav,
body.landing-mode header {
  background: rgba(15, 23, 42, 0.95) !important;
  backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}
body.landing-mode #mainNavbar a,
body.landing-mode #mainNavbar span,
body.landing-mode #mainNavbar div,
body.landing-mode #mainNavbar button,
body.landing-mode #navbarLogo,
body.landing-mode #navbarLogo * {
  color: #ffffff !important;
  fill: #ffffff !important;
}

/* 3. AI SECTION (Whyus Panel) */
body.landing-mode .whyus-panel {
  background: #F7F9FA !important;
  border: 1px solid #E5E7EB !important;
  border-radius: 16px !important;
  padding: 40px !important;
}
body.landing-mode .whyus-title { color: #1C1D1F !important; }
body.landing-mode .whyus-sub { color: #6A6F73 !important; }
body.landing-mode .whyus-item { color: #1C1D1F !important; }
body.landing-mode .whyus-check { background: #E0F2FE !important; color: #0284C7 !important; }
body.landing-mode .whyus-cta { color: #7c3aed !important; font-weight: 700 !important; }
body.landing-mode .whyus-price { color: #6A6F73 !important; }

/* 4. LIBRARY / COURSE CARDS */
body.landing-mode .glass,
body.landing-mode .rc-card,
body.landing-mode [class*="course-card"] {
  background: #FFFFFF !important;
  border: 1px solid #E5E7EB !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
  border-radius: 12px !important;
}
body.landing-mode .glass *,
body.landing-mode .rc-card *,
body.landing-mode [class*="course-card"] * {
  color: #1C1D1F !important;
}

/* 5. SIGN IN CARD */
body.landing-mode .auth-wrap {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}
body.landing-mode .auth-card {
  background: #F9FAFB !important;
  border: 2px solid #E5E7EB !important;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1) !important;
  border-radius: 16px !important;
  padding: 40px 30px !important;
}
body.landing-mode .auth-card * { color: #1C1D1F !important; }
body.landing-mode .auth-input { background: #FFFFFF !important; border: 1px solid #D1D5DB !important; color: #1C1D1F !important; }

/* 6. BUSINESS CTA */
body.landing-mode .trusted-business-cta,
body.landing-mode .trusted-business-cta * {
  color: #7c3aed !important;
  font-weight: 700 !important;
}

/* ========================================================= */
/* ================= AI CHAT WIDGET FIX ==================== */
/* ========================================================= */

/* Force the chat widget container to be dark so the header is visible */
#aiChatWidget {
  background: #1e293b !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

/* Force ALL text inside the widget to be white by default */
#aiChatWidget * {
  color: #f3f4f6 !important;
}

/* But force the MESSAGE BUBBLES to be white with black text */
#aiChatWidget .message,
#aiChatWidget [class*="message"],
#aiChatWidget .message-content,
#aiChatWidget .bg-white, 
#aiChatWidget .bg-gray-100 {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border: 1px solid #E5E7EB !important;
}

#aiChatWidget .message *,
#aiChatWidget [class*="message"] *,
#aiChatWidget .message-content *,
#aiChatWidget .bg-white *,
#aiChatWidget .bg-gray-100 * {
  color: #1C1D1F !important; /* FORCE BLACK TEXT INSIDE MESSAGES */
}

/* Input field styling */
#aiChatWidget input {
  background: rgba(0, 0, 0, 0.3) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
}