/* 
   AI INTERVIEW PLATFORM
   PROFESSIONAL AI SAAS THEME
   Emerald • Teal • Amber • Cyan • Indigo • Blue • Violet
 */


/* 
   COLOR SYSTEM
 */

:root {

    /* PRIMARY */
    --emerald: #10b981;
    --emerald-dark: #059669;
    --emerald-light: #d1fae5;

    /* SECONDARY */
    --teal: #14b8a6;
    --teal-dark: #0f766e;
    --teal-light: #ccfbf1;

    /* ACCENT */
    --amber: #f59e0b;
    --amber-dark: #d97706;
    --amber-light: #fef3c7;

    /* TECH */
    --cyan: #06b6d4;
    --cyan-dark: #0891b2;
    --cyan-light: #cffafe;

    /* AI */
    --indigo: #6366f1;
    --indigo-dark: #4f46e5;
    --indigo-light: #e0e7ff;

    /* BLUE */
    --blue: #3b82f6;
    --blue-dark: #2563eb;
    --blue-light: #dbeafe;

    /* VIOLET */
    --violet: #8b5cf6;
    --violet-dark: #7c3aed;
    --violet-light: #ede9fe;

    /* NEUTRALS */
    --ink: #172033;
    --text: #334155;
    --muted: #64748b;
    --subtle: #94a3b8;

    --border: #e2e8f0;
    --border-soft: #edf2f7;

    --white: #ffffff;
    --background: #f8fafc;

    /* EFFECTS */
    --shadow-sm: 0 5px 18px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 12px 30px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 25px 65px rgba(15, 23, 42, 0.10);

    --radius-sm: 9px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 22px;
}


/* 
   GLOBAL
 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    background: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
textarea {
    font-family: inherit;
}

button {
    cursor: pointer;
}


/* 
   NAVBAR
 */

.navbar {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 100;

    background: rgba(248, 250, 252, 0.86);

    border-bottom:
        1px solid rgba(226, 232, 240, 0.85);

    backdrop-filter: blur(18px);
}

.nav-container {
    width: 100%;
    max-width: 1180px;

    margin: auto;
    padding: 17px 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* 
   LOGO
 */

.logo {
    display: flex;
    align-items: center;
    gap: 10px;

    color: var(--ink);

    font-size: 19px;
    font-weight: 750;

    letter-spacing: -0.3px;
}

.logo-icon {
    width: 35px;
    height: 35px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            var(--emerald),
            var(--teal),
            var(--cyan)
        );

    color: white;
    font-size: 17px;

    box-shadow:
        0 8px 22px rgba(16, 185, 129, 0.25);
}


/* 
   NAV LINKS
 */

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links > a:not(.nav-button) {
    color: var(--muted);

    font-size: 14px;
    font-weight: 500;

    transition: color 0.2s ease;
}

.nav-links > a:not(.nav-button):hover {
    color: var(--teal-dark);
}


/* 
   NAV BUTTON
 */

.nav-button {
    padding: 9px 18px;

    background:
        linear-gradient(
            135deg,
            var(--indigo),
            var(--violet)
        );

    color: white;

    border-radius: var(--radius-sm);

    font-size: 14px;
    font-weight: 600;

    box-shadow:
        0 7px 18px rgba(99, 102, 241, 0.18);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
}

.nav-button:hover {
    transform: translateY(-2px);

    filter: brightness(0.96);

    box-shadow:
        0 11px 25px rgba(99, 102, 241, 0.25);
}


/* 
   HERO
 */

.hero {
    min-height: calc(100vh - 69px);

    display: flex;
    align-items: center;

    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 7% 18%,
            rgba(16, 185, 129, 0.15),
            transparent 27%
        ),
        radial-gradient(
            circle at 90% 15%,
            rgba(6, 182, 212, 0.13),
            transparent 27%
        ),
        radial-gradient(
            circle at 78% 85%,
            rgba(245, 158, 11, 0.10),
            transparent 28%
        ),
        radial-gradient(
            circle at 48% 82%,
            rgba(99, 102, 241, 0.08),
            transparent 27%
        ),
        radial-gradient(
            circle at 20% 70%,
            rgba(59, 130, 246, 0.06),
            transparent 25%
        ),
        linear-gradient(
            135deg,
            #f5fffb,
            #f8fafc 48%,
            #f7f8ff
        );

    border-bottom: 1px solid var(--border);
}


/* 
   HERO DECORATION
 */

.hero::before {
    content: "";

    position: absolute;

    width: 430px;
    height: 430px;

    top: -190px;
    right: -120px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(6, 182, 212, 0.11),
            rgba(59, 130, 246, 0.04),
            transparent 70%
        );

    filter: blur(4px);

    pointer-events: none;
}

.hero::after {
    content: "";

    position: absolute;

    width: 330px;
    height: 330px;

    bottom: -170px;
    left: -110px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(16, 185, 129, 0.11),
            rgba(20, 184, 166, 0.04),
            transparent 70%
        );

    filter: blur(5px);

    pointer-events: none;
}


/* 
   HERO CONTAINER
 */

.hero-container {
    width: 100%;
    max-width: 1180px;

    margin: auto;

    padding: 80px 24px;

    display: grid;

    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(360px, 0.85fr);

    gap: 80px;

    align-items: center;

    position: relative;
    z-index: 2;
}


/* 
   HERO CONTENT
 */

.hero-content {
    position: relative;
    z-index: 2;
}


/* 
   HERO BADGE
 */

.hero-badge {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    padding: 7px 13px;

    border:
        1px solid rgba(20, 184, 166, 0.28);

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.90),
            rgba(236, 253, 245, 0.75)
        );

    color: var(--teal-dark);

    border-radius: 999px;

    font-size: 12px;
    font-weight: 650;

    margin-bottom: 24px;

    box-shadow:
        0 6px 20px rgba(20, 184, 166, 0.07);

    backdrop-filter: blur(10px);
}

.hero-badge span {
    font-size: 13px;
}


/* 
   HERO TITLE
 */

.hero-content h1 {
    max-width: 680px;

    font-size: clamp(42px, 5vw, 68px);

    line-height: 1.04;

    letter-spacing: -3px;

    font-weight: 800;

    color: var(--ink);
}

.hero-content h1 span {
    background:
        linear-gradient(
            90deg,
            var(--emerald),
            var(--teal),
            var(--cyan),
            var(--blue),
            var(--indigo)
        );

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;
}


/* 
   HERO DESCRIPTION
 */

.hero-description {
    max-width: 590px;

    margin-top: 25px;

    color: var(--muted);

    font-size: 17px;
    line-height: 1.75;
}


/* 
   HERO BUTTONS
 */

.hero-actions {
    display: flex;
    align-items: center;

    gap: 14px;

    margin-top: 32px;
}

.primary-button,
.secondary-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 13px 20px;

    border-radius: 10px;

    font-size: 14px;
    font-weight: 650;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}


/* 
   PRIMARY BUTTON
 */

.primary-button {
    background:
        linear-gradient(
            135deg,
            var(--emerald-dark),
            var(--teal),
            var(--cyan)
        );

    color: white;

    box-shadow:
        0 9px 24px rgba(16, 185, 129, 0.25);
}

.primary-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 14px 32px rgba(16, 185, 129, 0.32);
}

.primary-button span {
    font-size: 18px;
    line-height: 0;
}


/* 
   SECONDARY BUTTON
 */

.secondary-button {
    background: rgba(255, 255, 255, 0.82);

    color: var(--text);

    border: 1px solid var(--border);

    box-shadow: var(--shadow-sm);
}

.secondary-button:hover {
    background: white;

    border-color:
        rgba(99, 102, 241, 0.25);

    color: var(--indigo-dark);

    transform: translateY(-1px);

    box-shadow: var(--shadow-md);
}


/* 
   HERO STATS
 */

.hero-stats {
    display: flex;

    gap: 35px;

    max-width: 500px;

    margin-top: 45px;
    padding-top: 25px;

    border-top: 1px solid var(--border);
}

.hero-stats div {
    display: flex;
    flex-direction: column;
}

.hero-stats strong {
    color: var(--ink);

    font-size: 20px;
    font-weight: 750;
}

.hero-stats span {
    margin-top: 2px;

    color: var(--subtle);

    font-size: 12px;
}


/* 
   LOGIN WRAPPER
 */

.login-wrapper {
    display: flex;
    justify-content: center;

    position: relative;
    z-index: 2;
}


/* 
   LOGIN CARD
 */

.login-card {
    width: 100%;
    max-width: 410px;

    padding: 34px;

    background: rgba(255, 255, 255, 0.91);

    border:
        1px solid rgba(255, 255, 255, 0.96);

    border-radius: var(--radius-xl);

    box-shadow: var(--shadow-lg);

    backdrop-filter: blur(20px);
}


/* 
   LOGIN HEADER
 */

.login-header {
    text-align: center;

    margin-bottom: 28px;
}

.login-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 16px;

    border-radius: 13px;

    background:
        linear-gradient(
            135deg,
            var(--teal-light),
            var(--cyan-light),
            var(--indigo-light)
        );

    color: var(--indigo-dark);

    font-size: 20px;

    box-shadow:
        0 7px 20px rgba(6, 182, 212, 0.10);
}

.login-header h2 {
    color: var(--ink);

    font-size: 25px;

    letter-spacing: -0.6px;
}

.login-header p {
    margin-top: 7px;

    color: var(--subtle);

    font-size: 13px;
}


/* 
   FORM
 */

.form-group {
    margin-bottom: 19px;
}

.form-group label {
    display: block;

    margin-bottom: 7px;

    color: var(--text);

    font-size: 13px;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    height: 46px;

    padding: 0 13px;

    border: 1px solid var(--border);

    border-radius: var(--radius-sm);

    background: rgba(255, 255, 255, 0.95);

    color: var(--ink);

    font-size: 14px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.form-group input::placeholder {
    color: #a0aab5;
}

.form-group input:focus {
    border-color: var(--cyan);

    box-shadow:
        0 0 0 3px rgba(6, 182, 212, 0.11);

    transform: translateY(-1px);
}


/* 
   LOGIN BUTTON
 */

.login-button {
    width: 100%;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    border: none;

    border-radius: var(--radius-sm);

    background:
        linear-gradient(
            135deg,
            var(--emerald-dark),
            var(--teal),
            var(--cyan)
        );

    color: white;

    font-size: 14px;
    font-weight: 650;

    box-shadow:
        0 9px 22px rgba(16, 185, 129, 0.22);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.login-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 13px 28px rgba(6, 182, 212, 0.25);
}

.login-button span {
    font-size: 17px;
}


/* 
   MESSAGE
 */

.message {
    min-height: 20px;

    margin-top: 12px;

    text-align: center;

    color: #dc2626;

    font-size: 13px;
}


/* 
   LOGIN DIVIDER
 */

.login-divider {
    display: flex;
    align-items: center;

    gap: 10px;

    margin: 22px 0 16px;
}

.login-divider span {
    height: 1px;

    flex: 1;

    background: var(--border);
}

.login-divider p {
    color: var(--subtle);

    font-size: 12px;
}

.register-link {
    display: block;

    text-align: center;

    color: var(--indigo-dark);

    font-size: 13px;
    font-weight: 650;
}

.register-link:hover {
    color: var(--violet-dark);

    text-decoration: underline;
}


/* 
   GENERAL SECTIONS
 */

.section-container {
    max-width: 1180px;

    margin: auto;

    padding: 100px 24px;
}

.section-heading {
    max-width: 650px;

    margin-bottom: 55px;
}

.section-label {
    display: inline-block;

    margin-bottom: 12px;

    color: var(--cyan-dark);

    font-size: 11px;
    font-weight: 750;

    letter-spacing: 1.5px;
}

.section-heading h2 {
    color: var(--ink);

    font-size: clamp(30px, 4vw, 43px);

    line-height: 1.15;

    letter-spacing: -1.5px;
}

.section-heading h2 span {
    background:
        linear-gradient(
            90deg,
            var(--emerald),
            var(--teal),
            var(--blue),
            var(--indigo)
        );

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;
}

.section-heading p {
    margin-top: 15px;

    color: var(--muted);

    font-size: 15px;
}


/* 
   FEATURES
 */

.features-section {
    background:
        linear-gradient(
            180deg,
            #ffffff,
            #f5fffb,
            #f8fbff
        );

    border-bottom: 1px solid var(--border);
}

.feature-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 18px;
}

.feature-card {
    padding: 28px;

    background: rgba(255, 255, 255, 0.92);

    border: 1px solid var(--border);

    border-radius: 15px;

    position: relative;

    overflow: hidden;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.feature-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 3px;

    background:
        linear-gradient(
            90deg,
            var(--emerald),
            var(--teal),
            var(--cyan)
        );

    opacity: 0;

    transition: opacity 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-5px);

    border-color:
        rgba(20, 184, 166, 0.28);

    box-shadow: var(--shadow-md);
}

.feature-card:hover::before {
    opacity: 1;
}


/* 
   FEATURE ICONS
 */

.feature-icon {
    width: 43px;
    height: 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 20px;

    border-radius: 11px;

    font-weight: 750;
}

.feature-card:nth-child(1) .feature-icon {
    background: var(--emerald-light);
    color: var(--emerald-dark);
}

.feature-card:nth-child(2) .feature-icon {
    background: var(--teal-light);
    color: var(--teal-dark);
}

.feature-card:nth-child(3) .feature-icon {
    background: var(--amber-light);
    color: var(--amber-dark);
}

.feature-card:nth-child(4) .feature-icon {
    background: var(--cyan-light);
    color: var(--cyan-dark);
}

.feature-card:nth-child(5) .feature-icon {
    background: var(--blue-light);
    color: var(--blue-dark);
}

.feature-card:nth-child(6) .feature-icon {
    background: var(--indigo-light);
    color: var(--indigo-dark);
}

.feature-card:nth-child(7) .feature-icon {
    background: var(--violet-light);
    color: var(--violet-dark);
}

.feature-card h3 {
    margin-bottom: 9px;

    color: var(--ink);

    font-size: 16px;
}

.feature-card p {
    color: var(--muted);

    font-size: 13px;

    line-height: 1.7;
}


/* 
   HOW IT WORKS
 */

.how-section {
    background:
        radial-gradient(
            circle at 90% 15%,
            rgba(6, 182, 212, 0.09),
            transparent 27%
        ),
        radial-gradient(
            circle at 10% 80%,
            rgba(245, 158, 11, 0.08),
            transparent 27%
        ),
        radial-gradient(
            circle at 55% 55%,
            rgba(139, 92, 246, 0.05),
            transparent 30%
        ),
        #f8fafc;

    border-bottom: 1px solid var(--border);
}

.steps {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 35px;
}

.step {
    display: flex;

    flex-direction: column;

    gap: 18px;
}


/* 
   STEP NUMBERS
 */

.step-number {
    width: 43px;
    height: 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: white;

    font-size: 12px;
    font-weight: 700;

    box-shadow:
        0 8px 20px rgba(15, 23, 42, 0.12);
}

.step:nth-child(1) .step-number {
    background:
        linear-gradient(
            135deg,
            var(--emerald),
            var(--teal)
        );
}

.step:nth-child(2) .step-number {
    background:
        linear-gradient(
            135deg,
            var(--cyan),
            var(--blue)
        );
}

.step:nth-child(3) .step-number {
    background:
        linear-gradient(
            135deg,
            var(--amber),
            var(--amber-dark)
        );
}

.step:nth-child(4) .step-number {
    background:
        linear-gradient(
            135deg,
            var(--indigo),
            var(--violet)
        );
}

.step h3 {
    margin-bottom: 7px;

    color: var(--ink);

    font-size: 16px;
}

.step p {
    color: var(--muted);

    font-size: 13px;

    line-height: 1.7;
}


/* 
   CTA
 */

.cta-section {
    background:
        radial-gradient(
            circle at 15% 25%,
            rgba(16, 185, 129, 0.10),
            transparent 28%
        ),
        radial-gradient(
            circle at 85% 25%,
            rgba(99, 102, 241, 0.09),
            transparent 28%
        ),
        radial-gradient(
            circle at 75% 80%,
            rgba(6, 182, 212, 0.09),
            transparent 27%
        ),
        radial-gradient(
            circle at 25% 80%,
            rgba(245, 158, 11, 0.07),
            transparent 25%
        ),
        linear-gradient(
            135deg,
            #f4fffb,
            #f7fbff,
            #f8f7ff
        );
}

.cta-container {
    max-width: 750px;

    margin: auto;

    padding: 100px 24px;

    text-align: center;
}

.cta-icon {
    width: 49px;
    height: 49px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 20px;

    border-radius: 13px;

    background:
        linear-gradient(
            135deg,
            var(--emerald-light),
            var(--cyan-light),
            var(--indigo-light)
        );

    color: var(--indigo-dark);

    font-size: 20px;
}

.cta-container h2 {
    color: var(--ink);

    font-size: clamp(30px, 4vw, 44px);

    line-height: 1.15;

    letter-spacing: -1.5px;
}

.cta-container p {
    max-width: 550px;

    margin: 15px auto 28px;

    color: var(--muted);

    font-size: 15px;
}


/* 
   FOOTER
 */

.footer {
    position: relative;

    background:
        linear-gradient(
            135deg,
            #111827,
            #172033,
            #1e1b4b
        );

    color: white;
}

.footer::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 2px;

    background:
        linear-gradient(
            90deg,
            var(--emerald),
            var(--teal),
            var(--cyan),
            var(--blue),
            var(--indigo),
            var(--violet),
            var(--amber)
        );
}

.footer-container {
    max-width: 1180px;

    margin: auto;

    padding: 38px 24px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.footer .logo {
    margin-bottom: 9px;

    color: white;
}

.footer .logo-icon {
    background:
        linear-gradient(
            135deg,
            var(--emerald),
            var(--teal),
            var(--cyan)
        );
}

.footer-container > div:first-child p {
    color: #94a3b8;

    font-size: 12px;
}

.footer-right {
    display: flex;

    flex-direction: column;

    align-items: flex-end;

    gap: 4px;

    color: #94a3b8;

    font-size: 12px;
}


/* 
   REGISTER PAGE
 */

.register-page {
    min-height: calc(100vh - 69px);

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 60px 20px;

    position: relative;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 12% 18%,
            rgba(16, 185, 129, 0.13),
            transparent 28%
        ),
        radial-gradient(
            circle at 85% 20%,
            rgba(6, 182, 212, 0.12),
            transparent 28%
        ),
        radial-gradient(
            circle at 70% 90%,
            rgba(245, 158, 11, 0.10),
            transparent 30%
        ),
        radial-gradient(
            circle at 20% 85%,
            rgba(139, 92, 246, 0.08),
            transparent 27%
        ),
        radial-gradient(
            circle at 50% 45%,
            rgba(59, 130, 246, 0.05),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #f4fffb,
            #f8fbff,
            #f8f7ff
        );
}


/* 
   REGISTER CARD
 */

.register-card {
    width: 100%;
    max-width: 430px;

    padding: 38px 36px;

    border-radius: var(--radius-xl);

    background: rgba(255, 255, 255, 0.92);

    border:
        1px solid rgba(255, 255, 255, 0.96);

    box-shadow:
        0 30px 80px rgba(15, 23, 42, 0.11);

    backdrop-filter: blur(20px);
}


/* 
   REGISTER HEADER
 */

.register-header {
    text-align: center;

    margin-bottom: 30px;
}

.register-icon {
    width: 53px;
    height: 53px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 18px;

    border-radius: 15px;

    background:
        linear-gradient(
            135deg,
            var(--emerald),
            var(--teal),
            var(--cyan),
            var(--indigo)
        );

    color: white;

    font-size: 21px;

    box-shadow:
        0 11px 28px rgba(20, 184, 166, 0.22);
}

.register-header h1 {
    color: var(--ink);

    font-size: 27px;

    line-height: 1.2;

    letter-spacing: -0.8px;
}

.register-header p {
    margin-top: 8px;

    color: var(--muted);

    font-size: 13px;
}


/* 
   REGISTER FORM
 */

.register-card .form-group {
    margin-bottom: 18px;
}

.register-card .form-group label {
    display: block;

    margin-bottom: 7px;

    color: var(--text);

    font-size: 13px;

    font-weight: 600;
}

.register-card .form-group input {
    width: 100%;
    height: 48px;

    padding: 0 14px;

    border: 1px solid var(--border);

    border-radius: 10px;

    background: rgba(255, 255, 255, 0.95);

    color: var(--ink);

    font-size: 14px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.register-card .form-group input::placeholder {
    color: #a0aab5;
}

.register-card .form-group input:focus {
    border-color: var(--indigo);

    box-shadow:
        0 0 0 4px rgba(99, 102, 241, 0.10);

    transform: translateY(-1px);
}


/* 
   REGISTER BUTTON
 */

.register-button {
    width: 100%;
    height: 49px;

    margin-top: 5px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    border: none;

    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            var(--emerald-dark),
            var(--teal),
            var(--cyan),
            var(--indigo)
        );

    color: white;

    font-size: 14px;

    font-weight: 650;

    box-shadow:
        0 10px 25px rgba(59, 130, 246, 0.20);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.register-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 15px 32px rgba(99, 102, 241, 0.27);
}

.register-button span {
    font-size: 17px;
}


/* 
   REGISTER MESSAGE
 */

.register-card .message {
    min-height: 20px;

    margin-top: 12px;

    text-align: center;

    color: #dc2626;

    font-size: 13px;
}


/* 
   REGISTER LOGIN
 */

.register-login {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 5px;

    margin-top: 22px;

    color: var(--muted);

    font-size: 13px;
}

.register-login a {
    color: var(--indigo-dark);

    font-weight: 650;
}

.register-login a:hover {
    color: var(--violet-dark);

    text-decoration: underline;
}


/* 
   ACCESSIBILITY
 */

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline:
        3px solid rgba(99, 102, 241, 0.25);

    outline-offset: 3px;
}


/* 
   DASHBOARD
 */

.dashboard-body {
    min-height: 100vh;

    background:
        radial-gradient(
            circle at 5% 10%,
            rgba(16, 185, 129, 0.08),
            transparent 28%
        ),
        radial-gradient(
            circle at 95% 15%,
            rgba(6, 182, 212, 0.08),
            transparent 28%
        ),
        radial-gradient(
            circle at 80% 90%,
            rgba(99, 102, 241, 0.06),
            transparent 30%
        ),
        #f8fafc;

    color: #172033;
}


/* 
   DASHBOARD NAVBAR
 */

.dashboard-navbar {
    position: sticky;

    top: 0;

    z-index: 100;

    background:
        rgba(255, 255, 255, 0.88);

    border-bottom:
        1px solid #e2e8f0;

    backdrop-filter: blur(18px);
}

.dashboard-nav-container {
    max-width: 1180px;

    margin: auto;

    padding: 15px 24px;

    display: flex;

    align-items: center;
    justify-content: space-between;
}

.dashboard-logo {
    display: flex;

    align-items: center;

    gap: 10px;

    color: #172033;

    font-size: 18px;

    font-weight: 750;

    letter-spacing: -0.4px;
}

.dashboard-logo-icon {
    width: 34px;
    height: 34px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            #059669,
            #0d9488,
            #06b6d4
        );

    color: white;

    font-size: 11px;

    font-weight: 800;

    box-shadow:
        0 7px 18px rgba(5, 150, 105, 0.22);
}

.dashboard-nav-right {
    display: flex;

    align-items: center;

    gap: 20px;
}

.dashboard-status {
    display: flex;

    align-items: center;

    gap: 7px;

    color: #64748b;

    font-size: 12px;

    font-weight: 600;
}

.status-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #10b981;

    box-shadow:
        0 0 0 4px rgba(16, 185, 129, 0.10);
}

.dashboard-logout {
    border: 1px solid #e2e8f0;

    background: white;

    color: #475569;

    padding: 8px 15px;

    border-radius: 8px;

    cursor: pointer;

    font-size: 12px;

    font-weight: 600;

    transition: all 0.2s ease;
}

.dashboard-logout:hover {
    color: #dc2626;

    border-color: #fecaca;

    background: #fffafa;

    transform: translateY(-1px);
}


/* 
   DASHBOARD MAIN
 */

.dashboard-main {
    max-width: 1180px;

    margin: auto;

    padding: 65px 24px 90px;
}


/* 
   DASHBOARD HEADER
 */

.dashboard-header {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 40px;

    margin-bottom: 40px;
}

.dashboard-label {
    display: inline-block;

    margin-bottom: 12px;

    color: #0d9488;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1.6px;
}

.dashboard-header h1 {
    max-width: 700px;

    color: #172033;

    font-size: clamp(34px, 4vw, 52px);

    line-height: 1.08;

    letter-spacing: -2px;

    font-weight: 800;
}

.dashboard-header h1 span {
    color: #059669;
}

.dashboard-header p {
    max-width: 650px;

    margin-top: 16px;

    color: #64748b;

    font-size: 15px;

    line-height: 1.75;
}

.dashboard-header-badge {
    min-width: 190px;

    padding: 15px 17px;

    display: flex;

    align-items: center;

    gap: 12px;

    background:
        rgba(255, 255, 255, 0.78);

    border: 1px solid #e2e8f0;

    border-radius: 14px;

    box-shadow:
        0 10px 30px rgba(15, 23, 42, 0.05);
}

.dashboard-ai-icon {
    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            #d1fae5,
            #ccfbf1,
            #cffafe
        );

    color: #0f766e;

    font-size: 18px;
}

.dashboard-header-badge strong {
    display: block;

    color: #172033;

    font-size: 12px;
}

.dashboard-header-badge small {
    display: block;

    margin-top: 2px;

    color: #94a3b8;

    font-size: 10px;
}


/* 
   PROGRESS CARD
 */

.progress-card {
    padding: 25px 28px;

    margin-bottom: 24px;

    background:
        rgba(255, 255, 255, 0.86);

    border: 1px solid #e2e8f0;

    border-radius: 17px;

    box-shadow:
        0 12px 35px rgba(15, 23, 42, 0.05);
}

.progress-top {
    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 20px;
}

.progress-label {
    color: #0d9488;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.3px;
}

.progress-top h2 {
    margin-top: 4px;

    color: #172033;

    font-size: 18px;
}

.progress-step {
    padding: 6px 10px;

    border-radius: 999px;

    background: #ecfdf5;

    color: #047857;

    font-size: 11px;

    font-weight: 700;
}

.progress-line {
    width: 100%;
    height: 5px;

    margin: 22px 0;

    overflow: hidden;

    border-radius: 999px;

    background: #e2e8f0;
}

.progress-active {
    display: block;

    width: 50%;
    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            #059669,
            #0d9488,
            #06b6d4
        );
}

.progress-steps {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 25px;
}

.progress-item {
    display: flex;

    align-items: center;

    gap: 11px;

    opacity: 0.55;
}

.progress-item.active {
    opacity: 1;
}

.progress-number {
    width: 30px;
    height: 30px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 50%;

    background: #e2e8f0;

    color: #64748b;

    font-size: 11px;

    font-weight: 750;
}

.progress-item.active .progress-number {
    background:
        linear-gradient(
            135deg,
            #059669,
            #0d9488
        );

    color: white;
}

.progress-item strong {
    display: block;

    color: #334155;

    font-size: 12px;
}

.progress-item small {
    display: block;

    margin-top: 2px;

    color: #94a3b8;

    font-size: 10px;
}


/* 
   DASHBOARD GRID
 */

.dashboard-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 22px;
}

.dashboard-card {
    position: relative;

    overflow: hidden;

    padding: 30px;

    background:
        rgba(255, 255, 255, 0.91);

    border: 1px solid #e2e8f0;

    border-radius: 19px;

    box-shadow:
        0 15px 45px rgba(15, 23, 42, 0.06);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.dashboard-card::before {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    top: -100px;
    right: -80px;

    border-radius: 50%;

    pointer-events: none;

    opacity: 0.8;
}

.resume-card::before {
    background:
        rgba(16, 185, 129, 0.08);
}

.interview-card::before {
    background:
        rgba(99, 102, 241, 0.08);
}

.dashboard-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 20px 50px rgba(15, 23, 42, 0.08);
}


/* 
   DASHBOARD CARD
 */

.card-top {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 25px;
}

.card-icon {
    width: 46px;
    height: 46px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 13px;

    font-size: 20px;
}

.resume-icon {
    background: #d1fae5;

    color: #047857;
}

.interview-icon {
    background: #e0e7ff;

    color: #4f46e5;
}

.card-number {
    color: #cbd5e1;

    font-size: 24px;

    font-weight: 800;

    letter-spacing: -1px;
}

.card-label {
    color: #0d9488;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.3px;
}

.card-content h2 {
    margin-top: 6px;

    color: #172033;

    font-size: 23px;

    letter-spacing: -0.7px;
}

.card-content > p {
    margin-top: 10px;

    color: #64748b;

    font-size: 13px;

    line-height: 1.7;
}


/* 
   UPLOAD AREA
 */

.upload-area {
    margin-top: 23px;

    padding: 25px 20px;

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

    border:
        1.5px dashed #a7f3d0;

    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            #f0fdf4,
            #f0fdfa
        );
}

.upload-symbol {
    width: 40px;
    height: 40px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 10px;

    border-radius: 50%;

    background: white;

    color: #059669;

    font-size: 19px;

    box-shadow:
        0 5px 15px rgba(5, 150, 105, 0.10);
}

.upload-area strong {
    color: #334155;

    font-size: 13px;
}

.upload-area > span {
    margin-top: 4px;

    color: #94a3b8;

    font-size: 10px;
}

.upload-area input {
    display: none;
}

.file-button {
    margin-top: 14px;

    padding: 8px 14px;

    border-radius: 8px;

    background: white;

    border: 1px solid #a7f3d0;

    color: #047857;

    cursor: pointer;

    font-size: 11px;

    font-weight: 700;

    transition: all 0.2s ease;
}

.file-button:hover {
    background: #ecfdf5;

    border-color: #6ee7b7;

    transform: translateY(-1px);
}


/* 
   DASHBOARD PRIMARY BUTTON
 */

.dashboard-primary-button {
    width: 100%;
    height: 46px;

    margin-top: 17px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    border: none;

    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            #059669,
            #0d9488
        );

    color: white;

    cursor: pointer;

    font-size: 13px;

    font-weight: 700;

    box-shadow:
        0 8px 20px rgba(5, 150, 105, 0.20);

    transition: all 0.2s ease;
}

.dashboard-primary-button:hover {
    transform: translateY(-2px);

    background:
        linear-gradient(
            135deg,
            #047857,
            #0f766e
        );

    box-shadow:
        0 12px 26px rgba(5, 150, 105, 0.27);
}

.button-arrow {
    font-size: 17px;
}


/* 
   INTERVIEW OPTIONS
 */

.interview-options {
    display: grid;

    gap: 10px;

    margin-top: 22px;
}

.interview-option {
    width: 100%;
    min-height: 58px;

    padding: 9px 11px;

    display: flex;

    align-items: center;

    gap: 11px;

    text-align: left;

    border: 1px solid #e2e8f0;

    border-radius: 11px;

    background: white;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.interview-option:hover {
    transform: translateX(3px);

    box-shadow:
        0 7px 20px rgba(15, 23, 42, 0.06);
}

.option-icon {
    width: 36px;
    height: 36px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 9px;

    font-size: 15px;
}

.option-content {
    flex: 1;
}

.option-content strong {
    display: block;

    color: #334155;

    font-size: 12px;
}

.option-content small {
    display: block;

    margin-top: 2px;

    color: #94a3b8;

    font-size: 10px;
}

.option-arrow {
    color: #94a3b8;

    font-size: 16px;

    transition: transform 0.2s ease;
}

.interview-option:hover .option-arrow {
    transform: translateX(3px);
}


/* 
   INTERVIEW OPTION COLORS
 */

.option-emerald .option-icon {
    background: #d1fae5;
    color: #047857;
}

.option-emerald:hover {
    border-color: #6ee7b7;
}

.option-teal .option-icon {
    background: #ccfbf1;
    color: #0f766e;
}

.option-teal:hover {
    border-color: #5eead4;
}

.option-amber .option-icon {
    background: #fef3c7;
    color: #b45309;
}

.option-amber:hover {
    border-color: #fcd34d;
}

.option-indigo .option-icon {
    background: #e0e7ff;
    color: #4f46e5;
}

.option-indigo:hover {
    border-color: #a5b4fc;
}


/* 
   DASHBOARD MESSAGES
 */

.dashboard-message {
    min-height: 20px;

    margin-top: 11px;

    text-align: center;

    color: #0f766e !important;

    font-size: 11px !important;

    font-weight: 600;
}


/* 
   AI INFORMATION
 */

.ai-info-section {
    margin-top: 24px;

    padding: 25px 28px;

    display: flex;

    align-items: center;

    gap: 20px;

    background:
        linear-gradient(
            135deg,
            #f0fdf4,
            #ecfeff,
            #eef2ff
        );

    border: 1px solid #d1fae5;

    border-radius: 17px;
}

.ai-info-icon {
    width: 46px;
    height: 46px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            #059669,
            #0d9488,
            #06b6d4,
            #6366f1
        );

    color: white;

    font-size: 19px;

    box-shadow:
        0 8px 20px rgba(6, 182, 212, 0.18);
}

.ai-info-content {
    flex: 1;
}

.ai-info-content > span {
    color: #0d9488;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.3px;
}

.ai-info-content h2 {
    margin-top: 3px;

    color: #172033;

    font-size: 17px;

    letter-spacing: -0.4px;
}

.ai-info-content p {
    max-width: 700px;

    margin-top: 5px;

    color: #64748b;

    font-size: 11px;

    line-height: 1.6;
}

.ai-info-badges {
    display: flex;

    flex-wrap: wrap;

    gap: 6px;
}

.ai-info-badges span {
    padding: 6px 9px;

    border-radius: 999px;

    background:
        rgba(255, 255, 255, 0.75);

    border:
        1px solid rgba(255, 255, 255, 0.9);

    color: #475569;

    font-size: 9px;

    font-weight: 650;
}


/* 
   DASHBOARD FOOTER
 */

.dashboard-footer {
    max-width: 1180px;

    margin: auto;

    padding: 25px 24px 35px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    border-top: 1px solid #e2e8f0;

    color: #94a3b8;

    font-size: 10px;
}

.dashboard-footer strong {
    display: block;

    color: #475569;

    font-size: 11px;
}

.dashboard-footer span {
    display: block;

    margin-top: 2px;
}


/* 
   AI INTERVIEW PAGE
 */

.interview-page {
    min-height: calc(100vh - 69px);

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 60px 20px;

    position: relative;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 8% 15%,
            rgba(16, 185, 129, 0.09),
            transparent 28%
        ),
        radial-gradient(
            circle at 92% 18%,
            rgba(99, 102, 241, 0.08),
            transparent 28%
        ),
        radial-gradient(
            circle at 80% 90%,
            rgba(6, 182, 212, 0.07),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #f6fffb,
            #f8fafc 50%,
            #f8f8ff
        );
}


/* 
   INTERVIEW CONTAINER
 */

.interview-container {
    width: 100%;

    max-width: 850px;

    position: relative;

    z-index: 2;
}


/* 
   INTERVIEW TITLE
 */

.interview-container > h1 {
    margin-bottom: 25px;

    text-align: center;

    color: var(--ink);

    font-size: clamp(30px, 4vw, 42px);

    line-height: 1.15;

    letter-spacing: -1.5px;

    font-weight: 800;
}


/* 
   INTERVIEW CARD
 */

.interview-card {
    width: 100%;

    padding: 36px;

    background:
        rgba(255, 255, 255, 0.94);

    border:
        1px solid rgba(226, 232, 240, 0.95);

    border-radius: 20px;

    box-shadow:
        0 20px 55px rgba(15, 23, 42, 0.08);

    backdrop-filter: blur(16px);
}

.interview-card h2 {
    margin-bottom: 8px;

    color: var(--ink);

    font-size: 22px;

    line-height: 1.3;

    letter-spacing: -0.5px;
}


/* 
   PROGRESS
 */

#progress {
    display: inline-flex;

    align-items: center;

    padding: 6px 12px;

    margin-bottom: 24px;

    border:
        1px solid var(--indigo-light);

    border-radius: 999px;

    background: #f5f3ff;

    color: var(--indigo-dark);

    font-size: 11px;

    font-weight: 700;
}


/* 
   QUESTION BOX
 */

.question-box {
    padding: 24px;

    margin-bottom: 24px;

    background:
        linear-gradient(
            135deg,
            #f0fdf4,
            #ecfeff,
            #f5f3ff
        );

    border: 1px solid #d1fae5;

    border-radius: 15px;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.question-label {
    display: block;

    margin-bottom: 9px;

    color: var(--teal-dark);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.4px;

    text-transform: uppercase;
}

#questionText {
    margin: 0;

    color: var(--ink);

    font-size: 18px;

    line-height: 1.65;

    font-weight: 650;
}


/* 
   ANSWER
 */

.answer-label {
    display: block;

    margin-bottom: 9px;

    color: var(--text);

    font-size: 13px;

    font-weight: 650;
}

#answer {
    width: 100%;

    min-height: 190px;

    padding: 15px 16px;

    resize: vertical;

    border: 1px solid var(--border);

    border-radius: 12px;

    background: #ffffff;

    color: var(--ink);

    font-family: inherit;

    font-size: 14px;

    line-height: 1.7;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

#answer::placeholder {
    color: var(--subtle);
}

#answer:hover {
    border-color: #cbd5e1;
}

#answer:focus {
    border-color: var(--indigo);

    background: #ffffff;

    box-shadow:
        0 0 0 4px rgba(99, 102, 241, 0.09);
}


/* 
   SUBMIT BUTTON
 */

#submitButton {
    width: 100%;
    height: 49px;

    margin-top: 18px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    border: none;

    border-radius: 11px;

    background:
        linear-gradient(
            135deg,
            var(--emerald-dark),
            var(--teal),
            var(--cyan)
        );

    color: white;

    font-size: 14px;

    font-weight: 700;

    box-shadow:
        0 9px 23px rgba(16, 185, 129, 0.20);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
}

#submitButton:hover {
    transform: translateY(-2px);

    filter: brightness(0.98);

    box-shadow:
        0 13px 30px rgba(16, 185, 129, 0.28);
}

#submitButton:active {
    transform: translateY(0);
}


/* 
   INTERVIEW MESSAGE
 */

#message {
    min-height: 20px;

    margin-top: 12px;

    text-align: center;

    color: var(--teal-dark);

    font-size: 12px;

    font-weight: 600;
}


/* 
   TABLET RESPONSIVE
 */

@media (max-width: 950px) {

    .hero-container {
        grid-template-columns: 1fr;

        gap: 55px;

        padding-top: 60px;
        padding-bottom: 70px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content h1 {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        margin-left: auto;
        margin-right: auto;

        justify-content: center;

        text-align: left;
    }

    .login-wrapper {
        width: 100%;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* 
   DASHBOARD TABLET
 */

@media (max-width: 900px) {

    .dashboard-header {
        align-items: flex-start;

        flex-direction: column;
    }

    .dashboard-header-badge {
        min-width: auto;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .ai-info-section {
        align-items: flex-start;

        flex-wrap: wrap;
    }

    .ai-info-content {
        min-width: 250px;
    }
}


/* 
   MOBILE
 */

@media (max-width: 650px) {

    /* NAVBAR */

    .nav-container {
        padding: 14px 18px;
    }

    .nav-links {
        gap: 12px;
    }

    .nav-links > a:not(.nav-button) {
        display: none;
    }

    .nav-button {
        padding: 8px 13px;

        font-size: 12px;
    }

    .logo {
        font-size: 16px;
    }

    .logo-icon {
        width: 30px;
        height: 30px;

        font-size: 15px;
    }


    /* HERO */

    .hero {
        min-height: auto;
    }

    .hero-container {
        padding: 55px 18px 65px;
    }

    .hero-content h1 {
        font-size: 43px;

        letter-spacing: -2px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-actions {
        width: 100%;

        flex-direction: column;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
    }

    .hero-stats {
        gap: 20px;

        justify-content: space-between;
    }

    .hero-stats strong {
        font-size: 17px;
    }

    .login-card {
        padding: 26px 20px;

        border-radius: 16px;
    }


    /* SECTIONS */

    .section-container {
        padding: 70px 18px;
    }

    .section-heading {
        margin-bottom: 35px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;

        gap: 28px;
    }


    /* CTA */

    .cta-container {
        padding: 70px 18px;
    }


    /* FOOTER */

    .footer-container {
        flex-direction: column;

        align-items: flex-start;

        padding: 30px 18px;
    }

    .footer-right {
        align-items: flex-start;
    }


    /* REGISTER */

    .register-page {
        min-height: calc(100vh - 60px);

        padding: 35px 18px;
    }

    .register-card {
        padding: 30px 22px;

        border-radius: 18px;
    }

    .register-header h1 {
        font-size: 24px;
    }

    .register-header p {
        font-size: 12px;
    }


    /* DASHBOARD */

    .dashboard-nav-container {
        padding: 13px 18px;
    }

    .dashboard-logo {
        font-size: 15px;
    }

    .dashboard-logo-icon {
        width: 30px;
        height: 30px;
    }

    .dashboard-status {
        display: none;
    }

    .dashboard-logout {
        padding: 7px 11px;

        font-size: 11px;
    }

    .dashboard-main {
        padding: 45px 18px 65px;
    }

    .dashboard-header {
        margin-bottom: 28px;
    }

    .dashboard-header h1 {
        font-size: 35px;

        letter-spacing: -1.5px;
    }

    .dashboard-header p {
        font-size: 14px;
    }

    .progress-card {
        padding: 21px 18px;
    }

    .progress-steps {
        gap: 12px;
    }

    .progress-item {
        align-items: flex-start;
    }

    .progress-item strong {
        font-size: 10px;
    }

    .progress-item small {
        font-size: 9px;
    }

    .dashboard-card {
        padding: 23px 19px;

        border-radius: 16px;
    }

    .card-content h2 {
        font-size: 21px;
    }

    .ai-info-section {
        padding: 21px 18px;

        gap: 14px;
    }

    .ai-info-content {
        min-width: 0;

        width: calc(100% - 60px);
    }

    .ai-info-content h2 {
        font-size: 15px;
    }

    .ai-info-badges {
        width: 100%;

        margin-left: 60px;
    }

    .dashboard-footer {
        padding: 25px 18px 30px;

        align-items: flex-start;

        flex-direction: column;
    }


    /* INTERVIEW */

    .interview-page {
        min-height: calc(100vh - 60px);

        padding: 35px 16px;
    }

    .interview-container > h1 {
        font-size: 28px;

        margin-bottom: 20px;

        letter-spacing: -1px;
    }

    .interview-card {
        padding: 25px 19px;

        border-radius: 17px;
    }

    .interview-card h2 {
        font-size: 20px;
    }

    #progress {
        margin-bottom: 20px;
    }

    .question-box {
        padding: 19px;

        margin-bottom: 20px;
    }

    #questionText {
        font-size: 16px;

        line-height: 1.6;
    }

    #answer {
        min-height: 170px;

        font-size: 14px;
    }

    #submitButton {
        height: 47px;
    }
}


/* 
   REDUCED MOTION
 */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }
}




/* 
   AI INTERVIEW PAGE
 */

body {
    min-height: 100vh;
    background:
        radial-gradient(
            circle at 10% 15%,
            rgba(16, 185, 129, 0.10),
            transparent 28%
        ),
        radial-gradient(
            circle at 90% 20%,
            rgba(99, 102, 241, 0.09),
            transparent 28%
        ),
        radial-gradient(
            circle at 80% 90%,
            rgba(6, 182, 212, 0.08),
            transparent 30%
        ),
        #f8fafc;
}


/* 
   INTERVIEW CONTAINER
 */

.container {
    width: 100%;
    max-width: 850px;

    margin: 0 auto;

    padding: 70px 20px;
}


/* 
   INTERVIEW TITLE
 */

.container > h1 {
    margin-bottom: 28px;

    text-align: center;

    color: var(--ink);

    font-size: clamp(30px, 4vw, 42px);

    line-height: 1.15;

    letter-spacing: -1.5px;

    font-weight: 800;
}


/* 
   INTERVIEW CARD
 */

.card {
    width: 100%;

    padding: 36px;

    background: rgba(255, 255, 255, 0.96);

    border: 1px solid var(--border);

    border-radius: 20px;

    box-shadow:
        0 20px 55px rgba(15, 23, 42, 0.09);
}


/* 
   CARD TITLE
 */

.card h2 {
    margin-bottom: 10px;

    color: var(--ink);

    font-size: 22px;

    letter-spacing: -0.5px;
}


/* 
   PROGRESS
 */

#progress {
    display: inline-block;

    margin-bottom: 22px;

    padding: 6px 12px;

    border-radius: 999px;

    background: var(--indigo-light);

    color: var(--indigo-dark);

    font-size: 11px;

    font-weight: 700;
}


/* 
   QUESTION
 */

#questionText {
    margin: 0 0 24px;

    padding: 22px;

    background:
        linear-gradient(
            135deg,
            #f0fdf4,
            #ecfeff,
            #f5f3ff
        );

    border: 1px solid #d1fae5;

    border-radius: 14px;

    color: var(--ink);

    font-size: 17px;

    line-height: 1.65;

    font-weight: 600;
}


/* 
   ANSWER BOX
 */

#answer {
    display: block;

    width: 100%;

    min-height: 190px;

    padding: 15px 16px;

    resize: vertical;

    border: 1px solid var(--border);

    border-radius: 12px;

    background: #ffffff;

    color: var(--ink);

    font-family: inherit;

    font-size: 14px;

    line-height: 1.7;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


#answer::placeholder {
    color: var(--subtle);
}


#answer:focus {
    border-color: var(--indigo);

    box-shadow:
        0 0 0 4px rgba(99, 102, 241, 0.09);
}


/* 
   SUBMIT BUTTON
 */

#submitButton {
    width: 100%;

    height: 49px;

    margin-top: 18px;

    border: none;

    border-radius: 11px;

    background:
        linear-gradient(
            135deg,
            var(--emerald-dark),
            var(--teal),
            var(--cyan)
        );

    color: white;

    font-size: 14px;

    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 9px 23px rgba(16, 185, 129, 0.20);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


#submitButton:hover {
    transform: translateY(-2px);

    box-shadow:
        0 13px 30px rgba(16, 185, 129, 0.28);
}


#submitButton:active {
    transform: translateY(0);
}


/* 
   MESSAGE
 */

#message {
    min-height: 20px;

    margin-top: 12px;

    text-align: center;

    color: var(--teal-dark);

    font-size: 12px;

    font-weight: 600;
}


/* 
   MOBILE
 */

@media (max-width: 650px) {

    .container {
        padding: 40px 16px;
    }

    .container > h1 {
        font-size: 28px;

        margin-bottom: 20px;
    }

    .card {
        padding: 24px 19px;

        border-radius: 17px;
    }

    .card h2 {
        font-size: 20px;
    }

    #questionText {
        padding: 18px;

        font-size: 16px;
    }

    #answer {
        min-height: 170px;
    }
}

/* 
   INTERVIEW NAVBAR
 */

.interview-navbar {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.interview-nav-container {
    width: min(1180px, 92%);
    min-height: 72px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.interview-logo {
    display: flex;
    align-items: center;
    gap: 10px;

    color: #111827;
    text-decoration: none;

    font-size: 18px;
    font-weight: 700;
}

.interview-logo-icon {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #111827;
    color: #ffffff;

    border-radius: 8px;

    font-size: 12px;
    font-weight: 700;
}

.interview-back-button {
    padding: 9px 15px;

    border: 1px solid #d1d5db;
    border-radius: 7px;

    color: #374151;
    background: #ffffff;

    text-decoration: none;

    font-size: 14px;
    font-weight: 500;
}

.interview-back-button:hover {
    background: #f3f4f6;
}


/* 
   ATS SCORE CARD
 */

.ats-card {
    position: relative;
}


.ats-score-display {
    margin-top: 25px;

    padding: 22px;

    border: 1px solid #e5e7eb;

    border-radius: 14px;

    background: #f8fafc;

    text-align: center;
}


.ats-score {
    display: flex;

    align-items: baseline;

    justify-content: center;

    gap: 4px;
}


.ats-score span {
    font-size: 48px;

    font-weight: 800;

    line-height: 1;
}


.ats-score small {
    font-size: 18px;

    color: #6b7280;
}


.ats-status {
    display: block;

    margin-top: 10px;

    font-size: 14px;

    color: #6b7280;
}


/* 
   ATS DETAILS
 */

.ats-details {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 12px;

    margin-top: 18px;
}


.ats-item {
    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 12px 14px;

    border: 1px solid #e5e7eb;

    border-radius: 10px;

    background: #ffffff;
}


.ats-item span {
    font-size: 13px;

    color: #6b7280;
}


.ats-item strong {
    font-size: 14px;

    font-weight: 700;
}


/* 
   ATS BUTTON
 */

#atsButton {
    width: 100%;

    margin-top: 20px;
}


#atsButton:disabled {
    opacity: 0.55;

    cursor: not-allowed;
}


/* 
   MOBILE
 */

@media (max-width: 600px) {

    .ats-details {
        grid-template-columns: 1fr;
    }

    .ats-score span {
        font-size: 40px;
    }

}
/* 
   ATS DETAILS PAGE
 */

/* ---------------------------------------------------------
   PAGE HEADER
--------------------------------------------------------- */

.dashboard-header {
    margin-bottom: 34px;
}

.dashboard-header h1 {
    margin: 8px 0 10px;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.dashboard-header p {
    max-width: 700px;
    margin: 0;
    line-height: 1.7;
}


/* ---------------------------------------------------------
   ATS DETAILS CARDS
--------------------------------------------------------- */

.ats-details-card {
    width: 100%;
    padding: 30px;
    margin-bottom: 24px;

    background: #ffffff;

    border: 1px solid #e5e7eb;
    border-radius: 16px;

    box-shadow:
        0 4px 14px rgba(15, 23, 42, 0.04);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.ats-details-card:hover {
    box-shadow:
        0 8px 24px rgba(15, 23, 42, 0.07);
}


/* ---------------------------------------------------------
   CARD LABEL
--------------------------------------------------------- */

.ats-details-card .card-label {
    display: block;

    margin-bottom: 9px;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1.1px;

    color: #64748b;
}


/* ---------------------------------------------------------
   CARD HEADINGS
--------------------------------------------------------- */

.ats-details-card h2 {
    margin: 0 0 18px;

    font-size: 21px;
    font-weight: 700;

    color: #0f172a;

    letter-spacing: -0.2px;
}


/* ---------------------------------------------------------
   ATS SCORE CARD
--------------------------------------------------------- */

.ats-details-score {
    display: flex;
    flex-direction: column;

    align-items: flex-start;
}

.ats-details-score .card-label {
    margin-bottom: 8px;
}

.large-ats-score {
    display: flex;

    align-items: baseline;

    gap: 6px;

    margin: 2px 0 6px;
}

.large-ats-score span {
    font-size: 64px;
    line-height: 1;

    font-weight: 800;

    letter-spacing: -2px;

    color: #2563eb;
}

.large-ats-score small {
    font-size: 20px;
    font-weight: 600;

    color: #94a3b8;
}

#detailATSStatus {
    margin: 8px 0 0;

    font-size: 14px;
    line-height: 1.5;

    color: #64748b;
}


/* ---------------------------------------------------------
   SUMMARY / NORMAL TEXT
--------------------------------------------------------- */

.analysis-text {
    margin: 0;

    max-width: 900px;

    font-size: 15px;
    line-height: 1.8;

    color: #475569;
}


/* ---------------------------------------------------------
   SKILLS + KEYWORDS GRID
--------------------------------------------------------- */

.ats-details-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 24px;

    margin-bottom: 0;
}

.ats-details-grid .ats-details-card {
    margin-bottom: 24px;
}


/* ---------------------------------------------------------
   ANALYSIS LIST
--------------------------------------------------------- */

.analysis-list {
    display: flex;

    flex-direction: column;

    gap: 11px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.analysis-list li {
    position: relative;

    padding: 12px 15px 12px 38px;

    font-size: 14px;
    line-height: 1.6;

    color: #475569;

    background: #f8fafc;

    border: 1px solid #eef2f7;

    border-radius: 10px;
}

.analysis-list li::before {
    content: "✓";

    position: absolute;

    left: 14px;
    top: 50%;

    transform: translateY(-50%);

    font-size: 13px;
    font-weight: 700;

    color: #2563eb;
}


/* ---------------------------------------------------------
   MISSING KEYWORDS
--------------------------------------------------------- */

#missingKeywordsList li {
    background: #fffaf5;
    border-color: #fed7aa;
}

#missingKeywordsList li::before {
    content: "+";

    color: #ea580c;
}


/* ---------------------------------------------------------
   WEAKNESSES
--------------------------------------------------------- */

#weaknessesList li {
    background: #fffafa;
    border-color: #fecaca;
}

#weaknessesList li::before {
    content: "!";

    color: #dc2626;
}


/* ---------------------------------------------------------
   IMPROVEMENTS
--------------------------------------------------------- */

#improvementsList li {
    background: #f8fbff;
    border-color: #dbeafe;
}

#improvementsList li::before {
    content: "→";

    color: #2563eb;
}


/* ---------------------------------------------------------
   STRENGTHS
--------------------------------------------------------- */

#strengthsList li {
    background: #f8fcfa;
    border-color: #d1fae5;
}

#strengthsList li::before {
    content: "✓";

    color: #059669;
}


/* ---------------------------------------------------------
   SECTION SCORE GRID
--------------------------------------------------------- */

.section-score-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 16px;

    margin-top: 22px;
}

.section-score-item {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding: 18px 20px;

    background: #f8fafc;

    border: 1px solid #e5e7eb;

    border-radius: 12px;

    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.section-score-item:hover {
    background: #f1f5f9;

    border-color: #dbe3ec;
}

.section-score-item span {
    font-size: 14px;
    font-weight: 600;

    color: #475569;
}

.section-score-item strong {
    min-width: 42px;

    text-align: right;

    font-size: 20px;
    font-weight: 800;

    color: #2563eb;
}


/* ---------------------------------------------------------
   ACTION BUTTON
--------------------------------------------------------- */

.ats-details-actions {
    display: flex;

    justify-content: flex-start;

    margin-top: 34px;
    margin-bottom: 20px;
}

.ats-details-actions .dashboard-primary-button {
    min-width: 190px;

    padding: 13px 22px;

    border: none;
    border-radius: 10px;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        opacity 0.2s ease;
}

.ats-details-actions .dashboard-primary-button:hover {
    transform: translateY(-1px);

    box-shadow:
        0 6px 16px rgba(37, 99, 235, 0.18);
}

.ats-details-actions .dashboard-primary-button:active {
    transform: translateY(0);
}


/* ---------------------------------------------------------
   RESPONSIVE — TABLET
--------------------------------------------------------- */

@media (max-width: 900px) {

    .dashboard-main {
        padding-left: 24px;
        padding-right: 24px;
    }

    .ats-details-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .section-score-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* ---------------------------------------------------------
   RESPONSIVE — MOBILE
--------------------------------------------------------- */

@media (max-width: 600px) {

    .dashboard-main {
        padding-left: 16px;
        padding-right: 16px;
    }

    .dashboard-header {
        margin-bottom: 25px;
    }

    .dashboard-header h1 {
        font-size: 26px;
    }

    .dashboard-header p {
        font-size: 14px;
    }

    .ats-details-card {
        padding: 22px 18px;

        margin-bottom: 18px;

        border-radius: 14px;
    }

    .ats-details-card h2 {
        font-size: 19px;
    }

    .large-ats-score span {
        font-size: 52px;
    }

    .large-ats-score small {
        font-size: 17px;
    }

    .analysis-text {
        font-size: 14px;
    }

    .analysis-list li {
        padding: 11px 12px 11px 35px;

        font-size: 13px;
    }

    .section-score-grid {
        grid-template-columns: 1fr;

        gap: 10px;
    }

    .section-score-item {
        padding: 16px;
    }

    .ats-details-actions {
        margin-top: 26px;
    }

    .ats-details-actions .dashboard-primary-button {
        width: 100%;
    }

}

/* 
   VOICE INTERVIEW
 */

.voice-interview-container {
    max-width: 900px;
    margin: 50px auto;
    padding: 0 20px;
}

.voice-interview-container > h1 {
    text-align: center;
    font-size: 32px;
    color: #0f172a;
}

.voice-subtitle {
    text-align: center;
    margin: 10px 0 30px;
    color: #64748b;
    font-size: 16px;
}

.voice-card {
    background: #ffffff;
    padding: 30px;
    margin-bottom: 25px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.08);
}

.voice-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
    font-size: 14px;
    font-weight: 700;
    color: #6366f1;
}

.voice-card h2 {
    margin-bottom: 15px;
    color: #0f172a;
}

.voice-card h3 {
    font-size: 20px;
    line-height: 1.7;
    color: #334155;
}

.voice-answer-box {
    min-height: 180px;
    padding: 20px;

    background: #f8fafc;

    border: 2px solid #e2e8f0;

    border-radius: 12px;

    color: #334155;

    font-size: 17px;

    line-height: 1.8;

    white-space: pre-wrap;
}

.voice-controls {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.voice-controls button,
#submitVoiceButton,
#nextQuestionButton {
    padding: 12px 20px;

    border: none;

    border-radius: 10px;

    font-size: 15px;

    font-weight: 700;

    cursor: pointer;
}

#startVoiceButton {
    background: #4f46e5;
    color: white;
}

#startVoiceButton:hover {
    background: #4338ca;
}

#stopVoiceButton {
    background: #fee2e2;
    color: #dc2626;
}

#stopVoiceButton:disabled,
#submitVoiceButton:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#submitVoiceButton {
    width: 100%;
    margin-top: 18px;

    background: #0f172a;
    color: white;
}

#voiceMessage {
    margin-top: 15px;
    color: #64748b;
    font-size: 14px;
}



/* 
   INTERVIEW MODE SECTION
 */

.interview-mode-section {
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid #e5e7eb;
}


/* 
   MODE HEADER
 */

.interview-mode-header {
    margin-bottom: 20px;
}

.interview-mode-header .card-label {
    display: inline-block;
    margin-bottom: 8px;
}

.interview-mode-header h3 {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 700;
}

.interview-mode-header p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
}


/* 
   MODE OPTIONS
 */

.interview-mode-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}


/* 
   MODE OPTION
 */

.interview-mode-option {
    width: 100%;

    display: flex;
    align-items: center;

    padding: 18px 20px;

    border: 1px solid #e5e7eb;
    border-radius: 14px;

    background: #ffffff;

    cursor: pointer;

    text-align: left;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}


/* 
   HOVER
 */

.interview-mode-option:hover {
    transform: translateY(-2px);

    border-color: #c7d2fe;

    background: #fafbff;

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.06);
}


/* 
   MODE ICON
 */

.mode-icon {
    width: 46px;
    height: 46px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: #f3f4f6;

    font-size: 21px;
}


/* 
   MODE CONTENT
 */

.mode-content {
    display: flex;
    flex-direction: column;

    margin-left: 14px;

    flex: 1;
}

.mode-content strong {
    font-size: 15px;
    font-weight: 700;

    color: #111827;
}

.mode-content small {
    margin-top: 4px;

    font-size: 13px;

    color: #6b7280;
}


/* 
   MODE ARROW
 */

.interview-mode-option .option-arrow {
    margin-left: 16px;

    font-size: 20px;

    color: #6b7280;

    transition:
        transform 0.2s ease,
        color 0.2s ease;
}

.interview-mode-option:hover .option-arrow {
    transform: translateX(4px);

    color: #111827;
}


/* 
   MOBILE
 */

@media (max-width: 600px) {

    .interview-mode-section {
        margin-top: 24px;
        padding-top: 24px;
    }

    .interview-mode-header h3 {
        font-size: 19px;
    }

    .interview-mode-option {
        padding: 15px;
    }

    .mode-icon {
        width: 42px;
        height: 42px;
    }

}

/* =========================================================
   READ ALOUD BUTTON
========================================================= */

.read-aloud-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    margin-top: 16px;
    padding: 10px 18px;

    border: 1px solid #dbe3f0;
    border-radius: 10px;

    background: #ffffff;
    color: #1e293b;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


/* HOVER */

.read-aloud-button:hover {
    background: #f8fafc;
    border-color: #2563eb;
    color: #2563eb;

    transform: translateY(-1px);

    box-shadow:
        0 4px 12px rgba(15, 23, 42, 0.08);
}


/* ACTIVE */

.read-aloud-button:active {
    transform: translateY(0);
}


/* WHEN SPEAKING */

.read-aloud-button.speaking {
    background: #eff6ff;
    border-color: #2563eb;
    color: #2563eb;
}


/* DISABLED */

.read-aloud-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* =========================================================
   AI EVALUATION
   ========================================================= */

.evaluation-section {
    width: 100%;
    max-width: 900px;
    margin: 35px auto 0;
    padding: 0 20px;
    box-sizing: border-box;
}

.evaluation-content {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}


/* =========================================================
   EVALUATION HEADER
   ========================================================= */

.evaluation-content::before {
    content: "🤖  AI Evaluation";
    display: block;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: #087f5b;
    margin-bottom: 25px;
}


/* =========================================================
   SCORE
   ========================================================= */

.evaluation-score {
    background: linear-gradient(
        135deg,
        #ecfdf5,
        #f0fdf4
    );

    border: 1px solid #bbf7d0;

    border-radius: 14px;

    padding: 18px;

    text-align: center;

    font-size: 22px;

    font-weight: 700;

    color: #047857;

    margin-bottom: 25px;
}

.evaluation-score strong {
    font-weight: 700;
}


/* =========================================================
   EVALUATION ITEMS
   ========================================================= */

.evaluation-item {
    background: #f8fafc;

    border: 1px solid #e5e7eb;

    border-radius: 14px;

    padding: 20px;

    margin-bottom: 16px;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.evaluation-item:hover {
    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.05);
}


/* =========================================================
   HEADINGS
   ========================================================= */

.evaluation-item h3 {
    margin: 0 0 10px;

    font-size: 16px;

    font-weight: 700;

    color: #0f766e;
}


/* =========================================================
   TEXT
   ========================================================= */

.evaluation-item p {
    margin: 0;

    font-size: 15px;

    line-height: 1.7;

    color: #374151;
}


/* =========================================================
   CODING SOLUTION
   ========================================================= */

.evaluation-item pre {
    margin-top: 12px;

    padding: 18px;

    background: #111827;

    color: #e5e7eb;

    border-radius: 10px;

    overflow-x: auto;

    font-size: 14px;

    line-height: 1.6;

    text-align: left;

    white-space: pre-wrap;
}


/* =========================================================
   NEXT QUESTION BUTTON
   ========================================================= */

#nextQuestionButton {
    display: block;

    margin: 25px auto 0;

    padding: 12px 24px;

    border: none;

    border-radius: 10px;

    background: #087f5b;

    color: #ffffff;

    font-size: 15px;

    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

#nextQuestionButton:hover {
    background: #066b4d;

    transform: translateY(-1px);

    box-shadow:
        0 6px 15px rgba(8, 127, 91, 0.25);
}

#nextQuestionButton:active {
    transform: translateY(0);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .evaluation-section {
        padding: 0 12px;

        margin-top: 25px;
    }

    .evaluation-content {
        padding: 18px;

        border-radius: 14px;
    }

    .evaluation-content::before {
        font-size: 18px;

        margin-bottom: 20px;
    }

    .evaluation-score {
        padding: 15px;

        font-size: 20px;
    }

    .evaluation-item {
        padding: 16px;

        border-radius: 12px;
    }

    .evaluation-item h3 {
        font-size: 15px;
    }

    .evaluation-item p {
        font-size: 14px;

        line-height: 1.6;
    }

    .evaluation-item pre {
        font-size: 12px;

        padding: 14px;
    }

    #nextQuestionButton {
        width: 100%;

        padding: 13px 18px;

        font-size: 15px;
    }
}



#viewATSDetailsButton {
    margin-top: 10px;
    width: 100%;
    padding: 12px 18px;

    background: #0a9f87;
    color: #ffffff;

    border: 1px solid #0a9f87;
    border-radius: 8px;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;
    transition: all 0.2s ease;
}

#viewATSDetailsButton:hover {
    background: #078f79;
    border-color: #078f79;
}

#viewATSDetailsButton:active {
    transform: scale(0.98);
}

/* =========================================
   AI EVALUATION
========================================= */

#message {
    text-align: left;
    line-height: 1.7;
    color: #374151;
    font-size: 15px;

    margin-top: 25px;
    padding: 26px;

    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}


/* =========================================
   AI EVALUATION TITLE
========================================= */

#message strong:first-child {
    display: block;

    font-size: 22px;
    font-weight: 700;

    color: #6c4df6;

    padding-bottom: 16px;
    margin-bottom: 20px;

    border-bottom: 1px solid #eeeeee;
}


/* =========================================
   SCORE
========================================= */

#message strong:nth-of-type(2) {
    color: #111827;
    font-weight: 700;
}


/* =========================================
   ALL HEADINGS
========================================= */

#message strong {
    font-weight: 700;
    color: #111827;
}


/* =========================================
   FEEDBACK / STRENGTHS / IMPROVEMENTS
========================================= */

#message strong:nth-of-type(3),
#message strong:nth-of-type(4),
#message strong:nth-of-type(5) {
    display: block;

    font-size: 16px;

    margin-top: 20px;
    margin-bottom: 6px;

    color: #374151;
}


/* =========================================
   EVALUATION TEXT
========================================= */

#message {
    white-space: normal;
}


/* =========================================
   REFERENCE SOLUTION
========================================= */

#message hr {
    border: none;

    border-top: 1px solid #e5e7eb;

    margin: 28px 0;
}


#message pre {
    text-align: left !important;

    background: #f8fafc !important;

    border: 1px solid #e2e8f0;

    padding: 18px !important;

    border-radius: 12px !important;

    overflow-x: auto;

    font-family: "Courier New", monospace;

    font-size: 14px;

    line-height: 1.6;

    color: #1e293b;

    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03);
}


/* =========================================
   NEXT QUESTION BUTTON
========================================= */

#message button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 13px 26px;

    border: none;
    border-radius: 10px;

    background: linear-gradient(
        135deg,
        #6c4df6,
        #5840d4
    );

    color: #ffffff;

    font-size: 15px;
    font-weight: 600;

    cursor: pointer;

    box-shadow:
        0 6px 16px rgba(108, 77, 246, 0.25);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        opacity 0.2s ease;
}


#message button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 9px 22px rgba(108, 77, 246, 0.32);

    opacity: 0.95;
}


#message button:active {
    transform: translateY(0);
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    #message {
        padding: 20px;

        font-size: 14px;

        border-radius: 14px;
    }


    #message strong:first-child {
        font-size: 20px;
    }


    #message button {
        width: 100%;
    }


    #message pre {
        font-size: 12px;
    }
}

/* ============================================
   CODING TIMER
============================================ */

.coding-timer {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin: 15px 0 20px 0;
    padding: 10px 16px;

    background: #f4f7ff;
    border: 1px solid #dbe4ff;
    border-radius: 10px;

    color: #333;
    font-size: 15px;
    font-weight: 500;
}


/* Timer icon */

.coding-timer .timer-icon {
    font-size: 18px;
}


/* Time value */

#timerDisplay {
    font-size: 16px;
    font-weight: 700;
    color: #4f46e5;

    min-width: 52px;
    text-align: center;
}