/* ============================================================
   FIXIT FLOW — LOGIN & SIGNUP CANDIDATE
   This file styles ONLY the authentication pages.
   portal.css and the working User Portal are not changed.
   ============================================================ */

/* ---------- PAGE ---------- */
body.auth-candidate-page {
    margin: 0;
    background: #f7faf8;
    color: #16352e;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.auth-candidate-page * { box-sizing: border-box; }
.auth-candidate-page a { color: inherit; }

/* ---------- TOP BAR / LOGO ---------- */
.auth-topbar {
    min-height: 76px;
    padding: 12px 5vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border-bottom: 1px solid #dfe9e3;
}
.auth-logo img {
    width: 110px; /* LOGO SIZE: change only this number if you want it smaller or bigger */
    height: auto;
    display: block;
}
.back-home {
    font-size: 13px;
    font-weight: 800;
    color: #1d624d;
    text-decoration: none;
}

/* ---------- MAIN LAYOUT ---------- */
.auth-wrap {
    width: min(1080px, calc(100% - 40px));
    margin: 52px auto;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 28px;
    align-items: stretch;
}

/* ---------- LEFT INFORMATION PANEL ---------- */
.auth-info {
    padding: 44px;
    border: 1px solid #cfe0d5;
    border-radius: 24px;
    background: linear-gradient(145deg, #f4faf5, #ffffff);
}
.auth-eyebrow {
    margin: 0 0 12px;
    color: #28764f;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.auth-info h1 {
    margin: 0;
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.04;
    letter-spacing: -.035em;
}
.auth-info .intro {
    margin: 20px 0 28px;
    color: #5e7169;
    font-size: 16px;
    line-height: 1.7;
}
.auth-benefits {
    display: grid;
    gap: 12px;
}
.auth-benefit {
    padding: 14px 16px;
    border: 1px solid #dce9e0;
    border-radius: 13px;
    background: #ffffff;
    font-size: 14px;
    line-height: 1.45;
}
.auth-benefit strong { display: block; margin-bottom: 2px; }

/* ---------- 10 FREE TEST POINTS ---------- */
.trial-box {
    margin-top: 26px;
    padding: 22px;
    border: 1px solid #a8cbb4;
    border-radius: 16px;
    background: #eef7ef;
    text-align: center;
}
.trial-box small {
    display: block;
    color: #28764f;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.trial-box strong {
    display: block;
    margin-top: 5px;
    color: #2f8a49;
    font-size: 30px;
}
.trial-box p {
    margin: 7px 0 0;
    color: #566b62;
    font-size: 13px;
    line-height: 1.5;
}

/* ---------- FORM CARD ---------- */
.auth-form-card {
    padding: 44px;
    border: 1px solid #dce6e1;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 18px 55px rgba(21, 63, 50, .08);
}
.auth-form-card h2 {
    margin: 7px 0 8px;
    font-size: 34px;
    letter-spacing: -.025em;
}
.auth-form-card .form-intro {
    margin: 0 0 26px;
    color: #687a73;
    line-height: 1.6;
}
.auth-form-card form { display: grid; gap: 17px; }
.auth-form-card label {
    display: grid;
    gap: 8px;
    font-size: 13px;
    font-weight: 800;
}
.auth-form-card input {
    width: 100%;
    min-height: 52px;
    padding: 0 14px;
    border: 1px solid #cbd9d2;
    border-radius: 10px;
    outline: none;
    font: inherit;
}
.auth-form-card input:focus {
    border-color: #247253;
    box-shadow: 0 0 0 3px rgba(36, 114, 83, .10);
}
.auth-primary-button {
    min-height: 54px;
    border: 0;
    border-radius: 11px;
    background: #164c3b;
    color: #ffffff;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}
.auth-primary-button:hover { background: #20654e; }
.auth-primary-button:disabled { opacity: .65; cursor: wait; }

/* ---------- MESSAGES / LINKS ---------- */
.message { margin: 0 0 18px; border-radius: 9px; font-size: 13px; line-height: 1.5; }
.message:not(:empty) { padding: 12px 14px; background: #f1f5f2; }
.message.error { color: #9b353b; background: #fff0f1; }
.message.success { color: #176a50; background: #eaf6f1; }
.auth-links { margin-top: 22px; text-align: center; font-size: 13px; color: #66776f; }
.auth-links p { margin: 7px 0; }
.auth-links a { color: #176348; font-weight: 850; }
.auth-support { margin-top: 28px; text-align: center; color: #819087; font-size: 12px; }

/* ---------- MOBILE / PHONE ---------- */
@media (max-width: 800px) {
    .auth-topbar { padding: 10px 20px; }
    .auth-logo img { width: 90px; /* MOBILE LOGO SIZE */ }
    .auth-wrap {
        width: min(100% - 28px, 620px);
        margin: 26px auto;
        grid-template-columns: 1fr;
    }
    .auth-info, .auth-form-card { padding: 28px 22px; border-radius: 18px; }
    .auth-info h1 { font-size: 38px; }
    .trial-box strong { font-size: 27px; }
}


/* ---------- PRODUCTION POLISH ---------- */
.auth-topbar{box-shadow:0 8px 24px rgba(21,63,50,.035)}
.auth-info,.auth-form-card{box-shadow:0 18px 50px rgba(21,63,50,.055)}
.auth-benefit{transition:border-color .18s ease,transform .18s ease,box-shadow .18s ease}
.auth-benefit:hover{border-color:#c9ddd1;transform:translateY(-1px);box-shadow:0 8px 20px rgba(21,63,50,.045)}
.auth-primary-button{box-shadow:0 8px 18px rgba(22,76,59,.14);transition:background .18s ease,transform .18s ease,box-shadow .18s ease}
.auth-primary-button:hover{transform:translateY(-1px);box-shadow:0 11px 22px rgba(22,76,59,.18)}
.auth-primary-button:focus-visible,.back-home:focus-visible,.auth-links a:focus-visible{outline:3px solid rgba(40,118,79,.18);outline-offset:3px}
