:root {
    --primary: #0b5cff;
    --primary-dark: #0b1d42;
    --bg-light: #f5f7fb;
    --text-main: #071326;
    --radius-lg: 18px;
    --shadow-soft: 0 16px 40px rgba(11, 29, 66, 0.12);
}

/* ============ PAGE BG WRAPPER ============ */
.cvacc-auth-page {
    min-height: 70vh;
    background: linear-gradient(180deg, #f8f9ff 0%, #ffffff 35%, #f5f7fb 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
}

/* ============ CENTER CONTAINER ============ */
.cvacc-auth-center {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* ============ CARD ============ */
.cvacc-auth-card {
    width: 100%;
    max-width: 430px;

    background: #ffffff;
    padding: 28px 26px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(11, 29, 66, 0.08);
}

/* ============ TITLE ============ */
.cvacc-auth-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 20px;
}

/* ============ FORM FIELDS ============ */
.cvacc-field {
    margin-bottom: 16px;
}

.cvacc-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 6px;
    display: block;
}

.cvacc-input {
    width: 100%;
    border-radius: 999px;
    border: 1px solid rgba(7, 19, 38, 0.12);
    padding: 11px 15px;
    font-size: 15px;
    background: #fdfdff;
    transition: 0.2s ease;
}

.cvacc-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(11, 92, 255, 0.15);
}

/* ============ BUTTON ============ */
.cvacc-btn-primary {
    width: 100%;
    padding: 12px 22px;
    background: var(--primary);
    color: white;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: 0.25s ease;
}

.cvacc-btn-primary:hover {
    background: #0049d8;
}

/* ============ ERROR BOX ============ */
.cvacc-auth-error {
    padding: 10px 14px;
    background: rgba(237, 60, 80, 0.08);
    color: #c41f33;
    border: 1px solid rgba(237, 60, 80, 0.3);
    border-radius: 12px;
    font-size: 13px;
    margin-bottom: 12px;
}

.hidden {
    display: none;
}

/* ============ SWITCH TEXT ============ */
.cvacc-auth-switch {
    margin-top: 14px;
    text-align: center;
    font-size: 14px;
}

.cvacc-auth-switch a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}
