/* ============================================================
   SkillUp — App CSS
   File: public/css/app.css
   ============================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #0070C6;
    --primary-dark: #1340BF;
    --primary-light: #EEF3FF;
    --primary-mid: #C7D7FC;
    --secondary: #C9346B;
    --secondary-light: #FDE8F0;
    --teal: #0D9488;
    --teal-light: #CCFBF1;
    --amber: #D97706;
    --amber-light: #FEF3C7;
    --green: #16A34A;
    --green-light: #DCFCE7;
    --purple: #7C3AED;
    --purple-light: #EDE9FE;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 48px rgba(0,0,0,0.16);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 28px;
}

body {
    background: var(--gray-50);
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--gray-800);
    min-height: 100vh;
}

/* ==============================
   NAVBAR
============================== */
.navbar {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 200;
    height: 64px;
}

.navbar-inner {
    height: 64px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.navbar-brand-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 900;
    font-size: 1.45rem;
    color: var(--primary);
    letter-spacing: -0.5px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.navbar-brand-text span { color: var(--secondary); }

.logo { width: 150px; }

.search-bar-wrap {
    flex: 1;
    max-width: 520px;
    position: relative;
}

.search-bar-wrap form { position: relative; }

.search-bar {
    width: 100%;
    padding: 10px 16px 10px 44px;
    border: 1.5px solid var(--gray-200);
    border-radius: 99px;
    font-size: 0.875rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--gray-800);
    background: var(--gray-50);
    transition: all 0.2s;
}

.search-bar:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(26,86,232,0.1);
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    font-size: 0.8rem;
    pointer-events: none;
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 99px;
    padding: 5px 14px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.search-btn:hover { background: var(--primary-dark); }

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    margin-left: auto;
}

.nav-text-link {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-600);
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 8px;
    transition: all 0.2s;
    white-space: nowrap;
}
.nav-text-link:hover { color: var(--primary); background: var(--primary-light); }

.btn-nav-primary {
    background: var(--primary);
    color: white;
    border: none;
    padding: 8px 18px;
    border-radius: 99px;
    font-size: 0.83rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    text-decoration: none;
}
.btn-nav-primary:hover { background: var(--primary-dark); }

.user-avatar-btn {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 2px solid var(--primary-mid);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s;
}
.user-avatar-btn img { width: 100%; height: 100%; object-fit: cover; }
.user-avatar-btn:hover { border-color: var(--primary); }

.cart-btn {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    color: var(--gray-600);
    font-size: 0.85rem;
    transition: all 0.2s;
    position: relative;
    text-decoration: none;
}
.cart-btn:hover { background: var(--primary-light); color: var(--primary); }

.cart-badge {
    position: absolute;
    top: -3px; right: -3px;
    background: var(--secondary);
    color: white;
    width: 16px; height: 16px;
    border-radius: 50%;
    font-size: 0.6rem;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}

/* ==============================
   TAGS / BADGES
============================== */
.tag {
    display: inline-flex;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 500;
    padding: 3px 9px;
    border-radius: 99px;
    margin: 2px;
}

.tag-gray   { background: var(--gray-100);       color: var(--gray-600); }
.tag-green  { background: var(--green-light);     color: var(--green); }
.tag-blue   { background: var(--primary-light);   color: var(--primary); }
.tag-amber  { background: var(--amber-light);     color: var(--amber); }
.tag-purple { background: var(--purple-light);    color: var(--purple); }
.tag-teal   { background: var(--teal-light);      color: var(--teal); }
.tag-pink   { background: var(--secondary-light); color: var(--secondary); }

/* ==============================
   GENERAL COMPONENTS
============================== */
.sec-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--gray-900);
    letter-spacing: -0.3px;
}
.sec-sub { font-size: 0.875rem; color: var(--gray-500); margin-top: 4px; }

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-500);
    background: white;
    border: 1px solid var(--gray-200);
    padding: 7px 16px;
    border-radius: 99px;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 1.25rem;
    text-decoration: none;
}
.back-btn:hover { color: var(--primary); border-color: var(--primary-mid); }

.filter-chip {
    font-size: 0.8rem;
    font-weight: 500;
    padding: 7px 16px;
    border-radius: 99px;
    border: 1.5px solid var(--gray-200);
    background: white;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    text-decoration: none;
    display: inline-block;
}
.filter-chip.active   { background: var(--primary); color: white; border-color: var(--primary); }
.filter-chip:hover:not(.active) { border-color: var(--primary-mid); color: var(--primary); background: var(--primary-light); }

.star-row  { color: #F59E0B; font-size: 0.8rem; }
.star-count { font-size: 0.78rem; color: var(--gray-400); margin-left: 4px; }

.view-all-btn {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 9px 20px;
    border-radius: 99px;
    border: 1.5px solid var(--gray-200);
    background: white;
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}
.view-all-btn:hover { border-color: var(--primary); color: var(--primary); }

/* ==============================
   TRAINING CARD
============================== */
.training-card {
    background: white;
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}
.training-card:hover { border-color: var(--primary-mid); box-shadow: var(--shadow-lg); transform: translateY(-3px); }

/* Di app.css, cari dan update bagian .training-card-thumb */
.training-card-thumb {
    height: 250px; /* Ubah dari yang sebelumnya lebih kecil */
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.training-card-thumb .thumb-icon    { font-size: 3rem; opacity: 0.25; color: white; }
.training-card-thumb .thumb-label   { position: absolute; top: 10px; left: 10px; }
.training-card-thumb .thumb-badge   {
    position: absolute; bottom: 10px; right: 10px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 99px;
    padding: 3px 10px;
    font-size: 0.72rem;
    font-weight: 600;
    color: white;
}

.training-card-body { padding: 1rem; flex-grow: 1; display: flex; flex-direction: column; }
.training-card-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--gray-900);
    margin-bottom: 6px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.instructor-line { font-size: 0.78rem; color: var(--gray-500); margin-bottom: 8px; }
.training-meta   { display: flex; gap: 12px; font-size: 0.75rem; color: var(--gray-500); margin-bottom: 10px; flex-wrap: wrap; }
.training-meta span { display: flex; align-items: center; gap: 4px; }

.training-card-footer {
    border-top: 1px solid var(--gray-100);
    padding-top: 10px;
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.price-tag      { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 1rem; color: var(--primary); }
.price-original { font-size: 0.75rem; color: var(--gray-400); text-decoration: line-through; margin-left: 4px; }

.btn-card-detail {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 99px;
    background: var(--primary-light);
    color: var(--primary);
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-card-detail:hover { background: var(--primary); color: white; }

/* Thumb color variants */
.thumb-blue   { background: linear-gradient(135deg, #1A56E8 0%, #3B6EF5 100%); }
.thumb-teal   { background: linear-gradient(135deg, #0D9488 0%, #14B8A6 100%); }
.thumb-purple { background: linear-gradient(135deg, #7C3AED 0%, #A855F7 100%); }
.thumb-amber  { background: linear-gradient(135deg, #D97706 0%, #F59E0B 100%); }
.thumb-pink   { background: linear-gradient(135deg, #E8306A 0%, #F472B6 100%); }
.thumb-green  { background: linear-gradient(135deg, #16A34A 0%, #22C55E 100%); }
.thumb-gray   { background: linear-gradient(135deg, #334155 0%, #475569 100%); }

/* ==============================
   HERO SECTION
============================== */
.hero-section {
    background: linear-gradient(135deg, var(--gray-900) 0%, #1E3A8A 50%, var(--primary) 100%);
    color: white;
    padding: 3.5rem 0 2.5rem;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 320px; height: 320px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
}
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -40px;
    width: 240px; height: 240px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 99px;
    padding: 4px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 900;
    font-size: 2.4rem;
    letter-spacing: -0.8px;
    line-height: 1.15;
    margin-bottom: 0.75rem;
}
.hero-sub { opacity: 0.8; font-size: 1rem; line-height: 1.6; margin-bottom: 1.5rem; }

.hero-search-wrap { position: relative; max-width: 540px; }
.hero-search {
    width: 100%;
    padding: 14px 120px 14px 48px;
    border: none;
    border-radius: 99px;
    font-size: 0.95rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: white;
    color: var(--gray-800);
    box-shadow: var(--shadow-xl);
}
.hero-search:focus { outline: none; }
.hero-search-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--gray-400); font-size: 0.9rem; }
.hero-search-btn {
    position: absolute;
    right: 6px; top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 99px;
    padding: 8px 20px;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}
.hero-search-btn:hover { background: var(--primary-dark); }

.hero-suggest { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.hero-suggest-tag {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 99px;
    padding: 4px 12px;
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    color: white;
    text-decoration: none;
}
.hero-suggest-tag:hover { background: rgba(255,255,255,0.22); color: white; }

.hero-stat-row { display: flex; gap: 2rem; margin-top: 1.5rem; }
.hero-stat-item { text-align: left; }
.hero-stat-num   { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 1.5rem; display: block; }
.hero-stat-label { font-size: 0.78rem; opacity: 0.65; }

.hero-featured-box {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-2xl);
    padding: 1.5rem;
    width: 100%;
    max-width: 340px;
}
.hero-featured-label {
    font-size: 0.78rem;
    font-weight: 600;
    opacity: 0.6;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.hero-featured-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.2s;
    color: white;
    text-decoration: none;
}
.hero-featured-item:hover { background: rgba(255,255,255,0.14); color: white; }
.hero-featured-cta {
    display: block;
    width: 100%;
    margin-top: 4px;
    padding: 10px;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s;
}
.hero-featured-cta:hover { background: rgba(255,255,255,0.2); color: white; }

/* ==============================
   SECTIONS
============================== */
.section-wrap { padding: 2.5rem 0; }

/* ==============================
   CATEGORY PILLS
============================== */
.category-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}
.category-scroll::-webkit-scrollbar { display: none; }

.cat-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--radius-lg);
    background: white;
    border: 1.5px solid var(--gray-200);
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
    text-decoration: none;
}
.cat-pill i { font-size: 1rem; }
.cat-pill:hover  { border-color: var(--primary-mid); color: var(--primary); background: var(--primary-light); }
.cat-pill.active { background: var(--primary); color: white; border-color: var(--primary); }

/* ==============================
   PARTNER LOGOS
============================== */
.partner-logo {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1rem 1.5rem;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gray-400);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ==============================
   TESTIMONIAL
============================== */
.testi-card {
    background: white;
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    padding: 1.5rem;
    height: 100%;
}
.testi-quote  { font-size: 2rem; color: var(--primary-mid); font-family: serif; line-height: 1; margin-bottom: 0.5rem; }
.testi-text   { font-size: 0.875rem; color: var(--gray-700); line-height: 1.65; font-style: italic; margin-bottom: 1rem; }
.testi-author { display: flex; align-items: center; gap: 10px; }
.testi-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gray-200); }
.testi-name   { font-weight: 700; font-size: 0.875rem; color: var(--gray-900); }
.testi-role   { font-size: 0.75rem; color: var(--gray-500); }
.testi-training { font-size: 0.72rem; font-weight: 500; color: var(--primary); margin-top: 2px; }

/* ==============================
   PROMO BANNER
============================== */
.promo-banner {
    background: linear-gradient(135deg, var(--primary) 0%, #3B6EF5 60%, var(--purple) 100%);
    border-radius: var(--radius-2xl);
    padding: 2rem 2.5rem;
    color: white;
    position: relative;
    overflow: hidden;
}
.promo-banner::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 180px; height: 180px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
}
.promo-code-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: var(--radius-md);
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    cursor: pointer;
}
.promo-code-hint { font-size: 0.7rem; opacity: 0.6; font-weight: 400; }

/* ==============================
   WHY US CARDS
============================== */
.why-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    height: 100%;
    transition: all 0.2s;
}
.why-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.why-icon  { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; margin-bottom: 1rem; }
.why-title { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 0.95rem; color: var(--gray-900); margin-bottom: 6px; }
.why-desc  { font-size: 0.83rem; color: var(--gray-500); line-height: 1.6; }

/* ==============================
   SEARCH HEADER
============================== */
.search-header {
    background: white;
    border-bottom: 1px solid var(--gray-200);
    padding: 1.25rem 0;
}
.result-count        { font-size: 0.875rem; color: var(--gray-500); }
.result-count strong { color: var(--gray-900); }

/* ==============================
   FILTER SIDEBAR
============================== */
.filter-sidebar {
    background: white;
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    padding: 1.25rem;
    position: sticky;
    top: 80px;
}
.filter-group-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gray-700);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
    margin-top: 1rem;
}
.filter-group-title:first-child { margin-top: 0; }
.filter-check       { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: 0.875rem; color: var(--gray-700); cursor: pointer; }
.filter-check input { accent-color: var(--primary); }

.sort-select {
    padding: 8px 14px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--gray-700);
    background: white;
    cursor: pointer;
}
.sort-select:focus { outline: none; border-color: var(--primary); }

/* ==============================
   DETAIL PAGE
============================== */
.detail-hero {
    background: var(--gray-900);
    color: white;
    padding: 2rem 0 1.75rem;
}
.detail-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1.75rem;
    letter-spacing: -0.4px;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}
.detail-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 0.875rem; opacity: 0.8; margin-bottom: 1rem; }
.detail-meta span { display: flex; align-items: center; gap: 5px; }
.breadcrumb-row { font-size: 0.8rem; opacity: 0.6; margin-bottom: 1rem; }
.breadcrumb-row a { color: white; text-decoration: none; }
.breadcrumb-row a:hover { opacity: 1; text-decoration: underline; }

.detail-section {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    padding: 1.5rem;
    margin-bottom: 1rem;
}
.detail-section-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--gray-900);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    gap: 8px;
}
.section-icon-sm {
    width: 30px; height: 30px;
    border-radius: 8px;
    background: var(--primary-light);
    display: flex; align-items: center; justify-content: center;
    color: var(--primary);
    font-size: 0.75rem;
    flex-shrink: 0;
}

.curriculum-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.875rem;
    color: var(--gray-700);
}
.curriculum-item:last-child { border-bottom: none; }
.curr-num {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.65rem;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

.batch-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
    flex-wrap: wrap;
}
.batch-row:last-child { border-bottom: none; }
.batch-num  { font-size: 0.7rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: var(--primary-light); color: var(--primary); flex-shrink: 0; }
.batch-date { font-size: 0.875rem; font-weight: 600; color: var(--gray-800); flex: 1; min-width: 150px; }
.batch-seats { font-size: 0.8rem; color: var(--gray-500); flex-shrink: 0; }
.batch-seats.low { color: var(--secondary); font-weight: 600; }

.btn-select-batch {
    font-size: 0.78rem;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 99px;
    border: 1.5px solid var(--primary);
    color: var(--primary);
    background: white;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}
.btn-select-batch:hover, .btn-select-batch.selected { background: var(--primary); color: white; }
.btn-select-batch.full  { border-color: var(--gray-300); color: var(--gray-400); cursor: not-allowed; }

/* ==============================
   BUY BOX
============================== */
.buy-box {
    background: white;
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    padding: 1.5rem;
    position: sticky;
    top: 80px;
    box-shadow: var(--shadow-md);
}
.buy-price          { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 900; font-size: 2rem; color: var(--primary); letter-spacing: -0.5px; }
.buy-price-original { font-size: 0.9rem; color: var(--gray-400); text-decoration: line-through; margin-left: 8px; }
.discount-badge     { background: var(--secondary-light); color: var(--secondary); font-size: 0.72rem; font-weight: 700; padding: 3px 8px; border-radius: 6px; margin-left: 6px; }

.btn-buy {
    background: var(--primary);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 99px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    margin-bottom: 8px;
    display: block;
    text-align: center;
    text-decoration: none;
}
.btn-buy:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); color: white; }

.btn-buy-outline {
    background: white;
    color: var(--primary);
    border: 1.5px solid var(--primary);
    padding: 13px;
    border-radius: 99px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
}

.buy-feature-list { list-style: none; padding: 0; margin: 0; }
.buy-feature-list li { display: flex; align-items: center; gap: 8px; font-size: 0.83rem; color: var(--gray-600); padding: 5px 0; }
.buy-feature-list li i { color: var(--green); font-size: 0.75rem; }

/* ==============================
   CHECKOUT
============================== */
.checkout-section {
    background: white;
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    padding: 1.5rem;
    margin-bottom: 1rem;
}
.checkout-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--gray-900);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--gray-100);
    display: flex; align-items: center; gap: 8px;
}
.step-badge {
    width: 24px; height: 24px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 8px;
}
.payment-option:hover    { border-color: var(--primary-mid); background: var(--primary-light); }
.payment-option.selected { border-color: var(--primary); background: var(--primary-light); }
.payment-option input[type="radio"] { accent-color: var(--primary); }
.payment-logo { width: 48px; height: 28px; background: var(--gray-100); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 0.62rem; font-weight: 700; color: var(--gray-500); flex-shrink: 0; }
.payment-name { font-size: 0.875rem; font-weight: 600; color: var(--gray-800); }
.payment-desc { font-size: 0.75rem; color: var(--gray-500); }

.voucher-row   { display: flex; gap: 8px; }
.voucher-input {
    flex: 1;
    padding: 10px 14px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: all 0.2s;
}
.voucher-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,86,232,0.1); }
.btn-apply-voucher {
    background: var(--primary-light);
    color: var(--primary);
    border: 1.5px solid var(--primary-mid);
    padding: 10px 18px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
.btn-apply-voucher:hover { background: var(--primary); color: white; }
.voucher-success { display: flex; align-items: center; gap: 8px; background: var(--green-light); border: 1px solid #86EFAC; border-radius: var(--radius-md); padding: 10px 14px; font-size: 0.85rem; color: var(--green); margin-top: 8px; font-weight: 500; }

.summary-card {
    background: white;
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    padding: 1.5rem;
    position: sticky;
    top: 80px;
    box-shadow: var(--shadow-md);
}
.summary-title { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 1rem; margin-bottom: 1.25rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--gray-100); }
.summary-row { display: flex; justify-content: space-between; align-items: center; font-size: 0.875rem; padding: 5px 0; }
.summary-row.total  { font-weight: 700; font-size: 1rem; padding-top: 10px; border-top: 1px solid var(--gray-200); margin-top: 5px; }
.summary-row .label { color: var(--gray-600); }
.summary-row .value { color: var(--gray-800); font-weight: 500; }
.summary-row.total .value { color: var(--primary); font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 1.2rem; }
.discount-row .value { color: var(--secondary); }

.btn-checkout-final {
    background: var(--primary);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 99px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    margin-top: 1rem;
}
.btn-checkout-final:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.checkout-training-preview {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    margin-bottom: 1rem;
}
.checkout-thumb {
    width: 64px; height: 52px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    color: white;
}

/* ==============================
   FORM CONTROLS
============================== */
.form-control-custom {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    color: var(--gray-800);
    transition: all 0.2s;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--gray-50);
}
.form-control-custom:focus { outline: none; border-color: var(--primary); background: white; box-shadow: 0 0 0 3px rgba(26,86,232,0.1); }
.form-label-custom { font-weight: 600; font-size: 0.85rem; color: var(--gray-700); margin-bottom: 6px; display: block; }

/* ==============================
   INVOICE PAGE
============================== */
.invoice-wrap {
    max-width: 680px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-2xl);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.invoice-header {
    background: linear-gradient(135deg, var(--primary) 0%, #3B6EF5 100%);
    padding: 2rem;
    color: white;
}
.invoice-logo { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 900; font-size: 1.4rem; letter-spacing: -0.3px; }
.invoice-logo span { color: rgba(255,255,255,0.6); }
.invoice-num { font-size: 0.8rem; opacity: 0.7; margin-top: 4px; }
.invoice-success-icon {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.3);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
}
.invoice-body { padding: 2rem; }
.invoice-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.875rem;
}
.invoice-row:last-child { border-bottom: none; }
.invoice-row .ilabel { color: var(--gray-500); }
.invoice-row .ivalue { font-weight: 600; color: var(--gray-800); text-align: right; }

.invoice-total-box {
    background: var(--primary-light);
    border: 1.5px solid var(--primary-mid);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    text-align: center;
    margin: 1.25rem 0;
}
.invoice-total-label { font-size: 0.8rem; color: var(--primary); margin-bottom: 4px; }
.invoice-total-num   { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 900; font-size: 2rem; color: var(--primary); letter-spacing: -0.5px; }
.invoice-training-box { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 1.25rem; margin: 1.25rem 0; }
.invoice-status { display: inline-flex; align-items: center; gap: 6px; background: var(--green-light); color: var(--green); font-size: 0.78rem; font-weight: 700; padding: 4px 12px; border-radius: 99px; }
.invoice-footer { background: var(--gray-50); border-top: 1px solid var(--gray-200); padding: 1.5rem 2rem; text-align: center; }

.btn-invoice-action {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 99px;
    border: 1.5px solid var(--gray-200);
    background: white;
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}
.btn-invoice-action:hover      { border-color: var(--primary); color: var(--primary); }
.btn-invoice-primary           { background: var(--primary); color: white; border-color: var(--primary); }
.btn-invoice-primary:hover     { background: var(--primary-dark); color: white; }

/* ==============================
   FOOTER
============================== */
.site-footer {
    background: var(--gray-900);
    color: white;
    padding: 2.5rem 0 1.5rem;
    margin-top: 3rem;
}
.footer-brand    { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 900; font-size: 1.3rem; color: white; margin-bottom: 0.5rem; }
.footer-brand span { color: var(--secondary); }
.footer-desc     { font-size: 0.83rem; opacity: 0.5; line-height: 1.6; }
.footer-heading  { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; opacity: 0.45; margin-bottom: 0.75rem; }
.footer-link     { display: block; font-size: 0.83rem; opacity: 0.6; margin-bottom: 6px; cursor: pointer; transition: opacity 0.2s; text-decoration: none; color: white; }
.footer-link:hover { opacity: 1; color: white; }
.footer-bottom   { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.25rem; margin-top: 2rem; font-size: 0.78rem; opacity: 0.4; }

/* ==============================
   RESPONSIVE
============================== */
@media (max-width: 768px) {
    .hero-title     { font-size: 1.6rem; }
    .search-bar-wrap { display: none; }
    .detail-title   { font-size: 1.3rem; }
    .hero-stat-row  { gap: 1rem; flex-wrap: wrap; }
    .promo-banner   { padding: 1.5rem; }
}
