/* login.css - Login page specific styles */

/* ---- Remember me + Lost password row ---- */
/* Figma: checkbox y:663, row y:671, gap from button bottom (584+52=636) = 671-636 = 35px */
.login-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 502px;
    margin-top: 35px;
    flex-shrink: 0;
}

/* ---- Remember me label ---- */
.login-remember {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    text-transform: uppercase;
    color: #2a190e;
    user-select: none;
}

/* ---- Checkbox ---- */
.login-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 1.5px solid #c8b8ae;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.login-checkbox:hover {
    border-color: var(--color-brand, #af6f44);
}

.login-checkbox:checked {
    background: var(--color-brand, #af6f44);
    border-color: var(--color-brand, #af6f44);
}

.login-checkbox:checked::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 4px;
    width: 4px;
    height: 8px;
    border: 1.5px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

/* ---- Lost password link ---- */
/* Figma: right-aligned in row, color #af6f44, underline */
.login-lost-password {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    text-transform: uppercase;
    color: #af6f44;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    white-space: nowrap;
}

.login-lost-password:hover {
    color: rgba(175, 111, 68, 0.8);
}

/* ---- "Don't have account" link row ---- */
/* Figma: y:706, meta row bottom (663+26=689) = 706-689 = 17px */
.login-page .register-login-link {
    margin-top: 17px;
    justify-content: center;
    max-width: 502px;
    width: 100%;
}

/* ---- Responsive ---- */
@media (max-width: 1280px) {
    .login-meta-row {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .login-meta-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-top: 24px;
    }

    .login-remember {
        font-size: 14px;
    }

    .login-lost-password {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .login-remember {
        font-size: 13px;
    }

    .login-lost-password {
        font-size: 13px;
    }
}
