/* ===========================
   RESET
=========================== */

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

/* ===========================
   ROOT
=========================== */

:root {
    --bg-color: #121212;
    --surface-color: #10121c;
    --text-color: #f5f5f7;
    --text-muted: #9098a8;
    --accent-green: #10d99a;
    --accent-blue: #2f8fff;
    --accent-gradient: linear-gradient(90deg, var(--accent-green), var(--accent-blue));
    --border-color: #1e2130;
    --radius: 12px;
    --font-family: "Inter", sans-serif;
}

/* ===========================
   BODY
=========================== */

body {
    font-family: var(--font-family);
    background: radial-gradient(ellipse at top, #0d1a1e 0%, #060810 60%);
    color: var(--text-color);
    min-height: 100vh;
}

/* ===========================
   TWO COLUMN LAYOUT
=========================== */

.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

/* ===========================
   LEFT — FORM SIDE
=========================== */

.auth-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 40px;
}

.auth-header,
.auth-form,
.divider,
.social-btns,
.auth-footer {
    width: 100%;
    max-width: 400px;
}

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

.auth-header {
    margin-bottom: 36px;
}

.logo {
    display: inline-block;
    margin-bottom: 20px;
    text-decoration: none;
    font-size: 1.7rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.auth-header h1 {
    font-size: 2.4rem;
    margin-bottom: 10px;
    line-height: 1.2;
}

.auth-header p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===========================
   FORM
=========================== */

.auth-form fieldset {
    border: none;
}

.auth-form legend {
    display: none;
}

.auth-form label {
    display: block;
    margin-top: 18px;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.95rem;
}

.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="text"] {
    width: 100%;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--surface-color);
    color: var(--text-color);
    font-size: 1rem;
    font-family: var(--font-family);
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.auth-form input::placeholder {
    color: var(--text-muted);
}

.auth-form input:focus {
    border-color: var(--accent-green);
    box-shadow: 0 0 0 3px rgba(16, 217, 154, 0.12);
}

/* ===========================
   REMEMBER ME + FORGOT ROW
=========================== */

.form-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
    cursor: pointer;
    font-weight: 400;
    margin-top: 0;
}

.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--accent-green);
    cursor: pointer;
}

.forgot-link {
    color: var(--accent-green);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
}

.forgot-link:hover {
    color: var(--accent-blue);
}

/* ===========================
   SUBMIT BUTTON
=========================== */

.btn {
    display: inline-block;
    padding: 14px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 1rem;
    font-family: var(--font-family);
    cursor: pointer;
    border: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary {
    width: 100%;
    margin-top: 24px;
    background: var(--accent-gradient);
    color: #06110d;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(16, 217, 154, 0.3);
}

/* ===========================
   DIVIDER
=========================== */

.divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    list-style: none;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

/* ===========================
   SOCIAL BUTTONS
=========================== */

.social-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    list-style: none;
}

.btn-social {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: var(--surface-color);
    color: var(--text-color);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-family);
    cursor: pointer;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.btn-social:hover {
    border-color: var(--accent-green);
    box-shadow: 0 0 12px rgba(16, 217, 154, 0.15);
}

/* ===========================
   FOOTER
=========================== */

.auth-footer {
    margin-top: 24px;
    text-align: center;
}

.auth-footer p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.auth-footer a {
    color: var(--accent-green);
    text-decoration: none;
    font-weight: 700;
}

.auth-footer a:hover {
    color: var(--accent-blue);
}

/* ===========================
   RIGHT — IMAGE PANEL
=========================== */

.auth-image {
    background: linear-gradient(135deg, #0d3b4f 0%, #0a2a5e 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 50px;
    gap: 40px;
}

/* ===========================
   RESUME MOCKUP CARD
=========================== */

.resume-mockup {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    width: 100%;
    max-width: 320px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    color: #111;
}

.mockup-header {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mockup-name-bar {
    display: block;
    height: 14px;
    width: 60%;
    background: #d0d0d0;
    border-radius: 4px;
}

.mockup-role-bar {
    display: block;
    height: 10px;
    width: 40%;
    background: #e8e8e8;
    border-radius: 4px;
}

.mockup-lines {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 16px;
    border-bottom: 1px solid #efefef;
    margin-bottom: 16px;
}

.line {
    display: block;
    height: 9px;
    background: #efefef;
    border-radius: 4px;
}

.line.long { width: 100%; }
.line.medium { width: 75%; }
.line.short { width: 50%; }

/* ===========================
   SCORE CARD (inside mockup)
=========================== */

.score-card {
    background: #f0fdf8;
    border-radius: 10px;
    padding: 16px;
}

.score-card h3 {
    font-size: 0.85rem;
    color: #444;
    margin-bottom: 4px;
    font-weight: 600;
}

.score-number {
    font-size: 2rem;
    font-weight: 800;
    color: #10d99a;
    margin-bottom: 14px;
    line-height: 1;
}

.score-number span {
    font-size: 1rem;
    color: #888;
    font-weight: 500;
}

.score-checks {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.score-checks li {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.score-checks li span {
    font-size: 0.8rem;
    color: #555;
    font-weight: 500;
}

.score-checks meter {
    width: 100%;
    height: 6px;
    border-radius: 4px;
    appearance: none;
    -webkit-appearance: none;
    border: none;
    background: #e0e0e0;
}

.score-checks meter::-webkit-meter-optimum-value {
    background: linear-gradient(90deg, #10d99a, #2f8fff);
    border-radius: 4px;
}

.score-checks meter::-moz-meter-bar {
    background: linear-gradient(90deg, #10d99a, #2f8fff);
    border-radius: 4px;
}

/* ===========================
   RIGHT SIDE TEXT
=========================== */

.image-text {
    text-align: center;
}

.image-text h2 {
    font-size: 1.7rem;
    color: #fff;
    margin-bottom: 12px;
}

.image-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    max-width: 280px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===========================
   RESPONSIVE
=========================== */

@media (max-width: 900px) {
    .auth-container {
        grid-template-columns: 1fr;
    }

    .auth-image {
        display: none;
    }

    .auth-content {
        padding: 48px 36px;
    }
}

@media (max-width: 480px) {
    .auth-content {
        padding: 32px 20px;
    }

    .auth-header h1 {
        font-size: 1.8rem;
    }

    .social-btns {
        grid-template-columns: 1fr;
    }

    .form-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}