body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: white;
    background-color: black;
    /* background: url('../images/bigdbg.png') no-repeat center center fixed;*/
    background-size: cover;
}


a {
    margin-right: 5px;
    text-decoration: none;
    color: #ddd;
}
a:hover {
    color: #fff;
}

/* Glass effect */
.glass {
    background: rgba(20, 20, 30, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.nav-row {
    display: flex;
    justify-content: space-between; /* separates left and right groups */
    align-items: center; /* vertically centers text + images */
    font-size: 0.95rem;
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.nav-left, .nav-right {
    display: flex;
    align-items: center;
    gap: 15px; /* even spacing without manual margins */
}

.logo {
    height: 60px; /* matches your original */
}

.nav-left a, .nav-right a {
    text-decoration: none;
    color: #ddd;
}

.nav-left a:hover, .nav-right a:hover {
    color: #fff;
}

.profile-pic {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.3);
}

.profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Main container */
.container {
    display: flex;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    height: calc(100vh - 150px);
}

/* Sidebar scrollable */
.sidebar {
    width: 320px;
    padding: 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    overflow-y: auto;
}

/* Course title and progress */
.course-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 10px;
}
.progress-label {
    font-size: 0.9rem;
    margin-bottom: 5px;
}
.progress-bar {
    height: 12px;
    background: rgba(255,255,255,0.15);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 20px;
}
.progress-fill {
    height: 100%;
    width: 40%;
    background: linear-gradient(90deg, #4cafef, #2aa4ff);
}

/* Module / Section / Lesson styling */
.module-title {
    font-weight: 700;
    font-size: 1rem;
    margin: 15px 0 10px 0;
}
.section-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin: 10px 0 5px 0;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}
.lesson {
    display: flex;
    align-items: center;
    padding: 10px;
    font-size: 0.9rem;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.lesson:hover {
    background: rgba(255,255,255,0.05);
}
.lesson-icon {
    margin-right: 10px;
    opacity: 0.8;
}
.status-icon {
    margin-left: auto;
    opacity: 0.7;
}

/* Main content */
.main-content {
    flex: 1;
    padding: 0;
    display: flex;
    flex-direction: column;
}

/* Video + Transcript */
.video-transcript {
    display: flex;
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    overflow-y: auto;
}
.video-section {
    flex: 2;
    padding: 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    overflow-y: auto;
}
.transcript-section {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}
video {
    width: 100%;
    border-radius: 6px;
}

/* Transcript lines */
.transcript-line {
    padding: 5px 10px;
    margin-bottom: 6px;
    border-left: 3px solid rgba(255, 255, 255, 0.2);
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
    font-size: 0.9rem;
}
.transcript-line.active {
    border-left: 3px solid #4cafef;
    background: rgba(76, 175, 239, 0.15);
}

.form-box {
    width:300px;
    padding:20px;
    border:1px solid #ccc;
    border-radius:8px;
    text-align:center;
}

input {
    width:100%;
    padding:10px;
    margin:8px 0;
}

button {
    width:100%;
    padding:10px;
    background:#4285f4;
    color:white;
    border:none;
}

button:hover {
    background:#3367d6;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0a0f1a;
    color: #fff;
    margin: 0;
    padding: 0;
}
header {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
}
header h1 {
    margin: 0;
    font-size: 3rem;
    letter-spacing: 2px;
}
header p {
    margin-top: 0.5rem;
    font-size: 1.2rem;
    font-style: italic;
}
section {
    padding: 2rem;
    max-width: 1400px;
    margin: auto;
}
h2 {
    text-align: center;
    margin-bottom: 1rem;
}
.pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}
.pillar {
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}
.pillar h3 {
    margin-top: 0;
}
.mindset {
    font-weight: bold;
    margin: 0.5rem 0;
}
.mantra {
    font-style: italic;
    margin: 0.5rem 0 1rem 0;
}
ul {
    margin: 0;
    padding-left: 1.2rem;
}

/* Global container (centers all auth forms) */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    font-family: sans-serif;
}

/* Shared box style */
.auth-box {
    width: 100%;
    max-width: 420px;
    padding: 24px;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    text-align: center;
    background-color: rgba(0,0,0,0.7);
}

/* Headings */
.auth-box h2 {
    margin-bottom: 20px;
}

/* Form fields */
.auth-box form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 15px;
}
.auth-box input[type="text"],
.auth-box input[type="email"],
.auth-box input[type="password"] {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
}

/* Buttons */
.auth-btn {
    padding: 12px;
    background: #2a9d8f;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
}
.auth-btn:hover {
    background: #21867a;
}

/* Links (e.g. forgot password) */
.auth-link {
    font-size: 14px;
    color: #2a9d8f;
    text-decoration: none;
}
.auth-link:hover {
    text-decoration: underline;
}

/* Subscription specific */
.subscription-details {
    margin-bottom: 20px;
}
.subscription-price {
    font-size: 20px;
    margin: 10px 0;
}
.subscription-old {
    text-decoration: line-through;
    color: #fff;
    margin-right: 8px;
}
.subscription-new {
    color: #4abdaf;
    font-weight: bold;
}
.subscription-trial {
    font-size: 14px;
    color: #fff;
}

.alert {
    max-width: 420px;
    margin: 10px auto;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-family: sans-serif;
}
.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Container */
.cookie-banner{
  position: fixed; left:0; right:0; bottom:0; z-index: 9999;
  background: #111; color:#fff; padding: 14px 16px;
  box-shadow: 0 -6px 20px rgba(0,0,0,.25);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
/* Layout */
.cookie-inner{
  max-width: 1100px; margin: 0 auto;
  display:flex; gap:16px; align-items:center; justify-content:space-between;
  flex-wrap: wrap;
}
.cookie-left{ flex: 1 1 520px; min-width: 260px; }
.cookie-right{ display:flex; gap:10px; flex-wrap: wrap; justify-content:flex-end; }
/* Text */
.cookie-title{ font-weight: 700; margin-bottom: 6px; }
.cookie-text{ margin:0; line-height: 1.4; color:#ddd; }
.cookie-link{ color:#8bd6ff; text-decoration: underline; }
/* Buttons */
.cookie-btn{
  border: 1px solid #444; background:#222; color:#fff; 
  padding: 10px 14px; border-radius: 10px; cursor:pointer; font-weight:600;
}
.cookie-btn:hover{ background:#2b2b2b; border-color:#555; }
.cookie-accept{ background:#27ae60; border-color:#27ae60; }
.cookie-accept:hover{ filter: brightness(0.95); }
.cookie-reject{ background:#333; }
.cookie-manage{ background:#222; }
/* Mobile tweaks */
@media (max-width: 640px){
  .cookie-right{ width: 100%; justify-content: stretch; }
  .cookie-btn{ flex:1 1 auto; }
}

.site-footer{
  background:#111; color:#bbb; padding:20px 16px; font-family:system-ui, sans-serif;
  text-align:center; border-top:1px solid #222;
}
.footer-inner{ max-width:1100px; margin:0 auto; }
.footer-links a{
  color:#8bd6ff; text-decoration:none; margin:0 6px;
}
.footer-links a:hover{ text-decoration:underline; }
.footer-copy{ margin-top:10px; font-size:0.85rem; color:#777; }



/* Sidebar scrollable */
.asidebar {
    width: 320px;
    padding: 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    overflow-y: auto;
}

/* Course title and progress */
.asidebar-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

/* Module / Section / Lesson styling */
.asidebar .title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 10px;
}

.asidebar .option {
    display: flex;
    align-items: center;
    padding: 0px;
    font-size: 0.9rem;
    cursor: pointer;
}
.asidebar .option:hover {
    background: rgba(255,255,255,0.05);
}

/* Your container can be inline-block; this is just to mirror your setup */
.settings { display:inline-block; }

/* Keep each control on ONE line */
.setting {
  display:inline-flex;           /* stays inline inside inline-block parents */
  align-items:center;
  gap:12px;
  white-space:nowrap;            /* prevents the text/switch from wrapping */
  margin:8px 0;
}

/* Accessible switch built on a checkbox (no nested labels) */
.switch-input {
  position:absolute;
  opacity:0;
  width:1px; height:1px;
  overflow:hidden;
  clip:rect(0 0 0 0);
}

.switch {
  position:relative;
  display:inline-block;          /* overrides any global label { display:block } */
  width:48px; height:26px;
  flex-shrink:0;
  cursor:pointer;
}
.switch::before {
  content:"";
  position:absolute; inset:0;
  border-radius:26px;
  background:#c7c7c7;
  transition:200ms;
}
.switch::after {
  content:"";
  position:absolute; top:3px; left:3px;
  width:20px; height:20px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 1px 2px rgba(0,0,0,.25);
  transition:200ms;
}

/* Checked state */
.switch-input:checked + .switch::before { background:#22c55e; }
.switch-input:checked + .switch::after { transform:translateX(22px); }

/* Keyboard focus (optional but good) */
.switch-input:focus-visible + .switch { outline:2px solid #2563eb; outline-offset:2px; }