/*
 * auth.css — Merchant Panel Login Page
 */

@import url('https://fonts.googleapis.com/css2?family=Google+Sans:wght@400;500;600;700&display=swap');

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

body.auth-body {
    font-family: 'Google Sans', 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(135deg, #0052EA 0%, #03113D 100%);
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-wrap {
    width: 100%;
    max-width: 400px;
}

.auth-logo {
    text-align: center;
    margin-bottom: 28px;
}

.logo-main   { font-size: 28px; font-weight: 800; color: #fff; }
.logo-accent { font-size: 28px; font-weight: 800; color: rgba(255,255,255,0.6); }
.logo-sub    { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 4px; letter-spacing: 1px; text-transform: uppercase; }

.auth-card {
    background: #fff;
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.auth-title { font-size: 22px; font-weight: 700; color: #0F172A; margin-bottom: 4px; }
.auth-sub   { font-size: 13px; color: #64748B; margin-bottom: 24px; }

.auth-error {
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FECACA;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    margin-bottom: 16px;
}

.form-group   { margin-bottom: 16px; }
.form-label   { display: block; font-size: 12px; font-weight: 600; color: #475569; margin-bottom: 6px; }

.form-input {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #E2E8F0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    color: #0F172A;
    background: #fff;
    outline: none;
    transition: border-color 0.2s;
    -webkit-appearance: none;
}

.form-input:focus { border-color: #0052EA; }

.input-icon-wrap { position: relative; }

.input-toggle-eye {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #94A3B8;
    padding: 4px;
}

.input-toggle-eye svg { width: 18px; height: 18px; display: block; }

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

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #475569;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #0052EA;
}

.btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px;
    background: #0052EA;
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: opacity 0.15s;
    -webkit-appearance: none;
}

.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }
