/* ========================================================= */
/* GLOBAL STYLE - SLEEP DISORDER PREDICT */
/* MEDICAL / HOSPITAL CLEAN THEME */
/* ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary: #0ea5e9;
    --secondary: #14b8a6;
    --accent: #0284c7;

    --navy: #0f172a;
    --dark: #111827;
    --text: #334155;
    --muted: #64748b;

    --soft: #f8fafc;
    --soft-blue: #eff6ff;
    --soft-teal: #f0fdfa;

    --line: #e2e8f0;
    --white: #ffffff;

    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;

    --shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    --shadow-hover: 0 24px 60px rgba(14, 165, 233, 0.16);
    --radius: 24px;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(14, 165, 233, 0.12), transparent 30%),
        radial-gradient(circle at top right, rgba(20, 184, 166, 0.12), transparent 32%),
        linear-gradient(135deg, #f8fafc 0%, #ecfeff 45%, #f0fdfa 100%);
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    color: inherit;
}

button,
input,
select {
    font-family: inherit;
}

.section-badge,
.dashboard-badge,
.landing-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 850;
    margin-bottom: 18px;
}

.section-label {
    display: inline-block;
    color: #0369a1;
    background: #e0f2fe;
    border: 1px solid #bae6fd;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 14px;
}

.page-back-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    color: #0369a1;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #bae6fd;
    border-radius: 999px;
    padding: 11px 17px;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 24px;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
    transition: 0.25s ease;
}

.page-back-link:hover {
    background: #e0f2fe;
    transform: translateY(-3px);
}

.primary-action-btn,
.secondary-action-btn,
.dashboard-primary-btn,
.dashboard-secondary-btn,
.landing-btn-primary,
.landing-btn-secondary,
.mode-action-btn,
.csv-template-btn,
.csv-submit-btn,
.manual-submit-btn,
.auth-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-weight: 850;
    border-radius: 15px;
    transition: 0.25s ease;
}

.primary-action-btn,
.dashboard-primary-btn,
.landing-btn-primary,
.mode-action-btn,
.csv-submit-btn,
.manual-submit-btn,
.auth-submit-btn {
    background: linear-gradient(135deg, #0ea5e9, #14b8a6);
    color: white;
    padding: 15px 24px;
    box-shadow: 0 14px 30px rgba(14, 165, 233, 0.22);
}

.primary-action-btn:hover,
.dashboard-primary-btn:hover,
.landing-btn-primary:hover,
.mode-action-btn:hover,
.csv-submit-btn:hover,
.manual-submit-btn:hover,
.auth-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.28);
}

.secondary-action-btn,
.dashboard-secondary-btn,
.landing-btn-secondary {
    background: rgba(255, 255, 255, 0.95);
    color: #0369a1;
    border: 1px solid #bae6fd;
    padding: 14px 22px;
}

.secondary-action-btn:hover,
.dashboard-secondary-btn:hover,
.landing-btn-secondary:hover {
    background: #e0f2fe;
    transform: translateY(-3px);
}

/* ========================================================= */
/* LANDING PAGE */
/* ========================================================= */

.landing-page {
    display: block;
}

.landing-navbar {
    width: min(1180px, calc(100% - 36px));
    margin: 22px auto 0;
    padding: 16px 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(203, 213, 225, 0.75);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.landing-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #0369a1;
    font-size: 22px;
    font-weight: 900;
}

.landing-logo i {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, #0ea5e9, #14b8a6);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 22px rgba(14, 165, 233, 0.22);
}

.landing-nav-auth {
    display: flex;
    align-items: center;
    gap: 10px;
}

.landing-btn-login,
.landing-btn-register {
    text-decoration: none;
    padding: 11px 19px;
    border-radius: 13px;
    font-size: 14px;
    font-weight: 800;
    transition: 0.25s ease;
}

.landing-btn-login {
    color: #0369a1;
    background: #e0f2fe;
    border: 1px solid #bae6fd;
}

.landing-btn-register {
    color: white;
    background: linear-gradient(135deg, #0ea5e9, #14b8a6);
    box-shadow: 0 10px 22px rgba(14, 165, 233, 0.22);
}

.landing-btn-login:hover,
.landing-btn-register:hover {
    transform: translateY(-2px);
}

.landing-main {
    width: min(1180px, calc(100% - 36px));
    margin: 34px auto 0;
    padding-bottom: 42px;
}

.landing-hero {
    min-height: 520px;
    padding: 54px;
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(203, 213, 225, 0.75);
    backdrop-filter: blur(18px);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.10);
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 42px;
    animation: fadeUp 0.85s ease both;
    position: relative;
    overflow: hidden;
}

.landing-hero::before {
    content: "";
    position: absolute;
    width: 310px;
    height: 310px;
    border-radius: 50%;
    right: -120px;
    top: -120px;
    background: rgba(14, 165, 233, 0.10);
}

.landing-hero::after {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    left: -110px;
    bottom: -110px;
    background: rgba(20, 184, 166, 0.10);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(26px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.landing-hero-content,
.landing-visual {
    position: relative;
    z-index: 2;
}

.landing-hero-content h1 {
    color: var(--navy);
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.05;
    letter-spacing: -1.8px;
    margin-bottom: 22px;
}

.landing-hero-content p {
    max-width: 620px;
    color: #475569;
    font-size: 17px;
    line-height: 1.85;
    margin-bottom: 32px;
}

.landing-hero-content strong {
    color: #0284c7;
}

.landing-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.landing-visual {
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.landing-visual-card {
    width: 330px;
    height: 330px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.13), transparent 62%);
    border: 1px solid rgba(186, 230, 253, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.landing-moon-icon {
    width: 138px;
    height: 138px;
    border-radius: 38px;
    background: linear-gradient(135deg, #0ea5e9, #14b8a6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 54px;
    box-shadow: 0 24px 50px rgba(14, 165, 233, 0.24);
    transform: rotate(-8deg);
}

.landing-floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.96);
    color: #334155;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.10);
    border-radius: 18px;
    padding: 13px 16px;
    min-width: 190px;
}

.landing-floating-card i {
    color: #0284c7;
    font-size: 20px;
}

.landing-floating-card h3 {
    font-size: 14px;
    color: var(--navy);
    margin-bottom: 3px;
}

.landing-floating-card p {
    font-size: 12px;
    color: var(--muted);
}

.landing-card-one {
    top: 24px;
    left: -28px;
}

.landing-card-two {
    right: -42px;
    top: 132px;
}

.landing-card-three {
    bottom: 32px;
    left: 12px;
}

.landing-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 22px;
}

.landing-stat-card {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(203, 213, 225, 0.75);
    backdrop-filter: blur(14px);
    border-radius: 24px;
    padding: 24px;
    box-shadow: var(--shadow);
    transition: 0.25s ease;
}

.landing-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.landing-stat-icon {
    width: 46px;
    height: 46px;
    border-radius: 15px;
    background: #e0f2fe;
    color: #0284c7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 14px;
}

.landing-stat-card h3 {
    color: var(--navy);
    margin-bottom: 6px;
    font-size: 20px;
}

.landing-stat-card p {
    color: var(--muted);
    line-height: 1.55;
    font-size: 14px;
}

/* ========================================================= */
/* DASHBOARD PAGE */
/* ========================================================= */

.dashboard-page {
    background:
        radial-gradient(circle at top left, rgba(14, 165, 233, 0.10), transparent 32%),
        radial-gradient(circle at top right, rgba(20, 184, 166, 0.10), transparent 30%),
        #f8fafc;
    display: flex;
    color: var(--text);
}

.dashboard-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.18);
    z-index: 90;
}

.dashboard-overlay.active {
    display: block;
}

.dashboard-sidebar {
    width: 270px;
    min-height: 100vh;
    background: linear-gradient(180deg, #0f766e 0%, #0284c7 100%);
    color: white;
    position: fixed;
    left: -270px;
    top: 0;
    padding: 24px;
    z-index: 100;
    transition: 0.3s ease;
    box-shadow: 12px 0 35px rgba(15, 118, 110, 0.20);
}

.dashboard-sidebar.active {
    left: 0;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 38px;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    font-weight: 900;
    font-size: 20px;
}

.sidebar-close {
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    cursor: pointer;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.78);
    padding: 14px 15px;
    border-radius: 14px;
    font-weight: 700;
    transition: 0.25s ease;
}

.sidebar-link:hover,
.sidebar-link.active {
    background: rgba(255, 255, 255, 0.18);
    color: white;
    transform: translateX(4px);
}

.sidebar-dataset {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding-top: 16px;
}

.sidebar-dataset span {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.58);
    margin-bottom: 7px;
}

.sidebar-dataset a {
    color: white;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.5;
}

.sidebar-dataset a:hover {
    text-decoration: underline;
}

.dashboard-main {
    width: 100%;
    padding: 42px 48px;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 28px;
}

.dashboard-header-left {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.sidebar-toggle {
    width: 48px;
    height: 48px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 14px;
    color: #0284c7;
    cursor: pointer;
    font-size: 19px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    transition: 0.25s ease;
    margin-top: 5px;
}

.sidebar-toggle:hover {
    background: #e0f2fe;
    transform: translateY(-2px);
}

.dashboard-header h1 {
    color: var(--navy);
    font-size: 32px;
    letter-spacing: -0.6px;
    margin-bottom: 7px;
}

.dashboard-header p {
    color: var(--muted);
    line-height: 1.6;
}

.dashboard-auth {
    display: flex;
    gap: 10px;
    margin-top: 6px;
}

.dashboard-login-btn,
.dashboard-register-btn {
    text-decoration: none;
    padding: 11px 18px;
    border-radius: 13px;
    font-weight: 800;
    font-size: 14px;
    transition: 0.25s ease;
}

.dashboard-login-btn {
    color: #0369a1;
    background: white;
    border: 1px solid #bae6fd;
}

.dashboard-register-btn {
    color: white;
    background: linear-gradient(135deg, #0ea5e9, #14b8a6);
    box-shadow: 0 12px 24px rgba(14, 165, 233, 0.20);
}

.dashboard-login-btn:hover,
.dashboard-register-btn:hover {
    transform: translateY(-2px);
}

.dashboard-hero,
.dataset-section,
.model-section,
.chart-section,
.prediction-info-section,
.dashboard-cta {
    margin-bottom: 32px;
}

.dashboard-hero {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 26px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 28px;
    padding: 34px;
    box-shadow: var(--shadow);
}

.dashboard-hero h2 {
    color: var(--navy);
    font-size: 34px;
    letter-spacing: -0.8px;
    margin-bottom: 16px;
}

.dashboard-hero p {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 24px;
}

.dashboard-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.dashboard-hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.dashboard-visual-card {
    width: 100%;
    background: linear-gradient(180deg, white, #f8fdff);
    border: 1px solid #dbeafe;
    border-radius: 26px;
    padding: 28px;
    box-shadow: 0 18px 38px rgba(14, 165, 233, 0.10);
}

.visual-icon {
    width: 68px;
    height: 68px;
    border-radius: 22px;
    background: linear-gradient(135deg, #0ea5e9, #14b8a6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 18px;
}

.dashboard-visual-card h3 {
    color: var(--navy);
    margin-bottom: 8px;
}

.visual-mini-list {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

.visual-mini-list div {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px;
    font-weight: 700;
    color: #475569;
}

.visual-mini-list i {
    color: #0284c7;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 32px;
}

.summary-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
    display: flex;
    gap: 15px;
    transition: 0.25s ease;
}

.summary-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.summary-icon {
    width: 52px;
    height: 52px;
    border-radius: 17px;
    background: linear-gradient(135deg, #0ea5e9, #14b8a6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    flex-shrink: 0;
}

.summary-info span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.summary-info h3 {
    color: var(--navy);
    font-size: 26px;
    margin: 4px 0;
}

.summary-info p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.dataset-section {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 22px;
}

.dataset-card,
.model-section,
.chart-section,
.prediction-info-card,
.dashboard-cta {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 26px;
    padding: 28px;
    box-shadow: var(--shadow);
}

.dataset-main-card h2,
.section-heading h2 {
    color: var(--navy);
    font-size: 28px;
    margin-bottom: 14px;
}

.dataset-main-card p,
.section-heading p {
    color: #475569;
    line-height: 1.75;
    margin-bottom: 14px;
}

.dataset-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    text-decoration: none;
    background: #e0f2fe;
    color: #0369a1;
    padding: 13px 18px;
    border-radius: 14px;
    font-weight: 850;
    border: 1px solid #bae6fd;
    transition: 0.25s ease;
}

.dataset-link-btn:hover {
    background: #ccfbf1;
    transform: translateY(-2px);
}

.dataset-feature-card h3 {
    color: var(--navy);
    margin-bottom: 18px;
    font-size: 22px;
}

.dataset-feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.dataset-feature-list div {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 15px;
    padding: 13px;
    font-weight: 750;
    color: #475569;
}

.dataset-feature-list i {
    color: #0284c7;
}

.section-heading {
    margin-bottom: 26px;
}

.accuracy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.accuracy-card {
    background: linear-gradient(180deg, white, #f8fdff);
    border: 1px solid #dbeafe;
    border-radius: 24px;
    padding: 28px;
    text-align: center;
    position: relative;
    transition: 0.25s ease;
    overflow: hidden;
}

.accuracy-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 38px rgba(14, 165, 233, 0.14);
}

.model-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
}

.model-badge.best {
    background: #dcfce7;
    color: #047857;
}

.model-badge.stable {
    background: #e0f2fe;
    color: #0369a1;
}

.accuracy-circle {
    width: 150px;
    height: 150px;
    margin: 12px auto 20px;
    border-radius: 50%;
    background: conic-gradient(#0ea5e9 96%, #e5e7eb 0);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.accuracy-card:nth-child(2) .accuracy-circle {
    background: conic-gradient(#14b8a6 93.33%, #e5e7eb 0);
}

.accuracy-circle::before {
    content: "";
    width: 108px;
    height: 108px;
    background: white;
    border-radius: 50%;
    position: absolute;
}

.accuracy-circle span {
    position: relative;
    z-index: 2;
    font-weight: 900;
    font-size: 25px;
    color: var(--navy);
}

.accuracy-card h3 {
    color: var(--navy);
    margin-bottom: 8px;
}

.accuracy-card p {
    color: var(--muted);
    line-height: 1.55;
    font-size: 14px;
}

.chart-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.chart-card {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
    transition: 0.25s ease;
}

.chart-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.chart-card-header {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.chart-card-header h3 {
    color: var(--navy);
    margin-bottom: 6px;
}

.chart-card-header p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.chart-card-header i {
    color: #0284c7;
    font-size: 23px;
}

.chart-wrapper {
    height: 250px;
    position: relative;
}

.prediction-info-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.prediction-info-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.prediction-info-header i {
    width: 44px;
    height: 44px;
    border-radius: 15px;
    background: #e0f2fe;
    color: #0284c7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prediction-info-card h3 {
    color: var(--navy);
}

.prediction-info-card p {
    color: var(--muted);
    line-height: 1.65;
}

.dashboard-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 36%),
        linear-gradient(135deg, #0ea5e9, #14b8a6);
    color: white;
}

.dashboard-cta h2 {
    font-size: 28px;
    margin-bottom: 8px;
}

.dashboard-cta p {
    color: rgba(255, 255, 255, 0.90);
    line-height: 1.6;
}

.dashboard-cta .dashboard-primary-btn {
    background: white;
    color: #0369a1;
    flex-shrink: 0;
}

/* ========================================================= */
/* SHARED PAGE LAYOUT */
/* ========================================================= */

.predict-choice-page,
.manual-page,
.csv-page,
.result-page,
.history-page {
    display: block;
}

.predict-choice-main,
.manual-main,
.csv-main,
.result-main,
.history-main {
    width: min(1180px, calc(100% - 36px));
    margin: 34px auto;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(203, 213, 225, 0.75);
    backdrop-filter: blur(18px);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.10);
    border-radius: 34px;
    padding: 42px;
    animation: fadeUp 0.75s ease both;
}

.predict-choice-header,
.manual-header,
.csv-header,
.result-header,
.history-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 34px;
}

.predict-choice-header h1,
.manual-header h1,
.csv-header h1,
.result-header h1,
.history-header h1 {
    color: var(--navy);
    font-size: clamp(34px, 4vw, 50px);
    letter-spacing: -1px;
    margin-bottom: 15px;
}

.predict-choice-header p,
.manual-header p,
.csv-header p,
.result-header p,
.history-header p {
    color: #475569;
    line-height: 1.8;
    font-size: 16px;
}

.predict-choice-header strong,
.csv-header strong {
    color: #0284c7;
}

/* ========================================================= */
/* PREDICT CHOICE */
/* ========================================================= */

.prediction-mode-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
}

.prediction-mode-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 253, 255, 0.98));
    border: 1px solid rgba(186, 230, 253, 0.9);
    border-radius: 28px;
    padding: 30px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
    transition: 0.28s ease;
    position: relative;
    overflow: hidden;
}

.prediction-mode-card::after {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    right: -85px;
    top: -85px;
    background: rgba(14, 165, 233, 0.09);
}

.prediction-mode-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.mode-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
    position: relative;
    z-index: 2;
}

.mode-icon,
.panel-icon,
.form-section-icon,
.auth-icon,
.history-info-icon,
.message-icon,
.history-card-icon,
.empty-history-icon,
.single-result-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: linear-gradient(135deg, #0ea5e9, #14b8a6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 14px 28px rgba(14, 165, 233, 0.20);
}

.mode-label {
    background: #e0f2fe;
    color: #0369a1;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 900;
}

.prediction-mode-card h2 {
    color: var(--navy);
    font-size: 28px;
    margin-bottom: 12px;
}

.prediction-mode-card p {
    color: var(--muted);
    line-height: 1.75;
    margin-bottom: 18px;
}

.mode-feature-list {
    display: grid;
    gap: 10px;
    margin-bottom: 24px;
}

.mode-feature-list div {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #475569;
    font-weight: 650;
}

.mode-feature-list i {
    color: var(--success);
}

.predict-choice-info {
    margin-top: 26px;
    display: flex;
    gap: 14px;
    background: #eff6ff;
    border: 1px solid #bae6fd;
    border-left: 5px solid #0ea5e9;
    border-radius: 18px;
    padding: 20px;
}

.choice-info-icon {
    color: #0284c7;
    font-size: 22px;
}

.predict-choice-info h3 {
    color: var(--navy);
    margin-bottom: 6px;
}

.predict-choice-info p {
    color: #475569;
    line-height: 1.7;
}

/* ========================================================= */
/* MANUAL INPUT */
/* ========================================================= */

.manual-layout {
    margin-top: 28px;
}

.manual-form {
    display: grid;
    gap: 24px;
}

.form-section-card,
.csv-info-panel,
.csv-upload-panel,
.batch-table-card,
.input-summary-card,
.single-result-card,
.result-message-card,
.empty-history-card,
.history-info-card,
.history-card {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 26px;
    padding: 28px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.07);
}

.form-section-header,
.panel-header {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 24px;
}

.form-section-header h2,
.panel-header h2 {
    color: var(--navy);
    font-size: 23px;
    margin-bottom: 5px;
}

.form-section-header p,
.panel-header p {
    color: var(--muted);
    line-height: 1.5;
}

.manual-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.manual-form-group,
.csv-form-group,
.auth-form-group {
    display: grid;
    gap: 9px;
}

.manual-form-group label,
.csv-form-group label,
.auth-form-group label {
    color: #475569;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.input-with-icon,
.csv-select-wrapper,
.auth-input-wrapper {
    position: relative;
}

.input-with-icon i,
.csv-select-wrapper i,
.auth-input-wrapper i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 15px;
}

.input-with-icon input,
.input-with-icon select,
.csv-select-wrapper select,
.auth-input-wrapper input {
    width: 100%;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    border-radius: 15px;
    padding: 15px 16px 15px 44px;
    color: var(--navy);
    font-size: 15px;
    transition: 0.25s ease;
}

.input-with-icon input:focus,
.input-with-icon select:focus,
.csv-select-wrapper select:focus,
.auth-input-wrapper input:focus {
    outline: none;
    background: white;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.12);
}

.manual-form-group small {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

.helper-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #0284c7;
    text-decoration: none;
    font-size: 13px;
    font-weight: 750;
    margin-top: 2px;
}

.helper-link:hover {
    text-decoration: underline;
}

.model-choice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.model-choice-card {
    cursor: pointer;
}

.model-choice-card input {
    display: none;
}

.model-choice-card span {
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 9px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    padding: 20px;
    transition: 0.25s ease;
}

.model-choice-card i {
    color: #0284c7;
    font-size: 26px;
}

.model-choice-card strong {
    color: var(--navy);
    font-size: 18px;
}

.model-choice-card small {
    color: var(--muted);
    line-height: 1.45;
}

.model-choice-card input:checked + span {
    background: #e0f2fe;
    border-color: #0ea5e9;
    box-shadow: 0 16px 34px rgba(14, 165, 233, 0.16);
    transform: translateY(-4px);
}

.manual-submit-area {
    display: grid;
    gap: 18px;
}

.manual-note,
.csv-form-note,
.result-warning {
    display: flex;
    gap: 12px;
    background: #eff6ff;
    border: 1px solid #bae6fd;
    border-left: 5px solid #0ea5e9;
    border-radius: 18px;
    padding: 18px;
    color: #475569;
    line-height: 1.65;
}

.manual-note i,
.csv-form-note i,
.result-warning i {
    color: #0284c7;
    margin-top: 4px;
}

.manual-submit-btn {
    width: 100%;
    font-size: 16px;
}

/* ========================================================= */
/* CSV UPLOAD */
/* ========================================================= */

.csv-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 26px;
    align-items: start;
}

.csv-header-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.csv-header-grid span {
    background: #f8fdff;
    border: 1px solid #dbeafe;
    color: #334155;
    padding: 12px 14px;
    border-radius: 13px;
    font-size: 14px;
    font-weight: 800;
}

.csv-header-grid span::before {
    content: "•";
    color: #0ea5e9;
    font-weight: 900;
    margin-right: 8px;
}

.csv-example-card {
    margin-top: 22px;
    background: #f8fafc;
    border: 1px solid var(--line);
    border-left: 5px solid #0ea5e9;
    border-radius: 18px;
    padding: 18px;
    color: #475569;
    line-height: 1.65;
}

.csv-example-card h3 {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--navy);
    margin-bottom: 12px;
}

.csv-example-card p {
    margin: 9px 0;
}

.csv-template-btn {
    margin-top: 22px;
    width: 100%;
    background: linear-gradient(135deg, #10b981, #14b8a6);
    color: white;
    padding: 15px 20px;
    box-shadow: 0 12px 24px rgba(16, 185, 129, 0.22);
}

.csv-upload-form {
    display: grid;
    gap: 20px;
}

.csv-file-input {
    display: none;
}

.csv-file-dropzone {
    min-height: 185px;
    border: 2px dashed #bae6fd;
    background: #f8fdff;
    border-radius: 22px;
    padding: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    cursor: pointer;
    transition: 0.25s ease;
}

.csv-file-dropzone:hover {
    background: #e0f2fe;
    border-color: #0ea5e9;
    transform: translateY(-3px);
}

.csv-file-dropzone i {
    font-size: 38px;
    color: #0284c7;
    margin-bottom: 12px;
}

.csv-file-dropzone span {
    color: var(--navy);
    font-size: 18px;
    font-weight: 850;
    margin-bottom: 6px;
}

.csv-file-dropzone small {
    color: var(--muted);
    line-height: 1.5;
}

.csv-submit-btn {
    width: 100%;
    font-size: 16px;
}

.csv-bottom-actions,
.result-actions,
.history-action-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}

/* ========================================================= */
/* RESULT PAGE */
/* ========================================================= */

.batch-result-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 24px;
}

.result-summary-card {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.06);
    display: flex;
    gap: 15px;
    align-items: center;
}

.result-summary-card span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.result-summary-card h3 {
    color: var(--navy);
    font-size: 23px;
    margin-top: 5px;
}

.result-message-card {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 24px;
}

.result-message-card h2 {
    color: var(--navy);
    margin-bottom: 6px;
}

.result-message-card p {
    color: var(--muted);
    line-height: 1.65;
}

.batch-table-card {
    padding: 0;
    overflow: hidden;
}

.table-card-header {
    padding: 24px 28px;
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
}

.table-card-header h2 {
    color: var(--navy);
    margin-bottom: 6px;
}

.table-card-header p {
    color: var(--muted);
}

.table-count-badge {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
    border-radius: 999px;
    padding: 9px 13px;
    font-size: 13px;
    font-weight: 900;
}

.result-table-wrapper {
    overflow-x: auto;
}

.result-table {
    width: 100%;
    min-width: 1050px;
    border-collapse: collapse;
}

.result-table th {
    background: #f8fafc;
    color: #475569;
    padding: 15px 14px;
    font-size: 13px;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--line);
}

.result-table td {
    padding: 14px;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
}

.result-table tr:hover td {
    background: #f8fdff;
}

.prediction-pill {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    background: #e0f2fe;
    color: #0369a1;
    font-weight: 850;
    white-space: nowrap;
    font-size: 13px;
}

.single-result-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 24px;
    align-items: start;
    margin-bottom: 24px;
}

.single-result-card {
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.22), transparent 35%),
        linear-gradient(135deg, #0ea5e9, #14b8a6);
    color: white;
}

.single-result-icon {
    background: rgba(255, 255, 255, 0.18);
    box-shadow: none;
    margin-bottom: 20px;
}

.single-result-card span {
    color: rgba(255, 255, 255, 0.80);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.single-result-card h2 {
    font-size: 44px;
    margin: 14px 0;
    color: white;
}

.single-result-card p {
    color: rgba(255, 255, 255, 0.90);
    line-height: 1.65;
}

.result-warning {
    margin-top: 24px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-left: 5px solid rgba(255, 255, 255, 0.65);
    color: white;
}

.result-warning i {
    color: white;
}

.input-summary-card {
    padding: 0;
    overflow: hidden;
}

.input-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding: 24px 28px 28px;
}

.input-summary-item {
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px 15px;
}

.input-summary-item span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 6px;
}

.input-summary-item strong {
    color: var(--navy);
}

/* ========================================================= */
/* HISTORY PAGE */
/* ========================================================= */

.history-top-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-bottom: 26px;
}

.history-info-card {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.history-info-card span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.history-info-card h2 {
    color: var(--navy);
    margin: 4px 0;
}

.history-info-card p {
    color: var(--muted);
    line-height: 1.5;
}

.history-action-buttons {
    margin-top: 0;
}

.history-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.history-card {
    transition: 0.25s ease;
    position: relative;
    overflow: hidden;
}

.history-card::after {
    content: "";
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    top: -70px;
    right: -70px;
    background: rgba(14, 165, 233, 0.08);
}

.history-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.history-card-header {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.history-card-label {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.history-card h2 {
    color: var(--navy);
    margin-top: 5px;
}

.history-data-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    position: relative;
    z-index: 2;
}

.history-data-item {
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px;
}

.history-data-item span {
    display: block;
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 5px;
}

.history-data-item strong {
    color: var(--navy);
    font-size: 14px;
}

.empty-history-card {
    text-align: center;
    max-width: 620px;
    margin: 0 auto;
}

.empty-history-icon {
    margin: 0 auto 18px;
}

.empty-history-card h2 {
    color: var(--navy);
    margin-bottom: 10px;
}

.empty-history-card p {
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 22px;
}

/* ========================================================= */
/* AUTH LOGIN REGISTER */
/* ========================================================= */

.auth-page {
    display: block;
}

.auth-main {
    width: min(1120px, calc(100% - 36px));
    min-height: calc(100vh - 68px);
    margin: 34px auto;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(203, 213, 225, 0.75);
    backdrop-filter: blur(18px);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.10);
    border-radius: 34px;
    overflow: hidden;
    animation: fadeUp 0.75s ease both;
}

.auth-visual {
    padding: 42px;
    color: white;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 36%),
        linear-gradient(135deg, #0f766e, #0284c7);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.auth-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: white;
    font-size: 22px;
    font-weight: 900;
}

.auth-logo i {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.16);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.auth-visual-content {
    margin-top: 80px;
}

.auth-visual .section-badge {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.22);
    color: white;
}

.auth-visual h1 {
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.08;
    letter-spacing: -1.4px;
    margin-bottom: 18px;
}

.auth-visual p {
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.75;
    margin-bottom: 26px;
}

.auth-feature-list {
    display: grid;
    gap: 12px;
}

.auth-feature-list div {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    padding: 13px 14px;
    font-weight: 750;
}

.auth-card {
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-card-header {
    text-align: center;
    margin-bottom: 26px;
}

.auth-icon {
    margin: 0 auto 16px;
}

.auth-card-header h2 {
    color: var(--navy);
    font-size: 34px;
    margin-bottom: 8px;
}

.auth-card-header p {
    color: var(--muted);
}

.auth-form {
    display: grid;
    gap: 18px;
}

.auth-submit-btn {
    width: 100%;
    margin-top: 8px;
    font-size: 16px;
}

.auth-switch {
    text-align: center;
    margin-top: 24px;
    color: var(--muted);
}

.auth-switch a {
    color: #0284c7;
    text-decoration: none;
    font-weight: 900;
}

.auth-switch a:hover {
    text-decoration: underline;
}

.auth-back-home {
    margin: 18px auto 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0369a1;
    background: #e0f2fe;
    border: 1px solid #bae6fd;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 800;
    transition: 0.25s ease;
}

.auth-back-home:hover {
    background: #ccfbf1;
    transform: translateY(-2px);
}

/* ========================================================= */
/* RESPONSIVE */
/* ========================================================= */

@media (max-width: 1100px) {
    .summary-grid,
    .accuracy-grid,
    .chart-grid,
    .prediction-info-section {
        grid-template-columns: repeat(2, 1fr);
    }

    .dataset-section,
    .dashboard-hero,
    .csv-layout,
    .single-result-layout,
    .auth-main {
        grid-template-columns: 1fr;
    }

    .auth-main {
        min-height: auto;
    }

    .auth-visual-content {
        margin-top: 60px;
    }
}

@media (max-width: 850px) {
    .landing-hero,
    .prediction-mode-grid,
    .batch-result-summary,
    .history-list,
    .summary-grid,
    .accuracy-grid,
    .chart-grid,
    .prediction-info-section,
    .dataset-feature-list {
        grid-template-columns: 1fr;
    }

    .landing-stats {
        grid-template-columns: 1fr;
    }

    .dashboard-header,
    .history-top-actions,
    .dashboard-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .dashboard-main {
        padding: 28px 20px;
    }

    .manual-form-grid,
    .model-choice-grid,
    .input-summary-grid,
    .history-data-grid,
    .csv-header-grid {
        grid-template-columns: 1fr;
    }

    .landing-visual {
        min-height: 320px;
    }
}

@media (max-width: 640px) {
    .landing-navbar {
        width: calc(100% - 24px);
        margin-top: 12px;
        flex-direction: column;
        align-items: stretch;
    }

    .landing-logo {
        justify-content: center;
    }

    .landing-nav-auth {
        width: 100%;
    }

    .landing-btn-login,
    .landing-btn-register {
        flex: 1;
        text-align: center;
    }

    .landing-main,
    .predict-choice-main,
    .manual-main,
    .csv-main,
    .result-main,
    .history-main,
    .auth-main {
        width: calc(100% - 24px);
        margin: 18px auto;
    }

    .landing-hero,
    .predict-choice-main,
    .manual-main,
    .csv-main,
    .result-main,
    .history-main {
        border-radius: 26px;
        padding: 28px 20px;
    }

    .landing-hero {
        grid-template-columns: 1fr;
    }

    .landing-hero-content h1 {
        font-size: 34px;
        letter-spacing: -1px;
    }

    .landing-actions,
    .result-actions,
    .csv-bottom-actions,
    .history-action-buttons,
    .dashboard-hero-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .landing-btn-primary,
    .landing-btn-secondary,
    .primary-action-btn,
    .secondary-action-btn,
    .dashboard-primary-btn,
    .dashboard-secondary-btn,
    .mode-action-btn {
        width: 100%;
    }

    .landing-visual-card {
        width: 260px;
        height: 260px;
    }

    .landing-moon-icon {
        width: 112px;
        height: 112px;
        font-size: 42px;
    }

    .landing-floating-card {
        min-width: 150px;
        padding: 10px 12px;
    }

    .landing-floating-card h3 {
        font-size: 12px;
    }

    .landing-floating-card p {
        display: none;
    }

    .landing-card-one {
        left: -6px;
    }

    .landing-card-two {
        right: -8px;
    }

    .landing-card-three {
        left: 4px;
    }

    .dashboard-header-left {
        flex-direction: column;
    }

    .dashboard-auth {
        width: 100%;
    }

    .dashboard-login-btn,
    .dashboard-register-btn {
        flex: 1;
        text-align: center;
    }

    .dashboard-hero,
    .dataset-card,
    .model-section,
    .chart-section,
    .prediction-info-card,
    .dashboard-cta,
    .form-section-card,
    .csv-info-panel,
    .csv-upload-panel,
    .result-message-card,
    .history-card,
    .history-info-card {
        padding: 22px;
        border-radius: 22px;
    }

    .dashboard-header h1 {
        font-size: 26px;
    }

    .dashboard-hero h2,
    .dataset-main-card h2,
    .section-heading h2 {
        font-size: 25px;
    }

    .table-card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .single-result-card h2 {
        font-size: 34px;
    }

    .auth-visual {
        padding: 30px 22px;
    }

    .auth-card {
        padding: 32px 22px;
    }

    .auth-visual h1 {
        font-size: 32px;
    }

    .auth-card-header h2 {
        font-size: 30px;
    }
}

/* ========================================================= */
/* EXTRA ANIMATION - MEDICAL WOW EFFECT */
/* ========================================================= */

body {
    animation: pageFadeIn 0.55s ease both;
}

@keyframes pageFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
        filter: blur(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

body.page-leave {
    animation: pageFadeOut 0.28s ease both;
}

@keyframes pageFadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }

    to {
        opacity: 0;
        transform: translateY(-8px);
        filter: blur(3px);
    }
}

body::before,
body::after {
    content: "";
    position: fixed;
    z-index: -1;
    border-radius: 999px;
    pointer-events: none;
    filter: blur(2px);
    opacity: 0.55;
}

body::before {
    width: 260px;
    height: 260px;
    top: 80px;
    left: -90px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.22), transparent 68%);
    animation: floatingBlobOne 9s ease-in-out infinite;
}

body::after {
    width: 320px;
    height: 320px;
    right: -120px;
    bottom: 80px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.20), transparent 70%);
    animation: floatingBlobTwo 11s ease-in-out infinite;
}

@keyframes floatingBlobOne {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(34px, 28px) scale(1.08);
    }
}

@keyframes floatingBlobTwo {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-32px, -24px) scale(1.06);
    }
}

.landing-hero,
.dashboard-hero,
.summary-card,
.dataset-card,
.model-section,
.chart-section,
.prediction-mode-card,
.form-section-card,
.csv-info-panel,
.csv-upload-panel,
.single-result-card,
.input-summary-card,
.history-card,
.auth-main {
    animation: cardEntrance 0.65s ease both;
}

.summary-card:nth-child(1),
.prediction-mode-card:nth-child(1),
.accuracy-card:nth-child(1),
.chart-card:nth-child(1),
.history-card:nth-child(1) {
    animation-delay: 0.05s;
}

.summary-card:nth-child(2),
.prediction-mode-card:nth-child(2),
.accuracy-card:nth-child(2),
.chart-card:nth-child(2),
.history-card:nth-child(2) {
    animation-delay: 0.12s;
}

.summary-card:nth-child(3),
.accuracy-card:nth-child(3),
.chart-card:nth-child(3),
.history-card:nth-child(3) {
    animation-delay: 0.19s;
}

.summary-card:nth-child(4),
.history-card:nth-child(4) {
    animation-delay: 0.26s;
}

@keyframes cardEntrance {
    from {
        opacity: 0;
        transform: translateY(22px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.landing-logo i,
.auth-logo i,
.summary-icon,
.visual-icon,
.mode-icon,
.panel-icon,
.form-section-icon,
.auth-icon,
.history-info-icon,
.message-icon,
.history-card-icon,
.empty-history-icon,
.single-result-icon {
    animation: softPulse 3.2s ease-in-out infinite;
}

@keyframes softPulse {
    0%, 100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 14px 28px rgba(14, 165, 233, 0.20);
    }

    50% {
        transform: translateY(-4px) scale(1.035);
        box-shadow: 0 20px 38px rgba(14, 165, 233, 0.28);
    }
}

.landing-card-one {
    animation: floatCardOne 5s ease-in-out infinite;
}

.landing-card-two {
    animation: floatCardTwo 5.8s ease-in-out infinite;
}

.landing-card-three {
    animation: floatCardThree 6.2s ease-in-out infinite;
}

@keyframes floatCardOne {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

@keyframes floatCardTwo {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(13px);
    }
}

@keyframes floatCardThree {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.landing-moon-icon {
    animation: moonFloat 4.5s ease-in-out infinite;
}

@keyframes moonFloat {
    0%, 100% {
        transform: translateY(0) rotate(-8deg);
    }

    50% {
        transform: translateY(-12px) rotate(4deg);
    }
}

.dashboard-visual-card,
.landing-visual-card,
.auth-visual {
    position: relative;
    overflow: hidden;
}

.dashboard-visual-card::after,
.auth-visual::after {
    content: "";
    position: absolute;
    width: 180%;
    height: 2px;
    left: -80%;
    top: 50%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(14, 165, 233, 0.08),
        rgba(20, 184, 166, 0.30),
        rgba(14, 165, 233, 0.08),
        transparent
    );
    animation: scanLine 3.8s linear infinite;
}

@keyframes scanLine {
    from {
        transform: translateX(-30%);
    }

    to {
        transform: translateX(90%);
    }
}

.accuracy-card,
.chart-card,
.prediction-info-card {
    animation: cardEntrance 0.7s ease both;
}

.accuracy-circle {
    animation: ringPulse 3s ease-in-out infinite;
}

@keyframes ringPulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.035);
    }
}

input:focus,
select:focus {
    animation: inputFocusPop 0.22s ease both;
}

@keyframes inputFocusPop {
    from {
        transform: scale(0.992);
    }

    to {
        transform: scale(1);
    }
}

a,
button,
.model-choice-card span,
.csv-file-dropzone {
    will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
/* ========================================================= */
/* 3D ROTATING MEDICAL CUBE */
/* Paste di paling bawah style.css */
/* ========================================================= */

.medical-3d-orbit {
    width: 190px;
    height: 190px;
    position: relative;
    perspective: 900px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.medical-3d-orbit::before {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.16), transparent 65%);
    animation: orbitGlow 4s ease-in-out infinite;
}

.medical-3d-orbit::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    border: 1px dashed rgba(14, 165, 233, 0.35);
    animation: orbitSpin 9s linear infinite;
}

.medical-3d-cube {
    width: 120px;
    height: 120px;
    position: relative;
    transform-style: preserve-3d;
    animation: cubeRotate 8s linear infinite;
}

.cube-face {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(186, 230, 253, 0.95);
    box-shadow: 0 18px 40px rgba(14, 165, 233, 0.18);
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #0284c7;
    font-weight: 900;
    overflow: hidden;
}

.cube-face::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(14, 165, 233, 0.12), transparent),
        radial-gradient(circle at top right, rgba(20, 184, 166, 0.16), transparent 45%);
    z-index: -1;
}

.cube-face i {
    font-size: 32px;
    color: #0ea5e9;
}

.cube-face span {
    font-size: 13px;
    color: #0f172a;
    letter-spacing: 0.4px;
}

.cube-front {
    transform: translateZ(60px);
}

.cube-back {
    transform: rotateY(180deg) translateZ(60px);
}

.cube-right {
    transform: rotateY(90deg) translateZ(60px);
}

.cube-left {
    transform: rotateY(-90deg) translateZ(60px);
}

.cube-top {
    transform: rotateX(90deg) translateZ(60px);
}

.cube-bottom {
    transform: rotateX(-90deg) translateZ(60px);
}

@keyframes cubeRotate {
    0% {
        transform: rotateX(-18deg) rotateY(0deg);
    }

    100% {
        transform: rotateX(-18deg) rotateY(360deg);
    }
}

@keyframes orbitSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes orbitGlow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.65;
    }

    50% {
        transform: scale(1.12);
        opacity: 1;
    }
}

/* ========================================================= */
/* SMALL 3D CUBE UNTUK DASHBOARD */
/* ========================================================= */

.small-3d {
    width: 150px;
    height: 150px;
    margin: 0 auto 18px;
}

.small-3d::before {
    width: 190px;
    height: 190px;
}

.small-3d::after {
    width: 205px;
    height: 205px;
}

.small-3d .medical-3d-cube {
    width: 92px;
    height: 92px;
}

.small-3d .cube-face {
    width: 92px;
    height: 92px;
    border-radius: 20px;
}

.small-3d .cube-face i {
    font-size: 25px;
}

.small-3d .cube-face span {
    font-size: 11px;
}

.small-3d .cube-front {
    transform: translateZ(46px);
}

.small-3d .cube-back {
    transform: rotateY(180deg) translateZ(46px);
}

.small-3d .cube-right {
    transform: rotateY(90deg) translateZ(46px);
}

.small-3d .cube-left {
    transform: rotateY(-90deg) translateZ(46px);
}

.small-3d .cube-top {
    transform: rotateX(90deg) translateZ(46px);
}

.small-3d .cube-bottom {
    transform: rotateX(-90deg) translateZ(46px);
}
/* ========================================================= */
/* FIX 3D LANDING - HILANGKAN LINGKARAN YANG KEPOTONG */
/* COPY PASTE DI PALING BAWAH style.css */
/* ========================================================= */

/* Hilangin dekorasi lingkaran besar yang bikin kepotong */
.landing-hero::before,
.landing-hero::after,
.landing-visual-card::before,
.landing-visual-card::after,
.medical-3d-orbit::before,
.medical-3d-orbit::after {
    display: none !important;
}

/* Rapihin area visual biar cube gak kepotong */
.landing-visual {
    min-height: 420px;
    overflow: visible !important;
}

.landing-visual-card {
    width: 420px;
    height: 360px;
    border-radius: 32px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    overflow: visible !important;
}

/* Posisi cube 3D */
.medical-3d-orbit {
    width: 220px;
    height: 220px;
    position: relative;
    perspective: 1000px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible !important;
    z-index: 5;
}

/* Bayangan bawah cube biar tetap 3D tapi gak ada lingkaran */
.medical-3d-orbit .medical-3d-cube::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 28px;
    left: 50%;
    bottom: -52px;
    transform: translateX(-50%) rotateX(75deg);
    background: radial-gradient(circle, rgba(14, 165, 233, 0.24), transparent 70%);
    filter: blur(8px);
    border-radius: 50%;
}

/* Cube utama */
.medical-3d-cube {
    width: 130px;
    height: 130px;
    position: relative;
    transform-style: preserve-3d;
    animation: cubeRotateClean 8s linear infinite;
}

/* Sisi cube */
.cube-face {
    position: absolute;
    width: 130px;
    height: 130px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(186, 230, 253, 0.95);
    box-shadow: 0 18px 38px rgba(14, 165, 233, 0.18);
    backdrop-filter: blur(14px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #0284c7;
    font-weight: 900;
    overflow: hidden;
}

/* Gradasi halus di sisi cube */
.cube-face::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(14, 165, 233, 0.13), transparent),
        radial-gradient(circle at top right, rgba(20, 184, 166, 0.18), transparent 45%);
    z-index: -1;
}

/* Icon cube */
.cube-face i {
    font-size: 34px;
    color: #0ea5e9;
}

/* Text cube */
.cube-face span {
    font-size: 13px;
    color: #0f172a;
    letter-spacing: 0.4px;
}

/* Posisi sisi cube */
.cube-front {
    transform: translateZ(65px);
}

.cube-back {
    transform: rotateY(180deg) translateZ(65px);
}

.cube-right {
    transform: rotateY(90deg) translateZ(65px);
}

.cube-left {
    transform: rotateY(-90deg) translateZ(65px);
}

.cube-top {
    transform: rotateX(90deg) translateZ(65px);
}

.cube-bottom {
    transform: rotateX(-90deg) translateZ(65px);
}

/* Animasi cube */
@keyframes cubeRotateClean {
    0% {
        transform: rotateX(-18deg) rotateY(0deg);
    }

    100% {
        transform: rotateX(-18deg) rotateY(360deg);
    }
}

/* Floating card tetap ada, tapi posisinya lebih aman */
.landing-card-one {
    top: 12px;
    left: -70px;
}

.landing-card-two {
    right: -80px;
    top: 135px;
}

.landing-card-three {
    bottom: 12px;
    left: -30px;
}

/* Biar card gak ketutup cube */
.landing-floating-card {
    z-index: 10;
}

/* ========================================================= */
/* SMALL 3D CUBE DASHBOARD - VERSI CLEAN TANPA LINGKARAN */
/* ========================================================= */

.small-3d {
    width: 170px;
    height: 170px;
    margin: 0 auto 22px;
    overflow: visible !important;
}

.small-3d .medical-3d-cube {
    width: 96px;
    height: 96px;
}

.small-3d .medical-3d-cube::after {
    width: 110px;
    height: 22px;
    bottom: -42px;
}

.small-3d .cube-face {
    width: 96px;
    height: 96px;
    border-radius: 20px;
}

.small-3d .cube-face i {
    font-size: 25px;
}

.small-3d .cube-face span {
    font-size: 11px;
}

.small-3d .cube-front {
    transform: translateZ(48px);
}

.small-3d .cube-back {
    transform: rotateY(180deg) translateZ(48px);
}

.small-3d .cube-right {
    transform: rotateY(90deg) translateZ(48px);
}

.small-3d .cube-left {
    transform: rotateY(-90deg) translateZ(48px);
}

.small-3d .cube-top {
    transform: rotateX(90deg) translateZ(48px);
}

.small-3d .cube-bottom {
    transform: rotateX(-90deg) translateZ(48px);
}

/* ========================================================= */
/* RESPONSIVE FIX */
/* ========================================================= */

@media (max-width: 850px) {
    .landing-visual {
        min-height: 360px;
    }

    .landing-visual-card {
        width: 100%;
        height: 340px;
    }

    .landing-card-one {
        top: 5px;
        left: 10px;
    }

    .landing-card-two {
        right: 10px;
        top: 130px;
    }

    .landing-card-three {
        bottom: 8px;
        left: 30px;
    }
}

@media (max-width: 640px) {
    .medical-3d-orbit {
        width: 180px;
        height: 180px;
    }

    .medical-3d-cube {
        width: 105px;
        height: 105px;
    }

    .cube-face {
        width: 105px;
        height: 105px;
        border-radius: 20px;
    }

    .cube-face i {
        font-size: 27px;
    }

    .cube-face span {
        font-size: 11px;
    }

    .cube-front {
        transform: translateZ(52.5px);
    }

    .cube-back {
        transform: rotateY(180deg) translateZ(52.5px);
    }

    .cube-right {
        transform: rotateY(90deg) translateZ(52.5px);
    }

    .cube-left {
        transform: rotateY(-90deg) translateZ(52.5px);
    }

    .cube-top {
        transform: rotateX(90deg) translateZ(52.5px);
    }

    .cube-bottom {
        transform: rotateX(-90deg) translateZ(52.5px);
    }

    .landing-floating-card {
        min-width: 145px;
    }

    .landing-card-one {
        top: 0;
        left: 0;
    }

    .landing-card-two {
        right: 0;
        top: 125px;
    }

    .landing-card-three {
        bottom: 0;
        left: 12px;
    }
}
/* ========================================================= */
/* SIDEBAR UPGRADE - CLEAN MEDICAL ANIMATED */
/* ========================================================= */

.animated-sidebar {
    overflow: hidden;
}

.sidebar-glow {
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    opacity: 0.45;
    filter: blur(4px);
}

.sidebar-glow-one {
    width: 170px;
    height: 170px;
    top: -70px;
    right: -70px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.24), transparent 70%);
    animation: sidebarGlowOne 6s ease-in-out infinite;
}

.sidebar-glow-two {
    width: 210px;
    height: 210px;
    bottom: 130px;
    left: -120px;
    background: radial-gradient(circle, rgba(186, 230, 253, 0.22), transparent 70%);
    animation: sidebarGlowTwo 8s ease-in-out infinite;
}

@keyframes sidebarGlowOne {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-18px, 20px) scale(1.12);
    }
}

@keyframes sidebarGlowTwo {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(22px, -18px) scale(1.1);
    }
}

.sidebar-brand,
.sidebar-menu,
.sidebar-profile-card,
.sidebar-health-card {
    position: relative;
    z-index: 2;
}

.sidebar-profile-card {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 15px;
    margin-bottom: 24px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.10);
}

.sidebar-profile-icon {
    width: 46px;
    height: 46px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.18);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    animation: sidebarPulse 2.8s ease-in-out infinite;
}

.sidebar-profile-card span {
    display: block;
    color: rgba(255, 255, 255, 0.68);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    margin-bottom: 4px;
}

.sidebar-profile-card strong {
    color: white;
    font-size: 15px;
}

@keyframes sidebarPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(255, 255, 255, 0);
    }

    50% {
        transform: scale(1.08);
        box-shadow: 0 0 24px rgba(255, 255, 255, 0.22);
    }
}

.sidebar-link {
    position: relative;
    overflow: hidden;
}

.sidebar-link::before {
    content: "";
    position: absolute;
    width: 80px;
    height: 100%;
    top: 0;
    left: -100px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.18),
        transparent
    );
    transition: 0.45s ease;
}

.sidebar-link:hover::before,
.sidebar-link.active::before {
    left: 110%;
}

.sidebar-link i {
    width: 22px;
    text-align: center;
}

.sidebar-health-card {
    margin-top: 28px;
    padding: 18px;
    border-radius: 22px;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.20), transparent 34%),
        rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.14);
}

.sidebar-health-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.20);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    margin-bottom: 14px;
    animation: sidebarBedFloat 3.4s ease-in-out infinite;
}

@keyframes sidebarBedFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

.sidebar-health-card h3 {
    color: white;
    font-size: 17px;
    margin-bottom: 8px;
}

.sidebar-health-card p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    line-height: 1.55;
    margin-bottom: 16px;
}

.sidebar-health-card a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    text-decoration: none;
    color: #0369a1;
    background: white;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 900;
    transition: 0.25s ease;
}

.sidebar-health-card a:hover {
    transform: translateY(-3px);
    background: #e0f2fe;
}

/* Dataset sidebar lama kalau masih ada di HTML lain otomatis hilang */
.sidebar-dataset {
    display: none !important;
}
/* ========================================================= */
/* FIX SIDEBAR OFF-CANVAS - MUNCUL PAS KLIK HAMBURGER */
/* ========================================================= */

.dashboard-sidebar {
    position: fixed !important;
    top: 0 !important;
    left: -330px !important;
    width: 300px !important;
    height: 100vh !important;
    min-height: 100vh !important;
    max-height: 100vh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    z-index: 9999 !important;
    transition: left 0.35s ease !important;
}

/* Sidebar muncul pas tombol hamburger diklik */
.dashboard-sidebar.active {
    left: 0 !important;
}

/* Konten dashboard jangan kegeser / kepotong */
.dashboard-main {
    margin-left: 0 !important;
    width: 100% !important;
    min-height: 100vh;
}

/* Overlay belakang sidebar */
.dashboard-overlay {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(15, 23, 42, 0.45) !important;
    backdrop-filter: blur(4px);
    z-index: 9998 !important;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
}

.dashboard-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Biar isi sidebar tetap bisa discroll kalau panjang */
.dashboard-sidebar::-webkit-scrollbar {
    width: 6px;
}

.dashboard-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.dashboard-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.28);
    border-radius: 999px;
}

.dashboard-sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.45);
}

/* Tombol hamburger tetap aman di atas */
.sidebar-toggle {
    position: relative;
    z-index: 20;
}

/* Tombol close sidebar */
.sidebar-close {
    cursor: pointer;
}
.csv-file-dropzone.file-selected {
    border-color: #14b8a6 !important;
    background: linear-gradient(135deg, #f0fdfa, #eff6ff) !important;
    box-shadow: 0 18px 45px rgba(20, 184, 166, 0.16) !important;
}

.csv-file-dropzone.file-selected i {
    color: #14b8a6 !important;
}

.csv-file-dropzone.file-selected span {
    color: #0f766e !important;
}
/* ========================================================= */
/* PREMIUM UI UPGRADE - SLEEPDISORDER PREDICT */
/* Paste di PALING BAWAH style.css */
/* ========================================================= */

:root {
    --premium-blue: #0ea5e9;
    --premium-teal: #14b8a6;
    --premium-cyan: #22d3ee;
    --premium-navy: #0f172a;
    --premium-card: rgba(255, 255, 255, 0.88);
    --premium-border: rgba(226, 232, 240, 0.82);
    --premium-glow: 0 24px 70px rgba(14, 165, 233, 0.18);
}

/* Background lebih premium */
body {
    background:
        radial-gradient(circle at 10% 5%, rgba(14, 165, 233, 0.20), transparent 28%),
        radial-gradient(circle at 88% 12%, rgba(20, 184, 166, 0.18), transparent 30%),
        radial-gradient(circle at 50% 100%, rgba(34, 211, 238, 0.12), transparent 35%),
        linear-gradient(135deg, #f8fafc 0%, #eef9ff 45%, #f0fdfa 100%) !important;
    background-attachment: fixed !important;
}

/* Semua card jadi glass premium */
.landing-hero,
.landing-stat-card,
.dashboard-hero,
.summary-card,
.dataset-card,
.model-section,
.chart-section,
.prediction-info-card,
.dashboard-cta,
.prediction-mode-card,
.predict-choice-info,
.form-section-card,
.csv-info-panel,
.csv-upload-panel,
.csv-example-card,
.result-summary-card,
.result-message-card,
.batch-table-card,
.single-result-card,
.input-summary-card,
.history-info-card,
.history-card,
.auth-card,
.auth-visual {
    background: var(--premium-card) !important;
    border: 1px solid var(--premium-border) !important;
    backdrop-filter: blur(18px) !important;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08) !important;
}

/* Hover card lebih hidup */
.landing-stat-card,
.summary-card,
.accuracy-card,
.chart-card,
.prediction-info-card,
.prediction-mode-card,
.form-section-card,
.csv-info-panel,
.csv-upload-panel,
.result-summary-card,
.history-card {
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease !important;
}

.landing-stat-card:hover,
.summary-card:hover,
.accuracy-card:hover,
.chart-card:hover,
.prediction-info-card:hover,
.prediction-mode-card:hover,
.form-section-card:hover,
.csv-info-panel:hover,
.csv-upload-panel:hover,
.result-summary-card:hover,
.history-card:hover {
    transform: translateY(-7px) !important;
    box-shadow: var(--premium-glow) !important;
    border-color: rgba(14, 165, 233, 0.35) !important;
}

/* Badge lebih modern */
.section-badge,
.dashboard-badge,
.landing-badge,
.section-label,
.mode-label,
.table-count-badge,
.history-card-label {
    background: linear-gradient(135deg, #e0f2fe, #ccfbf1) !important;
    color: #0369a1 !important;
    border: 1px solid rgba(14, 165, 233, 0.25) !important;
    box-shadow: 0 10px 24px rgba(14, 165, 233, 0.10) !important;
}

/* Tombol utama lebih “wah” */
.primary-action-btn,
.dashboard-primary-btn,
.landing-btn-primary,
.mode-action-btn,
.csv-submit-btn,
.manual-submit-btn,
.auth-submit-btn {
    background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 45%, #14b8a6 100%) !important;
    color: white !important;
    border: none !important;
    box-shadow: 0 16px 34px rgba(14, 165, 233, 0.28) !important;
    position: relative;
    overflow: hidden;
}

.primary-action-btn::before,
.dashboard-primary-btn::before,
.landing-btn-primary::before,
.mode-action-btn::before,
.csv-submit-btn::before,
.manual-submit-btn::before,
.auth-submit-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 70%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.38), transparent);
    transform: skewX(-18deg);
    transition: 0.55s ease;
}

.primary-action-btn:hover::before,
.dashboard-primary-btn:hover::before,
.landing-btn-primary:hover::before,
.mode-action-btn:hover::before,
.csv-submit-btn:hover::before,
.manual-submit-btn:hover::before,
.auth-submit-btn:hover::before {
    left: 130%;
}

.primary-action-btn:hover,
.dashboard-primary-btn:hover,
.landing-btn-primary:hover,
.mode-action-btn:hover,
.csv-submit-btn:hover,
.manual-submit-btn:hover,
.auth-submit-btn:hover {
    transform: translateY(-4px) scale(1.01) !important;
}

/* Tombol secondary lebih clean */
.secondary-action-btn,
.dashboard-secondary-btn,
.landing-btn-secondary,
.page-back-link {
    background: rgba(255, 255, 255, 0.88) !important;
    border: 1px solid rgba(186, 230, 253, 0.9) !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06) !important;
}

/* Header/title lebih premium */
.landing-hero-content h1,
.dashboard-header h1,
.dashboard-hero h2,
.predict-choice-header h1,
.manual-header h1,
.csv-header h1,
.result-header h1,
.history-header h1,
.auth-visual-content h1 {
    color: #0f172a !important;
    letter-spacing: -1.2px !important;
}

.landing-hero-content h1,
.dashboard-hero h2,
.predict-choice-header h1,
.manual-header h1,
.csv-header h1,
.result-header h1,
.history-header h1 {
    background: linear-gradient(135deg, #0f172a 0%, #0369a1 55%, #0f766e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navbar landing lebih floating */
.landing-navbar {
    position: sticky;
    top: 18px;
    z-index: 50;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08) !important;
}

/* Landing visual glow */
.landing-visual-card,
.dashboard-visual-card {
    position: relative;
    overflow: hidden;
}

.landing-visual-card::before,
.dashboard-visual-card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: conic-gradient(
        from 180deg,
        transparent,
        rgba(14, 165, 233, 0.16),
        rgba(20, 184, 166, 0.16),
        transparent
    );
    animation: premiumSpin 9s linear infinite;
    z-index: 0;
}

.landing-visual-card > *,
.dashboard-visual-card > * {
    position: relative;
    z-index: 2;
}

@keyframes premiumSpin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Floating card landing lebih premium */
.landing-floating-card {
    animation: floatSoft 4s ease-in-out infinite;
}

.landing-card-two {
    animation-delay: 0.8s;
}

.landing-card-three {
    animation-delay: 1.4s;
}

@keyframes floatSoft {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Dashboard summary card lebih keren */
.summary-card {
    position: relative;
    overflow: hidden;
}

.summary-card::after {
    content: "";
    position: absolute;
    width: 110px;
    height: 110px;
    border-radius: 999px;
    right: -42px;
    bottom: -42px;
    background: rgba(14, 165, 233, 0.10);
}

.summary-icon,
.panel-icon,
.form-section-icon,
.mode-icon,
.auth-icon,
.history-info-icon,
.single-result-icon,
.message-icon {
    background: linear-gradient(135deg, #0ea5e9, #14b8a6) !important;
    color: white !important;
    box-shadow: 0 14px 28px rgba(14, 165, 233, 0.22) !important;
}

/* Sidebar off-canvas tetap muncul pas klik hamburger */
.dashboard-sidebar {
    position: fixed !important;
    top: 0 !important;
    left: -330px !important;
    width: 300px !important;
    height: 100vh !important;
    min-height: 100vh !important;
    max-height: 100vh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    z-index: 9999 !important;
    transition: left 0.35s ease !important;
    background:
        radial-gradient(circle at top right, rgba(255,255,255,0.20), transparent 32%),
        linear-gradient(180deg, #0f766e 0%, #0284c7 100%) !important;
}

.dashboard-sidebar.active {
    left: 0 !important;
}

.dashboard-main {
    margin-left: 0 !important;
    width: 100% !important;
}

.dashboard-overlay {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(15, 23, 42, 0.42) !important;
    backdrop-filter: blur(4px) !important;
    z-index: 9998 !important;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    display: block !important;
    pointer-events: none;
}

.dashboard-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Form manual lebih user friendly */
.manual-form-group label,
.csv-form-group label,
.auth-form-group label {
    color: #0f172a !important;
    font-weight: 850 !important;
}

.input-with-icon,
.auth-input-wrapper,
.csv-select-wrapper {
    background: rgba(255, 255, 255, 0.92) !important;
    border: 1px solid #dbeafe !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04) !important;
    transition: 0.25s ease !important;
}

.input-with-icon:focus-within,
.auth-input-wrapper:focus-within,
.csv-select-wrapper:focus-within {
    border-color: #0ea5e9 !important;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.12) !important;
    transform: translateY(-2px);
}

.input-with-icon i,
.auth-input-wrapper i,
.csv-select-wrapper i {
    color: #0284c7 !important;
}

/* Upload CSV lebih jelas */
.csv-file-dropzone {
    background:
        linear-gradient(135deg, rgba(239, 246, 255, 0.95), rgba(240, 253, 250, 0.95)) !important;
    border: 2px dashed rgba(14, 165, 233, 0.45) !important;
    transition: 0.25s ease !important;
}

.csv-file-dropzone:hover {
    transform: translateY(-4px);
    border-color: #14b8a6 !important;
    box-shadow: 0 18px 45px rgba(20, 184, 166, 0.14) !important;
}

.csv-file-dropzone.file-selected {
    border-color: #14b8a6 !important;
    background: linear-gradient(135deg, #f0fdfa, #eff6ff) !important;
    box-shadow: 0 18px 45px rgba(20, 184, 166, 0.16) !important;
}

.csv-file-dropzone.file-selected i,
.csv-file-dropzone.file-selected span {
    color: #0f766e !important;
}

/* Result badge warna per prediksi */
.prediction-pill,
.single-result-card h2,
.history-card h2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    border-radius: 999px;
    padding: 9px 15px;
    font-weight: 900;
}

/* Default badge */
.prediction-pill {
    background: #e0f2fe !important;
    color: #0369a1 !important;
    border: 1px solid #bae6fd !important;
}

/* Kalau mau warna otomatis, tambahin class dari HTML nanti.
   Tapi default ini udah tetap cakep. */

/* Table result lebih modern */
.result-table-wrapper {
    border-radius: 20px !important;
    overflow: auto !important;
    border: 1px solid #e2e8f0 !important;
}

.result-table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
}

.result-table thead th {
    background: linear-gradient(135deg, #e0f2fe, #ccfbf1) !important;
    color: #0f172a !important;
    font-weight: 900 !important;
    position: sticky;
    top: 0;
    z-index: 2;
}

.result-table tbody tr {
    transition: 0.2s ease;
}

.result-table tbody tr:hover {
    background: #f0fdfa !important;
}

/* History card lebih gampang dibaca */
.history-card {
    position: relative;
    overflow: hidden;
}

.history-card::before {
    content: "";
    position: absolute;
    width: 7px;
    height: 100%;
    left: 0;
    top: 0;
    background: linear-gradient(180deg, #0ea5e9, #14b8a6);
}

.history-data-item {
    background: rgba(248, 250, 252, 0.9) !important;
    border: 1px solid rgba(226, 232, 240, 0.85) !important;
    border-radius: 16px !important;
    transition: 0.22s ease !important;
}

.history-data-item:hover {
    background: #f0fdfa !important;
    transform: translateY(-2px);
}

/* Auth page lebih wah */
.auth-main {
    min-height: 100vh;
}

.auth-visual {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(255,255,255,0.18), transparent 32%),
        linear-gradient(135deg, #0369a1, #0f766e) !important;
}

.auth-visual::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 999px;
    right: -95px;
    bottom: -95px;
    background: rgba(255,255,255,0.12);
}

.auth-card {
    border-radius: 30px !important;
}

/* Animasi masuk halaman lebih smooth */
.landing-hero,
.dashboard-header,
.dashboard-hero,
.summary-grid,
.dataset-section,
.model-section,
.chart-section,
.prediction-info-section,
.predict-choice-header,
.prediction-mode-grid,
.manual-header,
.manual-layout,
.csv-header,
.csv-layout,
.result-header,
.history-header,
.auth-card {
    animation: premiumFadeUp 0.72s ease both;
}

@keyframes premiumFadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-leave {
    opacity: 0;
    transform: translateY(12px);
    transition: 0.26s ease;
}

/* Responsive biar tetap rapi */
@media (max-width: 980px) {
    .landing-hero,
    .dashboard-hero,
    .dataset-section,
    .manual-layout,
    .csv-layout,
    .single-result-layout {
        grid-template-columns: 1fr !important;
    }

    .summary-grid,
    .chart-grid,
    .prediction-info-section,
    .accuracy-grid,
    .landing-stats {
        grid-template-columns: 1fr 1fr !important;
    }

    .dashboard-header {
        flex-direction: column !important;
    }

    .dashboard-main {
        padding: 26px 20px !important;
    }
}

@media (max-width: 640px) {
    .summary-grid,
    .chart-grid,
    .prediction-info-section,
    .accuracy-grid,
    .landing-stats,
    .prediction-mode-grid {
        grid-template-columns: 1fr !important;
    }

    .landing-navbar,
    .landing-main {
        width: min(100% - 24px, 1180px) !important;
    }

    .landing-hero,
    .dashboard-hero,
    .form-section-card,
    .csv-info-panel,
    .csv-upload-panel,
    .batch-table-card,
    .single-result-card,
    .history-card,
    .auth-card {
        padding: 22px !important;
        border-radius: 24px !important;
    }

    .landing-hero-content h1 {
        font-size: 36px !important;
    }

    .dashboard-header h1,
    .dashboard-hero h2,
    .manual-header h1,
    .csv-header h1,
    .result-header h1,
    .history-header h1 {
        font-size: 30px !important;
    }

    .dashboard-auth,
    .landing-nav-auth {
        flex-wrap: wrap;
    }
}
/* ========================================================= */
/* DASHBOARD INSIGHT SECTION UPGRADE */
/* ========================================================= */

.dashboard-insight-section {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
    margin-bottom: 32px;
}

.insight-main-card,
.insight-mini-card {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 28px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(18px);
}

.insight-main-card {
    padding: 34px;
    position: relative;
    overflow: hidden;
}

.insight-main-card::before {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 999px;
    right: -90px;
    top: -90px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.18), transparent 70%);
}

.insight-main-card::after {
    content: "";
    position: absolute;
    width: 190px;
    height: 190px;
    border-radius: 999px;
    left: -80px;
    bottom: -80px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.15), transparent 70%);
}

.insight-main-card > * {
    position: relative;
    z-index: 2;
}

.insight-main-card h2 {
    color: #0f172a;
    font-size: 32px;
    letter-spacing: -0.8px;
    margin-bottom: 14px;
    background: linear-gradient(135deg, #0f172a, #0369a1, #0f766e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.insight-main-card p {
    color: #475569;
    line-height: 1.8;
    max-width: 720px;
    margin-bottom: 22px;
}

.insight-highlight {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    background: linear-gradient(135deg, #eff6ff, #f0fdfa);
    border: 1px solid #bae6fd;
    border-radius: 20px;
    padding: 18px;
    color: #0f172a;
    font-weight: 750;
    line-height: 1.7;
}

.insight-highlight i {
    width: 44px;
    height: 44px;
    border-radius: 15px;
    background: linear-gradient(135deg, #0ea5e9, #14b8a6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 14px 28px rgba(14, 165, 233, 0.24);
}

.insight-side-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.insight-mini-card {
    padding: 22px;
    transition: 0.25s ease;
    position: relative;
    overflow: hidden;
}

.insight-mini-card::after {
    content: "";
    position: absolute;
    width: 95px;
    height: 95px;
    border-radius: 999px;
    right: -38px;
    bottom: -38px;
    background: rgba(20, 184, 166, 0.12);
}

.insight-mini-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 24px 60px rgba(14, 165, 233, 0.16);
    border-color: rgba(14, 165, 233, 0.35);
}

.insight-mini-card i {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(135deg, #0ea5e9, #14b8a6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
    box-shadow: 0 14px 28px rgba(14, 165, 233, 0.22);
}

.insight-mini-card span {
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    margin-bottom: 6px;
}

.insight-mini-card strong {
    display: block;
    color: #0f172a;
    font-size: 18px;
    margin-bottom: 8px;
}

.insight-mini-card p {
    color: #64748b;
    font-size: 13px;
    line-height: 1.55;
}

@media (max-width: 980px) {
    .dashboard-insight-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .insight-side-grid {
        grid-template-columns: 1fr;
    }

    .insight-main-card {
        padding: 24px;
    }

    .insight-main-card h2 {
        font-size: 26px;
    }
}
/* ========================================================= */
/* RESULT PAGE PREMIUM UPGRADE */
/* ========================================================= */

.premium-result-message {
    background:
        radial-gradient(circle at top right, rgba(20, 184, 166, 0.14), transparent 34%),
        rgba(255, 255, 255, 0.94) !important;
}

.result-guide-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 28px;
}

.result-guide-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 20px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
    transition: 0.25s ease;
}

.result-guide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 50px rgba(14, 165, 233, 0.14);
}

.result-guide-card i {
    width: 46px;
    height: 46px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.result-guide-card span {
    display: block;
    color: #0f172a;
    font-size: 16px;
    font-weight: 900;
    margin-bottom: 6px;
}

.result-guide-card p {
    color: #64748b;
    font-size: 13px;
    line-height: 1.55;
}

.guide-normal i {
    background: linear-gradient(135deg, #10b981, #14b8a6);
}

.guide-insomnia i {
    background: linear-gradient(135deg, #f59e0b, #fb923c);
}

.guide-apnea i {
    background: linear-gradient(135deg, #ef4444, #f97316);
}

.prediction-pill,
.single-prediction-badge {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: fit-content;
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 900;
    font-size: 13px;
    white-space: nowrap;
}

.single-prediction-badge {
    font-size: 28px !important;
    padding: 14px 24px !important;
    margin: 10px 0 18px !important;
}

.normal-pill {
    background: #dcfce7 !important;
    color: #047857 !important;
    border: 1px solid #86efac !important;
}

.insomnia-pill {
    background: #ffedd5 !important;
    color: #c2410c !important;
    border: 1px solid #fdba74 !important;
}

.apnea-pill {
    background: #fee2e2 !important;
    color: #b91c1c !important;
    border: 1px solid #fca5a5 !important;
}

.normal-icon {
    background: linear-gradient(135deg, #10b981, #14b8a6) !important;
}

.insomnia-icon {
    background: linear-gradient(135deg, #f59e0b, #fb923c) !important;
}

.apnea-icon {
    background: linear-gradient(135deg, #ef4444, #f97316) !important;
}

.premium-single-result {
    position: relative;
    overflow: hidden;
}

.premium-single-result::after {
    content: "";
    position: absolute;
    width: 230px;
    height: 230px;
    border-radius: 999px;
    right: -90px;
    bottom: -90px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.16), transparent 70%);
}

.premium-single-result > * {
    position: relative;
    z-index: 2;
}

.input-summary-item {
    transition: 0.22s ease;
}

.input-summary-item:hover {
    transform: translateY(-3px);
    background: #f0fdfa !important;
    border-color: #99f6e4 !important;
}

.result-table tbody tr:hover {
    background: #f0fdfa !important;
}

.result-table td {
    vertical-align: middle;
}

@media (max-width: 900px) {
    .result-guide-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .single-prediction-badge {
        font-size: 22px !important;
        padding: 12px 18px !important;
    }

    .prediction-pill {
        font-size: 12px;
        padding: 8px 12px;
    }
}
/* ========================================================= */
/* RESULT PAGE PREMIUM UPGRADE - FINAL */
/* ========================================================= */

.premium-result-message {
    background:
        radial-gradient(circle at top right, rgba(20, 184, 166, 0.14), transparent 34%),
        rgba(255, 255, 255, 0.94) !important;
}

.result-guide-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 28px;
}

.result-guide-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 20px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
    transition: 0.25s ease;
}

.result-guide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 50px rgba(14, 165, 233, 0.14);
}

.result-guide-card i {
    width: 46px;
    height: 46px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.result-guide-card span {
    display: block;
    color: #0f172a;
    font-size: 16px;
    font-weight: 900;
    margin-bottom: 6px;
}

.result-guide-card p {
    color: #64748b;
    font-size: 13px;
    line-height: 1.55;
}

.guide-normal i {
    background: linear-gradient(135deg, #10b981, #14b8a6);
}

.guide-insomnia i {
    background: linear-gradient(135deg, #f59e0b, #fb923c);
}

.guide-apnea i {
    background: linear-gradient(135deg, #ef4444, #f97316);
}

/* Badge hasil prediksi */
.prediction-pill,
.single-prediction-badge {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: fit-content;
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 900;
    font-size: 13px;
    white-space: nowrap;
}

.normal-pill {
    background: #dcfce7 !important;
    color: #047857 !important;
    border: 1px solid #86efac !important;
}

.insomnia-pill {
    background: #ffedd5 !important;
    color: #c2410c !important;
    border: 1px solid #fdba74 !important;
}

.apnea-pill {
    background: #fee2e2 !important;
    color: #b91c1c !important;
    border: 1px solid #fca5a5 !important;
}

/* Icon warna sesuai hasil */
.normal-icon {
    background: linear-gradient(135deg, #10b981, #14b8a6) !important;
}

.insomnia-icon {
    background: linear-gradient(135deg, #f59e0b, #fb923c) !important;
}

.apnea-icon {
    background: linear-gradient(135deg, #ef4444, #f97316) !important;
}

/* ========================================================= */
/* RESULT LEFT CARD - BIAR GA KOSONG */
/* ========================================================= */

.premium-single-result {
    min-height: 520px;
    display: flex !important;
    flex-direction: column;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 16px;
    padding: 34px !important;
    position: relative;
    overflow: hidden;
}

.premium-single-result::before {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 999px;
    right: -110px;
    top: -120px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.14), transparent 70%);
}

.premium-single-result::after {
    content: "";
    position: absolute;
    width: 230px;
    height: 230px;
    border-radius: 999px;
    left: -90px;
    bottom: -90px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.13), transparent 70%);
}

.premium-single-result > * {
    position: relative;
    z-index: 2;
}

.result-main-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: linear-gradient(135deg, #e0f2fe, #ccfbf1);
    color: #0369a1;
    border: 1px solid #bae6fd;
    padding: 9px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.result-category-label {
    color: #64748b;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-top: 4px;
}

.premium-single-result .single-result-icon {
    width: 74px !important;
    height: 74px !important;
    border-radius: 24px !important;
    font-size: 30px !important;
    margin-bottom: 4px !important;
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.14) !important;
}

.single-prediction-badge {
    font-size: 34px !important;
    padding: 15px 30px !important;
    margin: 2px 0 4px !important;
    border-radius: 999px !important;
}

.result-description {
    color: #475569 !important;
    font-size: 15px !important;
    line-height: 1.75 !important;
    margin: 0 !important;
    max-width: 460px;
}

.result-description strong {
    color: #0f172a;
}

/* Warning prediksi */
.premium-single-result .result-warning {
    margin-top: 6px !important;
    width: 100%;
    background: #fffbeb !important;
    border: 1px solid #fde68a !important;
    border-radius: 18px !important;
    padding: 15px !important;
}

.premium-single-result .result-warning i {
    color: #f59e0b !important;
}

.premium-single-result .result-warning p {
    color: #92400e !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
}

/* Ringkasan input */
.input-summary-item {
    transition: 0.22s ease;
}

.input-summary-item:hover {
    transform: translateY(-3px);
    background: #f0fdfa !important;
    border-color: #99f6e4 !important;
}

/* Tabel batch CSV */
.result-table-wrapper {
    border-radius: 20px !important;
    overflow: auto !important;
    border: 1px solid #e2e8f0 !important;
}

.result-table thead th {
    background: linear-gradient(135deg, #e0f2fe, #ccfbf1) !important;
    color: #0f172a !important;
    font-weight: 900 !important;
    position: sticky;
    top: 0;
    z-index: 2;
}

.result-table tbody tr {
    transition: 0.2s ease;
}

.result-table tbody tr:hover {
    background: #f0fdfa !important;
}

.result-table td {
    vertical-align: middle;
}

/* Tombol action bawah */
.result-actions {
    gap: 12px;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 900px) {
    .result-guide-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .premium-single-result {
        min-height: auto;
        padding: 24px !important;
    }

    .single-prediction-badge {
        font-size: 26px !important;
        padding: 13px 22px !important;
    }

    .prediction-pill {
        font-size: 12px;
        padding: 8px 12px;
    }

    .result-description {
        font-size: 14px !important;
    }
}

/* ========================================================= */
/* MANUAL FORM FINAL FIX - CLEAN INPUT TANPA KOTAK PUTIH ANEH */
/* Aman ditempel paling bawah. Scope hanya halaman manual. */
/* ========================================================= */

.manual-page {
    background:
        radial-gradient(circle at top left, rgba(14, 165, 233, 0.10), transparent 30%),
        radial-gradient(circle at top right, rgba(20, 184, 166, 0.10), transparent 30%),
        linear-gradient(135deg, #f8fafc 0%, #eef9ff 48%, #f0fdfa 100%) !important;
}

/* Biar container manual tetap nyatu dan gak bikin lapisan putih berlebihan */
.manual-page .manual-main {
    background: rgba(255, 255, 255, 0.84) !important;
    border: 1px solid rgba(186, 230, 253, 0.65) !important;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08) !important;
    backdrop-filter: blur(18px) !important;
}

/* Section card manual dibuat clean */
.manual-page .form-section-card {
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.055), transparent 34%),
        rgba(255, 255, 255, 0.94) !important;
    border: 1px solid rgba(203, 213, 225, 0.82) !important;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.065) !important;
    border-radius: 28px !important;
    overflow: hidden !important;
}

/* Header section manual */
.manual-page .form-section-header {
    align-items: center !important;
    gap: 16px !important;
    margin-bottom: 26px !important;
}

.manual-page .form-section-icon {
    width: 58px !important;
    height: 58px !important;
    border-radius: 18px !important;
    background: linear-gradient(135deg, #0ea5e9, #14b8a6) !important;
    color: white !important;
    box-shadow: 0 14px 28px rgba(14, 165, 233, 0.20) !important;
}

.manual-page .form-section-header h2 {
    color: #0f172a !important;
    font-size: 25px !important;
    letter-spacing: -0.3px !important;
}

.manual-page .form-section-header p {
    color: #64748b !important;
    font-size: 15px !important;
}

/* Grid biar lebih rapi */
.manual-page .manual-form-grid {
    gap: 20px 22px !important;
}

.manual-page .manual-form-group {
    gap: 9px !important;
}

.manual-page .manual-form-group label {
    color: #0f172a !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    letter-spacing: 0.75px !important;
}

/* KUNCI FIX:
   Jangan ubah wrapper jadi flex. HTML lama pakai icon absolute.
   Jadi wrapper tetap relative, input/select yang dibuat clean. */
.manual-page .input-with-icon {
    position: relative !important;
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    overflow: visible !important;
}

/* Icon manual input */
.manual-page .input-with-icon i {
    position: absolute !important;
    left: 18px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #0284c7 !important;
    font-size: 16px !important;
    width: 20px !important;
    text-align: center !important;
    z-index: 3 !important;
    pointer-events: none !important;
}

/* Input dan select clean satu lapis */
.manual-page .input-with-icon input,
.manual-page .input-with-icon select {
    width: 100% !important;
    min-height: 60px !important;
    border: 1px solid #dbeafe !important;
    background: #f8fafc !important;
    border-radius: 18px !important;
    padding: 17px 18px 17px 54px !important;
    color: #0f172a !important;
    font-size: 15px !important;
    font-weight: 650 !important;
    outline: none !important;
    box-shadow: none !important;
    transition: 0.24s ease !important;
}

/* Select tetap normal, tapi gak putih kotak dobel */
.manual-page .input-with-icon select {
    cursor: pointer !important;
    appearance: auto !important;
}

/* Placeholder */
.manual-page .input-with-icon input::placeholder {
    color: #94a3b8 !important;
    font-weight: 500 !important;
}

/* Hover/focus lebih rapih */
.manual-page .input-with-icon input:hover,
.manual-page .input-with-icon select:hover {
    background: #ffffff !important;
    border-color: #bae6fd !important;
}

.manual-page .input-with-icon input:focus,
.manual-page .input-with-icon select:focus {
    background: #ffffff !important;
    border-color: #0ea5e9 !important;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.12) !important;
}

/* Hilangin animasi focus yang kadang bikin layout kerasa loncat */
.manual-page .input-with-icon input:focus,
.manual-page .input-with-icon select:focus {
}

/* Link bantuan */
.manual-page .helper-link {
    color: #0284c7 !important;
    font-weight: 850 !important;
    font-size: 14px !important;
    text-decoration: none !important;
}

.manual-page .helper-link:hover {
    color: #0f766e !important;
    text-decoration: underline !important;
}

/* Small text */
.manual-page .manual-form-group small {
    color: #64748b !important;
    font-size: 12.5px !important;
    line-height: 1.55 !important;
}

/* Pilihan model tetap aman */
.manual-page .model-choice-card span {
    background: #f8fafc !important;
    border: 1px solid #dbeafe !important;
    box-shadow: none !important;
}

.manual-page .model-choice-card:hover span {
    background: #ffffff !important;
    border-color: #0ea5e9 !important;
}

.manual-page .model-choice-card input:checked + span {
    background: linear-gradient(135deg, #e0f2fe, #f0fdfa) !important;
    border-color: #0ea5e9 !important;
    box-shadow: 0 16px 34px rgba(14, 165, 233, 0.14) !important;
}

/* Note dan tombol bawah */
.manual-page .manual-note {
    background: #eff6ff !important;
    border: 1px solid #bae6fd !important;
    border-left: 5px solid #0ea5e9 !important;
}

.manual-page .manual-submit-btn {
    min-height: 60px !important;
    border-radius: 18px !important;
    font-size: 16px !important;
}

/* Mobile */
@media (max-width: 850px) {
    .manual-page .manual-form-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 640px) {
    .manual-page .manual-main {
        padding: 26px 18px !important;
    }

    .manual-page .form-section-card {
        padding: 22px !important;
        border-radius: 22px !important;
    }

    .manual-page .form-section-header {
        align-items: flex-start !important;
    }

    .manual-page .input-with-icon input,
    .manual-page .input-with-icon select {
        min-height: 56px !important;
        padding-left: 50px !important;
    }
}
/* ========================================================= */
/* HISTORY PAGE PREMIUM UPGRADE */
/* ========================================================= */

.premium-history-info {
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.12), transparent 36%),
        rgba(255, 255, 255, 0.96) !important;
}

.history-note-card {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    background: linear-gradient(135deg, #eff6ff, #f0fdfa);
    border: 1px solid #bae6fd;
    border-left: 5px solid #0ea5e9;
    border-radius: 22px;
    padding: 20px;
    margin-bottom: 26px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.history-note-icon {
    width: 46px;
    height: 46px;
    border-radius: 15px;
    background: linear-gradient(135deg, #0ea5e9, #14b8a6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.history-note-card h3 {
    color: #0f172a;
    margin-bottom: 6px;
    font-size: 18px;
}

.history-note-card p {
    color: #475569;
    line-height: 1.7;
    font-size: 14px;
}

.premium-history-list {
    align-items: stretch;
}

.premium-history-card {
    position: relative;
    overflow: hidden;
    border-radius: 28px !important;
    padding: 26px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    border: 1px solid rgba(226, 232, 240, 0.95) !important;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.07) !important;
}

.premium-history-card::before {
    content: "";
    position: absolute;
    width: 7px;
    height: 100%;
    left: 0;
    top: 0;
}

.premium-history-card::after {
    content: "";
    position: absolute;
    width: 190px;
    height: 190px;
    border-radius: 999px;
    right: -85px;
    top: -85px;
    opacity: 0.13;
}

.history-normal::before {
    background: linear-gradient(180deg, #10b981, #14b8a6);
}

.history-normal::after {
    background: #10b981;
}

.history-insomnia::before {
    background: linear-gradient(180deg, #f59e0b, #fb923c);
}

.history-insomnia::after {
    background: #f59e0b;
}

.history-apnea::before {
    background: linear-gradient(180deg, #ef4444, #f97316);
}

.history-apnea::after {
    background: #ef4444;
}

.premium-history-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 24px 60px rgba(14, 165, 233, 0.15) !important;
    border-color: rgba(14, 165, 233, 0.35) !important;
}

.premium-history-card .history-card-header {
    position: relative;
    z-index: 2;
}

.premium-history-card .history-card-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.7px;
    margin-bottom: 10px;
}

.premium-history-card h2 {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: fit-content;
    border-radius: 999px;
    padding: 10px 16px;
    font-size: 20px;
    font-weight: 900;
    margin-top: 8px;
}

.history-normal h2 {
    background: #dcfce7;
    color: #047857;
    border: 1px solid #86efac;
}

.history-insomnia h2 {
    background: #ffedd5;
    color: #c2410c;
    border: 1px solid #fdba74;
}

.history-apnea h2 {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fca5a5;
}

.premium-history-card .history-card-icon {
    position: relative;
    z-index: 2;
}

.history-normal .history-card-icon {
    background: linear-gradient(135deg, #10b981, #14b8a6) !important;
}

.history-insomnia .history-card-icon {
    background: linear-gradient(135deg, #f59e0b, #fb923c) !important;
}

.history-apnea .history-card-icon {
    background: linear-gradient(135deg, #ef4444, #f97316) !important;
}

.history-result-desc {
    position: relative;
    z-index: 2;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 15px 16px;
    margin-bottom: 18px;
}

.history-result-desc p {
    color: #475569;
    line-height: 1.65;
    font-size: 14px;
}

.history-result-desc strong {
    color: #0f172a;
}

.premium-history-card .history-data-grid {
    position: relative;
    z-index: 2;
}

.premium-history-card .history-data-item {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 15px !important;
    transition: 0.22s ease;
}

.premium-history-card .history-data-item:hover {
    background: #f0fdfa !important;
    border-color: #99f6e4 !important;
    transform: translateY(-2px);
}

.history-bp-item {
    grid-column: span 2;
}

.premium-empty-history {
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.12), transparent 36%),
        rgba(255, 255, 255, 0.96) !important;
}

.premium-empty-history .empty-history-icon {
    background: linear-gradient(135deg, #0ea5e9, #14b8a6) !important;
    color: white !important;
}

@media (max-width: 850px) {
    .history-bp-item {
        grid-column: span 1;
    }

    .history-note-card {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .premium-history-card {
        padding: 22px !important;
    }

    .premium-history-card h2 {
        font-size: 17px;
        padding: 9px 13px;
    }

    .history-card-header {
        align-items: flex-start !important;
    }
}
/* ========================================================= */
/* CSV PAGE PREMIUM UPGRADE */
/* ========================================================= */

.csv-step-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.csv-step-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(186, 230, 253, 0.85);
    border-radius: 22px;
    padding: 18px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
    transition: 0.25s ease;
}

.csv-step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 50px rgba(14, 165, 233, 0.14);
    border-color: rgba(14, 165, 233, 0.35);
}

.csv-step-number {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, #0ea5e9, #14b8a6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 950;
    flex-shrink: 0;
    box-shadow: 0 12px 24px rgba(14, 165, 233, 0.22);
}

.csv-step-card h3 {
    color: #0f172a;
    font-size: 16px;
    margin-bottom: 6px;
}

.csv-step-card p {
    color: #64748b;
    font-size: 13px;
    line-height: 1.55;
}

.premium-csv-info,
.premium-csv-upload {
    position: relative;
    overflow: hidden;
}

.premium-csv-info::after,
.premium-csv-upload::after {
    content: "";
    position: absolute;
    width: 210px;
    height: 210px;
    border-radius: 999px;
    right: -90px;
    top: -90px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.12), transparent 70%);
    pointer-events: none;
}

.premium-csv-info > *,
.premium-csv-upload > * {
    position: relative;
    z-index: 2;
}

.premium-csv-header-grid span {
    background: linear-gradient(135deg, #f8fafc, #eff6ff) !important;
    border: 1px solid #dbeafe !important;
    transition: 0.22s ease;
}

.premium-csv-header-grid span:hover {
    background: #f0fdfa !important;
    border-color: #99f6e4 !important;
    transform: translateY(-2px);
}

.premium-csv-example {
    background: linear-gradient(135deg, #f8fafc, #eff6ff) !important;
    border-left-color: #14b8a6 !important;
}

.csv-format-alert {
    display: flex;
    gap: 13px;
    align-items: flex-start;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-left: 5px solid #f59e0b;
    border-radius: 18px;
    padding: 16px;
    margin-top: 18px;
}

.csv-format-alert i {
    color: #f59e0b;
    margin-top: 4px;
}

.csv-format-alert p {
    color: #92400e;
    font-size: 14px;
    line-height: 1.65;
}

.premium-template-btn {
    margin-top: 18px !important;
}

.premium-csv-dropzone {
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.12), transparent 34%),
        linear-gradient(135deg, #f8fafc, #eff6ff) !important;
    border: 2px dashed rgba(14, 165, 233, 0.45) !important;
    min-height: 210px !important;
}

.premium-csv-dropzone:hover {
    background: linear-gradient(135deg, #eff6ff, #f0fdfa) !important;
    border-color: #14b8a6 !important;
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(20, 184, 166, 0.14);
}

.csv-file-dropzone.file-selected {
    border-color: #14b8a6 !important;
    background: linear-gradient(135deg, #f0fdfa, #eff6ff) !important;
    box-shadow: 0 18px 45px rgba(20, 184, 166, 0.16) !important;
}

.csv-file-dropzone.file-selected i {
    color: #14b8a6 !important;
}

.csv-file-dropzone.file-selected span {
    color: #0f766e !important;
}

.csv-upload-status {
    background: #f8fafc;
    border: 1px solid #dbeafe;
    border-radius: 18px;
    padding: 16px;
}

.csv-upload-status div {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #0369a1;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    margin-bottom: 7px;
}

.csv-upload-status p {
    color: #475569;
    font-size: 14px;
    line-height: 1.55;
}

@media (max-width: 1100px) {
    .csv-step-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .csv-step-section {
        grid-template-columns: 1fr;
    }

    .csv-step-card {
        padding: 16px;
    }

    .premium-csv-dropzone {
        min-height: 180px !important;
    }
}


/* ========================================================= */
/* LANDING PAGE FINAL CLEAN FIX */
/* Khusus landing page, aman buat halaman lain */
/* ========================================================= */

body.landing-page {
    background:
        radial-gradient(circle at top left, rgba(14, 165, 233, 0.12), transparent 30%),
        radial-gradient(circle at top right, rgba(20, 184, 166, 0.12), transparent 32%),
        linear-gradient(135deg, #f8fafc 0%, #ecfeff 45%, #f0fdfa 100%) !important;
}

/* NAVBAR */
body.landing-page .landing-navbar {
    width: min(1180px, calc(100% - 36px)) !important;
    margin: 22px auto 0 !important;
    padding: 16px 18px !important;
    border-radius: 22px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
    position: relative !important;
    top: auto !important;
}

body.landing-page .landing-nav-menu {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    flex: 1 !important;
}

body.landing-page .landing-nav-menu a {
    text-decoration: none !important;
    color: #475569 !important;
    font-size: 14px !important;
    font-weight: 850 !important;
    padding: 10px 13px !important;
    border-radius: 999px !important;
    transition: 0.25s ease !important;
    white-space: nowrap !important;
}

body.landing-page .landing-nav-menu a:hover {
    background: #e0f2fe !important;
    color: #0369a1 !important;
}

/* MAIN */
body.landing-page .landing-main {
    width: min(1180px, calc(100% - 36px)) !important;
    margin: 28px auto 0 !important;
    padding-bottom: 42px !important;
}

/* HERO */
body.landing-page .landing-hero {
    min-height: 560px !important;
    padding: 52px !important;
    border-radius: 34px !important;
    display: grid !important;
    grid-template-columns: 1.05fr 0.95fr !important;
    align-items: center !important;
    gap: 36px !important;
    overflow: hidden !important;
    position: relative !important;
}

body.landing-page .landing-hero-content {
    position: relative !important;
    z-index: 3 !important;
    max-width: 610px !important;
}

body.landing-page .landing-hero-content h1 {
    font-size: clamp(42px, 4.8vw, 64px) !important;
    line-height: 1.05 !important;
    letter-spacing: -1.8px !important;
    margin-bottom: 22px !important;
    color: #0f172a !important;
}

body.landing-page .landing-hero-content p {
    max-width: 600px !important;
    font-size: 17px !important;
    line-height: 1.85 !important;
    margin-bottom: 30px !important;
    color: #475569 !important;
}

/* Trust list */
body.landing-page .landing-trust-list {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-top: 20px !important;
}

body.landing-page .landing-trust-list div {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #f8fafc !important;
    border: 1px solid #dbeafe !important;
    color: #475569 !important;
    border-radius: 999px !important;
    padding: 10px 13px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
}

body.landing-page .landing-trust-list i {
    color: #10b981 !important;
}

/* Visual dibuat rapi, tidak keluar jauh ke kanan */
body.landing-page .landing-visual {
    min-height: 390px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    position: relative !important;
    z-index: 2 !important;
}

body.landing-page .landing-visual-card {
    width: 390px !important;
    height: 390px !important;
    border-radius: 34px !important;
    background:
        radial-gradient(circle at center, rgba(14, 165, 233, 0.14), transparent 56%),
        linear-gradient(135deg, rgba(255,255,255,0.8), rgba(240,253,250,0.75)) !important;
    border: 1px solid rgba(186, 230, 253, 0.95) !important;
    box-shadow: 0 24px 60px rgba(14, 165, 233, 0.12) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    overflow: hidden !important;
}

/* 3D cube pas di tengah */
body.landing-page .medical-3d-orbit {
    width: 190px !important;
    height: 190px !important;
    position: relative !important;
    z-index: 3 !important;
}

body.landing-page .medical-3d-cube {
    width: 120px !important;
    height: 120px !important;
}

body.landing-page .cube-face {
    width: 120px !important;
    height: 120px !important;
}

/* Floating card tetap di dalam visual, bukan lari ke kanan layar */
body.landing-page .landing-floating-card {
    position: absolute !important;
    min-width: 165px !important;
    max-width: 180px !important;
    padding: 12px 14px !important;
    border-radius: 18px !important;
    z-index: 4 !important;
    background: rgba(255, 255, 255, 0.96) !important;
    border: 1px solid rgba(226, 232, 240, 0.9) !important;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.10) !important;
}

body.landing-page .landing-floating-card i {
    font-size: 18px !important;
    color: #0284c7 !important;
}

body.landing-page .landing-floating-card h3 {
    font-size: 13px !important;
    color: #0f172a !important;
    margin-bottom: 3px !important;
}

body.landing-page .landing-floating-card p {
    font-size: 11px !important;
    color: #64748b !important;
}

body.landing-page .landing-card-one {
    top: 28px !important;
    left: 28px !important;
    right: auto !important;
    bottom: auto !important;
}

body.landing-page .landing-card-two {
    top: 155px !important;
    right: 24px !important;
    left: auto !important;
    bottom: auto !important;
}

body.landing-page .landing-card-three {
    left: 34px !important;
    bottom: 28px !important;
    top: auto !important;
    right: auto !important;
}

/* STATS */
body.landing-page .landing-stats {
    margin-top: 24px !important;
}

/* SECTION BAWAH */
body.landing-page .landing-section-heading {
    text-align: center !important;
    max-width: 780px !important;
    margin: 0 auto 28px !important;
}

body.landing-page .landing-section-heading h2 {
    color: #0f172a !important;
    font-size: clamp(30px, 4vw, 44px) !important;
    letter-spacing: -1px !important;
    margin-bottom: 14px !important;
    background: linear-gradient(135deg, #0f172a, #0369a1, #0f766e) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

body.landing-page .landing-section-heading p {
    color: #64748b !important;
    line-height: 1.75 !important;
    font-size: 16px !important;
}

body.landing-page .landing-how-section,
body.landing-page .landing-feature-section,
body.landing-page .landing-final-cta {
    margin-top: 28px !important;
    background: rgba(255, 255, 255, 0.94) !important;
    border: 1px solid rgba(226, 232, 240, 0.9) !important;
    border-radius: 30px !important;
    padding: 34px !important;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.07) !important;
    backdrop-filter: blur(18px) !important;
}

/* Cara kerja */
body.landing-page .landing-how-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 22px !important;
}

body.landing-page .landing-how-card {
    position: relative !important;
    overflow: hidden !important;
    background: linear-gradient(180deg, white, #f8fdff) !important;
    border: 1px solid #dbeafe !important;
    border-radius: 26px !important;
    padding: 28px !important;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06) !important;
    transition: 0.25s ease !important;
}

body.landing-page .landing-how-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 24px 60px rgba(14, 165, 233, 0.15) !important;
}

body.landing-page .how-number {
    position: absolute !important;
    right: 22px !important;
    top: 18px !important;
    font-size: 46px !important;
    font-weight: 950 !important;
    color: rgba(14, 165, 233, 0.12) !important;
}

body.landing-page .how-icon {
    width: 58px !important;
    height: 58px !important;
    border-radius: 18px !important;
    background: linear-gradient(135deg, #0ea5e9, #14b8a6) !important;
    color: white !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 23px !important;
    margin-bottom: 18px !important;
}

body.landing-page .landing-how-card h3 {
    color: #0f172a !important;
    font-size: 21px !important;
    margin-bottom: 10px !important;
}

body.landing-page .landing-how-card p {
    color: #64748b !important;
    line-height: 1.65 !important;
    font-size: 14px !important;
}

/* Fitur */
body.landing-page .landing-feature-section {
    display: grid !important;
    grid-template-columns: 0.9fr 1.1fr !important;
    gap: 26px !important;
    align-items: center !important;
}

body.landing-page .landing-feature-content h2 {
    color: #0f172a !important;
    font-size: clamp(30px, 4vw, 42px) !important;
    letter-spacing: -1px !important;
    line-height: 1.12 !important;
    margin-bottom: 16px !important;
    background: linear-gradient(135deg, #0f172a, #0369a1, #0f766e) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

body.landing-page .landing-feature-content p {
    color: #64748b !important;
    line-height: 1.8 !important;
    margin-bottom: 22px !important;
}

body.landing-page .landing-feature-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
}

body.landing-page .landing-feature-card {
    display: flex !important;
    gap: 14px !important;
    align-items: flex-start !important;
    background: #f8fafc !important;
    border: 1px solid #dbeafe !important;
    border-radius: 22px !important;
    padding: 20px !important;
    transition: 0.25s ease !important;
}

body.landing-page .landing-feature-card:hover {
    background: #f0fdfa !important;
    border-color: #99f6e4 !important;
    transform: translateY(-4px) !important;
}

body.landing-page .landing-feature-card i {
    width: 46px !important;
    height: 46px !important;
    border-radius: 15px !important;
    background: linear-gradient(135deg, #0ea5e9, #14b8a6) !important;
    color: white !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

body.landing-page .landing-feature-card h3 {
    color: #0f172a !important;
    margin-bottom: 6px !important;
    font-size: 17px !important;
}

body.landing-page .landing-feature-card p {
    color: #64748b !important;
    line-height: 1.55 !important;
    font-size: 13px !important;
}

/* CTA bawah */
body.landing-page .landing-final-cta {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 24px !important;
    background:
        radial-gradient(circle at top right, rgba(255,255,255,0.18), transparent 36%),
        linear-gradient(135deg, #0ea5e9, #14b8a6) !important;
    color: white !important;
    margin-bottom: 42px !important;
}

body.landing-page .landing-final-cta .section-label {
    background: rgba(255, 255, 255, 0.16) !important;
    border-color: rgba(255, 255, 255, 0.24) !important;
    color: white !important;
}

body.landing-page .landing-final-cta h2 {
    font-size: clamp(28px, 4vw, 42px) !important;
    line-height: 1.12 !important;
    letter-spacing: -1px !important;
    margin-bottom: 10px !important;
}

body.landing-page .landing-final-cta p {
    color: rgba(255, 255, 255, 0.88) !important;
    line-height: 1.7 !important;
    max-width: 680px !important;
}

body.landing-page .landing-final-cta .landing-btn-primary {
    background: white !important;
    color: #0369a1 !important;
    flex-shrink: 0 !important;
}

/* RESPONSIVE LANDING */
@media (max-width: 980px) {
    body.landing-page .landing-nav-menu {
        display: none !important;
    }

    body.landing-page .landing-hero {
        grid-template-columns: 1fr !important;
        padding: 38px !important;
    }

    body.landing-page .landing-visual {
        min-height: 360px !important;
    }

    body.landing-page .landing-how-grid,
    body.landing-page .landing-feature-section {
        grid-template-columns: 1fr !important;
    }

    body.landing-page .landing-feature-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    body.landing-page .landing-final-cta {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
}

@media (max-width: 640px) {
    body.landing-page .landing-navbar {
        width: calc(100% - 24px) !important;
        margin-top: 12px !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }

    body.landing-page .landing-logo {
        justify-content: center !important;
    }

    body.landing-page .landing-nav-auth {
        width: 100% !important;
    }

    body.landing-page .landing-btn-login,
    body.landing-page .landing-btn-register {
        flex: 1 !important;
        text-align: center !important;
    }

    body.landing-page .landing-main {
        width: calc(100% - 24px) !important;
        margin: 18px auto 0 !important;
    }

    body.landing-page .landing-hero {
        padding: 28px 20px !important;
        border-radius: 26px !important;
    }

    body.landing-page .landing-hero-content h1 {
        font-size: 34px !important;
        letter-spacing: -1px !important;
    }

    body.landing-page .landing-actions {
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
    }

    body.landing-page .landing-btn-primary,
    body.landing-page .landing-btn-secondary {
        width: 100% !important;
    }

    body.landing-page .landing-visual-card {
        width: 280px !important;
        height: 280px !important;
        border-radius: 28px !important;
    }

    body.landing-page .medical-3d-orbit {
        transform: scale(0.82) !important;
    }

    body.landing-page .landing-floating-card {
        min-width: 135px !important;
        max-width: 145px !important;
        padding: 9px 10px !important;
    }

    body.landing-page .landing-floating-card p {
        display: none !important;
    }

    body.landing-page .landing-card-one {
        top: 18px !important;
        left: 14px !important;
    }

    body.landing-page .landing-card-two {
        top: 122px !important;
        right: 12px !important;
    }

    body.landing-page .landing-card-three {
        left: 14px !important;
        bottom: 18px !important;
    }

    body.landing-page .landing-how-section,
    body.landing-page .landing-feature-section,
    body.landing-page .landing-final-cta {
        padding: 24px !important;
        border-radius: 24px !important;
    }

    body.landing-page .landing-how-grid,
    body.landing-page .landing-feature-grid {
        grid-template-columns: 1fr !important;
    }

    body.landing-page .landing-trust-list {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    body.landing-page .landing-trust-list div {
        width: 100% !important;
    }

    body.landing-page .landing-final-cta .landing-btn-primary {
        width: 100% !important;
    }
}
/* ========================================================= */
/* LANDING FLOATING CARD ANIMATION FIX */
/* ========================================================= */

body.landing-page .landing-card-one {
    animation: landingFloatOne 5s ease-in-out infinite !important;
}

body.landing-page .landing-card-two {
    animation: landingFloatTwo 5.8s ease-in-out infinite !important;
}

body.landing-page .landing-card-three {
    animation: landingFloatThree 6.2s ease-in-out infinite !important;
}

@keyframes landingFloatOne {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes landingFloatTwo {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(12px);
    }
}

@keyframes landingFloatThree {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-9px);
    }
}

/* ========================================================= */
/* LANDING REQUEST FIX - TRUST, BUTTON, FLOATING ANIMATION */
/* ========================================================= */

/* Pastikan item trust cuma 2 dan rapi */
body.landing-page .landing-trust-list {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
}

/* Tombol di bagian Fitur Aplikasi memang dihapus dari HTML.
   CSS ini cuma merapikan section-nya setelah tombol hilang. */
body.landing-page .landing-feature-content {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

body.landing-page .landing-feature-content p {
    margin-bottom: 0 !important;
}

/* Animasi card kecil di kotak kanan landing */
body.landing-page .landing-floating-card {
    will-change: transform !important;
}

body.landing-page .landing-card-one {
    animation: landingFloatOne 5s ease-in-out infinite !important;
}

body.landing-page .landing-card-two {
    animation: landingFloatTwo 5.8s ease-in-out infinite !important;
}

body.landing-page .landing-card-three {
    animation: landingFloatThree 6.2s ease-in-out infinite !important;
}

@keyframes landingFloatOne {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes landingFloatTwo {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(12px);
    }
}

@keyframes landingFloatThree {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-9px);
    }
}

/* Gerakin cube juga biar visual kanan lebih hidup */
body.landing-page .medical-3d-cube {
    animation: cubeRotate 8s linear infinite !important;
}

body.landing-page .medical-3d-orbit::after {
    animation: orbitSpin 9s linear infinite !important;
}

body.landing-page .medical-3d-orbit::before {
    animation: orbitGlow 4s ease-in-out infinite !important;
}

/* ========================================================= */
/* LANDING FLOATING CARD REAL MOVE FIX */
/* Ini wajib paling bawah, jangan taruh block transform:none setelah ini */
/* ========================================================= */

body.landing-page .landing-visual-card .landing-floating-card {
    will-change: transform !important;
}

body.landing-page .landing-visual-card .landing-card-one {
    animation-name: landingFloatOneReal !important;
    animation-duration: 4.8s !important;
    animation-timing-function: ease-in-out !important;
    animation-iteration-count: infinite !important;
}

body.landing-page .landing-visual-card .landing-card-two {
    animation-name: landingFloatTwoReal !important;
    animation-duration: 5.6s !important;
    animation-timing-function: ease-in-out !important;
    animation-iteration-count: infinite !important;
}

body.landing-page .landing-visual-card .landing-card-three {
    animation-name: landingFloatThreeReal !important;
    animation-duration: 6s !important;
    animation-timing-function: ease-in-out !important;
    animation-iteration-count: infinite !important;
}

@keyframes landingFloatOneReal {
    0%, 100% {
        transform: translate3d(0, 0, 0) !important;
    }

    50% {
        transform: translate3d(0, -14px, 0) !important;
    }
}

@keyframes landingFloatTwoReal {
    0%, 100% {
        transform: translate3d(0, 0, 0) !important;
    }

    50% {
        transform: translate3d(0, 14px, 0) !important;
    }
}

@keyframes landingFloatThreeReal {
    0%, 100% {
        transform: translate3d(0, 0, 0) !important;
    }

    50% {
        transform: translate3d(0, -12px, 0) !important;
    }
}
/* ========================================================= */
/* FIX GERAK 3 FLOATING CARD LANDING */
/* Sleep Health, Lifestyle Data, Prediction */
/* ========================================================= */

body.landing-page .landing-visual-card .landing-floating-card {
    animation: none;
}

/* Sleep Health */
body.landing-page .landing-visual-card .landing-card-one {
    top: 28px !important;
    left: 28px !important;
    animation: moveSleepHealth 4.8s ease-in-out infinite !important;
}

/* Lifestyle Data */
body.landing-page .landing-visual-card .landing-card-two {
    top: 155px !important;
    right: 24px !important;
    animation: moveLifestyleData 5.6s ease-in-out infinite !important;
}

/* Prediction */
body.landing-page .landing-visual-card .landing-card-three {
    left: 34px !important;
    bottom: 28px !important;
    animation: movePredictionCard 6s ease-in-out infinite !important;
}

@keyframes moveSleepHealth {
    0%, 100% {
        top: 28px;
    }

    50% {
        top: 14px;
    }
}

@keyframes moveLifestyleData {
    0%, 100% {
        top: 155px;
    }

    50% {
        top: 170px;
    }
}

@keyframes movePredictionCard {
    0%, 100% {
        bottom: 28px;
    }

    50% {
        bottom: 42px;
    }
}
/* ========================================================= */
/* PREDICT CHOICE PREMIUM UPGRADE */
/* Tempel di paling bawah style.css */
/* ========================================================= */

body.predict-choice-page .premium-choice-main {
    position: relative;
    overflow: hidden;
}

body.predict-choice-page .premium-choice-main::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 999px;
    top: -150px;
    right: -120px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.13), transparent 70%);
    pointer-events: none;
}

body.predict-choice-page .premium-choice-main::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 999px;
    left: -120px;
    bottom: -120px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.12), transparent 70%);
    pointer-events: none;
}

body.predict-choice-page .premium-choice-main > * {
    position: relative;
    z-index: 2;
}

body.predict-choice-page .premium-choice-header h1 {
    background: linear-gradient(135deg, #0f172a, #0369a1, #0f766e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.choice-guide-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 26px;
}

.choice-guide-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #dbeafe;
    border-radius: 22px;
    padding: 19px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
    transition: 0.25s ease;
}

.choice-guide-card:hover {
    transform: translateY(-5px);
    border-color: rgba(14, 165, 233, 0.42);
    box-shadow: 0 22px 50px rgba(14, 165, 233, 0.14);
}

.choice-guide-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(135deg, #0ea5e9, #14b8a6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 14px 28px rgba(14, 165, 233, 0.20);
}

.choice-guide-card span {
    display: block;
    color: #64748b;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    margin-bottom: 5px;
}

.choice-guide-card strong {
    display: block;
    color: #0f172a;
    font-size: 17px;
    margin-bottom: 6px;
}

.choice-guide-card p {
    color: #64748b;
    font-size: 13px;
    line-height: 1.55;
}

.premium-mode-grid {
    gap: 26px;
}

.premium-mode-card {
    min-height: 520px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    border-radius: 30px !important;
    border: 1px solid rgba(186, 230, 253, 0.95) !important;
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.10), transparent 34%),
        rgba(255, 255, 255, 0.98) !important;
}

.premium-mode-card::before {
    content: "";
    position: absolute;
    width: 7px;
    height: 100%;
    left: 0;
    top: 0;
}

.manual-mode-card::before {
    background: linear-gradient(180deg, #0ea5e9, #0284c7);
}

.csv-mode-card::before {
    background: linear-gradient(180deg, #14b8a6, #10b981);
}

.premium-mode-card::after {
    content: "";
    position: absolute;
    width: 190px;
    height: 190px;
    border-radius: 999px;
    right: -80px;
    top: -80px;
    background: rgba(14, 165, 233, 0.10);
    pointer-events: none;
}

.csv-mode-card::after {
    background: rgba(20, 184, 166, 0.12);
}

.premium-mode-card > * {
    position: relative;
    z-index: 2;
}

.premium-mode-card .mode-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    font-size: 25px;
}

.csv-mode-card .mode-icon {
    background: linear-gradient(135deg, #14b8a6, #10b981);
}

.premium-mode-card .mode-label {
    background: #eff6ff;
    border: 1px solid #bae6fd;
    color: #0369a1;
}

.csv-mode-card .mode-label {
    background: #f0fdfa;
    border: 1px solid #99f6e4;
    color: #0f766e;
}

.premium-mode-card h2 {
    font-size: 31px;
    letter-spacing: -0.7px;
}

.premium-mode-card p {
    font-size: 15px;
}

.premium-feature-list {
    margin-bottom: 20px !important;
}

.premium-feature-list div {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    padding: 12px 13px;
    transition: 0.22s ease;
}

.premium-feature-list div:hover {
    background: #f0fdfa;
    border-color: #99f6e4;
    transform: translateX(4px);
}

.mode-mini-preview {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: auto;
    margin-bottom: 22px;
}

.mode-mini-preview div {
    background: linear-gradient(135deg, #f8fafc, #eff6ff);
    border: 1px solid #dbeafe;
    border-radius: 17px;
    padding: 14px;
}

.csv-mode-card .mode-mini-preview div {
    background: linear-gradient(135deg, #f8fafc, #f0fdfa);
    border-color: #ccfbf1;
}

.mode-mini-preview span {
    display: block;
    color: #64748b;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 5px;
}

.mode-mini-preview strong {
    color: #0f172a;
    font-size: 14px;
}

.premium-mode-card .mode-action-btn {
    width: 100%;
    min-height: 55px;
    border-radius: 18px;
}

.csv-mode-card .mode-action-btn {
    background: linear-gradient(135deg, #14b8a6, #10b981);
}

.premium-choice-info {
    align-items: flex-start;
    background: linear-gradient(135deg, #eff6ff, #f0fdfa) !important;
}

.premium-choice-info .choice-info-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(135deg, #0ea5e9, #14b8a6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Subtle floating biar card hidup */
.manual-mode-card {
    animation: modeCardFloatOne 5.5s ease-in-out infinite;
}

.csv-mode-card {
    animation: modeCardFloatTwo 6s ease-in-out infinite;
}

@keyframes modeCardFloatOne {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

@keyframes modeCardFloatTwo {
    0%, 100% {
        transform: translateY(-3px);
    }

    50% {
        transform: translateY(3px);
    }
}

@media (max-width: 980px) {
    .choice-guide-section {
        grid-template-columns: 1fr;
    }

    .premium-mode-card {
        min-height: auto;
    }
}

@media (max-width: 640px) {
    .choice-guide-card {
        padding: 16px;
    }

    .mode-mini-preview {
        grid-template-columns: 1fr;
    }

    .premium-mode-card h2 {
        font-size: 26px;
    }
}

/* ========================================================= */
/* DASHBOARD MODEL EVALUATION PREMIUM UPGRADE */
/* Khusus bagian Perbandingan Akurasi Model */
/* ========================================================= */

.premium-model-section {
    position: relative;
    overflow: hidden;
    padding: 34px !important;
    border-radius: 30px !important;
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.13), transparent 34%),
        radial-gradient(circle at bottom left, rgba(20, 184, 166, 0.10), transparent 32%),
        rgba(255, 255, 255, 0.97) !important;
}

.premium-model-section::before {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 999px;
    right: -120px;
    top: -120px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.16), transparent 70%);
    pointer-events: none;
}

.premium-model-section::after {
    content: "";
    position: absolute;
    width: 230px;
    height: 230px;
    border-radius: 999px;
    left: -95px;
    bottom: -95px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.13), transparent 70%);
    pointer-events: none;
}

.premium-model-section > * {
    position: relative;
    z-index: 2;
}

.premium-model-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px !important;
}

.premium-model-heading h2 {
    font-size: 34px !important;
    letter-spacing: -0.9px;
    background: linear-gradient(135deg, #0f172a, #0369a1, #0f766e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.premium-model-heading p {
    max-width: 760px;
}

.model-evaluation-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(105px, 1fr));
    gap: 12px;
    flex-shrink: 0;
}

.model-evaluation-summary div {
    min-width: 112px;
    background: linear-gradient(135deg, #f8fafc, #eff6ff);
    border: 1px solid #dbeafe;
    border-radius: 18px;
    padding: 14px 15px;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.05);
}

.model-evaluation-summary span {
    display: block;
    color: #64748b;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 6px;
}

.model-evaluation-summary strong {
    color: #0f172a;
    font-size: 18px;
    white-space: nowrap;
}

.premium-accuracy-grid {
    align-items: stretch;
}

.premium-accuracy-card {
    min-height: 510px;
    display: flex;
    flex-direction: column;
    padding: 28px !important;
    border-radius: 28px !important;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.09), transparent 34%),
        linear-gradient(180deg, #ffffff, #f8fdff) !important;
    border: 1px solid rgba(186, 230, 253, 0.92) !important;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.07) !important;
}

.premium-accuracy-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.65) 45%, transparent 65%);
    transform: translateX(-120%);
    transition: 0.6s ease;
    pointer-events: none;
}

.premium-accuracy-card:hover::before {
    transform: translateX(120%);
}

.premium-accuracy-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 26px 70px rgba(14, 165, 233, 0.18) !important;
    border-color: rgba(14, 165, 233, 0.42) !important;
}

.rank-one-card {
    border-top: 5px solid #0ea5e9 !important;
}

.rank-two-card {
    border-top: 5px solid #14b8a6 !important;
}

.model-rank-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #e0f2fe, #ccfbf1);
    border: 1px solid #bae6fd;
    color: #0369a1;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 950;
    z-index: 3;
}

.model-rank-badge i {
    color: #f59e0b;
}

.stable-rank {
    background: #f0fdfa;
    border-color: #99f6e4;
    color: #0f766e;
}

.premium-accuracy-card .model-badge {
    top: 18px !important;
    right: 18px !important;
    z-index: 3;
}

.accuracy-orbit {
    width: 185px;
    height: 185px;
    margin: 42px auto 20px;
    border-radius: 999px;
    background:
        radial-gradient(circle, rgba(255,255,255,0.96) 52%, transparent 53%),
        conic-gradient(from 0deg, rgba(14,165,233,0.18), rgba(20,184,166,0.18), rgba(14,165,233,0.18));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.accuracy-orbit::before {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 999px;
    border: 1px dashed rgba(14, 165, 233, 0.28);
    animation: modelOrbitSpin 9s linear infinite;
}

.premium-circle {
    width: 150px !important;
    height: 150px !important;
    margin: 0 !important;
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.9),
        0 18px 35px rgba(14, 165, 233, 0.12);
    transition: 0.25s ease;
}

.premium-accuracy-card:hover .premium-circle {
    transform: scale(1.04);
}

.knn-circle {
    background: conic-gradient(#0ea5e9 96%, #e5e7eb 0) !important;
}

.dt-circle {
    background: conic-gradient(#14b8a6 93.33%, #e5e7eb 0) !important;
}

.svm-circle {
    background: conic-gradient(#0284c7 96%, #e5e7eb 0) !important;
}

.model-card-content h3 {
    font-size: 25px !important;
    letter-spacing: -0.5px;
    margin-bottom: 10px !important;
}

.model-card-content p {
    min-height: 68px;
    font-size: 14px !important;
    line-height: 1.65 !important;
}

.accuracy-progress-box {
    margin-top: auto;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 15px;
    text-align: left;
}

.accuracy-progress-info {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.accuracy-progress-info span {
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.accuracy-progress-info strong {
    color: #0f172a;
    font-size: 15px;
}

.accuracy-progress-track {
    width: 100%;
    height: 11px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
}

.accuracy-progress-fill {
    height: 100%;
    border-radius: 999px;
    position: relative;
    overflow: hidden;
}

.accuracy-progress-fill::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.45), transparent);
    animation: progressShine 2.2s ease-in-out infinite;
}

.knn-progress {
    width: 96%;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
}

.dt-progress {
    width: 93.33%;
    background: linear-gradient(135deg, #14b8a6, #10b981);
}

.svm-progress {
    width: 96%;
    background: linear-gradient(135deg, #0284c7, #0ea5e9);
}

.model-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}

.model-tags span {
    background: #eff6ff;
    border: 1px solid #dbeafe;
    color: #0369a1;
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 11px;
    font-weight: 900;
}

.rank-two-card .model-tags span {
    background: #f0fdfa;
    border-color: #ccfbf1;
    color: #0f766e;
}

@keyframes modelOrbitSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes progressShine {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

@media (max-width: 1100px) {
    .premium-model-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .model-evaluation-summary {
        width: 100%;
    }
}

@media (max-width: 850px) {
    .premium-accuracy-card {
        min-height: auto;
    }
}

@media (max-width: 640px) {
    .premium-model-section {
        padding: 24px !important;
    }

    .model-evaluation-summary {
        grid-template-columns: 1fr;
    }

    .accuracy-orbit {
        width: 165px;
        height: 165px;
    }

    .premium-circle {
        width: 135px !important;
        height: 135px !important;
    }
}
/* ========================================================= */
/* ULTRA PREMIUM MODEL EVALUATION SECTION */
/* Khusus Perbandingan Akurasi Model */
/* ========================================================= */

.ultra-model-section {
    position: relative;
    overflow: hidden;
    padding: 38px !important;
    border-radius: 34px !important;
    background:
        radial-gradient(circle at top left, rgba(14, 165, 233, 0.16), transparent 32%),
        radial-gradient(circle at bottom right, rgba(20, 184, 166, 0.15), transparent 34%),
        linear-gradient(135deg, rgba(255,255,255,0.98), rgba(248,253,255,0.96)) !important;
    border: 1px solid rgba(186, 230, 253, 0.95) !important;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.10) !important;
}

.ultra-model-bg span {
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    filter: blur(1px);
}

.ultra-model-bg span:nth-child(1) {
    width: 300px;
    height: 300px;
    right: -130px;
    top: -130px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.18), transparent 70%);
    animation: ultraBlobOne 8s ease-in-out infinite;
}

.ultra-model-bg span:nth-child(2) {
    width: 240px;
    height: 240px;
    left: -100px;
    bottom: -100px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.16), transparent 70%);
    animation: ultraBlobTwo 9s ease-in-out infinite;
}

.ultra-model-bg span:nth-child(3) {
    width: 180px;
    height: 180px;
    left: 50%;
    top: 30px;
    background: radial-gradient(circle, rgba(2, 132, 199, 0.10), transparent 70%);
    animation: ultraBlobThree 7s ease-in-out infinite;
}

.ultra-model-section > * {
    position: relative;
    z-index: 2;
}

.ultra-model-heading {
    display: grid;
    grid-template-columns: 1fr 290px;
    align-items: end;
    gap: 26px;
    margin-bottom: 24px !important;
}

.ultra-model-heading h2 {
    font-size: 36px !important;
    letter-spacing: -1px;
    margin-bottom: 14px !important;
    background: linear-gradient(135deg, #0f172a, #0369a1, #0f766e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ultra-model-heading p {
    max-width: 820px;
}

.ultra-best-model-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border-radius: 26px;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.38), transparent 42%),
        linear-gradient(135deg, #0ea5e9, #14b8a6);
    color: white;
    box-shadow: 0 22px 48px rgba(14, 165, 233, 0.25);
    overflow: hidden;
    position: relative;
}

.ultra-best-model-card::after {
    content: "";
    position: absolute;
    width: 140%;
    height: 2px;
    left: -120%;
    top: 52%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    animation: ultraScan 2.7s linear infinite;
}

.best-model-icon {
    width: 58px;
    height: 58px;
    border-radius: 20px;
    background: rgba(255,255,255,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.ultra-best-model-card span {
    display: block;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: rgba(255,255,255,0.78);
}

.ultra-best-model-card strong {
    display: block;
    font-size: 34px;
    line-height: 1;
    margin: 5px 0;
}

.ultra-best-model-card p {
    color: rgba(255,255,255,0.88);
    margin: 0 !important;
    font-weight: 800;
}

.ultra-model-summary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 26px;
}

.ultra-summary-item {
    display: flex;
    align-items: center;
    gap: 13px;
    background: rgba(255,255,255,0.88);
    border: 1px solid rgba(219, 234, 254, 0.95);
    border-radius: 22px;
    padding: 17px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
    transition: 0.25s ease;
}

.ultra-summary-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 55px rgba(14, 165, 233, 0.15);
}

.ultra-summary-item i {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: linear-gradient(135deg, #0ea5e9, #14b8a6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ultra-summary-item span {
    display: block;
    color: #64748b;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 4px;
}

.ultra-summary-item strong {
    color: #0f172a;
    font-size: 16px;
    white-space: nowrap;
}

.ultra-accuracy-grid {
    gap: 24px !important;
    align-items: stretch;
}

.ultra-accuracy-card {
    min-height: 560px;
    display: flex;
    flex-direction: column;
    padding: 26px !important;
    border-radius: 32px !important;
    text-align: left !important;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.10), transparent 34%),
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,253,255,0.98)) !important;
    border: 1px solid rgba(186, 230, 253, 0.95) !important;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.07) !important;
}

.ultra-accuracy-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.72) 42%, transparent 62%);
    transform: translateX(-125%);
    transition: 0.75s ease;
    pointer-events: none;
}

.ultra-accuracy-card:hover::before {
    transform: translateX(125%);
}

.ultra-accuracy-card::after {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    border-radius: 999px;
    right: -75px;
    bottom: -75px;
    background: rgba(14, 165, 233, 0.09);
    pointer-events: none;
}

.ultra-stable-card::after {
    background: rgba(20, 184, 166, 0.11);
}

.ultra-top-card {
    border-top: 6px solid #0ea5e9 !important;
}

.ultra-stable-card {
    border-top: 6px solid #14b8a6 !important;
}

.ultra-accuracy-card:hover {
    transform: translateY(-12px) scale(1.012) !important;
    box-shadow: 0 32px 80px rgba(14, 165, 233, 0.20) !important;
    border-color: rgba(14, 165, 233, 0.48) !important;
}

.ultra-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.ultra-rank,
.ultra-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    padding: 9px 13px;
    font-size: 12px;
    font-weight: 950;
    white-space: nowrap;
}

.rank-gold {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
}

.rank-gold i {
    color: #f59e0b;
}

.rank-teal {
    background: #f0fdfa;
    border: 1px solid #99f6e4;
    color: #0f766e;
}

.ultra-status-badge {
    background: #e0f2fe;
    border: 1px solid #bae6fd;
    color: #0369a1;
}

.stable-badge {
    background: #f0fdfa;
    border-color: #99f6e4;
    color: #0f766e;
}

.ultra-score-area {
    display: flex;
    justify-content: center;
    margin: 6px 0 24px;
}

.ultra-score-ring {
    width: 182px;
    height: 182px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.ultra-score-ring::before {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: 999px;
    border: 1px dashed rgba(14, 165, 233, 0.32);
    animation: ultraRingSpin 9s linear infinite;
}

.ultra-score-ring::after {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 999px;
    background: white;
    box-shadow: inset 0 0 0 1px rgba(226, 232, 240, 0.9);
}

.ring-knn {
    background: conic-gradient(#0ea5e9 96%, #e5e7eb 0);
    box-shadow: 0 22px 46px rgba(14, 165, 233, 0.18);
}

.ring-dt {
    background: conic-gradient(#14b8a6 93.33%, #e5e7eb 0);
    box-shadow: 0 22px 46px rgba(20, 184, 166, 0.18);
}

.ring-svm {
    background: conic-gradient(#0284c7 96%, #e5e7eb 0);
    box-shadow: 0 22px 46px rgba(2, 132, 199, 0.18);
}

.ultra-score-inner {
    position: relative;
    z-index: 2;
    width: 118px;
    height: 118px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ultra-score-inner span {
    color: #0f172a;
    font-size: 32px;
    font-weight: 950;
    letter-spacing: -1px;
}

.ultra-score-inner small {
    color: #64748b;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.ultra-model-title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.ultra-model-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    box-shadow: 0 14px 28px rgba(14, 165, 233, 0.22);
}

.dt-icon {
    background: linear-gradient(135deg, #14b8a6, #10b981);
}

.svm-icon {
    background: linear-gradient(135deg, #0284c7, #0ea5e9);
}

.ultra-model-title h3 {
    color: #0f172a;
    font-size: 25px;
    letter-spacing: -0.6px;
    margin-bottom: 4px;
}

.ultra-model-title span {
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
}

.ultra-accuracy-card p {
    color: #64748b !important;
    line-height: 1.7 !important;
    font-size: 14px !important;
    min-height: 72px;
}

.ultra-progress {
    margin-top: auto;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 16px;
}

.ultra-progress-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 11px;
}

.ultra-progress-top span {
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.ultra-progress-top strong {
    color: #0f172a;
    font-size: 15px;
}

.ultra-progress-track {
    width: 100%;
    height: 12px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
}

.ultra-progress-fill {
    height: 100%;
    border-radius: 999px;
    position: relative;
    overflow: hidden;
}

.ultra-progress-fill::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent);
    animation: ultraProgressShine 2.1s ease-in-out infinite;
}

.fill-knn {
    width: 96%;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
}

.fill-dt {
    width: 93.33%;
    background: linear-gradient(135deg, #14b8a6, #10b981);
}

.fill-svm {
    width: 96%;
    background: linear-gradient(135deg, #0284c7, #0ea5e9);
}

.ultra-model-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.ultra-model-tags span {
    background: #eff6ff;
    border: 1px solid #dbeafe;
    color: #0369a1;
    border-radius: 999px;
    padding: 8px 11px;
    font-size: 11px;
    font-weight: 900;
}

.ultra-stable-card .ultra-model-tags span {
    background: #f0fdfa;
    border-color: #ccfbf1;
    color: #0f766e;
}

@keyframes ultraRingSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes ultraProgressShine {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(100%);
    }
}

@keyframes ultraScan {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(180%);
    }
}

@keyframes ultraBlobOne {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-18px, 20px) scale(1.08);
    }
}

@keyframes ultraBlobTwo {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(20px, -18px) scale(1.07);
    }
}

@keyframes ultraBlobThree {
    0%, 100% {
        transform: translate(-50%, 0) scale(1);
    }

    50% {
        transform: translate(-46%, 15px) scale(1.12);
    }
}

@media (max-width: 1200px) {
    .ultra-model-heading {
        grid-template-columns: 1fr;
    }

    .ultra-best-model-card {
        max-width: 360px;
    }

    .ultra-model-summary {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 850px) {
    .ultra-accuracy-card {
        min-height: auto;
    }

    .ultra-model-summary {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .ultra-model-section {
        padding: 24px !important;
        border-radius: 26px !important;
    }

    .ultra-card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .ultra-score-ring {
        width: 160px;
        height: 160px;
    }

    .ultra-score-inner {
        width: 104px;
        height: 104px;
    }

    .ultra-score-inner span {
        font-size: 28px;
    }
}
/* ========================================================= */
/* ULTRA PREMIUM MODEL EVALUATION SECTION */
/* Khusus Perbandingan Akurasi Model */
/* ========================================================= */

.ultra-model-section {
    position: relative;
    overflow: hidden;
    padding: 38px !important;
    border-radius: 34px !important;
    background:
        radial-gradient(circle at top left, rgba(14, 165, 233, 0.16), transparent 32%),
        radial-gradient(circle at bottom right, rgba(20, 184, 166, 0.15), transparent 34%),
        linear-gradient(135deg, rgba(255,255,255,0.98), rgba(248,253,255,0.96)) !important;
    border: 1px solid rgba(186, 230, 253, 0.95) !important;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.10) !important;
}

.ultra-model-bg span {
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    filter: blur(1px);
}

.ultra-model-bg span:nth-child(1) {
    width: 300px;
    height: 300px;
    right: -130px;
    top: -130px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.18), transparent 70%);
    animation: ultraBlobOne 8s ease-in-out infinite;
}

.ultra-model-bg span:nth-child(2) {
    width: 240px;
    height: 240px;
    left: -100px;
    bottom: -100px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.16), transparent 70%);
    animation: ultraBlobTwo 9s ease-in-out infinite;
}

.ultra-model-bg span:nth-child(3) {
    width: 180px;
    height: 180px;
    left: 50%;
    top: 30px;
    background: radial-gradient(circle, rgba(2, 132, 199, 0.10), transparent 70%);
    animation: ultraBlobThree 7s ease-in-out infinite;
}

.ultra-model-section > * {
    position: relative;
    z-index: 2;
}

.ultra-model-heading {
    display: grid;
    grid-template-columns: 1fr 290px;
    align-items: end;
    gap: 26px;
    margin-bottom: 24px !important;
}

.ultra-model-heading h2 {
    font-size: 36px !important;
    letter-spacing: -1px;
    margin-bottom: 14px !important;
    background: linear-gradient(135deg, #0f172a, #0369a1, #0f766e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ultra-model-heading p {
    max-width: 820px;
}

.ultra-best-model-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border-radius: 26px;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.38), transparent 42%),
        linear-gradient(135deg, #0ea5e9, #14b8a6);
    color: white;
    box-shadow: 0 22px 48px rgba(14, 165, 233, 0.25);
    overflow: hidden;
    position: relative;
}

.ultra-best-model-card::after {
    content: "";
    position: absolute;
    width: 140%;
    height: 2px;
    left: -120%;
    top: 52%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    animation: ultraScan 2.7s linear infinite;
}

.best-model-icon {
    width: 58px;
    height: 58px;
    border-radius: 20px;
    background: rgba(255,255,255,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.ultra-best-model-card span {
    display: block;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: rgba(255,255,255,0.78);
}

.ultra-best-model-card strong {
    display: block;
    font-size: 34px;
    line-height: 1;
    margin: 5px 0;
}

.ultra-best-model-card p {
    color: rgba(255,255,255,0.88);
    margin: 0 !important;
    font-weight: 800;
}

.ultra-model-summary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 26px;
}

.ultra-summary-item {
    display: flex;
    align-items: center;
    gap: 13px;
    background: rgba(255,255,255,0.88);
    border: 1px solid rgba(219, 234, 254, 0.95);
    border-radius: 22px;
    padding: 17px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
    transition: 0.25s ease;
}

.ultra-summary-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 55px rgba(14, 165, 233, 0.15);
}

.ultra-summary-item i {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: linear-gradient(135deg, #0ea5e9, #14b8a6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ultra-summary-item span {
    display: block;
    color: #64748b;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 4px;
}

.ultra-summary-item strong {
    color: #0f172a;
    font-size: 16px;
    white-space: nowrap;
}

.ultra-accuracy-grid {
    gap: 24px !important;
    align-items: stretch;
}

.ultra-accuracy-card {
    min-height: 560px;
    display: flex;
    flex-direction: column;
    padding: 26px !important;
    border-radius: 32px !important;
    text-align: left !important;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.10), transparent 34%),
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,253,255,0.98)) !important;
    border: 1px solid rgba(186, 230, 253, 0.95) !important;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.07) !important;
}

.ultra-accuracy-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.72) 42%, transparent 62%);
    transform: translateX(-125%);
    transition: 0.75s ease;
    pointer-events: none;
}

.ultra-accuracy-card:hover::before {
    transform: translateX(125%);
}

.ultra-accuracy-card::after {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    border-radius: 999px;
    right: -75px;
    bottom: -75px;
    background: rgba(14, 165, 233, 0.09);
    pointer-events: none;
}

.ultra-stable-card::after {
    background: rgba(20, 184, 166, 0.11);
}

.ultra-top-card {
    border-top: 6px solid #0ea5e9 !important;
}

.ultra-stable-card {
    border-top: 6px solid #14b8a6 !important;
}

.ultra-accuracy-card:hover {
    transform: translateY(-12px) scale(1.012) !important;
    box-shadow: 0 32px 80px rgba(14, 165, 233, 0.20) !important;
    border-color: rgba(14, 165, 233, 0.48) !important;
}

.ultra-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.ultra-rank,
.ultra-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    padding: 9px 13px;
    font-size: 12px;
    font-weight: 950;
    white-space: nowrap;
}

.rank-gold {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
}

.rank-gold i {
    color: #f59e0b;
}

.rank-teal {
    background: #f0fdfa;
    border: 1px solid #99f6e4;
    color: #0f766e;
}

.ultra-status-badge {
    background: #e0f2fe;
    border: 1px solid #bae6fd;
    color: #0369a1;
}

.stable-badge {
    background: #f0fdfa;
    border-color: #99f6e4;
    color: #0f766e;
}

.ultra-score-area {
    display: flex;
    justify-content: center;
    margin: 6px 0 24px;
}

.ultra-score-ring {
    width: 182px;
    height: 182px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.ultra-score-ring::before {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: 999px;
    border: 1px dashed rgba(14, 165, 233, 0.32);
    animation: ultraRingSpin 9s linear infinite;
}

.ultra-score-ring::after {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 999px;
    background: white;
    box-shadow: inset 0 0 0 1px rgba(226, 232, 240, 0.9);
}

.ring-knn {
    background: conic-gradient(#0ea5e9 96%, #e5e7eb 0);
    box-shadow: 0 22px 46px rgba(14, 165, 233, 0.18);
}

.ring-dt {
    background: conic-gradient(#14b8a6 93.33%, #e5e7eb 0);
    box-shadow: 0 22px 46px rgba(20, 184, 166, 0.18);
}

.ring-svm {
    background: conic-gradient(#0284c7 96%, #e5e7eb 0);
    box-shadow: 0 22px 46px rgba(2, 132, 199, 0.18);
}

.ultra-score-inner {
    position: relative;
    z-index: 2;
    width: 118px;
    height: 118px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ultra-score-inner span {
    color: #0f172a;
    font-size: 32px;
    font-weight: 950;
    letter-spacing: -1px;
}

.ultra-score-inner small {
    color: #64748b;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.ultra-model-title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.ultra-model-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    box-shadow: 0 14px 28px rgba(14, 165, 233, 0.22);
}

.dt-icon {
    background: linear-gradient(135deg, #14b8a6, #10b981);
}

.svm-icon {
    background: linear-gradient(135deg, #0284c7, #0ea5e9);
}

.ultra-model-title h3 {
    color: #0f172a;
    font-size: 25px;
    letter-spacing: -0.6px;
    margin-bottom: 4px;
}

.ultra-model-title span {
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
}

.ultra-accuracy-card p {
    color: #64748b !important;
    line-height: 1.7 !important;
    font-size: 14px !important;
    min-height: 72px;
}

.ultra-progress {
    margin-top: auto;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 16px;
}

.ultra-progress-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 11px;
}

.ultra-progress-top span {
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.ultra-progress-top strong {
    color: #0f172a;
    font-size: 15px;
}

.ultra-progress-track {
    width: 100%;
    height: 12px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
}

.ultra-progress-fill {
    height: 100%;
    border-radius: 999px;
    position: relative;
    overflow: hidden;
}

.ultra-progress-fill::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent);
    animation: ultraProgressShine 2.1s ease-in-out infinite;
}

.fill-knn {
    width: 96%;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
}

.fill-dt {
    width: 93.33%;
    background: linear-gradient(135deg, #14b8a6, #10b981);
}

.fill-svm {
    width: 96%;
    background: linear-gradient(135deg, #0284c7, #0ea5e9);
}

.ultra-model-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.ultra-model-tags span {
    background: #eff6ff;
    border: 1px solid #dbeafe;
    color: #0369a1;
    border-radius: 999px;
    padding: 8px 11px;
    font-size: 11px;
    font-weight: 900;
}

.ultra-stable-card .ultra-model-tags span {
    background: #f0fdfa;
    border-color: #ccfbf1;
    color: #0f766e;
}

@keyframes ultraRingSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes ultraProgressShine {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(100%);
    }
}

@keyframes ultraScan {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(180%);
    }
}

@keyframes ultraBlobOne {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-18px, 20px) scale(1.08);
    }
}

@keyframes ultraBlobTwo {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(20px, -18px) scale(1.07);
    }
}

@keyframes ultraBlobThree {
    0%, 100% {
        transform: translate(-50%, 0) scale(1);
    }

    50% {
        transform: translate(-46%, 15px) scale(1.12);
    }
}

@media (max-width: 1200px) {
    .ultra-model-heading {
        grid-template-columns: 1fr;
    }

    .ultra-best-model-card {
        max-width: 360px;
    }

    .ultra-model-summary {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 850px) {
    .ultra-accuracy-card {
        min-height: auto;
    }

    .ultra-model-summary {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .ultra-model-section {
        padding: 24px !important;
        border-radius: 26px !important;
    }

    .ultra-card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .ultra-score-ring {
        width: 160px;
        height: 160px;
    }

    .ultra-score-inner {
        width: 104px;
        height: 104px;
    }

    .ultra-score-inner span {
        font-size: 28px;
    }
}

/* ========================================================= */
/* MODEL CARD BADGE CLEAN FIX */
/* Hapus rank, sisakan Top dan Easy Explain */
/* ========================================================= */

.ultra-card-header {
    justify-content: flex-end !important;
}

.ultra-rank {
    display: none !important;
}

.ultra-status-badge {
    padding: 9px 15px !important;
    font-size: 12px !important;
}

.ultra-top-card .ultra-status-badge {
    background: linear-gradient(135deg, #e0f2fe, #ccfbf1) !important;
    border: 1px solid #bae6fd !important;
    color: #0369a1 !important;
}

.ultra-stable-card .ultra-status-badge {
    background: #f0fdfa !important;
    border: 1px solid #99f6e4 !important;
    color: #0f766e !important;
}
/* ========================================================= */
/* MODEL SECTION JS ANIMATION SUPPORT */
/* ========================================================= */

.ultra-accuracy-card,
.ultra-summary-item,
.ultra-best-model-card,
.ultra-score-ring {
    will-change: transform;
}

.ultra-accuracy-card:hover {
    box-shadow: 0 32px 80px rgba(14, 165, 233, 0.20) !important;
    border-color: rgba(14, 165, 233, 0.48) !important;
}
 /* ========================================================= */
/* RESULT RECOMMENDATION ULTRA UPGRADE */
/* ========================================================= */

.result-recommendation-showcase {
    margin: 28px 0;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.13), transparent 34%),
        radial-gradient(circle at bottom left, rgba(20, 184, 166, 0.11), transparent 32%),
        rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(186, 230, 253, 0.9);
    border-radius: 30px;
    padding: 32px;
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.08);
}

.result-recommendation-showcase::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: -110px;
    top: -120px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.16), transparent 70%);
    animation: recoBlobOne 8s ease-in-out infinite;
}

.result-recommendation-showcase::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    left: -90px;
    bottom: -110px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.14), transparent 70%);
    animation: recoBlobTwo 9s ease-in-out infinite;
}

.result-recommendation-showcase > * {
    position: relative;
    z-index: 2;
}

.recommendation-showcase-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 28px;
}

.recommendation-showcase-header h2 {
    color: #0f172a;
    font-size: clamp(28px, 4vw, 40px);
    letter-spacing: -1px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #0f172a, #0369a1, #0f766e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.recommendation-showcase-header p {
    color: #64748b;
    line-height: 1.75;
}

.recommendation-category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.recommendation-category-card {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 22px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
    transition: 0.25s ease;
}

.recommendation-category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 60px rgba(14, 165, 233, 0.16);
}

.reco-category-icon,
.recommendation-main-icon {
    width: 58px;
    height: 58px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 23px;
    flex-shrink: 0;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.12);
}

.normal-reco-card .reco-category-icon,
.normal-panel .recommendation-main-icon {
    background: linear-gradient(135deg, #10b981, #14b8a6);
}

.insomnia-reco-card .reco-category-icon,
.insomnia-panel .recommendation-main-icon {
    background: linear-gradient(135deg, #f59e0b, #fb923c);
}

.apnea-reco-card .reco-category-icon,
.apnea-panel .recommendation-main-icon {
    background: linear-gradient(135deg, #ef4444, #f97316);
}

.recommendation-category-card span,
.recommendation-main-card span {
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    margin-bottom: 6px;
}

.recommendation-category-card h3,
.recommendation-main-card h3 {
    color: #0f172a;
    font-size: 20px;
    margin-bottom: 10px;
}

.recommendation-category-card ul {
    display: grid;
    gap: 9px;
    padding-left: 18px;
    color: #475569;
    line-height: 1.55;
    font-size: 14px;
}

.personal-recommendation-panel {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 22px;
    align-items: stretch;
}

.recommendation-main-card {
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.25), transparent 36%),
        linear-gradient(135deg, #0ea5e9, #14b8a6);
    color: white;
    border-radius: 28px;
    padding: 28px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 22px 55px rgba(14, 165, 233, 0.20);
}

.normal-panel .recommendation-main-card {
    background: linear-gradient(135deg, #10b981, #14b8a6);
}

.insomnia-panel .recommendation-main-card {
    background: linear-gradient(135deg, #f59e0b, #fb923c);
}

.apnea-panel .recommendation-main-card {
    background: linear-gradient(135deg, #ef4444, #f97316);
}

.recommendation-main-card::after {
    content: "";
    position: absolute;
    width: 180%;
    height: 2px;
    left: -120%;
    top: 48%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent);
    animation: recoScan 3s linear infinite;
}

.recommendation-main-card > * {
    position: relative;
    z-index: 2;
}

.recommendation-main-card span {
    color: rgba(255, 255, 255, 0.78);
    margin-top: 18px;
}

.recommendation-main-card h3 {
    color: white;
    font-size: 28px;
    letter-spacing: -0.7px;
}

.recommendation-main-card p {
    color: rgba(255, 255, 255, 0.90);
    line-height: 1.75;
}

.recommendation-alert {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-top: 22px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.recommendation-alert i {
    margin-top: 4px;
}

.recommendation-alert p {
    font-size: 13px;
    line-height: 1.65;
}

.recommendation-steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.recommendation-step-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 22px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
    transition: 0.25s ease;
}

.recommendation-step-card::after {
    content: "";
    position: absolute;
    width: 110px;
    height: 110px;
    border-radius: 999px;
    right: -48px;
    top: -48px;
    background: rgba(14, 165, 233, 0.08);
}

.recommendation-step-card:hover {
    transform: translateY(-7px);
    border-color: rgba(14, 165, 233, 0.38);
    box-shadow: 0 26px 60px rgba(14, 165, 233, 0.15);
}

.recommendation-step-card span {
    position: absolute;
    right: 18px;
    top: 14px;
    color: rgba(14, 165, 233, 0.16);
    font-size: 34px;
    font-weight: 950;
}

.recommendation-step-card i {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(135deg, #0ea5e9, #14b8a6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.insomnia-panel .recommendation-step-card i {
    background: linear-gradient(135deg, #f59e0b, #fb923c);
}

.apnea-panel .recommendation-step-card i {
    background: linear-gradient(135deg, #ef4444, #f97316);
}

.normal-panel .recommendation-step-card i {
    background: linear-gradient(135deg, #10b981, #14b8a6);
}

.recommendation-step-card h4 {
    color: #0f172a;
    font-size: 17px;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
}

.recommendation-step-card p {
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.recommendation-disclaimer-card {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-top: 22px;
    padding: 20px;
    border-radius: 22px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-left: 5px solid #f59e0b;
}

.recommendation-disclaimer-card i {
    width: 46px;
    height: 46px;
    border-radius: 15px;
    background: linear-gradient(135deg, #f59e0b, #fb923c);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.recommendation-disclaimer-card h3 {
    color: #92400e;
    margin-bottom: 6px;
}

.recommendation-disclaimer-card p {
    color: #92400e;
    line-height: 1.65;
    font-size: 14px;
}

.premium-thanks-card {
    background:
        radial-gradient(circle at top right, rgba(20, 184, 166, 0.12), transparent 34%),
        rgba(255, 255, 255, 0.96) !important;
}

@keyframes recoBlobOne {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-18px, 18px) scale(1.08);
    }
}

@keyframes recoBlobTwo {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(18px, -16px) scale(1.08);
    }
}

@keyframes recoScan {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(180%);
    }
}

@media (max-width: 1000px) {
    .personal-recommendation-panel,
    .recommendation-category-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 650px) {
    .result-recommendation-showcase {
        padding: 24px;
        border-radius: 24px;
    }

    .recommendation-steps-grid {
        grid-template-columns: 1fr;
    }

    .recommendation-main-card {
        padding: 24px;
    }

    .recommendation-main-card h3 {
        font-size: 24px;
    }

    .recommendation-disclaimer-card {
        flex-direction: column;
    }
}
/* ========================================================= */
/* FIX TABEL CSV - TETAP RAPIH TAPI BISA DIGESER */
/* ========================================================= */

.result-table-wrapper {
    overflow-x: auto;
    border-radius: 0 0 26px 26px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.result-table-wrapper::-webkit-scrollbar {
    display: none;
}

.batch-table-card {
    overflow: hidden;
}

.result-table {
    min-width: 1180px;
}

.result-table th,
.result-table td {
    vertical-align: middle;
}
/* ========================================================= */
/* RESULT CSV TABLE CLEAN FIX */
/* Khusus tabel hasil prediksi CSV */
/* ========================================================= */

.result-table-wrapper {
    overflow-x: auto;
    border-radius: 0 0 26px 26px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.result-table-wrapper::-webkit-scrollbar {
    display: none;
}

.batch-table-card {
    overflow: hidden;
}

.result-table {
    min-width: 1180px;
}

.result-table th,
.result-table td {
    vertical-align: middle;
}

.result-table th {
    white-space: normal;
    line-height: 1.35;
}

/* ========================================================= */
/* RESULT CSV TABLE GAP FIX */
/* Fix rongga putih di atas/kiri tabel hasil CSV */
/* ========================================================= */

body.result-page .batch-table-card {
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 30px !important;
}

body.result-page .batch-table-card .table-card-header {
    margin: 0 !important;
    padding: 28px 34px 24px !important;
    border-bottom: 1px solid var(--line) !important;
    border-radius: 0 !important;
    background: #ffffff !important;
}

body.result-page .batch-table-card .table-card-header h2 {
    margin: 0 0 8px !important;
}

body.result-page .batch-table-card .table-card-header p {
    margin: 0 !important;
}

body.result-page .result-table-wrapper {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    border-radius: 0 0 30px 30px !important;
    background: #ffffff !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

body.result-page .result-table-wrapper::-webkit-scrollbar {
    display: none !important;
}

body.result-page .result-table {
    margin: 0 !important;
    width: 100% !important;
    min-width: 1180px !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
}

body.result-page .result-table thead,
body.result-page .result-table thead tr {
    margin: 0 !important;
    padding: 0 !important;
    background: linear-gradient(90deg, #e0f7fa 0%, #dcfce7 100%) !important;
}

body.result-page .result-table th {
    background: transparent !important;
    padding: 18px 16px !important;
    color: #0f172a !important;
    font-size: 13px !important;
    font-weight: 950 !important;
    line-height: 1.35 !important;
    text-align: left !important;
    text-transform: uppercase !important;
    letter-spacing: 0.7px !important;
    border: 0 !important;
    border-bottom: 1px solid #cfe9ef !important;
    white-space: normal !important;
    vertical-align: middle !important;
}

body.result-page .result-table td {
    padding: 18px 16px !important;
    border-bottom: 1px solid #eef2f7 !important;
    vertical-align: middle !important;
}

body.result-page .result-table tbody tr:nth-child(even) td {
    background: #f8fdff !important;
}

body.result-page .result-table tbody tr:hover td {
    background: #eff6ff !important;
}

/* Badge prediksi tetap rapih di tabel */
body.result-page .result-table .prediction-pill {
    min-width: 130px;
    justify-content: center;
    gap: 8px;
    padding: 9px 13px !important;
}

body.result-page .result-table .normal-pill {
    background: #dcfce7 !important;
    color: #047857 !important;
    border: 1px solid #86efac !important;
}

body.result-page .result-table .insomnia-pill {
    background: #ffedd5 !important;
    color: #9a3412 !important;
    border: 1px solid #fdba74 !important;
}

body.result-page .result-table .apnea-pill {
    background: #fee2e2 !important;
    color: #991b1b !important;
    border: 1px solid #fca5a5 !important;
}
/* ========================================================= */
/* FIX WARNA LABEL HASIL MANUAL RESULT */
/* ========================================================= */

body.result-page .result-main-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: fit-content;
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
    padding: 10px 15px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    margin-bottom: 22px;
}

body.result-page .result-main-label i,
body.result-page .result-main-label span {
    color: #0369a1 !important;
}

body.result-page .result-category-label {
    display: block;
    color: #64748b !important;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
}

/* biar tulisan prediksi tetap jelas */
body.result-page .single-prediction-badge {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    justify-content: center;
    margin: 10px 0 22px;
    padding: 16px 30px;
    border-radius: 999px;
    font-size: 34px;
    font-weight: 950;
    line-height: 1.1;
}
/* ========================================================= */
/* FIX ICON REKOMENDASI RESULT */
/* Untuk icon step 02 dan Catatan Penting */
/* ========================================================= */

body.result-page .recommendation-step-card i,
body.result-page .recommendation-disclaimer-card i {
    color: #ffffff !important;
    font-size: 18px !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

body.result-page .recommendation-disclaimer-card i {
    font-size: 20px !important;
}
/* ========================================================= */
/* INPUT SUMMARY PREMIUM UPGRADE */
/* Khusus bagian Ringkasan Data Input di result manual */
/* ========================================================= */

body.result-page .input-summary-card {
    position: relative;
    overflow: hidden !important;
    border-radius: 30px !important;
    border: 1px solid rgba(186, 230, 253, 0.95) !important;
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.11), transparent 34%),
        radial-gradient(circle at bottom left, rgba(20, 184, 166, 0.10), transparent 34%),
        rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 22px 58px rgba(15, 23, 42, 0.08) !important;
}

body.result-page .input-summary-card::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    right: -95px;
    top: -110px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.15), transparent 70%);
    pointer-events: none;
}

body.result-page .input-summary-card .table-card-header {
    position: relative;
    z-index: 2;
    padding: 30px 34px 24px !important;
    background:
        radial-gradient(circle at top right, rgba(20, 184, 166, 0.12), transparent 36%),
        linear-gradient(135deg, #ffffff, #f8fdff);
}

body.result-page .input-summary-card .table-card-header h2 {
    font-size: 31px !important;
    letter-spacing: -0.8px;
    margin-bottom: 8px !important;
    background: linear-gradient(135deg, #0f172a, #0369a1, #0f766e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.result-page .input-summary-card .table-card-header p {
    color: #64748b !important;
    font-size: 16px !important;
}

body.result-page .input-summary-grid {
    position: relative;
    z-index: 2;
    padding: 28px 34px 34px !important;
    gap: 16px !important;
}

body.result-page .input-summary-item {
    position: relative;
    min-height: 96px;
    overflow: hidden;
    border-radius: 22px !important;
    border: 1px solid rgba(226, 232, 240, 0.98) !important;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.96), rgba(248,253,255,0.96)) !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.045);
    padding: 18px 18px 18px 58px !important;
    transition: 0.25s ease;
}

body.result-page .input-summary-item::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 22px;
    width: 26px;
    height: 26px;
    border-radius: 10px;
    background: linear-gradient(135deg, #0ea5e9, #14b8a6);
    box-shadow: 0 10px 22px rgba(14, 165, 233, 0.18);
}

body.result-page .input-summary-item::after {
    content: "";
    position: absolute;
    right: -42px;
    top: -42px;
    width: 92px;
    height: 92px;
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.07);
    transition: 0.25s ease;
}

body.result-page .input-summary-item:hover {
    transform: translateY(-5px);
    border-color: rgba(14, 165, 233, 0.38) !important;
    box-shadow: 0 20px 45px rgba(14, 165, 233, 0.13);
}

body.result-page .input-summary-item:hover::after {
    transform: scale(1.2);
    background: rgba(20, 184, 166, 0.09);
}

body.result-page .input-summary-item span {
    position: relative;
    z-index: 2;
    display: block;
    color: #64748b !important;
    font-size: 12px !important;
    font-weight: 950 !important;
    text-transform: uppercase;
    letter-spacing: 0.9px;
    margin-bottom: 8px !important;
}

body.result-page .input-summary-item strong {
    position: relative;
    z-index: 2;
    color: #0f172a !important;
    font-size: 20px !important;
    font-weight: 950 !important;
    letter-spacing: -0.2px;
    line-height: 1.35;
}

/* Variasi warna per item biar gak monoton */
body.result-page .input-summary-item:nth-child(2n)::before {
    background: linear-gradient(135deg, #14b8a6, #10b981);
}

body.result-page .input-summary-item:nth-child(3n)::before {
    background: linear-gradient(135deg, #0284c7, #0ea5e9);
}

body.result-page .input-summary-item:nth-child(4n)::before {
    background: linear-gradient(135deg, #38bdf8, #14b8a6);
}

/* Tekanan darah item terakhir biar tidak kosong sebelah dan tampil lebih kuat */
body.result-page .input-summary-item:last-child {
    grid-column: span 2;
    min-height: 90px;
    background:
        radial-gradient(circle at top right, rgba(20, 184, 166, 0.12), transparent 34%),
        linear-gradient(135deg, #f8fdff, #f0fdfa) !important;
    border-color: #ccfbf1 !important;
}

body.result-page .input-summary-item:last-child strong {
    font-size: 22px !important;
}

/* Responsive */
@media (max-width: 760px) {
    body.result-page .input-summary-grid {
        grid-template-columns: 1fr !important;
        padding: 24px !important;
    }

    body.result-page .input-summary-item:last-child {
        grid-column: span 1;
    }

    body.result-page .input-summary-card .table-card-header {
        padding: 24px !important;
    }

    body.result-page .input-summary-item {
        padding-left: 56px !important;
    }
}
/* ========================================================= */
/* RESULT PERSONALIZED INSIGHT UPGRADE */
/* Khusus result page: rekomendasi personal dari input user */
/* ========================================================= */

body.result-page .personalized-insight-section {
    position: relative;
    overflow: hidden;
    margin: 28px 0 0;
    padding: 32px;
    border-radius: 30px;
    border: 1px solid rgba(186, 230, 253, 0.95);
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.13), transparent 34%),
        radial-gradient(circle at bottom left, rgba(20, 184, 166, 0.11), transparent 34%),
        rgba(255, 255, 255, 0.98);
    box-shadow: 0 22px 58px rgba(15, 23, 42, 0.08);
}

body.result-page .personalized-insight-section::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: -120px;
    top: -125px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.18), transparent 70%);
    animation: personalBlobOne 8s ease-in-out infinite;
    pointer-events: none;
}

body.result-page .personalized-insight-section::after {
    content: "";
    position: absolute;
    width: 230px;
    height: 230px;
    left: -100px;
    bottom: -120px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.15), transparent 70%);
    animation: personalBlobTwo 9s ease-in-out infinite;
    pointer-events: none;
}

body.result-page .personalized-insight-section > * {
    position: relative;
    z-index: 2;
}

body.result-page .personalized-insight-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 28px;
}

body.result-page .personalized-insight-header h2 {
    color: #0f172a;
    font-size: clamp(28px, 4vw, 40px);
    letter-spacing: -1px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #0f172a, #0369a1, #0f766e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.result-page .personalized-insight-header p {
    color: #64748b;
    line-height: 1.75;
}

body.result-page .personalized-insight-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

body.result-page .personalized-insight-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    min-height: 170px;
    padding: 22px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #e2e8f0;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.055);
    position: relative;
    overflow: hidden;
    transition: 0.25s ease;
}

body.result-page .personalized-insight-card::after {
    content: "";
    position: absolute;
    width: 130px;
    height: 130px;
    right: -60px;
    top: -60px;
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.08);
    transition: 0.25s ease;
}

body.result-page .personalized-insight-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 26px 62px rgba(14, 165, 233, 0.15);
    border-color: rgba(14, 165, 233, 0.36);
}

body.result-page .personalized-insight-card:hover::after {
    transform: scale(1.18);
}

body.result-page .personalized-icon {
    width: 58px;
    height: 58px;
    border-radius: 20px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
    flex-shrink: 0;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.12);
    position: relative;
    z-index: 2;
}

body.result-page .good-insight .personalized-icon {
    background: linear-gradient(135deg, #10b981, #14b8a6);
}

body.result-page .medium-insight .personalized-icon {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
}

body.result-page .warning-insight .personalized-icon {
    background: linear-gradient(135deg, #f59e0b, #fb923c);
}

body.result-page .personalized-insight-card div:last-child {
    position: relative;
    z-index: 2;
}

body.result-page .personalized-insight-card span {
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    margin-bottom: 7px;
}

body.result-page .personalized-insight-card h3 {
    color: #0f172a;
    font-size: 20px;
    letter-spacing: -0.3px;
    margin-bottom: 9px;
}

body.result-page .personalized-insight-card p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.68;
}

body.result-page .personalized-insight-card strong {
    color: #0f172a;
}

/* Patch icon Font Awesome yang sebelumnya kosong */
body.result-page .recommendation-step-card i,
body.result-page .recommendation-disclaimer-card i,
body.result-page .personalized-icon i {
    color: #ffffff !important;
    font-size: 18px !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Patch label hasil analisis supaya tidak putih ketimpa */
body.result-page .result-main-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: fit-content;
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
    padding: 10px 15px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    margin-bottom: 22px;
}

body.result-page .result-main-label i,
body.result-page .result-main-label span {
    color: #0369a1 !important;
}

/* Patch ringkasan input tetap premium dan tidak lebih jelek dari sekarang */
body.result-page .input-summary-card {
    position: relative;
    overflow: hidden !important;
    border-radius: 30px !important;
    border: 1px solid rgba(186, 230, 253, 0.95) !important;
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.11), transparent 34%),
        radial-gradient(circle at bottom left, rgba(20, 184, 166, 0.10), transparent 34%),
        rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 22px 58px rgba(15, 23, 42, 0.08) !important;
}

body.result-page .input-summary-grid {
    padding: 28px 34px 34px !important;
    gap: 16px !important;
}

body.result-page .input-summary-item {
    position: relative;
    min-height: 96px;
    overflow: hidden;
    border-radius: 22px !important;
    border: 1px solid rgba(226, 232, 240, 0.98) !important;
    background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(248,253,255,0.96)) !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.045);
    padding: 18px 18px 18px 58px !important;
    transition: 0.25s ease;
}

body.result-page .input-summary-item::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 22px;
    width: 26px;
    height: 26px;
    border-radius: 10px;
    background: linear-gradient(135deg, #0ea5e9, #14b8a6);
    box-shadow: 0 10px 22px rgba(14, 165, 233, 0.18);
}

body.result-page .input-summary-item:hover {
    transform: translateY(-5px);
    border-color: rgba(14, 165, 233, 0.38) !important;
    box-shadow: 0 20px 45px rgba(14, 165, 233, 0.13);
}

body.result-page .input-summary-item strong {
    color: #0f172a !important;
    font-size: 20px !important;
    font-weight: 950 !important;
}

body.result-page .input-summary-item:last-child {
    grid-column: span 2;
    background:
        radial-gradient(circle at top right, rgba(20, 184, 166, 0.12), transparent 34%),
        linear-gradient(135deg, #f8fdff, #f0fdfa) !important;
    border-color: #ccfbf1 !important;
}

@keyframes personalBlobOne {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-18px, 18px) scale(1.08);
    }
}

@keyframes personalBlobTwo {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(18px, -16px) scale(1.08);
    }
}

@media (max-width: 920px) {
    body.result-page .personalized-insight-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    body.result-page .personalized-insight-section {
        padding: 24px;
        border-radius: 24px;
    }

    body.result-page .personalized-insight-card {
        flex-direction: column;
    }

    body.result-page .input-summary-grid {
        grid-template-columns: 1fr !important;
        padding: 24px !important;
    }

    body.result-page .input-summary-item:last-child {
        grid-column: span 1;
    }
}
/* ========================================================= */
/* CSV RESULT SUMMARY PREMIUM */
/* Khusus Result CSV: summary total, kategori, dominan */
/* ========================================================= */

body.result-page .csv-advanced-summary-section {
    position: relative;
    overflow: hidden;
    margin: 28px 0;
    padding: 34px;
    border-radius: 32px;
    border: 1px solid rgba(186, 230, 253, 0.95);
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.13), transparent 34%),
        radial-gradient(circle at bottom left, rgba(20, 184, 166, 0.12), transparent 36%),
        rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 62px rgba(15, 23, 42, 0.085);
}

body.result-page .csv-advanced-summary-section::before {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    right: -130px;
    top: -140px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.18), transparent 70%);
    animation: csvSummaryBlobOne 8s ease-in-out infinite;
    pointer-events: none;
}

body.result-page .csv-advanced-summary-section::after {
    content: "";
    position: absolute;
    width: 230px;
    height: 230px;
    left: -110px;
    bottom: -120px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.15), transparent 70%);
    animation: csvSummaryBlobTwo 9s ease-in-out infinite;
    pointer-events: none;
}

body.result-page .csv-advanced-summary-section > * {
    position: relative;
    z-index: 2;
}

body.result-page .csv-advanced-summary-header {
    display: grid;
    grid-template-columns: 1fr 290px;
    gap: 24px;
    align-items: stretch;
    margin-bottom: 24px;
}

body.result-page .csv-advanced-summary-header h2 {
    color: #0f172a;
    font-size: clamp(28px, 4vw, 40px);
    letter-spacing: -1px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #0f172a, #0369a1, #0f766e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.result-page .csv-advanced-summary-header p {
    color: #64748b;
    line-height: 1.75;
    max-width: 720px;
}

body.result-page .csv-dominant-card {
    min-height: 170px;
    border-radius: 26px;
    padding: 24px;
    color: white;
    background:
        radial-gradient(circle at top right, rgba(255,255,255,0.28), transparent 38%),
        linear-gradient(135deg, #0ea5e9, #14b8a6);
    box-shadow: 0 22px 45px rgba(14, 165, 233, 0.22);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: 0.25s ease;
}

body.result-page .csv-dominant-card span {
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 10px;
}

body.result-page .csv-dominant-card strong {
    font-size: 31px;
    line-height: 1.1;
    letter-spacing: -0.8px;
    margin-bottom: 10px;
}

body.result-page .csv-dominant-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

body.result-page .csv-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 18px;
}

body.result-page .csv-stat-card {
    position: relative;
    min-height: 178px;
    overflow: hidden;
    padding: 22px;
    border-radius: 26px;
    border: 1px solid rgba(226, 232, 240, 0.98);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.055);
    transition: 0.25s ease;
}

body.result-page .csv-stat-card::after {
    content: "";
    position: absolute;
    width: 130px;
    height: 130px;
    right: -62px;
    top: -62px;
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.08);
    transition: 0.25s ease;
}

body.result-page .csv-stat-card:hover {
    transform: translateY(-7px);
    border-color: rgba(14, 165, 233, 0.38);
    box-shadow: 0 26px 62px rgba(14, 165, 233, 0.15);
}

body.result-page .csv-stat-card:hover::after {
    transform: scale(1.18);
}

body.result-page .csv-stat-icon {
    width: 58px;
    height: 58px;
    border-radius: 20px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
    margin-bottom: 18px;
    position: relative;
    z-index: 2;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.12);
}

body.result-page .total-card .csv-stat-icon {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
}

body.result-page .normal-card .csv-stat-icon {
    background: linear-gradient(135deg, #10b981, #14b8a6);
}

body.result-page .insomnia-card .csv-stat-icon {
    background: linear-gradient(135deg, #f59e0b, #fb923c);
}

body.result-page .apnea-card .csv-stat-icon {
    background: linear-gradient(135deg, #ef4444, #f97316);
}

body.result-page .csv-stat-card span,
body.result-page .csv-stat-card h3,
body.result-page .csv-stat-card p {
    position: relative;
    z-index: 2;
}

body.result-page .csv-stat-card span {
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    margin-bottom: 8px;
}

body.result-page .csv-stat-card h3 {
    color: #0f172a;
    font-size: 42px;
    letter-spacing: -1.2px;
    margin-bottom: 8px;
}

body.result-page .csv-stat-card p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

body.result-page .csv-distribution-panel {
    padding: 24px;
    border-radius: 26px;
    border: 1px solid rgba(186, 230, 253, 0.95);
    background:
        radial-gradient(circle at top right, rgba(20, 184, 166, 0.10), transparent 34%),
        linear-gradient(135deg, #ffffff, #f8fdff);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.055);
    transition: 0.25s ease;
}

body.result-page .csv-distribution-top {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 20px;
}

body.result-page .csv-distribution-top h3 {
    color: #0f172a;
    font-size: 24px;
    letter-spacing: -0.4px;
    margin-bottom: 6px;
}

body.result-page .csv-distribution-top p {
    color: #64748b;
    line-height: 1.6;
}

body.result-page .csv-distribution-top > span {
    flex-shrink: 0;
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
    border-radius: 999px;
    padding: 10px 15px;
    font-size: 13px;
    font-weight: 950;
}

body.result-page .csv-progress-list {
    display: grid;
    gap: 16px;
}

body.result-page .csv-progress-info {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-bottom: 9px;
}

body.result-page .csv-progress-info span {
    color: #334155;
    font-weight: 900;
}

body.result-page .csv-progress-info strong {
    color: #0f172a;
    font-size: 14px;
}

body.result-page .csv-progress-track {
    height: 13px;
    overflow: hidden;
    border-radius: 999px;
    background: #e2e8f0;
    border: 1px solid rgba(203, 213, 225, 0.9);
}

body.result-page .csv-progress-fill {
    height: 100%;
    min-width: 8px;
    border-radius: inherit;
    animation: csvProgressGrow 1s ease both;
}

body.result-page .normal-progress .csv-progress-fill {
    background: linear-gradient(90deg, #10b981, #14b8a6);
}

body.result-page .insomnia-progress .csv-progress-fill {
    background: linear-gradient(90deg, #f59e0b, #fb923c);
}

body.result-page .apnea-progress .csv-progress-fill {
    background: linear-gradient(90deg, #ef4444, #f97316);
}

body.result-page .csv-stat-icon i {
    color: #ffffff !important;
}

/* Table CSV tetap clean dari fix sebelumnya */
body.result-page .batch-table-card {
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 30px !important;
}

body.result-page .batch-table-card .table-card-header {
    margin: 0 !important;
    padding: 28px 34px 24px !important;
    background: #ffffff !important;
}

body.result-page .result-table-wrapper {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    border-radius: 0 0 30px 30px !important;
    background: #ffffff !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

body.result-page .result-table-wrapper::-webkit-scrollbar {
    display: none !important;
}

body.result-page .result-table {
    margin: 0 !important;
    width: 100% !important;
    min-width: 1180px !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
}

body.result-page .result-table thead,
body.result-page .result-table thead tr {
    background: linear-gradient(90deg, #e0f7fa 0%, #dcfce7 100%) !important;
}

body.result-page .result-table th {
    background: transparent !important;
    padding: 18px 16px !important;
    color: #0f172a !important;
    font-size: 13px !important;
    font-weight: 950 !important;
    line-height: 1.35 !important;
    text-align: left !important;
    text-transform: uppercase !important;
    letter-spacing: 0.7px !important;
    border: 0 !important;
    border-bottom: 1px solid #cfe9ef !important;
    white-space: normal !important;
    vertical-align: middle !important;
}

body.result-page .result-table td {
    padding: 18px 16px !important;
    border-bottom: 1px solid #eef2f7 !important;
    vertical-align: middle !important;
}

body.result-page .result-table tbody tr:nth-child(even) td {
    background: #f8fdff !important;
}

body.result-page .result-table tbody tr:hover td {
    background: #eff6ff !important;
}

@keyframes csvSummaryBlobOne {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-20px, 18px) scale(1.08);
    }
}

@keyframes csvSummaryBlobTwo {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(18px, -16px) scale(1.08);
    }
}

@keyframes csvProgressGrow {
    from {
        width: 0;
        opacity: 0.4;
    }

    to {
        opacity: 1;
    }
}

@media (max-width: 1050px) {
    body.result-page .csv-advanced-summary-header,
    body.result-page .csv-stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    body.result-page .csv-dominant-card {
        grid-column: span 2;
    }
}

@media (max-width: 700px) {
    body.result-page .csv-advanced-summary-section {
        padding: 24px;
        border-radius: 24px;
    }

    body.result-page .csv-advanced-summary-header,
    body.result-page .csv-stat-grid {
        grid-template-columns: 1fr;
    }

    body.result-page .csv-dominant-card {
        grid-column: span 1;
    }

    body.result-page .csv-distribution-top,
    body.result-page .csv-progress-info {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Fix progress bar JS version */
body.result-page .csv-progress-fill {
    width: 0%;
    min-width: 0;
}
/* ========================================================= */
/* HISTORY ADVANCED UPGRADE */
/* Statistik, filter, search, dan card premium */
/* ========================================================= */

body.history-page .history-main {
    position: relative;
    overflow: hidden;
}

body.history-page .history-main::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    top: -130px;
    right: -130px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.14), transparent 70%);
    pointer-events: none;
}

body.history-page .history-main::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    left: -120px;
    bottom: -120px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.13), transparent 70%);
    pointer-events: none;
}

body.history-page .history-main > * {
    position: relative;
    z-index: 2;
}

body.history-page .history-note-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 26px;
    padding: 22px 24px;
    border-radius: 24px;
    border: 1px solid #bae6fd;
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.10), transparent 32%),
        linear-gradient(135deg, #ffffff, #f8fdff);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.055);
}

body.history-page .history-note-icon {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: linear-gradient(135deg, #0ea5e9, #14b8a6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    box-shadow: 0 14px 28px rgba(14, 165, 233, 0.20);
}

body.history-page .history-note-card h3 {
    color: #0f172a;
    margin-bottom: 7px;
    font-size: 20px;
}

body.history-page .history-note-card p {
    color: #64748b;
    line-height: 1.7;
}

/* Statistik */
body.history-page .history-advanced-panel {
    margin-bottom: 28px;
    padding: 30px;
    border-radius: 32px;
    border: 1px solid rgba(186, 230, 253, 0.95);
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.12), transparent 34%),
        radial-gradient(circle at bottom left, rgba(20, 184, 166, 0.10), transparent 34%),
        rgba(255, 255, 255, 0.98);
    box-shadow: 0 22px 58px rgba(15, 23, 42, 0.08);
}

body.history-page .history-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 18px;
}

body.history-page .history-stat-card {
    position: relative;
    overflow: hidden;
    min-height: 168px;
    padding: 22px;
    border-radius: 26px;
    border: 1px solid rgba(226, 232, 240, 0.98);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.055);
    transition: 0.25s ease;
}

body.history-page .history-stat-card::after {
    content: "";
    position: absolute;
    width: 135px;
    height: 135px;
    right: -65px;
    top: -65px;
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.08);
    transition: 0.25s ease;
}

body.history-page .history-stat-card:hover {
    border-color: rgba(14, 165, 233, 0.38);
    box-shadow: 0 26px 62px rgba(14, 165, 233, 0.15);
}

body.history-page .history-stat-card:hover::after {
    transform: scale(1.18);
}

body.history-page .history-stat-icon {
    position: relative;
    z-index: 2;
    width: 58px;
    height: 58px;
    border-radius: 20px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
    margin-bottom: 18px;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.12);
}

body.history-page .total-history-stat .history-stat-icon {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
}

body.history-page .normal-history-stat .history-stat-icon {
    background: linear-gradient(135deg, #10b981, #14b8a6);
}

body.history-page .insomnia-history-stat .history-stat-icon {
    background: linear-gradient(135deg, #f59e0b, #fb923c);
}

body.history-page .apnea-history-stat .history-stat-icon {
    background: linear-gradient(135deg, #ef4444, #f97316);
}

body.history-page .history-stat-card span,
body.history-page .history-stat-card h3,
body.history-page .history-stat-card p {
    position: relative;
    z-index: 2;
}

body.history-page .history-stat-card span {
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    margin-bottom: 8px;
}

body.history-page .history-stat-card h3 {
    color: #0f172a;
    font-size: 42px;
    letter-spacing: -1.2px;
    margin-bottom: 8px;
}

body.history-page .history-stat-card p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

/* Search dan filter */
body.history-page .history-tool-panel {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 16px;
    border-radius: 24px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: linear-gradient(135deg, #ffffff, #f8fdff);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
}

body.history-page .history-search-box {
    position: relative;
}

body.history-page .history-search-box i {
    position: absolute;
    left: 17px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}

body.history-page .history-search-box input {
    width: 100%;
    min-height: 52px;
    border: 1px solid #cbd5e1;
    border-radius: 16px;
    background: #f8fafc;
    color: #0f172a;
    padding: 14px 16px 14px 46px;
    font-size: 15px;
    outline: none;
    transition: 0.25s ease;
}

body.history-page .history-search-box input:focus {
    background: white;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.12);
}

body.history-page .history-filter-tabs {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
}

body.history-page .history-filter-btn {
    border: 1px solid #bae6fd;
    background: #e0f2fe;
    color: #0369a1;
    padding: 12px 15px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 950;
    cursor: pointer;
    transition: 0.25s ease;
}

body.history-page .history-filter-btn:hover,
body.history-page .history-filter-btn.active {
    color: white;
    background: linear-gradient(135deg, #0ea5e9, #14b8a6);
    border-color: transparent;
    box-shadow: 0 14px 28px rgba(14, 165, 233, 0.20);
    transform: translateY(-2px);
}

body.history-page .history-result-counter {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 16px;
    color: #0369a1;
    background: #e0f2fe;
    border: 1px solid #bae6fd;
    border-radius: 999px;
    padding: 10px 15px;
    font-size: 13px;
    font-weight: 900;
}

/* Premium card history */
body.history-page .premium-history-list {
    align-items: stretch;
}

body.history-page .premium-history-card {
    border-radius: 30px;
    padding: 30px;
    border: 1px solid rgba(226, 232, 240, 0.98);
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.08), transparent 35%),
        rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.075);
    transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

body.history-page .premium-history-card:hover {
    box-shadow: 0 30px 70px rgba(14, 165, 233, 0.16);
}

body.history-page .history-card-icon {
    box-shadow: 0 14px 28px rgba(14, 165, 233, 0.20);
}

body.history-page .history-normal .history-card-icon,
body.history-page .history-normal .history-card-header h2 i {
    color: #10b981;
}

body.history-page .history-insomnia .history-card-icon,
body.history-page .history-insomnia .history-card-header h2 i {
    color: #f59e0b;
}

body.history-page .history-apnea .history-card-icon,
body.history-page .history-apnea .history-card-header h2 i {
    color: #ef4444;
}

body.history-page .history-card-icon i {
    color: white !important;
}

body.history-page .history-normal .history-card-icon {
    background: linear-gradient(135deg, #10b981, #14b8a6);
}

body.history-page .history-insomnia .history-card-icon {
    background: linear-gradient(135deg, #f59e0b, #fb923c);
}

body.history-page .history-apnea .history-card-icon {
    background: linear-gradient(135deg, #ef4444, #f97316);
}

body.history-page .history-card-header h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.4px;
}

body.history-page .history-result-desc {
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
    padding: 16px 18px;
    border-radius: 18px;
    background: #f8fdff;
    border: 1px solid #dbeafe;
}

body.history-page .history-result-desc p {
    color: #64748b;
    line-height: 1.7;
}

body.history-page .history-result-desc strong {
    color: #0f172a;
}

body.history-page .history-data-item {
    border-radius: 16px;
    background: linear-gradient(135deg, #ffffff, #f8fdff);
    transition: 0.22s ease;
}

body.history-page .history-data-item:hover {
    border-color: #bae6fd;
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(14, 165, 233, 0.09);
}

body.history-page .history-bp-item {
    grid-column: span 2;
    background:
        radial-gradient(circle at top right, rgba(20, 184, 166, 0.11), transparent 35%),
        linear-gradient(135deg, #f8fdff, #f0fdfa);
    border-color: #ccfbf1;
}

body.history-page .history-hidden-card {
    display: none !important;
}

body.history-page .history-no-result-card {
    display: none;
    text-align: center;
    max-width: 650px;
    margin: 26px auto 0;
    padding: 34px;
    border-radius: 30px;
    border: 1px solid #bae6fd;
    background: linear-gradient(135deg, #ffffff, #f8fdff);
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.075);
}

body.history-page .history-no-result-card.show {
    display: block;
}

body.history-page .history-no-result-icon {
    width: 68px;
    height: 68px;
    border-radius: 22px;
    margin: 0 auto 18px;
    background: linear-gradient(135deg, #0ea5e9, #14b8a6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 16px 30px rgba(14, 165, 233, 0.20);
}

body.history-page .history-no-result-card h2 {
    color: #0f172a;
    margin-bottom: 10px;
}

body.history-page .history-no-result-card p {
    color: #64748b;
    line-height: 1.7;
}

@media (max-width: 1100px) {
    body.history-page .history-stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    body.history-page .history-tool-panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    body.history-page .history-advanced-panel {
        padding: 22px;
        border-radius: 24px;
    }

    body.history-page .history-stat-grid {
        grid-template-columns: 1fr;
    }

    body.history-page .history-filter-tabs {
        width: 100%;
    }

    body.history-page .history-filter-btn {
        flex: 1;
    }

    body.history-page .history-bp-item {
        grid-column: span 1;
    }

    body.history-page .history-note-card {
        flex-direction: column;
    }
}

/* ========================================================= */
/* HISTORY MERGED CLEAN FIX */
/* Menggabungkan total riwayat + filter + tombol agar tidak dobel */
/* ========================================================= */

body.history-page .history-advanced-panel {
    margin-top: 0 !important;
}

body.history-page .history-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 16px;
}

body.history-page .history-bottom-row .history-result-counter {
    margin-top: 0 !important;
}

body.history-page .history-merged-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

body.history-page .history-merged-actions .primary-action-btn,
body.history-page .history-merged-actions .secondary-action-btn {
    min-height: 48px;
    padding: 13px 20px;
}

body.history-page .history-note-card {
    margin-bottom: 26px !important;
}

@media (max-width: 760px) {
    body.history-page .history-bottom-row {
        align-items: stretch;
        flex-direction: column;
    }

    body.history-page .history-merged-actions {
        width: 100%;
        flex-direction: column;
    }

    body.history-page .history-merged-actions .primary-action-btn,
    body.history-page .history-merged-actions .secondary-action-btn {
        width: 100%;
    }
}
/* ========================================================= */
/* MANUAL INPUT SMART HELPER */
/* Khusus halaman input manual */
/* ========================================================= */

body.manual-page .manual-smart-helper-section {
    position: relative;
    overflow: hidden;
    padding: 32px;
    border-radius: 32px;
    border: 1px solid rgba(186, 230, 253, 0.95);
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.13), transparent 34%),
        radial-gradient(circle at bottom left, rgba(20, 184, 166, 0.11), transparent 36%),
        rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 62px rgba(15, 23, 42, 0.085);
}

body.manual-page .manual-smart-helper-section::before {
    content: "";
    position: absolute;
    width: 270px;
    height: 270px;
    right: -130px;
    top: -135px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.18), transparent 70%);
    animation: helperBlobOne 8s ease-in-out infinite;
    pointer-events: none;
}

body.manual-page .manual-smart-helper-section::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    left: -105px;
    bottom: -115px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.15), transparent 70%);
    animation: helperBlobTwo 9s ease-in-out infinite;
    pointer-events: none;
}

body.manual-page .manual-smart-helper-section > * {
    position: relative;
    z-index: 2;
}

body.manual-page .smart-helper-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 26px;
}

body.manual-page .smart-helper-header h2 {
    color: #0f172a;
    font-size: clamp(28px, 4vw, 40px);
    letter-spacing: -1px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #0f172a, #0369a1, #0f766e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.manual-page .smart-helper-header p {
    color: #64748b;
    line-height: 1.75;
}

body.manual-page .smart-helper-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

body.manual-page .smart-helper-card {
    position: relative;
    overflow: hidden;
    min-height: 245px;
    padding: 22px;
    border-radius: 26px;
    border: 1px solid rgba(226, 232, 240, 0.98);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.055);
    transition: 0.25s ease;
}

body.manual-page .smart-helper-card::after {
    content: "";
    position: absolute;
    width: 135px;
    height: 135px;
    right: -65px;
    top: -65px;
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.08);
    transition: 0.25s ease;
}

body.manual-page .smart-helper-card:hover {
    border-color: rgba(14, 165, 233, 0.38);
    box-shadow: 0 26px 62px rgba(14, 165, 233, 0.15);
}

body.manual-page .smart-helper-card:hover::after {
    transform: scale(1.18);
}

body.manual-page .smart-helper-icon {
    position: relative;
    z-index: 2;
    width: 58px;
    height: 58px;
    border-radius: 20px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
    margin-bottom: 18px;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.12);
}

body.manual-page .sleep-icon {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
}

body.manual-page .activity-icon {
    background: linear-gradient(135deg, #10b981, #14b8a6);
}

body.manual-page .stress-icon {
    background: linear-gradient(135deg, #f59e0b, #fb923c);
}

body.manual-page .bp-icon {
    background: linear-gradient(135deg, #ef4444, #f97316);
}

body.manual-page .smart-helper-card span,
body.manual-page .smart-helper-card h3,
body.manual-page .helper-scale-list,
body.manual-page .helper-bp-grid {
    position: relative;
    z-index: 2;
}

body.manual-page .smart-helper-card span {
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    margin-bottom: 8px;
}

body.manual-page .smart-helper-card h3 {
    color: #0f172a;
    font-size: 20px;
    letter-spacing: -0.3px;
    margin-bottom: 14px;
}

body.manual-page .helper-scale-list,
body.manual-page .helper-bp-grid {
    display: grid;
    gap: 9px;
}

body.manual-page .helper-scale-list div,
body.manual-page .helper-bp-grid div {
    padding: 11px 12px;
    border-radius: 15px;
    background: #f8fdff;
    border: 1px solid #dbeafe;
}

body.manual-page .helper-scale-list strong,
body.manual-page .helper-bp-grid strong {
    display: block;
    color: #0f172a;
    font-size: 14px;
    margin-bottom: 3px;
}

body.manual-page .helper-scale-list p,
body.manual-page .helper-bp-grid p {
    color: #64748b;
    font-size: 13px;
    line-height: 1.45;
}

body.manual-page .smart-helper-note {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-top: 18px;
    padding: 18px 20px;
    border-radius: 20px;
    border: 1px solid #fde68a;
    background: #fffbeb;
    color: #92400e;
}

body.manual-page .smart-helper-note i {
    color: #f59e0b;
    margin-top: 4px;
}

body.manual-page .smart-helper-note p {
    line-height: 1.65;
}

/* Live hint kecil di bawah input */
body.manual-page .manual-live-hint {
    display: none;
    padding: 11px 13px;
    border-radius: 14px;
    background: #eff6ff;
    border: 1px solid #bae6fd;
    color: #0369a1;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.45;
}

body.manual-page .manual-live-hint.active {
    display: block;
    animation: hintFadeIn 0.25s ease both;
}

body.manual-page .manual-form-group small {
    line-height: 1.55;
}

@keyframes hintFadeIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes helperBlobOne {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-20px, 18px) scale(1.08);
    }
}

@keyframes helperBlobTwo {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(18px, -16px) scale(1.08);
    }
}

@media (max-width: 1120px) {
    body.manual-page .smart-helper-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    body.manual-page .manual-smart-helper-section {
        padding: 24px;
        border-radius: 24px;
    }

    body.manual-page .smart-helper-grid {
        grid-template-columns: 1fr;
    }

    body.manual-page .smart-helper-card {
        min-height: auto;
    }

    body.manual-page .smart-helper-note {
        flex-direction: column;
    }
}
/* ========================================================= */
/* AUTH PREMIUM UPGRADE */
/* Login & Register page only */
/* ========================================================= */

body.auth-page.premium-auth-page {
    background:
        radial-gradient(circle at top left, rgba(14, 165, 233, 0.16), transparent 30%),
        radial-gradient(circle at bottom right, rgba(20, 184, 166, 0.15), transparent 32%),
        linear-gradient(135deg, #f8fafc 0%, #ecfeff 45%, #f0fdfa 100%);
}

body.auth-page .premium-auth-main {
    position: relative;
    min-height: calc(100vh - 68px);
    grid-template-columns: 1.05fr 0.95fr;
    border-radius: 38px;
    border: 1px solid rgba(186, 230, 253, 0.90);
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.13);
    overflow: hidden;
}

body.auth-page .premium-auth-main::before {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    top: -150px;
    right: -150px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.18), transparent 70%);
    pointer-events: none;
    z-index: 1;
}

body.auth-page .premium-auth-visual,
body.auth-page .premium-auth-card {
    position: relative;
    z-index: 2;
}

body.auth-page .premium-auth-visual {
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.24), transparent 34%),
        radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.15), transparent 34%),
        linear-gradient(145deg, #0f766e 0%, #0284c7 52%, #0ea5e9 100%);
}

body.auth-page .premium-auth-visual::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    right: -150px;
    top: -150px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
}

body.auth-page .premium-auth-visual::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    left: -120px;
    bottom: -120px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
}

body.auth-page .auth-logo,
body.auth-page .auth-visual-content,
body.auth-page .auth-visual-orbit {
    position: relative;
    z-index: 2;
}

body.auth-page .premium-auth-visual .section-badge {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.22);
    color: white;
    backdrop-filter: blur(12px);
}

body.auth-page .premium-auth-feature-list div {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(12px);
    transition: 0.25s ease;
}

body.auth-page .premium-auth-feature-list div::after {
    content: "";
    position: absolute;
    width: 90px;
    height: 90px;
    right: -45px;
    top: -45px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
}

body.auth-page .premium-auth-feature-list div:hover {
    transform: translateX(6px);
    background: rgba(255, 255, 255, 0.19);
}

body.auth-page .auth-visual-orbit {
    height: 230px;
    margin-top: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.auth-page .auth-orbit-ring {
    position: absolute;
    width: 210px;
    height: 210px;
    border-radius: 999px;
    border: 1px dashed rgba(255, 255, 255, 0.35);
    animation: authOrbitSpin 12s linear infinite;
}

body.auth-page .auth-orbit-ring::before {
    content: "";
    position: absolute;
    inset: 30px;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.20);
}

body.auth-page .auth-orbit-icon {
    width: 92px;
    height: 92px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(16px);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.15);
}

body.auth-page .auth-mini-bubble {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 14px;
    border-radius: 999px;
    color: white;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(14px);
    font-size: 13px;
    font-weight: 850;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

body.auth-page .bubble-one {
    top: 18px;
    left: 50px;
}

body.auth-page .bubble-two {
    right: 38px;
    top: 86px;
}

body.auth-page .bubble-three {
    bottom: 20px;
    left: 90px;
}

body.auth-page .premium-auth-card {
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.08), transparent 32%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 253, 255, 0.99));
}

body.auth-page .auth-card-header {
    position: relative;
}

body.auth-page .auth-card-header .auth-icon {
    width: 72px;
    height: 72px;
    border-radius: 24px;
    background: linear-gradient(135deg, #0ea5e9, #14b8a6);
    box-shadow: 0 18px 36px rgba(14, 165, 233, 0.24);
}

body.auth-page .auth-mini-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin: 0 auto 10px;
    color: #0369a1;
    background: #e0f2fe;
    border: 1px solid #bae6fd;
    border-radius: 999px;
    padding: 8px 13px;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

body.auth-page .premium-auth-form {
    gap: 20px;
}

body.auth-page .auth-form-group label {
    color: #475569;
    font-size: 13px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

body.auth-page .auth-input-wrapper input {
    min-height: 54px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 17px;
    transition: 0.25s ease;
}

body.auth-page .auth-input-wrapper input:focus {
    background: white;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.12);
}

body.auth-page .password-wrapper input {
    padding-right: 52px;
}

body.auth-page .password-toggle {
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 13px;
    color: #0284c7;
    background: #e0f2fe;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.auth-page .password-toggle i {
    position: static;
    transform: none;
    color: inherit;
}

body.auth-page .auth-form-extra {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    color: #64748b;
    font-size: 13px;
}

body.auth-page .remember-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    cursor: pointer;
}

body.auth-page .remember-check input {
    accent-color: #0ea5e9;
}

body.auth-page .auth-help-text {
    color: #0284c7;
    font-weight: 800;
}

body.auth-page .auth-submit-btn {
    min-height: 56px;
    border-radius: 17px;
    font-size: 16px;
}

body.auth-page .premium-auth-switch {
    padding: 17px;
    border-radius: 18px;
    background: #f8fdff;
    border: 1px solid #dbeafe;
}

body.auth-page .password-match-hint {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 15px;
    border-radius: 16px;
    background: #eff6ff;
    border: 1px solid #bae6fd;
    color: #0369a1;
    font-size: 13px;
    font-weight: 800;
}

body.auth-page .password-match-hint.match {
    background: #dcfce7;
    border-color: #86efac;
    color: #047857;
}

body.auth-page .password-match-hint.not-match {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #991b1b;
}

@keyframes authOrbitSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 1100px) {
    body.auth-page .premium-auth-main {
        grid-template-columns: 1fr;
    }

    body.auth-page .auth-visual-orbit {
        min-height: 210px;
    }
}

@media (max-width: 700px) {
    body.auth-page .premium-auth-main {
        border-radius: 26px;
    }

    body.auth-page .premium-auth-visual,
    body.auth-page .premium-auth-card {
        padding: 30px 22px;
    }

    body.auth-page .auth-visual-orbit {
        height: 190px;
    }

    body.auth-page .auth-orbit-ring {
        width: 180px;
        height: 180px;
    }

    body.auth-page .auth-orbit-icon {
        width: 78px;
        height: 78px;
        font-size: 30px;
    }

    body.auth-page .auth-mini-bubble {
        font-size: 12px;
        padding: 9px 11px;
    }

    body.auth-page .bubble-one {
        left: 10px;
    }

    body.auth-page .bubble-two {
        right: 8px;
    }

    body.auth-page .bubble-three {
        left: 36px;
    }

    body.auth-page .auth-form-extra {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* ========================================================= */
/* AUTH LEFT TEXT COLOR FIX */
/* Paste di PALING BAWAH auth_premium.css */
/* Fix tulisan gede kiri login/register biar tidak hitam */
/* ========================================================= */

body.auth-page .premium-auth-visual h1,
body.auth-page .premium-auth-visual .auth-visual-content h1,
body.auth-page .auth-visual h1,
body.auth-page .auth-visual-content h1 {
    color: #ffffff !important;
    background: linear-gradient(135deg, #ffffff 0%, #e0f2fe 48%, #ccfbf1 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    text-shadow: 0 16px 34px rgba(15, 23, 42, 0.22) !important;
    font-weight: 950 !important;
}

body.auth-page .premium-auth-visual p,
body.auth-page .premium-auth-visual .auth-visual-content p,
body.auth-page .auth-visual p,
body.auth-page .auth-visual-content p {
    color: rgba(255, 255, 255, 0.92) !important;
}

body.auth-page .premium-auth-visual .section-badge,
body.auth-page .auth-visual .section-badge {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.18) !important;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12) !important;
}

body.auth-page .premium-auth-visual .section-badge i,
body.auth-page .auth-visual .section-badge i {
    color: #ffffff !important;
}

body.auth-page .premium-auth-feature-list div,
body.auth-page .auth-feature-list div {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.16) !important;
    border: 1px solid rgba(255, 255, 255, 0.24) !important;
}

body.auth-page .premium-auth-feature-list div span,
body.auth-page .auth-feature-list div span,
body.auth-page .premium-auth-feature-list div i,
body.auth-page .auth-feature-list div i {
    color: #ffffff !important;
}

/* ========================================================= */
/* AUTH INPUT RONGGA FIX */
/* Fix putih-putih/celah di input login/register */
/* ========================================================= */

body.auth-page .auth-input-wrapper {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    min-height: 60px !important;
    padding-left: 52px !important;
    background: #f8fbff !important;
    border: 1px solid #d4e3f3 !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    box-shadow: none !important;
}

body.auth-page .auth-input-wrapper:focus-within {
    background: #ffffff !important;
    border-color: #5b8ed3 !important;
    box-shadow: 0 0 0 4px rgba(91, 142, 211, 0.12) !important;
}

body.auth-page .auth-input-wrapper > i {
    position: absolute !important;
    left: 18px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 3 !important;
    color: #5b8ed3 !important;
    pointer-events: none !important;
}

body.auth-page .auth-input-wrapper input {
    width: 100% !important;
    height: 60px !important;
    margin: 0 !important;
    padding: 0 18px 0 0 !important;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #0f172a !important;
    font-size: 16px !important;
}

body.auth-page .auth-input-wrapper input:-webkit-autofill,
body.auth-page .auth-input-wrapper input:-webkit-autofill:hover,
body.auth-page .auth-input-wrapper input:-webkit-autofill:focus {
    -webkit-text-fill-color: #0f172a !important;
    box-shadow: 0 0 0 1000px #f8fbff inset !important;
    transition: background-color 9999s ease-in-out 0s !important;
}

body.auth-page .password-wrapper {
    padding-right: 58px !important;
}

body.auth-page .password-wrapper input {
    padding-right: 0 !important;
}

body.auth-page .password-toggle {
    position: absolute !important;
    right: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 40px !important;
    height: 40px !important;
    border: 0 !important;
    outline: 0 !important;
    border-radius: 12px !important;
    background: #eaf5ff !important;
    color: #5b8ed3 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 4 !important;
}

body.auth-page .password-toggle i {
    position: static !important;
    transform: none !important;
    color: #5b8ed3 !important;
}
/* ========================================================= */
/* DASHBOARD FINAL POLISH */
/* How It Works + Model Explanation + Chart Insight */
/* ========================================================= */

body.dashboard-page .dashboard-workflow-section,
body.dashboard-page .dashboard-model-explain-section,
body.dashboard-page .dashboard-chart-insight-section {
    position: relative;
    overflow: hidden;
    margin-bottom: 32px;
    padding: 32px;
    border-radius: 30px;
    border: 1px solid rgba(186, 230, 253, 0.95);
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.12), transparent 34%),
        radial-gradient(circle at bottom left, rgba(20, 184, 166, 0.10), transparent 36%),
        rgba(255, 255, 255, 0.97);
    box-shadow: 0 22px 58px rgba(15, 23, 42, 0.08);
}

body.dashboard-page .dashboard-workflow-section::before,
body.dashboard-page .dashboard-model-explain-section::before,
body.dashboard-page .dashboard-chart-insight-section::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: -120px;
    top: -130px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.16), transparent 70%);
    pointer-events: none;
    animation: dashboardBlobOne 8s ease-in-out infinite;
}

body.dashboard-page .dashboard-workflow-section::after,
body.dashboard-page .dashboard-model-explain-section::after,
body.dashboard-page .dashboard-chart-insight-section::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    left: -105px;
    bottom: -110px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.14), transparent 70%);
    pointer-events: none;
    animation: dashboardBlobTwo 9s ease-in-out infinite;
}

body.dashboard-page .dashboard-workflow-section > *,
body.dashboard-page .dashboard-model-explain-section > *,
body.dashboard-page .dashboard-chart-insight-section > * {
    position: relative;
    z-index: 2;
}

/* Workflow */
body.dashboard-page .workflow-header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 28px;
}

body.dashboard-page .workflow-header h2,
body.dashboard-page .model-explain-main h2,
body.dashboard-page .chart-insight-card h2 {
    color: #0f172a;
    font-size: clamp(28px, 4vw, 40px);
    letter-spacing: -1px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #0f172a, #0369a1, #0f766e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.dashboard-page .workflow-header p,
body.dashboard-page .model-explain-main p,
body.dashboard-page .chart-insight-card p {
    color: #64748b;
    line-height: 1.75;
}

body.dashboard-page .workflow-timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

body.dashboard-page .workflow-step-card {
    position: relative;
    min-height: 245px;
    padding: 24px;
    border-radius: 26px;
    border: 1px solid rgba(226, 232, 240, 0.98);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.055);
    overflow: hidden;
    transition: 0.25s ease;
}

body.dashboard-page .workflow-step-card::after {
    content: "";
    position: absolute;
    width: 130px;
    height: 130px;
    right: -65px;
    top: -65px;
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.08);
    transition: 0.25s ease;
}

body.dashboard-page .workflow-step-card:hover {
    border-color: rgba(14, 165, 233, 0.38);
    box-shadow: 0 26px 62px rgba(14, 165, 233, 0.15);
}

body.dashboard-page .workflow-step-card:hover::after {
    transform: scale(1.18);
}

body.dashboard-page .workflow-step-number {
    color: #bae6fd;
    font-size: 34px;
    font-weight: 950;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

body.dashboard-page .workflow-step-icon {
    width: 56px;
    height: 56px;
    border-radius: 20px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0ea5e9, #14b8a6);
    font-size: 22px;
    box-shadow: 0 16px 30px rgba(14, 165, 233, 0.18);
    margin-bottom: 18px;
}

body.dashboard-page .workflow-step-card h3 {
    color: #0f172a;
    font-size: 20px;
    margin-bottom: 10px;
}

body.dashboard-page .workflow-step-card p {
    color: #64748b;
    line-height: 1.65;
    font-size: 14px;
}

/* Model explanation */
body.dashboard-page .dashboard-model-explain-section {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 24px;
    align-items: stretch;
}

body.dashboard-page .model-explain-main {
    padding: 28px;
    border-radius: 26px;
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.11), transparent 36%),
        linear-gradient(135deg, #ffffff, #f8fdff);
    border: 1px solid rgba(226, 232, 240, 0.96);
}

body.dashboard-page .model-explain-note {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-top: 22px;
    padding: 18px 20px;
    border-radius: 20px;
    border: 1px solid #bae6fd;
    background: #eff6ff;
    color: #0369a1;
    font-weight: 800;
    line-height: 1.6;
}

body.dashboard-page .model-explain-note i {
    margin-top: 4px;
}

body.dashboard-page .model-explain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

body.dashboard-page .model-explain-card {
    padding: 24px;
    border-radius: 26px;
    border: 1px solid rgba(226, 232, 240, 0.98);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.055);
    transition: 0.25s ease;
}

body.dashboard-page .model-explain-card:hover {
    border-color: rgba(14, 165, 233, 0.38);
    box-shadow: 0 26px 62px rgba(14, 165, 233, 0.15);
}

body.dashboard-page .model-explain-icon {
    width: 58px;
    height: 58px;
    border-radius: 20px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
    margin-bottom: 18px;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.12);
}

body.dashboard-page .knn-explain {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
}

body.dashboard-page .svm-explain {
    background: linear-gradient(135deg, #14b8a6, #10b981);
}

body.dashboard-page .dt-explain {
    background: linear-gradient(135deg, #f59e0b, #fb923c);
}

body.dashboard-page .model-explain-card span {
    color: #64748b;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.75px;
}

body.dashboard-page .model-explain-card h3 {
    color: #0f172a;
    margin: 8px 0 10px;
    font-size: 20px;
}

body.dashboard-page .model-explain-card p {
    color: #64748b;
    line-height: 1.65;
    font-size: 14px;
}

/* Chart insight */
body.dashboard-page .dashboard-chart-insight-section {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 18px;
}

body.dashboard-page .chart-insight-card {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 26px;
    border-radius: 26px;
    border: 1px solid rgba(186, 230, 253, 0.95);
    background: linear-gradient(135deg, #ffffff, #f8fdff);
}

body.dashboard-page .chart-insight-icon {
    width: 62px;
    height: 62px;
    border-radius: 21px;
    background: linear-gradient(135deg, #0ea5e9, #14b8a6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    flex-shrink: 0;
    box-shadow: 0 16px 30px rgba(14, 165, 233, 0.18);
}

body.dashboard-page .chart-insight-card span {
    display: block;
    color: #0369a1;
    font-weight: 950;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.75px;
    margin-bottom: 8px;
}

body.dashboard-page .chart-insight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

body.dashboard-page .chart-insight-mini {
    padding: 22px;
    border-radius: 24px;
    border: 1px solid rgba(226, 232, 240, 0.98);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.055);
    transition: 0.25s ease;
}

body.dashboard-page .chart-insight-mini:hover {
    border-color: rgba(14, 165, 233, 0.38);
    box-shadow: 0 26px 62px rgba(14, 165, 233, 0.15);
}

body.dashboard-page .chart-insight-mini i {
    width: 48px;
    height: 48px;
    border-radius: 17px;
    color: white;
    background: linear-gradient(135deg, #0ea5e9, #14b8a6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    margin-bottom: 14px;
}

body.dashboard-page .chart-insight-mini strong {
    display: block;
    color: #0f172a;
    font-size: 17px;
    margin-bottom: 8px;
}

body.dashboard-page .chart-insight-mini p {
    color: #64748b;
    line-height: 1.6;
    font-size: 14px;
}

/* dashboard cards small polish */
body.dashboard-page .summary-card,
body.dashboard-page .chart-card,
body.dashboard-page .prediction-info-card {
    border-radius: 26px !important;
}

body.dashboard-page .dashboard-cta {
    border-radius: 30px !important;
}

@keyframes dashboardBlobOne {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-18px, 16px) scale(1.08);
    }
}

@keyframes dashboardBlobTwo {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(18px, -16px) scale(1.08);
    }
}

@media (max-width: 1250px) {
    body.dashboard-page .workflow-timeline {
        grid-template-columns: repeat(3, 1fr);
    }

    body.dashboard-page .dashboard-model-explain-section,
    body.dashboard-page .dashboard-chart-insight-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 850px) {
    body.dashboard-page .workflow-timeline,
    body.dashboard-page .model-explain-grid,
    body.dashboard-page .chart-insight-grid {
        grid-template-columns: 1fr;
    }

    body.dashboard-page .dashboard-workflow-section,
    body.dashboard-page .dashboard-model-explain-section,
    body.dashboard-page .dashboard-chart-insight-section {
        padding: 24px;
        border-radius: 24px;
    }

    body.dashboard-page .chart-insight-card {
        flex-direction: column;
    }
}
/* ========================================================= */
/* DASHBOARD FINAL POLISH */
/* How It Works + Model Explanation + Chart Insight */
/* ========================================================= */

body.dashboard-page .dashboard-workflow-section,
body.dashboard-page .dashboard-model-explain-section,
body.dashboard-page .dashboard-chart-insight-section {
    position: relative;
    overflow: hidden;
    margin-bottom: 32px;
    padding: 32px;
    border-radius: 30px;
    border: 1px solid rgba(186, 230, 253, 0.95);
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.12), transparent 34%),
        radial-gradient(circle at bottom left, rgba(20, 184, 166, 0.10), transparent 36%),
        rgba(255, 255, 255, 0.97);
    box-shadow: 0 22px 58px rgba(15, 23, 42, 0.08);
}

body.dashboard-page .dashboard-workflow-section::before,
body.dashboard-page .dashboard-model-explain-section::before,
body.dashboard-page .dashboard-chart-insight-section::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: -120px;
    top: -130px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.16), transparent 70%);
    pointer-events: none;
    animation: dashboardBlobOne 8s ease-in-out infinite;
}

body.dashboard-page .dashboard-workflow-section::after,
body.dashboard-page .dashboard-model-explain-section::after,
body.dashboard-page .dashboard-chart-insight-section::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    left: -105px;
    bottom: -110px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.14), transparent 70%);
    pointer-events: none;
    animation: dashboardBlobTwo 9s ease-in-out infinite;
}

body.dashboard-page .dashboard-workflow-section > *,
body.dashboard-page .dashboard-model-explain-section > *,
body.dashboard-page .dashboard-chart-insight-section > * {
    position: relative;
    z-index: 2;
}

/* Workflow */
body.dashboard-page .workflow-header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 28px;
}

body.dashboard-page .workflow-header h2,
body.dashboard-page .model-explain-main h2,
body.dashboard-page .chart-insight-card h2 {
    color: #0f172a;
    font-size: clamp(28px, 4vw, 40px);
    letter-spacing: -1px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #0f172a, #0369a1, #0f766e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.dashboard-page .workflow-header p,
body.dashboard-page .model-explain-main p,
body.dashboard-page .chart-insight-card p {
    color: #64748b;
    line-height: 1.75;
}

body.dashboard-page .workflow-timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

body.dashboard-page .workflow-step-card {
    position: relative;
    min-height: 245px;
    padding: 24px;
    border-radius: 26px;
    border: 1px solid rgba(226, 232, 240, 0.98);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.055);
    overflow: hidden;
    transition: 0.25s ease;
}

body.dashboard-page .workflow-step-card::after {
    content: "";
    position: absolute;
    width: 130px;
    height: 130px;
    right: -65px;
    top: -65px;
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.08);
    transition: 0.25s ease;
}

body.dashboard-page .workflow-step-card:hover {
    border-color: rgba(14, 165, 233, 0.38);
    box-shadow: 0 26px 62px rgba(14, 165, 233, 0.15);
}

body.dashboard-page .workflow-step-card:hover::after {
    transform: scale(1.18);
}

body.dashboard-page .workflow-step-number {
    color: #bae6fd;
    font-size: 34px;
    font-weight: 950;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

body.dashboard-page .workflow-step-icon {
    width: 56px;
    height: 56px;
    border-radius: 20px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0ea5e9, #14b8a6);
    font-size: 22px;
    box-shadow: 0 16px 30px rgba(14, 165, 233, 0.18);
    margin-bottom: 18px;
}

body.dashboard-page .workflow-step-card h3 {
    color: #0f172a;
    font-size: 20px;
    margin-bottom: 10px;
}

body.dashboard-page .workflow-step-card p {
    color: #64748b;
    line-height: 1.65;
    font-size: 14px;
}

/* Model explanation */
body.dashboard-page .dashboard-model-explain-section {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 24px;
    align-items: stretch;
}

body.dashboard-page .model-explain-main {
    padding: 28px;
    border-radius: 26px;
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.11), transparent 36%),
        linear-gradient(135deg, #ffffff, #f8fdff);
    border: 1px solid rgba(226, 232, 240, 0.96);
}

body.dashboard-page .model-explain-note {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-top: 22px;
    padding: 18px 20px;
    border-radius: 20px;
    border: 1px solid #bae6fd;
    background: #eff6ff;
    color: #0369a1;
    font-weight: 800;
    line-height: 1.6;
}

body.dashboard-page .model-explain-note i {
    margin-top: 4px;
}

body.dashboard-page .model-explain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

body.dashboard-page .model-explain-card {
    padding: 24px;
    border-radius: 26px;
    border: 1px solid rgba(226, 232, 240, 0.98);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.055);
    transition: 0.25s ease;
}

body.dashboard-page .model-explain-card:hover {
    border-color: rgba(14, 165, 233, 0.38);
    box-shadow: 0 26px 62px rgba(14, 165, 233, 0.15);
}

body.dashboard-page .model-explain-icon {
    width: 58px;
    height: 58px;
    border-radius: 20px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
    margin-bottom: 18px;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.12);
}

body.dashboard-page .knn-explain {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
}

body.dashboard-page .svm-explain {
    background: linear-gradient(135deg, #14b8a6, #10b981);
}

body.dashboard-page .dt-explain {
    background: linear-gradient(135deg, #f59e0b, #fb923c);
}

body.dashboard-page .model-explain-card span {
    color: #64748b;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.75px;
}

body.dashboard-page .model-explain-card h3 {
    color: #0f172a;
    margin: 8px 0 10px;
    font-size: 20px;
}

body.dashboard-page .model-explain-card p {
    color: #64748b;
    line-height: 1.65;
    font-size: 14px;
}

/* Chart insight */
body.dashboard-page .dashboard-chart-insight-section {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 18px;
}

body.dashboard-page .chart-insight-card {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 26px;
    border-radius: 26px;
    border: 1px solid rgba(186, 230, 253, 0.95);
    background: linear-gradient(135deg, #ffffff, #f8fdff);
}

body.dashboard-page .chart-insight-icon {
    width: 62px;
    height: 62px;
    border-radius: 21px;
    background: linear-gradient(135deg, #0ea5e9, #14b8a6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    flex-shrink: 0;
    box-shadow: 0 16px 30px rgba(14, 165, 233, 0.18);
}

body.dashboard-page .chart-insight-card span {
    display: block;
    color: #0369a1;
    font-weight: 950;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.75px;
    margin-bottom: 8px;
}

body.dashboard-page .chart-insight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

body.dashboard-page .chart-insight-mini {
    padding: 22px;
    border-radius: 24px;
    border: 1px solid rgba(226, 232, 240, 0.98);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.055);
    transition: 0.25s ease;
}

body.dashboard-page .chart-insight-mini:hover {
    border-color: rgba(14, 165, 233, 0.38);
    box-shadow: 0 26px 62px rgba(14, 165, 233, 0.15);
}

body.dashboard-page .chart-insight-mini i {
    width: 48px;
    height: 48px;
    border-radius: 17px;
    color: white;
    background: linear-gradient(135deg, #0ea5e9, #14b8a6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    margin-bottom: 14px;
}

body.dashboard-page .chart-insight-mini strong {
    display: block;
    color: #0f172a;
    font-size: 17px;
    margin-bottom: 8px;
}

body.dashboard-page .chart-insight-mini p {
    color: #64748b;
    line-height: 1.6;
    font-size: 14px;
}

/* dashboard cards small polish */
body.dashboard-page .summary-card,
body.dashboard-page .chart-card,
body.dashboard-page .prediction-info-card {
    border-radius: 26px !important;
}

body.dashboard-page .dashboard-cta {
    border-radius: 30px !important;
}

@keyframes dashboardBlobOne {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-18px, 16px) scale(1.08);
    }
}

@keyframes dashboardBlobTwo {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(18px, -16px) scale(1.08);
    }
}

@media (max-width: 1250px) {
    body.dashboard-page .workflow-timeline {
        grid-template-columns: repeat(3, 1fr);
    }

    body.dashboard-page .dashboard-model-explain-section,
    body.dashboard-page .dashboard-chart-insight-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 850px) {
    body.dashboard-page .workflow-timeline,
    body.dashboard-page .model-explain-grid,
    body.dashboard-page .chart-insight-grid {
        grid-template-columns: 1fr;
    }

    body.dashboard-page .dashboard-workflow-section,
    body.dashboard-page .dashboard-model-explain-section,
    body.dashboard-page .dashboard-chart-insight-section {
        padding: 24px;
        border-radius: 24px;
    }

    body.dashboard-page .chart-insight-card {
        flex-direction: column;
    }
}

/* ========================================================= */
/* DASHBOARD NO DOUBLE CLEAN PATCH */
/* Menghindari section penjelasan dobel */
/* ========================================================= */

body.dashboard-page .dashboard-insight-section {
    display: none !important;
}

body.dashboard-page .dashboard-model-explain-section {
    display: none !important;
}

/* Workflow dibuat jadi section utama penjelasan */
body.dashboard-page .dashboard-workflow-section {
    margin-top: 0 !important;
}

/* Summary card supaya tidak terlalu mepet dengan workflow */
body.dashboard-page .summary-grid {
    margin-bottom: 32px !important;
}

/* Model evaluation tetap jadi satu-satunya section pembahasan model */
body.dashboard-page .ultra-model-section {
    margin-top: 32px !important;
}
/* ========================================================= */
/* PREDICT CHOICE FINAL POLISH */
/* Mode comparison + workflow + premium cards */
/* ========================================================= */

body.predict-choice-page .premium-choice-main {
    position: relative;
    overflow: hidden;
}

body.predict-choice-page .premium-choice-main::before {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    right: -150px;
    top: -150px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.14), transparent 70%);
    pointer-events: none;
}

body.predict-choice-page .premium-choice-main::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    left: -120px;
    bottom: -120px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.12), transparent 70%);
    pointer-events: none;
}

body.predict-choice-page .premium-choice-main > * {
    position: relative;
    z-index: 2;
}

body.predict-choice-page .premium-choice-header h1 {
    background: linear-gradient(135deg, #0f172a, #0369a1, #0f766e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Guide cards */
body.predict-choice-page .choice-guide-section {
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 28px;
}

body.predict-choice-page .choice-guide-card {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    border: 1px solid rgba(186, 230, 253, 0.95);
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.08), transparent 34%),
        rgba(255, 255, 255, 0.97);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
    transition: 0.25s ease;
}

body.predict-choice-page .choice-guide-card:hover {
    border-color: rgba(14, 165, 233, 0.40);
    box-shadow: 0 24px 56px rgba(14, 165, 233, 0.14);
}

/* Mini workflow */
body.predict-choice-page .choice-mini-workflow-section {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
    padding: 22px;
    border-radius: 30px;
    border: 1px solid rgba(186, 230, 253, 0.95);
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.10), transparent 34%),
        linear-gradient(135deg, #ffffff, #f8fdff);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.065);
}

body.predict-choice-page .mini-workflow-item {
    position: relative;
    min-height: 128px;
    padding: 20px 16px;
    border-radius: 24px;
    border: 1px solid rgba(226, 232, 240, 0.98);
    background: rgba(255, 255, 255, 0.96);
    text-align: center;
    transition: 0.25s ease;
}

body.predict-choice-page .mini-workflow-item:hover {
    border-color: rgba(14, 165, 233, 0.38);
    box-shadow: 0 18px 38px rgba(14, 165, 233, 0.12);
}

body.predict-choice-page .mini-workflow-number {
    color: #bae6fd;
    font-size: 24px;
    font-weight: 950;
    margin-bottom: 7px;
}

body.predict-choice-page .mini-workflow-item i {
    width: 48px;
    height: 48px;
    margin: 0 auto 10px;
    border-radius: 17px;
    background: linear-gradient(135deg, #0ea5e9, #14b8a6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    box-shadow: 0 14px 26px rgba(14, 165, 233, 0.18);
}

body.predict-choice-page .mini-workflow-item span {
    color: #0f172a;
    font-weight: 950;
    font-size: 14px;
}

body.predict-choice-page .mini-workflow-line {
    width: 38px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #bae6fd, #99f6e4);
}

/* Mode cards */
body.predict-choice-page .premium-mode-card {
    position: relative;
    border-radius: 32px;
    padding: 34px;
    border: 1px solid rgba(186, 230, 253, 0.95);
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.12), transparent 34%),
        linear-gradient(180deg, #ffffff, #f8fdff);
    box-shadow: 0 22px 58px rgba(15, 23, 42, 0.085);
}

body.predict-choice-page .premium-mode-card::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    right: -105px;
    top: -110px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.12), transparent 70%);
    pointer-events: none;
}

body.predict-choice-page .premium-mode-card:hover {
    border-color: rgba(14, 165, 233, 0.42);
    box-shadow: 0 30px 74px rgba(14, 165, 233, 0.17);
}

body.predict-choice-page .csv-mode-card {
    border-color: rgba(20, 184, 166, 0.45);
    background:
        radial-gradient(circle at top right, rgba(20, 184, 166, 0.13), transparent 34%),
        linear-gradient(180deg, #ffffff, #f0fdfa);
}

body.predict-choice-page .mode-recommend-badge {
    position: absolute;
    right: 26px;
    top: 24px;
    z-index: 3;
    padding: 9px 13px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

body.predict-choice-page .manual-badge {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
}

body.predict-choice-page .csv-badge {
    background: #ccfbf1;
    color: #0f766e;
    border: 1px solid #99f6e4;
}

body.predict-choice-page .premium-mode-card .mode-icon {
    width: 68px;
    height: 68px;
    border-radius: 23px;
    font-size: 27px;
}

body.predict-choice-page .premium-mode-card h2 {
    font-size: 34px;
    letter-spacing: -0.8px;
}

body.predict-choice-page .premium-feature-list {
    padding: 18px;
    border-radius: 22px;
    background: #f8fdff;
    border: 1px solid #dbeafe;
}

body.predict-choice-page .premium-feature-list div {
    padding: 8px 0;
}

body.predict-choice-page .mode-mini-preview {
    border-radius: 22px;
    background: linear-gradient(135deg, #ffffff, #f8fdff);
    border: 1px solid rgba(186, 230, 253, 0.95);
}

body.predict-choice-page .mode-action-btn {
    width: 100%;
    min-height: 56px;
    border-radius: 18px;
    font-size: 16px;
}

/* Comparison */
body.predict-choice-page .choice-comparison-section {
    margin-top: 28px;
    margin-bottom: 26px;
    padding: 32px;
    border-radius: 32px;
    border: 1px solid rgba(186, 230, 253, 0.95);
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.11), transparent 34%),
        radial-gradient(circle at bottom left, rgba(20, 184, 166, 0.10), transparent 36%),
        rgba(255, 255, 255, 0.97);
    box-shadow: 0 22px 58px rgba(15, 23, 42, 0.08);
}

body.predict-choice-page .choice-comparison-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 24px;
}

body.predict-choice-page .choice-comparison-header h2 {
    color: #0f172a;
    font-size: clamp(28px, 4vw, 40px);
    letter-spacing: -1px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #0f172a, #0369a1, #0f766e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.predict-choice-page .choice-comparison-header p {
    color: #64748b;
    line-height: 1.75;
}

body.predict-choice-page .choice-comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

body.predict-choice-page .comparison-card {
    position: relative;
    overflow: hidden;
    padding: 26px;
    border-radius: 28px;
    border: 1px solid rgba(226, 232, 240, 0.98);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.055);
    transition: 0.25s ease;
}

body.predict-choice-page .comparison-card:hover {
    border-color: rgba(14, 165, 233, 0.38);
    box-shadow: 0 26px 62px rgba(14, 165, 233, 0.15);
}

body.predict-choice-page .comparison-icon {
    width: 60px;
    height: 60px;
    border-radius: 21px;
    color: white;
    background: linear-gradient(135deg, #0ea5e9, #14b8a6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 16px 30px rgba(14, 165, 233, 0.18);
    margin-bottom: 18px;
}

body.predict-choice-page .csv-comparison-card .comparison-icon {
    background: linear-gradient(135deg, #14b8a6, #10b981);
}

body.predict-choice-page .comparison-card span {
    color: #64748b;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.75px;
    text-transform: uppercase;
}

body.predict-choice-page .comparison-card h3 {
    color: #0f172a;
    font-size: 24px;
    margin: 8px 0 10px;
}

body.predict-choice-page .comparison-card p {
    color: #64748b;
    line-height: 1.65;
}

body.predict-choice-page .comparison-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

body.predict-choice-page .comparison-list div {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 13px;
    border-radius: 16px;
    background: #f8fdff;
    border: 1px solid #dbeafe;
    color: #334155;
}

body.predict-choice-page .comparison-list i {
    color: #10b981;
}

/* Info card polish */
body.predict-choice-page .premium-choice-info {
    border-radius: 26px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.07);
}

@media (max-width: 1050px) {
    body.predict-choice-page .choice-guide-section,
    body.predict-choice-page .choice-mini-workflow-section {
        grid-template-columns: 1fr;
    }

    body.predict-choice-page .mini-workflow-line {
        width: 2px;
        height: 28px;
        margin: 0 auto;
    }
}

@media (max-width: 850px) {
    body.predict-choice-page .choice-comparison-grid {
        grid-template-columns: 1fr;
    }

    body.predict-choice-page .choice-comparison-section {
        padding: 24px;
        border-radius: 24px;
    }

    body.predict-choice-page .premium-mode-card {
        padding: 28px;
        border-radius: 26px;
    }

    body.predict-choice-page .mode-recommend-badge {
        position: static;
        width: fit-content;
        margin-bottom: 14px;
    }
}
/* Guide dibuat tetap ada tapi compact */
body.predict-choice-page .choice-guide-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 26px;
}

body.predict-choice-page .choice-guide-card {
    position: relative;
    overflow: hidden;
    min-height: 128px;
    padding: 18px;
    border-radius: 24px;
    border: 1px solid rgba(186, 230, 253, 0.95);
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.08), transparent 34%),
        rgba(255, 255, 255, 0.97);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.055);
    transition: 0.25s ease;
}

body.predict-choice-page .choice-guide-card:hover {
    border-color: rgba(14, 165, 233, 0.40);
    box-shadow: 0 22px 48px rgba(14, 165, 233, 0.13);
}

body.predict-choice-page .choice-guide-icon {
    width: 48px;
    height: 48px;
    border-radius: 17px;
    background: linear-gradient(135deg, #0ea5e9, #14b8a6);
    color: white;
    font-size: 19px;
    box-shadow: 0 12px 24px rgba(14, 165, 233, 0.18);
}

body.predict-choice-page .choice-guide-card span {
    color: #64748b;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.65px;
}

body.predict-choice-page .choice-guide-card strong {
    color: #0f172a;
    font-size: 17px;
}

body.predict-choice-page .choice-guide-card p {
    color: #64748b;
    line-height: 1.55;
    font-size: 13px;
}

/* Card manual/csv dibuat lebih premium tapi tidak kepanjangan */
body.predict-choice-page .premium-mode-grid {
    gap: 22px;
    margin-bottom: 24px;
}

body.predict-choice-page .premium-mode-card {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    padding: 30px;
    border: 1px solid rgba(186, 230, 253, 0.95);
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.12), transparent 34%),
        linear-gradient(180deg, #ffffff, #f8fdff);
    box-shadow: 0 22px 56px rgba(15, 23, 42, 0.08);
    transition: 0.25s ease;
}

body.predict-choice-page .premium-mode-card::before {
    content: "";
    position: absolute;
    width: 210px;
    height: 210px;
    right: -105px;
    top: -110px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.12), transparent 70%);
    pointer-events: none;
}

body.predict-choice-page .premium-mode-card:hover {
    border-color: rgba(14, 165, 233, 0.42);
    box-shadow: 0 30px 70px rgba(14, 165, 233, 0.16);
}

body.predict-choice-page .csv-mode-card {
    border-color: rgba(20, 184, 166, 0.45);
    background:
        radial-gradient(circle at top right, rgba(20, 184, 166, 0.13), transparent 34%),
        linear-gradient(180deg, #ffffff, #f0fdfa);
}

body.predict-choice-page .mode-recommend-badge {
    position: absolute;
    right: 24px;
    top: 22px;
    z-index: 3;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: 0.45px;
    text-transform: uppercase;
}

body.predict-choice-page .manual-badge {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
}

body.predict-choice-page .csv-badge {
    background: #ccfbf1;
    color: #0f766e;
    border: 1px solid #99f6e4;
}

body.predict-choice-page .premium-mode-card .mode-icon {
    width: 66px;
    height: 66px;
    border-radius: 22px;
    font-size: 26px;
}

body.predict-choice-page .premium-mode-card h2 {
    font-size: 32px;
    letter-spacing: -0.75px;
}

body.predict-choice-page .premium-mode-card p {
    margin-bottom: 16px;
}

body.predict-choice-page .premium-feature-list {
    padding: 16px;
    border-radius: 21px;
    background: #f8fdff;
    border: 1px solid #dbeafe;
    margin-bottom: 18px;
}

body.predict-choice-page .premium-feature-list div {
    padding: 7px 0;
}

body.predict-choice-page .mode-mini-preview {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 16px;
    border-radius: 21px;
    background: linear-gradient(135deg, #ffffff, #f8fdff);
    border: 1px solid rgba(186, 230, 253, 0.95);
    margin-bottom: 18px;
}

body.predict-choice-page .mode-mini-preview div {
    background: transparent;
    border: none;
    padding: 0;
}

body.predict-choice-page .mode-mini-preview span {
    color: #64748b;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.65px;
}

body.predict-choice-page .mode-mini-preview strong {
    color: #0f172a;
    font-size: 16px;
}

body.predict-choice-page .mode-action-btn {
    width: 100%;
    min-height: 54px;
    border-radius: 18px;
    font-size: 16px;
}

/* Tips compact */
body.predict-choice-page .premium-choice-info {
    margin-top: 0;
    border-radius: 24px;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.065);
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.08), transparent 34%),
        #eff6ff;
}

body.predict-choice-page .premium-choice-info h3 {
    color: #0f172a;
}

body.predict-choice-page .premium-choice-info p {
    color: #475569;
}

/* Responsive */
@media (max-width: 980px) {
    body.predict-choice-page .choice-guide-section,
    body.predict-choice-page .premium-mode-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    body.predict-choice-page .premium-choice-main {
        padding: 28px 20px;
    }

    body.predict-choice-page .choice-guide-card {
        min-height: auto;
    }

    body.predict-choice-page .premium-mode-card {
        padding: 26px;
        border-radius: 26px;
    }

    body.predict-choice-page .mode-recommend-badge {
        position: static;
        width: fit-content;
        margin-bottom: 14px;
    }

    body.predict-choice-page .mode-mini-preview {
        grid-template-columns: 1fr;
    }
}
.mode-mini-preview {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 18px;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.mode-mini-preview div {
    background: #ffffff;
    border: 1.5px solid #cfe4f6;
    border-radius: 22px;
    padding: 18px 22px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
    min-height: 110px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.25s ease;
}

.mode-mini-preview div:hover {
    transform: translateY(-2px);
    border-color: #8ec5eb;
    box-shadow: 0 14px 28px rgba(14, 165, 233, 0.08);
}

.mode-mini-preview span {
    display: block;
    margin-bottom: 10px;
    color: #6b7280;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.mode-mini-preview strong {
    color: #0f172a;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.3;
}

@media (max-width: 640px) {
    .mode-mini-preview {
        grid-template-columns: 1fr;
    }
}
/* ========================================================= */
/* PREDICT CHOICE CLEAN V2 */
/* Layout lebih lega, mini preview tidak nempel, tidak kebanyakan scroll */
/* ========================================================= */

body.predict-choice-page {
    background:
        radial-gradient(circle at top left, rgba(14, 165, 233, 0.10), transparent 28%),
        radial-gradient(circle at bottom right, rgba(20, 184, 166, 0.10), transparent 30%),
        linear-gradient(135deg, #f8fbff 0%, #eef8ff 48%, #f3fffd 100%);
}

body.predict-choice-page .premium-choice-main {
    width: min(1220px, calc(100% - 42px));
    margin: 32px auto;
    padding: 36px;
    position: relative;
    overflow: hidden;
    border-radius: 34px;
    border: 1px solid rgba(186, 230, 253, 0.95);
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.11), transparent 34%),
        radial-gradient(circle at bottom left, rgba(20, 184, 166, 0.09), transparent 36%),
        rgba(255, 255, 255, 0.92);
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.09);
}

body.predict-choice-page .premium-choice-main::before {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    right: -160px;
    top: -170px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.14), transparent 70%);
    pointer-events: none;
}

body.predict-choice-page .premium-choice-main::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    left: -130px;
    bottom: -130px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.12), transparent 70%);
    pointer-events: none;
}

body.predict-choice-page .premium-choice-main > * {
    position: relative;
    z-index: 2;
}

body.predict-choice-page .premium-choice-header {
    max-width: 820px;
    margin: 0 auto 26px;
    text-align: center;
}

body.predict-choice-page .page-back-link {
    margin-bottom: 18px;
}

body.predict-choice-page .premium-choice-header h1 {
    margin-top: 14px;
    margin-bottom: 14px;
    font-size: clamp(38px, 5vw, 58px);
    letter-spacing: -1.5px;
    line-height: 1.08;
    background: linear-gradient(135deg, #0f172a, #0369a1, #0f766e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.predict-choice-page .premium-choice-header p {
    max-width: 760px;
    margin: 0 auto;
    color: #64748b;
    line-height: 1.75;
}

body.predict-choice-page .choice-guide-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 22px;
}

body.predict-choice-page .choice-guide-card {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 112px;
    padding: 16px;
    border-radius: 24px;
    border: 1px solid rgba(186, 230, 253, 0.95);
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.08), transparent 34%),
        rgba(255, 255, 255, 0.97);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.055);
    transition: 0.25s ease;
}

body.predict-choice-page .choice-guide-card:hover {
    border-color: rgba(14, 165, 233, 0.40);
    box-shadow: 0 22px 48px rgba(14, 165, 233, 0.13);
}

body.predict-choice-page .choice-guide-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 18px;
    background: linear-gradient(135deg, #0ea5e9, #14b8a6);
    color: #ffffff;
    font-size: 19px;
    box-shadow: 0 12px 24px rgba(14, 165, 233, 0.18);
}

body.predict-choice-page .choice-guide-card span {
    display: block;
    margin-bottom: 4px;
    color: #64748b;
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.65px;
}

body.predict-choice-page .choice-guide-card strong {
    display: block;
    color: #0f172a;
    font-size: 16px;
}

body.predict-choice-page .choice-guide-card p {
    margin-top: 4px;
    color: #64748b;
    line-height: 1.45;
    font-size: 13px;
}

body.predict-choice-page .premium-mode-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
    align-items: stretch;
    margin-bottom: 22px;
}

body.predict-choice-page .premium-mode-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 32px;
    min-height: 620px;
    border-radius: 32px;
    border: 1px solid rgba(186, 230, 253, 0.95);
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.12), transparent 34%),
        linear-gradient(180deg, #ffffff, #f8fdff);
    box-shadow: 0 22px 56px rgba(15, 23, 42, 0.08);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

body.predict-choice-page .premium-mode-card::before {
    content: "";
    position: absolute;
    width: 230px;
    height: 230px;
    right: -115px;
    top: -120px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.12), transparent 70%);
    pointer-events: none;
}

body.predict-choice-page .premium-mode-card:hover {
    border-color: rgba(14, 165, 233, 0.42);
    box-shadow: 0 30px 70px rgba(14, 165, 233, 0.16);
}

body.predict-choice-page .csv-mode-card {
    border-color: rgba(20, 184, 166, 0.46);
    background:
        radial-gradient(circle at top right, rgba(20, 184, 166, 0.13), transparent 34%),
        linear-gradient(180deg, #ffffff, #f0fdfa);
}

body.predict-choice-page .mode-recommend-badge {
    position: absolute;
    right: 26px;
    top: 25px;
    z-index: 3;
    padding: 9px 14px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: 0.45px;
    text-transform: uppercase;
}

body.predict-choice-page .manual-badge {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
}

body.predict-choice-page .csv-badge {
    background: #ccfbf1;
    color: #0f766e;
    border: 1px solid #99f6e4;
}

body.predict-choice-page .mode-card-top {
    margin-bottom: 30px;
}

body.predict-choice-page .premium-mode-card .mode-icon {
    width: 72px;
    height: 72px;
    border-radius: 24px;
    font-size: 28px;
}

body.predict-choice-page .premium-mode-card .mode-label {
    margin-top: 10px;
}

body.predict-choice-page .mode-content {
    margin-bottom: 22px;
}

body.predict-choice-page .premium-mode-card h2 {
    margin-bottom: 14px;
    font-size: 34px;
    letter-spacing: -0.8px;
    color: #0f172a;
}

body.predict-choice-page .premium-mode-card p {
    color: #64748b;
    line-height: 1.75;
}

body.predict-choice-page .premium-feature-list {
    padding: 16px;
    border-radius: 22px;
    background: rgba(248, 253, 255, 0.95);
    border: 1px solid #dbeafe;
    margin-bottom: 22px;
}

body.predict-choice-page .premium-feature-list div {
    padding: 10px 2px;
}

body.predict-choice-page .premium-feature-list div:not(:last-child) {
    border-bottom: 1px solid rgba(226, 232, 240, 0.95);
}

body.predict-choice-page .premium-feature-list i {
    color: #10b981;
}

/* MINI PREVIEW V2 - pecah jadi 2 box, tidak nempel, estetik */
body.predict-choice-page .mode-mini-preview {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding: 0 !important;
    margin: 0 0 24px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

body.predict-choice-page .mode-mini-preview > div {
    position: relative;
    overflow: hidden;
    min-height: 112px;
    padding: 22px 20px !important;
    border-radius: 24px;
    border: 1px solid rgba(186, 230, 253, 0.95) !important;
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.10), transparent 38%),
        linear-gradient(135deg, #ffffff, #f8fdff) !important;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.055) !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

body.predict-choice-page .csv-mode-card .mode-mini-preview > div {
    border-color: rgba(153, 246, 228, 0.95) !important;
    background:
        radial-gradient(circle at top right, rgba(20, 184, 166, 0.11), transparent 38%),
        linear-gradient(135deg, #ffffff, #f0fdfa) !important;
}

body.predict-choice-page .mode-mini-preview > div::before {
    content: "";
    position: absolute;
    width: 74px;
    height: 74px;
    right: -28px;
    bottom: -32px;
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.08);
}

body.predict-choice-page .csv-mode-card .mode-mini-preview > div::before {
    background: rgba(20, 184, 166, 0.10);
}

body.predict-choice-page .mode-mini-preview > div:hover {
    border-color: rgba(14, 165, 233, 0.45) !important;
    box-shadow: 0 20px 42px rgba(14, 165, 233, 0.12) !important;
}

body.predict-choice-page .mode-mini-preview span {
    position: relative;
    z-index: 2;
    color: #64748b;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.75px;
}

body.predict-choice-page .mode-mini-preview strong {
    position: relative;
    z-index: 2;
    color: #0f172a;
    font-size: 20px;
    font-weight: 950;
    line-height: 1.25;
}

body.predict-choice-page .mode-action-btn {
    margin-top: auto;
    width: 100%;
    min-height: 58px;
    border-radius: 19px;
    font-size: 16px;
    box-shadow: 0 16px 34px rgba(14, 165, 233, 0.18);
}

body.predict-choice-page .premium-choice-info {
    margin-top: 0;
    padding: 22px 24px;
    border-radius: 26px;
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.08), transparent 34%),
        #eff6ff;
    border: 1px solid #bae6fd;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.065);
}

body.predict-choice-page .premium-choice-info h3 {
    color: #0f172a;
}

body.predict-choice-page .premium-choice-info p {
    color: #475569;
    line-height: 1.7;
}

@media (max-width: 1050px) {
    body.predict-choice-page .choice-guide-section,
    body.predict-choice-page .premium-mode-grid {
        grid-template-columns: 1fr;
    }

    body.predict-choice-page .premium-mode-card {
        min-height: auto;
    }
}

@media (max-width: 650px) {
    body.predict-choice-page .premium-choice-main {
        width: min(100% - 20px, 100%);
        margin: 16px auto;
        padding: 24px 18px;
        border-radius: 26px;
    }

    body.predict-choice-page .premium-choice-header h1 {
        font-size: 38px;
    }

    body.predict-choice-page .choice-guide-card {
        align-items: flex-start;
    }

    body.predict-choice-page .premium-mode-card {
        padding: 26px;
        border-radius: 26px;
    }

    body.predict-choice-page .mode-recommend-badge {
        position: static;
        width: fit-content;
        margin-bottom: 16px;
    }

    body.predict-choice-page .mode-mini-preview {
        grid-template-columns: 1fr;
    }
}
/* ========================================================= */
/* MODE LABEL / BADGE FIX */
/* Paste di PALING BAWAH predict_choice_clean_v2.css */
/* Biar "Cepat Dicoba" dan "Single Prediction" gak jelek */
/* ========================================================= */

body.predict-choice-page .mode-card-top {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
    margin-bottom: 28px !important;
    padding-right: 0 !important;
}

body.predict-choice-page .mode-recommend-badge {
    position: static !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: fit-content !important;
    min-width: 0 !important;
    padding: 10px 16px !important;
    border-radius: 999px !important;
    font-size: 12px !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    letter-spacing: 0.6px !important;
    text-transform: uppercase !important;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06) !important;
    margin: 0 !important;
}

body.predict-choice-page .manual-badge {
    color: #0369a1 !important;
    background: linear-gradient(135deg, #e0f2fe, #f0f9ff) !important;
    border: 1px solid #bae6fd !important;
}

body.predict-choice-page .csv-badge {
    color: #0f766e !important;
    background: linear-gradient(135deg, #ccfbf1, #f0fdfa) !important;
    border: 1px solid #99f6e4 !important;
}

body.predict-choice-page .mode-label {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: fit-content !important;
    min-width: 0 !important;
    padding: 10px 15px !important;
    border-radius: 999px !important;
    font-size: 12px !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    letter-spacing: 0.55px !important;
    text-transform: uppercase !important;
    color: #3f6ea8 !important;
    background: rgba(239, 246, 255, 0.92) !important;
    border: 1px solid #cfe4f6 !important;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.045) !important;
    margin: 0 !important;
}

body.predict-choice-page .csv-mode-card .mode-label {
    color: #0f766e !important;
    background: rgba(240, 253, 250, 0.95) !important;
    border-color: #b7f3e8 !important;
}

/* Tambahan: kalau masih kepanjangan, mode-label bisa disembunyikan */
body.predict-choice-page .mode-label {
    white-space: nowrap !important;
}

@media (max-width: 650px) {
    body.predict-choice-page .mode-card-top {
        align-items: flex-start !important;
        flex-direction: column !important;
    }

    body.predict-choice-page .mode-recommend-badge,
    body.predict-choice-page .mode-label {
        font-size: 11px !important;
        padding: 9px 13px !important;
    }
}
/* ========================================================= */
/* PREDICT CHOICE SIMPLE CLEAN FIX */
/* Paste di PALING BAWAH predict_choice_clean_v2.css */
/* Balikin bagian card jadi clean: badge atas dihapus, layout lebih rapi */
/* ========================================================= */

/* Hapus badge yang bikin card keliatan rame */
body.predict-choice-page .mode-recommend-badge,
body.predict-choice-page .mode-label {
    display: none !important;
}

/* Top card: icon aja, gak ada pill-pillian */
body.predict-choice-page .mode-card-top {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    margin-bottom: 24px !important;
    padding: 0 !important;
}

/* Icon lebih clean */
body.predict-choice-page .premium-mode-card .mode-icon {
    width: 76px !important;
    height: 76px !important;
    border-radius: 24px !important;
    background: linear-gradient(135deg, #0ea5e9, #14b8a6) !important;
    color: #ffffff !important;
    box-shadow: 0 18px 34px rgba(14, 165, 233, 0.18) !important;
}

body.predict-choice-page .csv-mode-card .mode-icon {
    background: linear-gradient(135deg, #14b8a6, #0ea5e9) !important;
}

/* Card lebih compact dan tidak terlalu kosong */
body.predict-choice-page .premium-mode-card {
    min-height: 560px !important;
    padding: 34px !important;
}

/* Judul dan deskripsi */
body.predict-choice-page .premium-mode-card h2 {
    margin-bottom: 14px !important;
    font-size: 36px !important;
    color: #0f172a !important;
    letter-spacing: -0.9px !important;
}

body.predict-choice-page .premium-mode-card p {
    margin-bottom: 0 !important;
    color: #64748b !important;
    line-height: 1.75 !important;
}

/* Feature list lebih modern */
body.predict-choice-page .premium-feature-list {
    margin-top: 24px !important;
    margin-bottom: 24px !important;
    padding: 18px !important;
    border-radius: 24px !important;
    background: rgba(248, 253, 255, 0.96) !important;
    border: 1px solid rgba(219, 234, 254, 0.95) !important;
}

body.predict-choice-page .premium-feature-list div {
    min-height: 42px !important;
    padding: 9px 2px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

/* Mini preview: dua box beneran, jarak lega */
body.predict-choice-page .mode-mini-preview {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px !important;
    padding: 0 !important;
    margin: 0 0 26px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

body.predict-choice-page .mode-mini-preview > div {
    min-height: 118px !important;
    padding: 24px 22px !important;
    border-radius: 26px !important;
    border: 1px solid rgba(186, 230, 253, 0.95) !important;
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.10), transparent 38%),
        linear-gradient(135deg, #ffffff, #f8fdff) !important;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.055) !important;
}

body.predict-choice-page .csv-mode-card .mode-mini-preview > div {
    border-color: rgba(153, 246, 228, 0.95) !important;
    background:
        radial-gradient(circle at top right, rgba(20, 184, 166, 0.11), transparent 38%),
        linear-gradient(135deg, #ffffff, #f0fdfa) !important;
}

body.predict-choice-page .mode-mini-preview span {
    color: #64748b !important;
    font-size: 12px !important;
    font-weight: 950 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.75px !important;
}

body.predict-choice-page .mode-mini-preview strong {
    margin-top: 8px !important;
    color: #0f172a !important;
    font-size: 21px !important;
    font-weight: 950 !important;
}

/* Tombol bawah lebih clean */
body.predict-choice-page .mode-action-btn {
    margin-top: auto !important;
    min-height: 58px !important;
    border-radius: 19px !important;
}

/* Hilangkan efek card kepotong aneh karena animasi */
body.predict-choice-page .premium-mode-card,
body.predict-choice-page .choice-guide-card,
body.predict-choice-page .premium-choice-info {
    will-change: auto !important;
}

/* Responsive */
@media (max-width: 650px) {
    body.predict-choice-page .premium-mode-card {
        min-height: auto !important;
        padding: 26px !important;
    }

    body.predict-choice-page .mode-mini-preview {
        grid-template-columns: 1fr !important;
    }
}
/* ========================================================= */
/* UPLOAD CSV POLISH */
/* Clean, premium, gak terlalu banyak scroll */
/* ========================================================= */

body.csv-page {
    background:
        radial-gradient(circle at top left, rgba(14, 165, 233, 0.10), transparent 28%),
        radial-gradient(circle at bottom right, rgba(20, 184, 166, 0.10), transparent 30%),
        linear-gradient(135deg, #f8fbff 0%, #eef8ff 48%, #f3fffd 100%);
}

body.csv-page .csv-main {
    width: min(1240px, calc(100% - 42px));
    margin: 32px auto;
    padding: 36px;
    position: relative;
    overflow: hidden;
    border-radius: 34px;
    border: 1px solid rgba(186, 230, 253, 0.95);
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.11), transparent 34%),
        radial-gradient(circle at bottom left, rgba(20, 184, 166, 0.09), transparent 36%),
        rgba(255, 255, 255, 0.92);
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.09);
}

body.csv-page .csv-main::before {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    right: -160px;
    top: -170px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.14), transparent 70%);
    pointer-events: none;
}

body.csv-page .csv-main::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    left: -130px;
    bottom: -130px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.12), transparent 70%);
    pointer-events: none;
}

body.csv-page .csv-main > * {
    position: relative;
    z-index: 2;
}

/* Header */
body.csv-page .csv-header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 26px;
}

body.csv-page .csv-header h1 {
    margin-top: 14px;
    margin-bottom: 14px;
    font-size: clamp(38px, 5vw, 58px);
    letter-spacing: -1.5px;
    line-height: 1.08;
    background: linear-gradient(135deg, #0f172a, #0369a1, #0f766e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.csv-page .csv-header p {
    max-width: 760px;
    margin: 0 auto;
    color: #64748b;
    line-height: 1.75;
}

/* Step compact */
body.csv-page .csv-step-section {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

body.csv-page .csv-step-card {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    gap: 13px;
    min-height: 126px;
    padding: 18px;
    border-radius: 24px;
    border: 1px solid rgba(186, 230, 253, 0.95);
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.08), transparent 34%),
        rgba(255, 255, 255, 0.97);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.055);
    transition: 0.25s ease;
}

body.csv-page .csv-step-card:hover {
    border-color: rgba(14, 165, 233, 0.40);
    box-shadow: 0 22px 48px rgba(14, 165, 233, 0.13);
    transform: translateY(-2px);
}

body.csv-page .csv-step-number {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 16px;
    background: linear-gradient(135deg, #0ea5e9, #14b8a6);
    color: #ffffff;
    font-weight: 950;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 24px rgba(14, 165, 233, 0.18);
}

body.csv-page .csv-step-card h3 {
    margin: 0 0 7px;
    color: #0f172a;
    font-size: 17px;
}

body.csv-page .csv-step-card p {
    margin: 0;
    color: #64748b;
    line-height: 1.55;
    font-size: 13px;
}

/* Layout */
body.csv-page .premium-csv-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 26px;
    align-items: stretch;
}

body.csv-page .premium-csv-info,
body.csv-page .premium-csv-upload {
    position: relative;
    overflow: hidden;
    padding: 30px;
    border-radius: 32px;
    border: 1px solid rgba(186, 230, 253, 0.95);
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.10), transparent 34%),
        linear-gradient(180deg, #ffffff, #f8fdff);
    box-shadow: 0 22px 56px rgba(15, 23, 42, 0.08);
}

body.csv-page .premium-csv-upload {
    border-color: rgba(20, 184, 166, 0.46);
    background:
        radial-gradient(circle at top right, rgba(20, 184, 166, 0.12), transparent 34%),
        linear-gradient(180deg, #ffffff, #f0fdfa);
}

body.csv-page .panel-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

body.csv-page .panel-icon {
    width: 62px;
    height: 62px;
    min-width: 62px;
    border-radius: 22px;
    background: linear-gradient(135deg, #0ea5e9, #14b8a6);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 16px 30px rgba(14, 165, 233, 0.18);
}

body.csv-page .panel-header h2 {
    color: #0f172a;
    font-size: 28px;
    letter-spacing: -0.6px;
    margin: 0 0 8px;
}

body.csv-page .panel-header p {
    color: #64748b;
    line-height: 1.65;
    margin: 0;
}

/* Header tags */
body.csv-page .premium-csv-header-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 22px;
    padding: 18px;
    border-radius: 24px;
    border: 1px solid #dbeafe;
    background: rgba(248, 253, 255, 0.96);
}

body.csv-page .premium-csv-header-grid span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 10px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    color: #0369a1;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.25;
    text-align: center;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.035);
}

/* Example note */
body.csv-page .premium-csv-example {
    padding: 22px;
    border-radius: 24px;
    background: linear-gradient(135deg, #ffffff, #f8fdff);
    border: 1px solid rgba(186, 230, 253, 0.95);
    margin-bottom: 18px;
}

body.csv-page .premium-csv-example h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #0f172a;
    margin-bottom: 14px;
}

body.csv-page .premium-csv-example p {
    color: #64748b;
    line-height: 1.65;
    margin: 10px 0;
}

body.csv-page .csv-format-alert {
    display: flex;
    gap: 12px;
    padding: 18px;
    border-radius: 20px;
    border: 1px solid #fde68a;
    background: #fffbeb;
    color: #92400e;
    margin-bottom: 18px;
}

body.csv-page .csv-format-alert i {
    margin-top: 3px;
}

body.csv-page .csv-format-alert p {
    margin: 0;
    line-height: 1.6;
    font-weight: 700;
}

body.csv-page .premium-template-btn {
    width: 100%;
    min-height: 56px;
    border-radius: 19px;
    font-weight: 900;
}

/* Form */
body.csv-page .csv-upload-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

body.csv-page .csv-form-group label {
    color: #0f172a;
    font-weight: 950;
    letter-spacing: 0.65px;
    text-transform: uppercase;
    font-size: 12px;
}

body.csv-page .csv-select-wrapper {
    min-height: 58px;
    border-radius: 19px;
    border: 1px solid #cfe4f6;
    background: #f8fdff;
    overflow: hidden;
}

body.csv-page .csv-select-wrapper:focus-within {
    border-color: #0ea5e9;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.11);
    background: #ffffff;
}

body.csv-page .csv-select-wrapper select {
    min-height: 58px;
    color: #0f172a;
    font-weight: 800;
}

/* Dropzone */
body.csv-page .premium-csv-dropzone {
    position: relative;
    overflow: hidden;
    min-height: 230px;
    padding: 34px 24px;
    border-radius: 30px;
    border: 2px dashed rgba(14, 165, 233, 0.45);
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.11), transparent 34%),
        linear-gradient(135deg, #ffffff, #f8fdff);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.9), 0 16px 36px rgba(15, 23, 42, 0.055);
    cursor: pointer;
    transition: 0.25s ease;
}

body.csv-page .premium-csv-dropzone:hover,
body.csv-page .premium-csv-dropzone.drag-active {
    border-color: #14b8a6;
    background:
        radial-gradient(circle at top right, rgba(20, 184, 166, 0.13), transparent 34%),
        linear-gradient(135deg, #ffffff, #f0fdfa);
    box-shadow: 0 22px 48px rgba(20, 184, 166, 0.12);
}

body.csv-page .premium-csv-dropzone.file-selected {
    border-style: solid;
    border-color: #10b981;
    background:
        radial-gradient(circle at top right, rgba(16, 185, 129, 0.13), transparent 34%),
        linear-gradient(135deg, #ffffff, #ecfdf5);
}

body.csv-page .premium-csv-dropzone i {
    width: 76px;
    height: 76px;
    border-radius: 26px;
    background: linear-gradient(135deg, #0ea5e9, #14b8a6);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 18px 34px rgba(14, 165, 233, 0.18);
    margin-bottom: 18px;
}

body.csv-page .premium-csv-dropzone.file-selected i {
    background: linear-gradient(135deg, #10b981, #14b8a6);
}

body.csv-page .premium-csv-dropzone span {
    display: block;
    color: #0f172a;
    font-size: 22px;
    font-weight: 950;
    margin-bottom: 8px;
    word-break: break-word;
}

body.csv-page .premium-csv-dropzone small {
    display: block;
    color: #64748b;
    line-height: 1.6;
}

/* Quick checklist */
body.csv-page .csv-quick-check {
    display: grid;
    gap: 10px;
    padding: 16px;
    border-radius: 22px;
    background: rgba(248, 253, 255, 0.96);
    border: 1px solid #dbeafe;
}

body.csv-page .csv-quick-check div {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #334155;
    font-weight: 800;
    font-size: 14px;
}

body.csv-page .csv-quick-check i {
    color: #10b981;
}

/* Status and note */
body.csv-page .csv-upload-status,
body.csv-page .csv-form-note {
    border-radius: 22px;
    border: 1px solid rgba(186, 230, 253, 0.95);
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.04);
}

body.csv-page .csv-submit-btn {
    min-height: 58px;
    border-radius: 19px;
    font-size: 16px;
    font-weight: 950;
    box-shadow: 0 16px 34px rgba(14, 165, 233, 0.18);
}

/* Bottom actions */
body.csv-page .csv-bottom-actions {
    margin-top: 24px;
}

body.csv-page .secondary-action-btn {
    border-radius: 18px;
    min-height: 52px;
}

/* Responsive */
@media (max-width: 1120px) {
    body.csv-page .csv-step-section {
        grid-template-columns: repeat(2, 1fr);
    }

    body.csv-page .premium-csv-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    body.csv-page .csv-main {
        width: min(100% - 20px, 100%);
        margin: 16px auto;
        padding: 24px 18px;
        border-radius: 26px;
    }

    body.csv-page .csv-header h1 {
        font-size: 38px;
    }

    body.csv-page .csv-step-section,
    body.csv-page .premium-csv-header-grid {
        grid-template-columns: 1fr;
    }

    body.csv-page .premium-csv-info,
    body.csv-page .premium-csv-upload {
        padding: 24px;
        border-radius: 26px;
    }

    body.csv-page .panel-header {
        flex-direction: column;
    }

    body.csv-page .premium-csv-dropzone {
        min-height: 210px;
    }
}
/* ========================================================= */
/* RESULT CSV TOP LAYOUT */
/* Ringkasan dan tabel CSV langsung tampil di atas */
/* ========================================================= */

body.result-page .batch-result-summary {
    margin-bottom: 22px !important;
}

body.result-page .premium-result-message {
    align-items: center !important;
    margin-bottom: 24px !important;
    border-radius: 28px !important;
    background:
        radial-gradient(circle at top right, rgba(16, 185, 129, 0.12), transparent 34%),
        linear-gradient(135deg, #ffffff, #ecfdf5) !important;
    border: 1px solid rgba(134, 239, 172, 0.95) !important;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.065) !important;
}

body.result-page .premium-result-message h2 {
    color: #0f172a !important;
}

body.result-page .premium-result-message p {
    color: #475569 !important;
    line-height: 1.7 !important;
}

body.result-page .csv-jump-table-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    margin-top: 14px;
    padding: 12px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #0ea5e9, #14b8a6);
    color: #ffffff;
    text-decoration: none;
    font-weight: 900;
    font-size: 14px;
    box-shadow: 0 14px 28px rgba(14, 165, 233, 0.18);
    transition: 0.25s ease;
}

body.result-page .csv-jump-table-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(14, 165, 233, 0.24);
}

body.result-page .csv-advanced-summary-section {
    margin-top: 0 !important;
    margin-bottom: 26px !important;
}

body.result-page .batch-table-card {
    margin-top: 0 !important;
    margin-bottom: 28px !important;
    scroll-margin-top: 24px;
}

/* Panduan ditaruh setelah tabel, jadi dibuat compact */
body.result-page .result-guide-section {
    margin-top: 0 !important;
    margin-bottom: 28px !important;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px !important;
}

body.result-page .result-guide-card {
    border-radius: 24px !important;
    min-height: 130px !important;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.055) !important;
}

/* Rekomendasi batch jadi bagian bawah, bukan fokus utama pertama */
body.result-page .batch-recommendation-showcase {
    margin-top: 0 !important;
}

/* Biar tabel keliatan sebagai fokus utama */
body.result-page #csvResultTable .table-card-header {
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.08), transparent 34%),
        linear-gradient(135deg, #ffffff, #f8fdff) !important;
}

/* Biar saat ada banyak data, tabelnya nyaman */
body.result-page .result-table-wrapper {
    max-height: 620px;
    overflow: auto !important;
}

body.result-page .result-table thead th {
    position: sticky;
    top: 0;
    z-index: 5;
}

/* Hide scrollbar tetap clean di horizontal, tapi vertical tetap bisa */
body.result-page .result-table-wrapper::-webkit-scrollbar {
    height: 8px;
    width: 8px;
}

body.result-page .result-table-wrapper::-webkit-scrollbar-thumb {
    background: rgba(14, 165, 233, 0.28);
    border-radius: 999px;
}

body.result-page .result-table-wrapper::-webkit-scrollbar-track {
    background: rgba(226, 232, 240, 0.45);
}

@media (max-width: 900px) {
    body.result-page .result-guide-section {
        grid-template-columns: 1fr !important;
    }

    body.result-page .premium-result-message {
        align-items: flex-start !important;
    }
}
/* ========================================================= */
/* AUTH PREMIUM UPGRADE */
/* Login & Register page only */
/* ========================================================= */

body.auth-page.premium-auth-page {
    background:
        radial-gradient(circle at top left, rgba(14, 165, 233, 0.16), transparent 30%),
        radial-gradient(circle at bottom right, rgba(20, 184, 166, 0.15), transparent 32%),
        linear-gradient(135deg, #f8fafc 0%, #ecfeff 45%, #f0fdfa 100%);
}

body.auth-page .premium-auth-main {
    position: relative;
    min-height: calc(100vh - 68px);
    grid-template-columns: 1.05fr 0.95fr;
    border-radius: 38px;
    border: 1px solid rgba(186, 230, 253, 0.90);
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.13);
    overflow: hidden;
}

body.auth-page .premium-auth-main::before {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    top: -150px;
    right: -150px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.18), transparent 70%);
    pointer-events: none;
    z-index: 1;
}

body.auth-page .premium-auth-visual,
body.auth-page .premium-auth-card {
    position: relative;
    z-index: 2;
}

body.auth-page .premium-auth-visual {
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.24), transparent 34%),
        radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.15), transparent 34%),
        linear-gradient(145deg, #0f766e 0%, #0284c7 52%, #0ea5e9 100%);
}

body.auth-page .premium-auth-visual::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    right: -150px;
    top: -150px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
}

body.auth-page .premium-auth-visual::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    left: -120px;
    bottom: -120px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
}

body.auth-page .auth-logo,
body.auth-page .auth-visual-content,
body.auth-page .auth-visual-orbit {
    position: relative;
    z-index: 2;
}

body.auth-page .premium-auth-visual .section-badge {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.22);
    color: white;
    backdrop-filter: blur(12px);
}

body.auth-page .premium-auth-feature-list div {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(12px);
    transition: 0.25s ease;
}

body.auth-page .premium-auth-feature-list div::after {
    content: "";
    position: absolute;
    width: 90px;
    height: 90px;
    right: -45px;
    top: -45px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
}

body.auth-page .premium-auth-feature-list div:hover {
    transform: translateX(6px);
    background: rgba(255, 255, 255, 0.19);
}

body.auth-page .auth-visual-orbit {
    height: 230px;
    margin-top: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.auth-page .auth-orbit-ring {
    position: absolute;
    width: 210px;
    height: 210px;
    border-radius: 999px;
    border: 1px dashed rgba(255, 255, 255, 0.35);
    animation: authOrbitSpin 12s linear infinite;
}

body.auth-page .auth-orbit-ring::before {
    content: "";
    position: absolute;
    inset: 30px;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.20);
}

body.auth-page .auth-orbit-icon {
    width: 92px;
    height: 92px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(16px);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.15);
}

body.auth-page .auth-mini-bubble {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 14px;
    border-radius: 999px;
    color: white;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(14px);
    font-size: 13px;
    font-weight: 850;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

body.auth-page .bubble-one {
    top: 18px;
    left: 50px;
}

body.auth-page .bubble-two {
    right: 38px;
    top: 86px;
}

body.auth-page .bubble-three {
    bottom: 20px;
    left: 90px;
}

body.auth-page .premium-auth-card {
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.08), transparent 32%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 253, 255, 0.99));
}

body.auth-page .auth-card-header {
    position: relative;
}

body.auth-page .auth-card-header .auth-icon {
    width: 72px;
    height: 72px;
    border-radius: 24px;
    background: linear-gradient(135deg, #0ea5e9, #14b8a6);
    box-shadow: 0 18px 36px rgba(14, 165, 233, 0.24);
}

body.auth-page .auth-mini-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin: 0 auto 10px;
    color: #0369a1;
    background: #e0f2fe;
    border: 1px solid #bae6fd;
    border-radius: 999px;
    padding: 8px 13px;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

body.auth-page .premium-auth-form {
    gap: 20px;
}

body.auth-page .auth-form-group label {
    color: #475569;
    font-size: 13px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

body.auth-page .auth-input-wrapper input {
    min-height: 54px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 17px;
    transition: 0.25s ease;
}

body.auth-page .auth-input-wrapper input:focus {
    background: white;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.12);
}

body.auth-page .password-wrapper input {
    padding-right: 52px;
}

body.auth-page .password-toggle {
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 13px;
    color: #0284c7;
    background: #e0f2fe;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.auth-page .password-toggle i {
    position: static;
    transform: none;
    color: inherit;
}

body.auth-page .auth-form-extra {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    color: #64748b;
    font-size: 13px;
}

body.auth-page .remember-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    cursor: pointer;
}

body.auth-page .remember-check input {
    accent-color: #0ea5e9;
}

body.auth-page .auth-help-text {
    color: #0284c7;
    font-weight: 800;
}

body.auth-page .auth-submit-btn {
    min-height: 56px;
    border-radius: 17px;
    font-size: 16px;
}

body.auth-page .premium-auth-switch {
    padding: 17px;
    border-radius: 18px;
    background: #f8fdff;
    border: 1px solid #dbeafe;
}

body.auth-page .password-match-hint {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 15px;
    border-radius: 16px;
    background: #eff6ff;
    border: 1px solid #bae6fd;
    color: #0369a1;
    font-size: 13px;
    font-weight: 800;
}

body.auth-page .password-match-hint.match {
    background: #dcfce7;
    border-color: #86efac;
    color: #047857;
}

body.auth-page .password-match-hint.not-match {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #991b1b;
}

@keyframes authOrbitSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 1100px) {
    body.auth-page .premium-auth-main {
        grid-template-columns: 1fr;
    }

    body.auth-page .auth-visual-orbit {
        min-height: 210px;
    }
}

@media (max-width: 700px) {
    body.auth-page .premium-auth-main {
        border-radius: 26px;
    }

    body.auth-page .premium-auth-visual,
    body.auth-page .premium-auth-card {
        padding: 30px 22px;
    }

    body.auth-page .auth-visual-orbit {
        height: 190px;
    }

    body.auth-page .auth-orbit-ring {
        width: 180px;
        height: 180px;
    }

    body.auth-page .auth-orbit-icon {
        width: 78px;
        height: 78px;
        font-size: 30px;
    }

    body.auth-page .auth-mini-bubble {
        font-size: 12px;
        padding: 9px 11px;
    }

    body.auth-page .bubble-one {
        left: 10px;
    }

    body.auth-page .bubble-two {
        right: 8px;
    }

    body.auth-page .bubble-three {
        left: 36px;
    }

    body.auth-page .auth-form-extra {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* =========================================================
   AUTH 3D MINIATURE UPGRADE
   Login/Register left visual 3D rotating miniature
   ========================================================= */

/* Fix warna tulisan kiri */
body.auth-page .premium-auth-visual h1,
body.auth-page .premium-auth-visual .auth-visual-content h1 {
    color: #ffffff !important;
    background: linear-gradient(135deg, #ffffff 0%, #e0f2fe 48%, #ccfbf1 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    text-shadow: 0 16px 34px rgba(15, 23, 42, 0.22) !important;
}

body.auth-page .premium-auth-visual p,
body.auth-page .premium-auth-feature-list div,
body.auth-page .premium-auth-feature-list div span,
body.auth-page .premium-auth-feature-list div i,
body.auth-page .premium-auth-visual .section-badge,
body.auth-page .premium-auth-visual .section-badge i {
    color: #ffffff !important;
}

/* Area kiri dibuat lebih premium */
body.auth-page .premium-auth-visual {
    min-height: 760px;
}

body.auth-page .auth-visual-content {
    max-width: 580px;
}

body.auth-page .premium-auth-feature-list {
    max-width: 520px;
}

/* Scene utama */
body.auth-page .auth-3d-scene {
    position: relative;
    z-index: 2;
    width: min(430px, 100%);
    height: 320px;
    margin: 34px auto 0;
    perspective: 1100px;
    transform-style: preserve-3d;
    pointer-events: none;
}

body.auth-page .auth-3d-scene::before {
    content: "";
    position: absolute;
    inset: 32px 38px;
    border-radius: 42px;
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.24), transparent 32%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow:
        inset 0 0 30px rgba(255, 255, 255, 0.08),
        0 24px 58px rgba(15, 23, 42, 0.18);
    transform: rotateX(62deg) rotateZ(-18deg);
    animation: authGlassPanelFloat 7s ease-in-out infinite;
}

body.auth-page .auth-3d-core {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 150px;
    height: 150px;
    transform: translate(-50%, -50%);
    transform-style: preserve-3d;
}

body.auth-page .auth-core-glow {
    position: absolute;
    inset: -28px;
    border-radius: 999px;
    background:
        radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.55), transparent 22%),
        radial-gradient(circle, rgba(125, 211, 252, 0.38), rgba(20, 184, 166, 0.18) 48%, transparent 70%);
    filter: blur(1px);
    animation: authCorePulse 3.8s ease-in-out infinite;
}

/* Cube 3D */
body.auth-page .auth-3d-cube {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    animation: authCubeSpin 13s linear infinite;
}

body.auth-page .auth-cube-face {
    position: absolute;
    inset: 0;
    width: 150px;
    height: 150px;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #ffffff;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.26), transparent 30%),
        linear-gradient(135deg, rgba(14, 165, 233, 0.74), rgba(20, 184, 166, 0.68));
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow:
        inset 0 0 24px rgba(255, 255, 255, 0.10),
        0 18px 42px rgba(15, 23, 42, 0.16);
    backdrop-filter: blur(10px);
}

body.auth-page .auth-cube-face i {
    font-size: 34px;
    color: #ffffff;
}

body.auth-page .auth-cube-face span {
    font-size: 14px;
    font-weight: 950;
    color: #ffffff;
    letter-spacing: 0.5px;
}

body.auth-page .auth-cube-front {
    transform: translateZ(75px);
}

body.auth-page .auth-cube-back {
    transform: rotateY(180deg) translateZ(75px);
}

body.auth-page .auth-cube-right {
    transform: rotateY(90deg) translateZ(75px);
}

body.auth-page .auth-cube-left {
    transform: rotateY(-90deg) translateZ(75px);
}

body.auth-page .auth-cube-top {
    transform: rotateX(90deg) translateZ(75px);
}

body.auth-page .auth-cube-bottom {
    transform: rotateX(-90deg) translateZ(75px);
}

/* Ring orbit */
body.auth-page .auth-3d-ring {
    position: absolute;
    left: 50%;
    top: 50%;
    border-radius: 999px;
    border: 1.5px solid rgba(255, 255, 255, 0.28);
    transform-style: preserve-3d;
    box-shadow: 0 0 30px rgba(125, 211, 252, 0.10);
}

body.auth-page .auth-ring-one {
    width: 250px;
    height: 250px;
    margin-left: -125px;
    margin-top: -125px;
    transform: rotateX(68deg) rotateZ(0deg);
    animation: authRingOne 10s linear infinite;
}

body.auth-page .auth-ring-two {
    width: 300px;
    height: 150px;
    margin-left: -150px;
    margin-top: -75px;
    transform: rotateX(72deg) rotateZ(55deg);
    animation: authRingTwo 12s linear infinite reverse;
}

body.auth-page .auth-ring-three {
    width: 190px;
    height: 190px;
    margin-left: -95px;
    margin-top: -95px;
    border-style: dashed;
    opacity: 0.72;
    transform: rotateY(65deg) rotateZ(0deg);
    animation: authRingThree 9s linear infinite;
}

/* Floating chips */
body.auth-page .auth-3d-chip {
    position: absolute;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 16px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.23);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.14);
    backdrop-filter: blur(12px);
    font-size: 13px;
    font-weight: 900;
}

body.auth-page .auth-3d-chip i,
body.auth-page .auth-3d-chip span {
    color: #ffffff !important;
}

body.auth-page .chip-one {
    top: 24px;
    left: 18px;
}

body.auth-page .chip-two {
    top: 112px;
    right: 4px;
}

body.auth-page .chip-three {
    left: 56px;
    bottom: 28px;
}

/* Input rongga putih fix */
body.auth-page .auth-input-wrapper {
    overflow: hidden !important;
    background: #f8fbff !important;
}

body.auth-page .auth-input-wrapper input {
    background: transparent !important;
    box-shadow: none !important;
}

body.auth-page .auth-input-wrapper input:-webkit-autofill,
body.auth-page .auth-input-wrapper input:-webkit-autofill:hover,
body.auth-page .auth-input-wrapper input:-webkit-autofill:focus {
    -webkit-text-fill-color: #0f172a !important;
    box-shadow: 0 0 0 1000px #f8fbff inset !important;
    transition: background-color 9999s ease-in-out 0s !important;
}

/* Keyframes */
@keyframes authCubeSpin {
    0% {
        transform: rotateX(-18deg) rotateY(0deg) rotateZ(0deg);
    }

    100% {
        transform: rotateX(-18deg) rotateY(360deg) rotateZ(360deg);
    }
}

@keyframes authRingOne {
    0% {
        transform: rotateX(68deg) rotateZ(0deg);
    }

    100% {
        transform: rotateX(68deg) rotateZ(360deg);
    }
}

@keyframes authRingTwo {
    0% {
        transform: rotateX(72deg) rotateZ(55deg);
    }

    100% {
        transform: rotateX(72deg) rotateZ(415deg);
    }
}

@keyframes authRingThree {
    0% {
        transform: rotateY(65deg) rotateZ(0deg);
    }

    100% {
        transform: rotateY(65deg) rotateZ(360deg);
    }
}

@keyframes authCorePulse {
    0%, 100% {
        opacity: 0.75;
        transform: scale(0.96);
    }

    50% {
        opacity: 1;
        transform: scale(1.08);
    }
}

@keyframes authGlassPanelFloat {
    0%, 100% {
        transform: rotateX(62deg) rotateZ(-18deg) translateY(0);
    }

    50% {
        transform: rotateX(62deg) rotateZ(-18deg) translateY(-10px);
    }
}

/* Responsive */
@media (max-width: 1100px) {
    body.auth-page .premium-auth-visual {
        min-height: auto;
    }

    body.auth-page .auth-3d-scene {
        height: 280px;
        margin-top: 28px;
    }
}

@media (max-width: 768px) {
    body.auth-page .auth-3d-scene {
        width: 100%;
        height: 250px;
        transform: scale(0.88);
        transform-origin: center;
        margin-top: 14px;
    }

    body.auth-page .auth-cube-face,
    body.auth-page .auth-3d-core {
        width: 128px;
        height: 128px;
    }

    body.auth-page .auth-cube-front {
        transform: translateZ(64px);
    }

    body.auth-page .auth-cube-back {
        transform: rotateY(180deg) translateZ(64px);
    }

    body.auth-page .auth-cube-right {
        transform: rotateY(90deg) translateZ(64px);
    }

    body.auth-page .auth-cube-left {
        transform: rotateY(-90deg) translateZ(64px);
    }

    body.auth-page .auth-cube-top {
        transform: rotateX(90deg) translateZ(64px);
    }

    body.auth-page .auth-cube-bottom {
        transform: rotateX(-90deg) translateZ(64px);
    }

    body.auth-page .auth-3d-chip {
        font-size: 12px;
        padding: 10px 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.auth-page .auth-3d-cube,
    body.auth-page .auth-3d-ring,
    body.auth-page .auth-core-glow,
    body.auth-page .auth-3d-scene::before {
        animation: none !important;
    }
}
/* ========================================================= */
/* AUTH 3D COMPACT FIX */
/* Paste di PALING BAWAH auth_premium.css */
/* Biar login/register gak terlalu tinggi dan gak banyak scroll */
/* ========================================================= */

/* Container utama diperkecil */
body.auth-page .premium-auth-main {
    width: min(1160px, calc(100% - 36px)) !important;
    margin: 20px auto !important;
    min-height: calc(100vh - 40px) !important;
    border-radius: 30px !important;
}

/* Padding kiri/kanan diperkecil */
body.auth-page .premium-auth-visual {
    min-height: auto !important;
    padding: 30px 42px !important;
}

body.auth-page .premium-auth-card {
    padding: 34px 38px !important;
}

/* Logo dan header kiri dipadatkan */
body.auth-page .auth-logo {
    margin-bottom: 14px !important;
    font-size: 26px !important;
}

body.auth-page .auth-logo i {
    width: 50px !important;
    height: 50px !important;
    border-radius: 16px !important;
    font-size: 21px !important;
}

body.auth-page .section-badge {
    margin-bottom: 14px !important;
    padding: 8px 14px !important;
    font-size: 12px !important;
}

body.auth-page .premium-auth-visual h1 {
    font-size: clamp(34px, 4.3vw, 52px) !important;
    line-height: 1.04 !important;
    margin-bottom: 12px !important;
}

body.auth-page .premium-auth-visual p {
    font-size: 15px !important;
    line-height: 1.65 !important;
}

/* Feature list lebih compact */
body.auth-page .premium-auth-feature-list {
    margin-top: 18px !important;
    gap: 10px !important;
}

body.auth-page .premium-auth-feature-list div {
    padding: 13px 16px !important;
    border-radius: 16px !important;
}

body.auth-page .premium-auth-feature-list div span {
    font-size: 14px !important;
}

/* 3D scene diperkecil */
body.auth-page .auth-3d-scene {
    width: min(340px, 100%) !important;
    height: 230px !important;
    margin-top: 20px !important;
    transform: scale(0.88) !important;
    transform-origin: center top !important;
}

/* Cube diperkecil */
body.auth-page .auth-3d-core {
    width: 118px !important;
    height: 118px !important;
}

body.auth-page .auth-cube-face {
    width: 118px !important;
    height: 118px !important;
    border-radius: 24px !important;
    gap: 8px !important;
}

body.auth-page .auth-cube-face i {
    font-size: 26px !important;
}

body.auth-page .auth-cube-face span {
    font-size: 12px !important;
}

/* Sesuaikan jarak 3D cube face */
body.auth-page .auth-cube-front {
    transform: translateZ(59px) !important;
}

body.auth-page .auth-cube-back {
    transform: rotateY(180deg) translateZ(59px) !important;
}

body.auth-page .auth-cube-right {
    transform: rotateY(90deg) translateZ(59px) !important;
}

body.auth-page .auth-cube-left {
    transform: rotateY(-90deg) translateZ(59px) !important;
}

body.auth-page .auth-cube-top {
    transform: rotateX(90deg) translateZ(59px) !important;
}

body.auth-page .auth-cube-bottom {
    transform: rotateX(-90deg) translateZ(59px) !important;
}

/* Ring ikut mengecil */
body.auth-page .auth-ring-one {
    width: 210px !important;
    height: 210px !important;
    margin-left: -105px !important;
    margin-top: -105px !important;
}

body.auth-page .auth-ring-two {
    width: 250px !important;
    height: 125px !important;
    margin-left: -125px !important;
    margin-top: -62px !important;
}

body.auth-page .auth-ring-three {
    width: 160px !important;
    height: 160px !important;
    margin-left: -80px !important;
    margin-top: -80px !important;
}

/* Chip lebih kecil dan gak makan tinggi */
body.auth-page .auth-3d-chip {
    padding: 9px 12px !important;
    font-size: 11px !important;
    gap: 7px !important;
}

body.auth-page .chip-one {
    top: 12px !important;
    left: 12px !important;
}

body.auth-page .chip-two {
    top: 86px !important;
    right: 0 !important;
}

body.auth-page .chip-three {
    left: 38px !important;
    bottom: 14px !important;
}

/* Card kanan dipadatkan */
body.auth-page .auth-card-header {
    margin-bottom: 20px !important;
}

body.auth-page .auth-icon {
    width: 62px !important;
    height: 62px !important;
    border-radius: 20px !important;
    font-size: 24px !important;
    margin-bottom: 12px !important;
}

body.auth-page .auth-mini-label {
    margin-bottom: 10px !important;
    padding: 8px 14px !important;
    font-size: 11px !important;
}

body.auth-page .auth-card-header h2 {
    font-size: 30px !important;
    margin-bottom: 8px !important;
}

body.auth-page .auth-card-header p {
    font-size: 14px !important;
    line-height: 1.55 !important;
}

/* Form lebih compact */
body.auth-page .premium-auth-form {
    gap: 15px !important;
}

body.auth-page .auth-form-group {
    gap: 7px !important;
}

body.auth-page .auth-input-wrapper {
    min-height: 54px !important;
    border-radius: 16px !important;
}

body.auth-page .auth-input-wrapper input {
    height: 54px !important;
    font-size: 15px !important;
}

body.auth-page .password-toggle {
    width: 36px !important;
    height: 36px !important;
    border-radius: 11px !important;
}

body.auth-page .auth-submit-btn {
    min-height: 54px !important;
    border-radius: 16px !important;
    font-size: 16px !important;
}

body.auth-page .premium-auth-switch {
    margin-top: 14px !important;
    padding: 14px !important;
    border-radius: 16px !important;
}

body.auth-page .auth-back-home {
    margin-top: 14px !important;
    padding: 12px 20px !important;
}

/* Register biasanya lebih panjang, lebih dipadatkan lagi */
body.auth-page .password-match-hint {
    padding: 10px 13px !important;
    border-radius: 14px !important;
    font-size: 12px !important;
}

/* Responsive */
@media (max-width: 1100px) {
    body.auth-page .premium-auth-main {
        margin: 14px auto !important;
        min-height: auto !important;
    }

    body.auth-page .premium-auth-visual,
    body.auth-page .premium-auth-card {
        padding: 28px !important;
    }

    body.auth-page .auth-3d-scene {
        height: 210px !important;
        margin-bottom: -10px !important;
    }
}

@media (max-width: 768px) {
    body.auth-page .premium-auth-main {
        width: min(100% - 18px, 100%) !important;
        border-radius: 24px !important;
    }

    body.auth-page .premium-auth-visual h1 {
        font-size: 34px !important;
    }

    body.auth-page .auth-3d-scene {
        height: 190px !important;
        transform: scale(0.78) !important;
        margin-top: 10px !important;
        margin-bottom: -20px !important;
    }
}
/* ========================================================= */
/* AUTH LEFT SIDE ULTRA COMPACT */
/* Paste di PALING BAWAH auth_premium.css */
/* Biar miniatur 3D kiri langsung keliatan tanpa scroll */
/* ========================================================= */

/* Area kiri dibuat lebih pendek dan rapat */
body.auth-page .premium-auth-visual {
    padding: 24px 38px 20px !important;
    justify-content: flex-start !important;
    gap: 14px !important;
}

/* Logo lebih kecil */
body.auth-page .auth-logo {
    margin-bottom: 10px !important;
    font-size: 24px !important;
}

body.auth-page .auth-logo i {
    width: 46px !important;
    height: 46px !important;
    border-radius: 15px !important;
    font-size: 20px !important;
}

/* Badge kecil */
body.auth-page .premium-auth-visual .section-badge {
    margin-bottom: 10px !important;
    padding: 7px 12px !important;
    font-size: 11px !important;
}

/* Judul kiri diperkecil */
body.auth-page .premium-auth-visual h1 {
    font-size: clamp(30px, 3.7vw, 44px) !important;
    line-height: 1.02 !important;
    margin: 0 0 10px !important;
    letter-spacing: -0.9px !important;
}

/* Deskripsi dipadatkan */
body.auth-page .premium-auth-visual p {
    font-size: 14px !important;
    line-height: 1.5 !important;
    max-width: 500px !important;
}

/* Feature list kiri dikurangi tinggi */
body.auth-page .premium-auth-feature-list {
    margin-top: 14px !important;
    gap: 8px !important;
    max-width: 500px !important;
}

body.auth-page .premium-auth-feature-list div {
    padding: 10px 14px !important;
    border-radius: 15px !important;
    gap: 10px !important;
}

body.auth-page .premium-auth-feature-list div i {
    font-size: 15px !important;
}

body.auth-page .premium-auth-feature-list div span {
    font-size: 13px !important;
}

/* Miniatur 3D dibuat naik dan tetap kelihatan */
body.auth-page .auth-3d-scene {
    width: min(310px, 100%) !important;
    height: 190px !important;
    margin: 12px auto 0 !important;
    transform: scale(0.78) !important;
    transform-origin: center top !important;
}

/* Glass panel belakang ikut kecil */
body.auth-page .auth-3d-scene::before {
    inset: 28px 42px !important;
    border-radius: 34px !important;
}

/* Cube lebih kecil lagi */
body.auth-page .auth-3d-core {
    width: 96px !important;
    height: 96px !important;
}

body.auth-page .auth-core-glow {
    inset: -22px !important;
}

body.auth-page .auth-cube-face {
    width: 96px !important;
    height: 96px !important;
    border-radius: 20px !important;
    gap: 6px !important;
}

body.auth-page .auth-cube-face i {
    font-size: 22px !important;
}

body.auth-page .auth-cube-face span {
    font-size: 10px !important;
}

/* Jarak face cube */
body.auth-page .auth-cube-front {
    transform: translateZ(48px) !important;
}

body.auth-page .auth-cube-back {
    transform: rotateY(180deg) translateZ(48px) !important;
}

body.auth-page .auth-cube-right {
    transform: rotateY(90deg) translateZ(48px) !important;
}

body.auth-page .auth-cube-left {
    transform: rotateY(-90deg) translateZ(48px) !important;
}

body.auth-page .auth-cube-top {
    transform: rotateX(90deg) translateZ(48px) !important;
}

body.auth-page .auth-cube-bottom {
    transform: rotateX(-90deg) translateZ(48px) !important;
}

/* Ring kecil */
body.auth-page .auth-ring-one {
    width: 176px !important;
    height: 176px !important;
    margin-left: -88px !important;
    margin-top: -88px !important;
}

body.auth-page .auth-ring-two {
    width: 210px !important;
    height: 105px !important;
    margin-left: -105px !important;
    margin-top: -52px !important;
}

body.auth-page .auth-ring-three {
    width: 132px !important;
    height: 132px !important;
    margin-left: -66px !important;
    margin-top: -66px !important;
}

/* Chip diposisikan lebih rapat biar muat */
body.auth-page .auth-3d-chip {
    padding: 7px 10px !important;
    font-size: 10px !important;
    gap: 6px !important;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12) !important;
}

body.auth-page .chip-one {
    top: 8px !important;
    left: 8px !important;
}

body.auth-page .chip-two {
    top: 70px !important;
    right: 2px !important;
}

body.auth-page .chip-three {
    left: 34px !important;
    bottom: 8px !important;
}

/* Kanan sedikit ikut disesuaikan supaya sejajar */
body.auth-page .premium-auth-card {
    padding-top: 28px !important;
    padding-bottom: 28px !important;
}

/* Kalau layar laptop agak pendek */
@media (max-height: 760px) and (min-width: 900px) {
    body.auth-page .premium-auth-main {
        margin: 12px auto !important;
        min-height: calc(100vh - 24px) !important;
    }

    body.auth-page .premium-auth-visual {
        padding-top: 20px !important;
        padding-bottom: 16px !important;
    }

    body.auth-page .premium-auth-visual h1 {
        font-size: 38px !important;
    }

    body.auth-page .premium-auth-visual p {
        font-size: 13px !important;
        line-height: 1.45 !important;
    }

    body.auth-page .premium-auth-feature-list {
        margin-top: 10px !important;
        gap: 7px !important;
    }

    body.auth-page .premium-auth-feature-list div {
        padding: 9px 13px !important;
    }

    body.auth-page .auth-3d-scene {
        height: 170px !important;
        margin-top: 8px !important;
        transform: scale(0.72) !important;
    }
}

/* HP/tablet tetap aman */
@media (max-width: 768px) {
    body.auth-page .auth-3d-scene {
        height: 165px !important;
        transform: scale(0.70) !important;
        margin-top: 8px !important;
        margin-bottom: -24px !important;
    }
}
/* ========================================================= */
/* AUTH 3D BALANCE FIX */
/* Paste di PALING BAWAH auth_premium.css */
/* Teks kiri dinaikkan, miniatur 3D dibesarkan sedikit */
/* ========================================================= */

/* Naikkan keseluruhan konten kiri */
body.auth-page .premium-auth-visual {
    padding-top: 18px !important;
    padding-bottom: 18px !important;
    justify-content: flex-start !important;
}

/* Konten tulisan lebih naik dan compact */
body.auth-page .auth-visual-content {
    transform: translateY(-8px) !important;
}

body.auth-page .auth-logo {
    margin-bottom: 8px !important;
}

body.auth-page .premium-auth-visual .section-badge {
    margin-bottom: 8px !important;
}

body.auth-page .premium-auth-visual h1 {
    font-size: clamp(31px, 3.8vw, 46px) !important;
    line-height: 1.02 !important;
    margin-bottom: 9px !important;
}

body.auth-page .premium-auth-visual p {
    font-size: 13.8px !important;
    line-height: 1.45 !important;
    max-width: 510px !important;
}

/* Feature list tetap kecil tapi lebih naik */
body.auth-page .premium-auth-feature-list {
    margin-top: 10px !important;
    gap: 7px !important;
}

body.auth-page .premium-auth-feature-list div {
    padding: 9px 13px !important;
    border-radius: 14px !important;
}

/* Miniatur 3D dibesarkan sedikit dan dinaikkan */
body.auth-page .auth-3d-scene {
    width: min(350px, 100%) !important;
    height: 215px !important;
    margin: 2px auto 0 !important;
    transform: scale(0.88) !important;
    transform-origin: center top !important;
}

/* Cube dibesarkan dari patch sebelumnya */
body.auth-page .auth-3d-core {
    width: 112px !important;
    height: 112px !important;
}

body.auth-page .auth-core-glow {
    inset: -26px !important;
}

body.auth-page .auth-cube-face {
    width: 112px !important;
    height: 112px !important;
    border-radius: 23px !important;
    gap: 7px !important;
}

body.auth-page .auth-cube-face i {
    font-size: 25px !important;
}

body.auth-page .auth-cube-face span {
    font-size: 11px !important;
}

/* Sesuaikan jarak face cube */
body.auth-page .auth-cube-front {
    transform: translateZ(56px) !important;
}

body.auth-page .auth-cube-back {
    transform: rotateY(180deg) translateZ(56px) !important;
}

body.auth-page .auth-cube-right {
    transform: rotateY(90deg) translateZ(56px) !important;
}

body.auth-page .auth-cube-left {
    transform: rotateY(-90deg) translateZ(56px) !important;
}

body.auth-page .auth-cube-top {
    transform: rotateX(90deg) translateZ(56px) !important;
}

body.auth-page .auth-cube-bottom {
    transform: rotateX(-90deg) translateZ(56px) !important;
}

/* Ring orbit dibesarkan lagi */
body.auth-page .auth-ring-one {
    width: 205px !important;
    height: 205px !important;
    margin-left: -102px !important;
    margin-top: -102px !important;
}

body.auth-page .auth-ring-two {
    width: 245px !important;
    height: 122px !important;
    margin-left: -122px !important;
    margin-top: -61px !important;
}

body.auth-page .auth-ring-three {
    width: 154px !important;
    height: 154px !important;
    margin-left: -77px !important;
    margin-top: -77px !important;
}

/* Chip dibesarkan sedikit tapi tetap rapat */
body.auth-page .auth-3d-chip {
    padding: 8px 12px !important;
    font-size: 10.8px !important;
    gap: 7px !important;
}

body.auth-page .chip-one {
    top: 6px !important;
    left: 10px !important;
}

body.auth-page .chip-two {
    top: 82px !important;
    right: 0 !important;
}

body.auth-page .chip-three {
    left: 42px !important;
    bottom: 8px !important;
}

/* Glass panel menyesuaikan 3D yang lebih besar */
body.auth-page .auth-3d-scene::before {
    inset: 22px 34px !important;
    border-radius: 36px !important;
}

/* Khusus laptop pendek: tetap muat */
@media (max-height: 760px) and (min-width: 900px) {
    body.auth-page .auth-visual-content {
        transform: translateY(-12px) !important;
    }

    body.auth-page .premium-auth-visual h1 {
        font-size: 40px !important;
    }

    body.auth-page .premium-auth-visual p {
        font-size: 13px !important;
        line-height: 1.42 !important;
    }

    body.auth-page .auth-3d-scene {
        height: 195px !important;
        margin-top: -4px !important;
        transform: scale(0.82) !important;
    }
}

@media (max-width: 768px) {
    body.auth-page .auth-visual-content {
        transform: translateY(0) !important;
    }

    body.auth-page .auth-3d-scene {
        height: 190px !important;
        margin-top: 4px !important;
        transform: scale(0.78) !important;
    }
}
/* ========================================================= */
/* REGISTER PAGE FIT FIX */
/* Paste di PALING BAWAH auth_premium.css */
/* Register dibuat lebih naik, compact, dan button kelihatan tanpa scroll */
/* ========================================================= */

/* Khusus halaman register */
body.auth-page:has(.register-form),
body.auth-page:has(input[name="confirm_password"]) {
    overflow-x: hidden !important;
}

/* Main box jangan terlalu turun */
body.auth-page .premium-auth-main {
    margin-top: 12px !important;
    margin-bottom: 12px !important;
    min-height: calc(100vh - 24px) !important;
}

/* Kolom kanan register dipadatkan */
body.auth-page .premium-auth-card {
    padding: 24px 36px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

/* Header register terlalu makan tempat, jadi diperkecil */
body.auth-page .auth-card-header {
    margin-bottom: 14px !important;
}

body.auth-page .auth-icon {
    width: 54px !important;
    height: 54px !important;
    border-radius: 18px !important;
    font-size: 21px !important;
    margin-bottom: 10px !important;
}

body.auth-page .auth-mini-label {
    margin-bottom: 8px !important;
    padding: 7px 13px !important;
    font-size: 10.5px !important;
}

body.auth-page .auth-card-header h2 {
    font-size: 28px !important;
    margin-bottom: 6px !important;
    line-height: 1.08 !important;
}

body.auth-page .auth-card-header p {
    font-size: 13.5px !important;
    line-height: 1.45 !important;
    margin-bottom: 0 !important;
}

/* Form register dibuat lebih rapat */
body.auth-page .premium-auth-form {
    gap: 11px !important;
}

body.auth-page .auth-form-group {
    gap: 5px !important;
}

body.auth-page .auth-form-group label {
    font-size: 11.2px !important;
    letter-spacing: 1.1px !important;
}

/* Input lebih pendek */
body.auth-page .auth-input-wrapper {
    min-height: 50px !important;
    border-radius: 15px !important;
}

body.auth-page .auth-input-wrapper input {
    height: 50px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    font-size: 14.5px !important;
}

body.auth-page .auth-input-wrapper > i {
    font-size: 16px !important;
}

/* Eye icon lebih rapi */
body.auth-page .password-toggle {
    width: 34px !important;
    height: 34px !important;
    right: 10px !important;
    border-radius: 11px !important;
}

/* Hint password jangan tinggi banget */
body.auth-page .password-match-hint {
    padding: 9px 12px !important;
    border-radius: 14px !important;
    font-size: 11.5px !important;
    line-height: 1.35 !important;
    margin-top: 2px !important;
}

/* Button register kelihatan */
body.auth-page .auth-submit-btn {
    min-height: 50px !important;
    border-radius: 16px !important;
    font-size: 15.5px !important;
    margin-top: 2px !important;
}

/* Switch login/register bawah diperkecil */
body.auth-page .premium-auth-switch {
    margin-top: 10px !important;
    padding: 11px 14px !important;
    border-radius: 15px !important;
    font-size: 13px !important;
}

body.auth-page .auth-back-home {
    margin-top: 10px !important;
    padding: 10px 18px !important;
    font-size: 13px !important;
}

/* Kiri register: tulisan dinaikkan, 3D dibuat kelihatan lebih proper */
body.auth-page .premium-auth-visual {
    padding-top: 16px !important;
    padding-bottom: 14px !important;
}

body.auth-page .auth-visual-content {
    transform: translateY(-14px) !important;
}

body.auth-page .premium-auth-visual h1 {
    font-size: clamp(30px, 3.6vw, 43px) !important;
    line-height: 1.02 !important;
    margin-bottom: 8px !important;
}

body.auth-page .premium-auth-visual p {
    font-size: 13.5px !important;
    line-height: 1.42 !important;
}

body.auth-page .premium-auth-feature-list {
    margin-top: 10px !important;
    gap: 7px !important;
}

body.auth-page .premium-auth-feature-list div {
    padding: 9px 13px !important;
}

/* Miniatur 3D tetap cukup besar tapi naik */
body.auth-page .auth-3d-scene {
    height: 205px !important;
    margin-top: -8px !important;
    transform: scale(0.86) !important;
    transform-origin: center top !important;
}

/* Kalau layar pendek banget, paksa lebih compact */
@media (max-height: 760px) and (min-width: 900px) {
    body.auth-page .premium-auth-main {
        margin-top: 8px !important;
        margin-bottom: 8px !important;
        min-height: calc(100vh - 16px) !important;
    }

    body.auth-page .premium-auth-card {
        padding-top: 18px !important;
        padding-bottom: 18px !important;
    }

    body.auth-page .auth-card-header {
        margin-bottom: 10px !important;
    }

    body.auth-page .auth-icon {
        width: 48px !important;
        height: 48px !important;
        margin-bottom: 8px !important;
    }

    body.auth-page .auth-card-header h2 {
        font-size: 25px !important;
    }

    body.auth-page .auth-card-header p {
        font-size: 12.5px !important;
    }

    body.auth-page .premium-auth-form {
        gap: 9px !important;
    }

    body.auth-page .auth-input-wrapper,
    body.auth-page .auth-input-wrapper input {
        min-height: 46px !important;
        height: 46px !important;
    }

    body.auth-page .password-match-hint {
        padding: 8px 11px !important;
        font-size: 11px !important;
    }

    body.auth-page .auth-submit-btn {
        min-height: 47px !important;
    }

    body.auth-page .premium-auth-switch,
    body.auth-page .auth-back-home {
        margin-top: 8px !important;
    }

    body.auth-page .auth-3d-scene {
        height: 185px !important;
        margin-top: -12px !important;
        transform: scale(0.78) !important;
    }
}

/* Browser lama yang belum support :has tetap aman karena class umum tetap jalan */
/* ================= ADMIN PAGE ================= */
.admin-page {
    margin: 0;
    padding: 0;
    background:
        radial-gradient(circle at top left, rgba(50, 140, 255, 0.14), transparent 28%),
        radial-gradient(circle at bottom right, rgba(0, 201, 167, 0.12), transparent 24%),
        linear-gradient(135deg, #eef7ff 0%, #f7fbff 55%, #edf5fb 100%);
    color: #163047;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.admin-layout {
    display: flex;
    min-height: 100vh;
}

/* SIDEBAR */
.admin-sidebar {
    width: 285px;
    background: rgba(12, 38, 64, 0.95);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px 20px;
    box-shadow: 8px 0 30px rgba(17, 55, 86, 0.16);
    position: sticky;
    top: 0;
    height: 100vh;
}

.admin-sidebar-top {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.admin-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 14px;
    color: #ffffff;
}

.admin-logo-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, #53b7ff, #2b7fff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 10px 25px rgba(43, 127, 255, 0.35);
}

.admin-logo h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
}

.admin-logo p {
    margin: 4px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
}

.admin-profile-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    backdrop-filter: blur(10px);
}

.admin-profile-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #89d4ff, #4ca7ff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 20px;
    box-shadow: 0 10px 22px rgba(76, 167, 255, 0.28);
}

.admin-profile-info h3 {
    margin: 0;
    font-size: 16px;
    color: #ffffff;
}

.admin-profile-info span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.75);
}

.admin-sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-menu-link {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.84);
    padding: 14px 16px;
    border-radius: 16px;
    transition: 0.25s ease;
    font-weight: 600;
}

.admin-menu-link i {
    width: 20px;
    text-align: center;
}

.admin-menu-link:hover,
.admin-menu-link.active {
    background: linear-gradient(135deg, rgba(83, 183, 255, 0.20), rgba(43, 127, 255, 0.24));
    color: #ffffff;
    transform: translateX(4px);
}

.admin-sidebar-bottom {
    margin-top: 20px;
}

.admin-logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    color: #ffffff;
    background: linear-gradient(135deg, #ff7a7a, #ff5252);
    padding: 14px 16px;
    border-radius: 16px;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(255, 82, 82, 0.24);
    transition: 0.25s ease;
}

.admin-logout-btn:hover {
    transform: translateY(-2px);
}

/* MAIN */
.admin-main {
    flex: 1;
    padding: 32px;
    overflow-x: hidden;
}

.admin-hero {
    background: linear-gradient(135deg, #fdfefe 0%, #f6fbff 55%, #eef8ff 100%);
    border: 1px solid rgba(56, 122, 182, 0.10);
    border-radius: 28px;
    padding: 34px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
    box-shadow: 0 16px 40px rgba(18, 74, 115, 0.08);
    margin-bottom: 26px;
}

.admin-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(56, 151, 255, 0.12);
    color: #1976d2;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
}

.admin-hero-text h1 {
    margin: 0 0 12px;
    font-size: 34px;
    line-height: 1.2;
    color: #12314c;
}

.admin-hero-text p {
    margin: 0;
    max-width: 760px;
    color: #557289;
    line-height: 1.7;
    font-size: 15px;
}

.admin-hero-visual {
    width: 210px;
    height: 210px;
    min-width: 210px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-hero-core {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: linear-gradient(135deg, #58c6ff, #2d7ff9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 44px;
    box-shadow: 0 18px 45px rgba(45, 127, 249, 0.30);
    z-index: 2;
    animation: floatCore 4s ease-in-out infinite;
}

.admin-orbit {
    position: absolute;
    border-radius: 50%;
    border: 2px dashed rgba(70, 145, 220, 0.25);
    animation: spinOrbit 12s linear infinite;
}

.admin-orbit-one {
    width: 160px;
    height: 160px;
}

.admin-orbit-two {
    width: 210px;
    height: 210px;
    animation-direction: reverse;
    animation-duration: 16s;
}

@keyframes spinOrbit {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes floatCore {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

/* SUMMARY */
.admin-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

.admin-summary-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    padding: 24px;
    display: flex;
    gap: 16px;
    align-items: center;
    border: 1px solid rgba(66, 135, 191, 0.10);
    box-shadow: 0 12px 30px rgba(22, 74, 108, 0.08);
}

.glass-blue {
    background: linear-gradient(135deg, rgba(223, 242, 255, 0.95), rgba(242, 248, 255, 0.95));
}
.glass-green {
    background: linear-gradient(135deg, rgba(226, 255, 245, 0.95), rgba(243, 255, 251, 0.95));
}
.glass-purple {
    background: linear-gradient(135deg, rgba(238, 235, 255, 0.95), rgba(247, 245, 255, 0.95));
}
.glass-orange {
    background: linear-gradient(135deg, rgba(255, 240, 223, 0.95), rgba(255, 248, 240, 0.95));
}

.admin-summary-icon {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    background: linear-gradient(135deg, #4cb6ff, #2e7cf8);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 12px 24px rgba(46, 124, 248, 0.25);
    flex-shrink: 0;
}

.admin-summary-content p {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 700;
    color: #597890;
}

.admin-summary-content h2 {
    margin: 0;
    font-size: 30px;
    color: #12314c;
    font-weight: 800;
}

.admin-summary-content span {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #6c879b;
}

/* MONITOR GRID */
.admin-monitor-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 20px;
    margin-bottom: 24px;
}

.admin-panel-card {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(75, 141, 199, 0.12);
    border-radius: 26px;
    padding: 24px;
    box-shadow: 0 14px 34px rgba(24, 73, 109, 0.08);
}

.admin-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}

.admin-panel-head h3 {
    margin: 0;
    color: #14344f;
    font-size: 22px;
}

.admin-panel-head p {
    margin: 6px 0 0;
    color: #6d879a;
    font-size: 14px;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.status-pill.ready {
    background: rgba(35, 195, 132, 0.14);
    color: #109a61;
}

.status-pill.waiting {
    background: rgba(255, 179, 71, 0.18);
    color: #b46b00;
}

.admin-status-box {
    display: flex;
    gap: 16px;
    align-items: center;
    background: linear-gradient(135deg, #f7fbff, #f2f9ff);
    border: 1px solid rgba(75, 141, 199, 0.12);
    border-radius: 20px;
    padding: 18px;
}

.admin-status-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 26px;
    flex-shrink: 0;
}

.admin-status-icon.ready {
    background: linear-gradient(135deg, #20c997, #14a76f);
}

.admin-status-icon.waiting {
    background: linear-gradient(135deg, #ffbe55, #ff9f1c);
}

.admin-status-text h4 {
    margin: 0 0 8px;
    font-size: 18px;
    color: #12314c;
}

.admin-status-text p {
    margin: 0;
    color: #5e7b90;
    line-height: 1.65;
    font-size: 14px;
}

.admin-retrain-note {
    margin-top: 16px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    background: rgba(37, 130, 213, 0.08);
    border-radius: 16px;
    padding: 14px 16px;
    color: #3c6988;
    font-size: 14px;
    line-height: 1.6;
}

.progress-percent {
    font-size: 26px;
    font-weight: 800;
    color: #2276d8;
}

.admin-progress-wrap {
    margin-top: 8px;
}

.admin-progress-track {
    width: 100%;
    height: 16px;
    border-radius: 999px;
    background: #e8f1f8;
    overflow: hidden;
}

.admin-progress-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #42b7ff, #2a7cf6, #24c59a);
    box-shadow: 0 6px 18px rgba(42, 124, 246, 0.28);
    transition: width 0.7s ease;
}

.admin-progress-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    color: #6a879a;
    font-size: 13px;
    font-weight: 600;
}

.admin-progress-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 20px;
}

.admin-mini-stat {
    background: linear-gradient(135deg, #f8fbff, #f2f8ff);
    border-radius: 18px;
    padding: 18px;
    border: 1px solid rgba(76, 140, 201, 0.12);
    text-align: center;
}

.admin-mini-stat h4 {
    margin: 0;
    font-size: 28px;
    color: #15324c;
}

.admin-mini-stat p {
    margin: 6px 0 0;
    color: #678398;
    font-size: 13px;
    font-weight: 600;
}

/* ACTIONS */
.admin-action-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

.admin-action-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(78, 144, 198, 0.12);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 12px 28px rgba(22, 74, 108, 0.07);
    transition: 0.25s ease;
}

.admin-action-card:hover {
    transform: translateY(-4px);
}

.admin-action-card.highlight {
    background: linear-gradient(135deg, #eaf4ff, #f4fbff);
}

.admin-action-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: linear-gradient(135deg, #58c6ff, #2d7ff9);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
    box-shadow: 0 10px 24px rgba(45, 127, 249, 0.24);
    margin-bottom: 16px;
}

.admin-action-card h3 {
    margin: 0 0 10px;
    font-size: 20px;
    color: #14344f;
}

.admin-action-card p {
    margin: 0 0 18px;
    color: #5d7b90;
    line-height: 1.7;
    font-size: 14px;
}

.admin-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, #2f80ed, #56ccf2);
    color: #ffffff;
    padding: 12px 18px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 10px 22px rgba(47, 128, 237, 0.22);
}

.disabled-btn {
    background: linear-gradient(135deg, #b2c7d9, #9eb6ca);
    cursor: not-allowed;
    box-shadow: none;
}

/* LOG SECTION */
.admin-log-section {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(75, 141, 199, 0.12);
    border-radius: 26px;
    padding: 24px;
    box-shadow: 0 14px 34px rgba(24, 73, 109, 0.08);
}

.admin-section-title {
    margin-bottom: 18px;
}

.admin-section-title h3 {
    margin: 0;
    color: #14344f;
    font-size: 22px;
}

.admin-section-title p {
    margin: 6px 0 0;
    color: #688397;
    font-size: 14px;
}

.admin-log-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.admin-log-item {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    padding: 18px;
    border-radius: 20px;
    background: linear-gradient(135deg, #f8fbff, #f2f8ff);
    border: 1px solid rgba(78, 144, 198, 0.10);
}

.admin-log-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.admin-log-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, #56ccf2, #2f80ed);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.admin-log-info h4 {
    margin: 0 0 6px;
    font-size: 17px;
    color: #12314c;
}

.admin-log-info p {
    margin: 0;
    color: #607d92;
    font-size: 14px;
    line-height: 1.6;
}

.admin-log-right {
    text-align: right;
    min-width: 150px;
}

.admin-log-badge {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(47, 128, 237, 0.12);
    color: #1f6fd2;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 8px;
}

.admin-log-right small {
    display: block;
    color: #70899b;
    font-size: 12px;
}

.admin-empty-state {
    text-align: center;
    padding: 34px 20px;
    background: linear-gradient(135deg, #f9fcff, #f2f8ff);
    border-radius: 22px;
    border: 1px dashed rgba(78, 144, 198, 0.24);
}

.admin-empty-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    margin: 0 auto 14px;
    background: linear-gradient(135deg, #a6d9ff, #67b8ff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 28px;
}

.admin-empty-state h4 {
    margin: 0 0 8px;
    color: #14344f;
}

.admin-empty-state p {
    margin: 0;
    color: #658194;
    font-size: 14px;
    line-height: 1.7;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .admin-summary-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-action-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-monitor-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .admin-layout {
        flex-direction: column;
    }

    .admin-sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }

    .admin-main {
        padding: 22px;
    }

    .admin-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-hero-visual {
        align-self: center;
    }
}

@media (max-width: 768px) {
    .admin-summary-grid,
    .admin-action-grid,
    .admin-progress-info {
        grid-template-columns: 1fr;
    }

    .admin-log-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-log-right {
        text-align: left;
        min-width: auto;
    }

    .admin-hero-text h1 {
        font-size: 28px;
    }
}
.auth-alert {
    width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(14, 165, 233, 0.10);
    border: 1px solid rgba(14, 165, 233, 0.22);
    color: #075985;
    font-size: 14px;
    margin-bottom: 16px;
}

.auth-alert p {
    margin: 0;
}

/* ================= DASHBOARD USER AUTH NAV FIX ================= */

.dashboard-user-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(14, 165, 233, 0.18);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(14px);
}

.dashboard-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0ea5e9, #14b8a6);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    box-shadow: 0 10px 22px rgba(14, 165, 233, 0.24);
}

.dashboard-user-info {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    min-width: 84px;
}

.dashboard-user-info strong {
    font-size: 13px;
    color: #0f172a;
    max-width: 130px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.dashboard-user-info span {
    font-size: 11px;
    color: #64748b;
    text-transform: capitalize;
}

.dashboard-logout-btn {
    text-decoration: none;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.10);
    border: 1px solid rgba(239, 68, 68, 0.16);
    padding: 10px 13px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: 0.25s ease;
}

.dashboard-logout-btn:hover {
    background: rgba(239, 68, 68, 0.16);
    transform: translateY(-2px);
}

@media (max-width: 720px) {
    .dashboard-user-info {
        display: none;
    }

    .dashboard-logout-btn {
        padding: 10px 12px;
        font-size: 0;
        gap: 0;
    }

    .dashboard-logout-btn i {
        font-size: 14px;
    }
}

/* ================= LANDING USER AUTH NAV FIX ================= */

.landing-user-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(14, 165, 233, 0.18);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(14px);
}

.landing-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0ea5e9, #14b8a6);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    box-shadow: 0 10px 22px rgba(14, 165, 233, 0.24);
}

.landing-user-info {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    min-width: 80px;
}

.landing-user-info strong {
    font-size: 13px;
    color: #0f172a;
    max-width: 130px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.landing-user-info span {
    font-size: 11px;
    color: #64748b;
    text-transform: capitalize;
}

.landing-btn-logout {
    text-decoration: none;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.10);
    border: 1px solid rgba(239, 68, 68, 0.16);
    padding: 10px 13px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: 0.25s ease;
}

.landing-btn-logout:hover {
    background: rgba(239, 68, 68, 0.16);
    transform: translateY(-2px);
}

@media (max-width: 820px) {
    .landing-user-info {
        display: none;
    }

    .landing-btn-logout {
        padding: 10px 12px;
        font-size: 0;
        gap: 0;
    }

    .landing-btn-logout i {
        font-size: 14px;
    }
}

/* ================= ADMIN RETRAIN PATCH ================= */

.admin-flash {
    margin-bottom: 22px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(14, 165, 233, 0.10);
    border: 1px solid rgba(14, 165, 233, 0.18);
    color: #075985;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.admin-flash p {
    margin: 0;
    font-weight: 700;
    line-height: 1.6;
}

.admin-retrain-form {
    width: 100%;
}

.admin-retrain-form .admin-action-btn {
    width: 100%;
    border: none;
    cursor: pointer;
}

.admin-retrain-form .admin-action-btn:disabled {
    opacity: 0.75;
    cursor: wait;
}

.disabled-btn:disabled {
    cursor: not-allowed;
}
.result-table thead th,
.csv-table thead th,
table thead th {
    position: static !important;
    top: auto !important;
    z-index: auto !important;
}

/* ================================
   FIX TAMPILAN FIELD MANUAL
   - input lebih slim
   - hint tidak jadi kotak besar
   - jarak antar field lebih rapat
================================ */

/* Input jangan terlalu tinggi */
.manual-page .manual-form .input-with-icon input,
.manual-page .manual-form .input-with-icon select {
    height: 58px !important;
    min-height: 58px !important;
    line-height: 58px !important;
    padding-left: 58px !important;
    padding-right: 18px !important;
    border-radius: 18px !important;
    font-size: 1rem !important;
}

/* Icon tetap sejajar tapi tidak kegedean */
.manual-page .manual-form .input-with-icon > i {
    left: 22px !important;
    font-size: 16px !important;
    width: 18px !important;
    height: 18px !important;
}

/* Label dan small text lebih rapi */
.manual-page .manual-form .manual-form-group {
    gap: 8px !important;
}

.manual-page .manual-form .manual-form-group label {
    margin-bottom: 0 !important;
}

.manual-page .manual-form .manual-form-group small {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
    margin-top: 2px !important;
}

/* Hint jangan jadi card gede */
.manual-page .manual-live-hint {
    min-height: unset !important;
    height: auto !important;
    padding: 10px 14px !important;
    border-radius: 14px !important;
    font-size: 0.88rem !important;
    line-height: 1.45 !important;
    margin-top: 2px !important;
    background: #f6faff !important;
    border: 1px solid #dcecff !important;
}

/* Biar kolom kiri kanan tidak terasa terlalu jauh turun */
.manual-page .manual-form-grid {
    row-gap: 26px !important;
    column-gap: 26px !important;
    align-items: start !important;
}

/* Card section jangan terlalu longgar */
.manual-page .form-section-card {
    padding-top: 36px !important;
    padding-bottom: 36px !important;
}

/* Hilangin spinner angka bawaan browser */
.manual-page input[type="number"]::-webkit-outer-spin-button,
.manual-page input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

.manual-page input[type="number"] {
    appearance: textfield !important;
    -moz-appearance: textfield !important;
}


/* ========================================================= */
/* PATCH - REKOMENDASI PERSONAL LEBIH NATURAL */
/* ========================================================= */

.manual-recommendation-showcase .recommendation-main-card h3 {
    max-width: 780px;
    line-height: 1.22;
    letter-spacing: -0.04em;
}

.manual-recommendation-showcase .recommendation-main-card > p {
    max-width: 850px;
    line-height: 1.85;
}

.manual-recommendation-showcase .recommendation-alert {
    align-items: flex-start;
}

.manual-recommendation-showcase .recommendation-alert p {
    line-height: 1.75;
}

.dynamic-recommendation-grid .dynamic-recommendation-card h4 {
    line-height: 1.28;
}

.dynamic-recommendation-grid .dynamic-recommendation-card p {
    line-height: 1.65;
}

/* ========================================================= */
/* ADMIN RETRAIN LOG PREMIUM FINAL PATCH */
/* Paste di PALING BAWAH static/css/style.css */
/* ========================================================= */

.admin-page .premium-update-log-section {
    position: relative;
    overflow: hidden;
    padding: 30px !important;
    border-radius: 30px !important;
    border: 1px solid rgba(186, 230, 253, 0.9) !important;
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.13), transparent 34%),
        radial-gradient(circle at bottom left, rgba(20, 184, 166, 0.11), transparent 36%),
        rgba(255, 255, 255, 0.96) !important;
    box-shadow: 0 22px 58px rgba(15, 23, 42, 0.08) !important;
}

.admin-page .premium-update-log-section::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: -120px;
    top: -130px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.18), transparent 70%);
    pointer-events: none;
    animation: adminLogBlobOne 8s ease-in-out infinite;
}

.admin-page .premium-update-log-section::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    left: -100px;
    bottom: -110px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.15), transparent 70%);
    pointer-events: none;
    animation: adminLogBlobTwo 9s ease-in-out infinite;
}

.admin-page .premium-update-log-section > * {
    position: relative;
    z-index: 2;
}

.admin-page .premium-log-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px !important;
}

.admin-page .premium-log-badge-title {
    margin-bottom: 14px !important;
}

.admin-page .premium-log-title h3 {
    font-size: 28px !important;
    letter-spacing: -0.7px;
    color: #0f172a !important;
}

.admin-page .premium-log-title p {
    max-width: 760px;
    color: #64748b !important;
    line-height: 1.75 !important;
}

.admin-page .premium-log-list {
    display: grid;
    gap: 18px;
}

.admin-page .premium-log-card {
    position: relative;
    overflow: hidden;
    padding: 22px;
    border-radius: 26px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.10), transparent 35%),
        linear-gradient(135deg, #ffffff, #f8fdff);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
    transition: 0.25s ease;
}

.admin-page .premium-log-card:hover {
    transform: translateY(-5px);
    border-color: rgba(14, 165, 233, 0.38);
    box-shadow: 0 26px 62px rgba(14, 165, 233, 0.15);
}

.admin-page .premium-log-card::before {
    content: "";
    position: absolute;
    width: 7px;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(180deg, #0ea5e9, #14b8a6);
}

.admin-page .premium-log-card::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    right: -70px;
    bottom: -70px;
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.08);
    pointer-events: none;
}

.admin-page .premium-log-card.log-failed::before {
    background: linear-gradient(180deg, #ef4444, #f97316);
}

.admin-page .premium-log-card.log-failed::after {
    background: rgba(239, 68, 68, 0.08);
}

.admin-page .premium-log-card-top {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

.admin-page .premium-log-main {
    display: flex;
    align-items: center;
    gap: 15px;
}

.admin-page .premium-log-icon {
    width: 58px;
    height: 58px;
    min-width: 58px;
    border-radius: 20px;
    background: linear-gradient(135deg, #10b981, #14b8a6);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
    box-shadow: 0 16px 30px rgba(16, 185, 129, 0.20);
}

.admin-page .log-failed .premium-log-icon {
    background: linear-gradient(135deg, #ef4444, #f97316);
    box-shadow: 0 16px 30px rgba(239, 68, 68, 0.18);
}

.admin-page .premium-log-label {
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 5px;
}

.admin-page .premium-log-main h4 {
    margin: 0;
    color: #0f172a;
    font-size: 22px;
    letter-spacing: -0.4px;
}

.admin-page .premium-log-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.admin-page .premium-log-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 13px;
    border-radius: 999px;
    background: #dcfce7;
    color: #047857;
    border: 1px solid #86efac;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.admin-page .log-failed .premium-log-status {
    background: #fee2e2;
    color: #991b1b;
    border-color: #fca5a5;
}

.admin-page .premium-log-meta small {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

.admin-page .premium-log-message {
    position: relative;
    z-index: 2;
    padding: 17px 18px;
    border-radius: 18px;
    background: #f8fdff;
    border: 1px solid #dbeafe;
    margin-bottom: 16px;
}

.admin-page .premium-log-message p {
    margin: 0;
    color: #475569;
    line-height: 1.75;
    font-size: 14px;
    font-weight: 650;
}

.admin-page .premium-log-detail-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.admin-page .premium-log-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(226, 232, 240, 0.95);
    transition: 0.22s ease;
}

.admin-page .premium-log-detail:hover {
    transform: translateY(-3px);
    background: #f0fdfa;
    border-color: #99f6e4;
}

.admin-page .premium-log-detail i {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 15px;
    background: linear-gradient(135deg, #0ea5e9, #14b8a6);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-page .premium-log-detail span {
    display: block;
    color: #64748b;
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.65px;
    margin-bottom: 4px;
}

.admin-page .premium-log-detail strong {
    color: #0f172a;
    font-size: 14px;
    font-weight: 950;
}

.admin-page .premium-empty-log {
    position: relative;
    z-index: 2;
    border-radius: 26px !important;
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.10), transparent 34%),
        linear-gradient(135deg, #ffffff, #f8fdff) !important;
}

@keyframes adminLogBlobOne {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-18px, 18px) scale(1.08);
    }
}

@keyframes adminLogBlobTwo {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(18px, -16px) scale(1.08);
    }
}

@media (max-width: 900px) {
    .admin-page .premium-log-card-top {
        flex-direction: column;
    }

    .admin-page .premium-log-meta {
        align-items: flex-start;
    }

    .admin-page .premium-log-detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .admin-page .premium-update-log-section {
        padding: 22px !important;
        border-radius: 24px !important;
    }

    .admin-page .premium-log-card {
        padding: 20px;
        border-radius: 22px;
    }

    .admin-page .premium-log-main {
        align-items: flex-start;
    }
}
/* =========================================================
           HISTORY SOURCE + RETRAIN STATUS BADGES
           ========================================================= */
        .history-note-card {
            position: relative;
            overflow: hidden;
        }

        .history-note-card::after {
            content: "";
            position: absolute;
            width: 150px;
            height: 150px;
            right: -70px;
            top: -70px;
            border-radius: 999px;
            background: rgba(14, 165, 233, 0.08);
        }

        .history-card-topline {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            align-items: center;
            margin-bottom: 12px;
        }

        .history-status-badge {
            display: inline-flex;
            align-items: center;
            gap: 7px;
            width: fit-content;
            padding: 8px 11px;
            border-radius: 999px;
            font-size: 0.74rem;
            font-weight: 900;
            letter-spacing: 0.03em;
            text-transform: uppercase;
            border: 1px solid transparent;
            line-height: 1;
        }

        .history-status-badge i {
            font-size: 0.82rem;
        }

        .history-source-manual {
            color: #0369a1;
            background: #e0f2fe;
            border-color: #bae6fd;
        }

        .history-source-csv {
            color: #0f766e;
            background: #ccfbf1;
            border-color: #99f6e4;
        }

        .history-status-pending {
            color: #b45309;
            background: #fef3c7;
            border-color: #fde68a;
        }

        .history-status-verified {
            color: #047857;
            background: #dcfce7;
            border-color: #bbf7d0;
        }

        .history-retrain-yes {
            color: #15803d;
            background: #ecfdf5;
            border-color: #bbf7d0;
        }

        .history-retrain-no {
            color: #475569;
            background: #f1f5f9;
            border-color: #cbd5e1;
        }

        .history-meta-strip {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 12px;
            margin: 18px 0 20px;
        }

        .history-meta-item {
            display: flex;
            gap: 11px;
            align-items: flex-start;
            padding: 14px;
            border-radius: 18px;
            background: linear-gradient(180deg, #ffffff, #f8fbff);
            border: 1px solid #e2e8f0;
        }

        .history-meta-item i {
            width: 34px;
            height: 34px;
            min-width: 34px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #ffffff;
            background: linear-gradient(135deg, #0ea5e9, #14b8a6);
            box-shadow: 0 10px 24px rgba(14, 165, 233, 0.16);
        }

        .history-meta-item span {
            display: block;
            color: #64748b;
            font-size: 0.74rem;
            font-weight: 900;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            margin-bottom: 4px;
        }

        .history-meta-item strong {
            display: block;
            color: #0f172a;
            font-size: 0.92rem;
            line-height: 1.35;
        }

        .history-filter-tabs .history-filter-btn[data-filter="manual"],
        .history-filter-tabs .history-filter-btn[data-filter="csv"] {
            border-style: dashed;
        }

        @media (max-width: 900px) {
            .history-meta-strip {
                grid-template-columns: 1fr;
            }
        }
