/* ===========================================================
   ZERQAT — AUTH PAGE
   Цвет бренда: #ff5c1c
   Технологичный индустриальный стиль
   =========================================================== */

:root {
    --z-primary: #ff5c1c;
    --z-primary-dark: #d9480f;
    --z-primary-light: #ff7a45;

    --z-steel: #1e1e22;
    --z-steel-light: #2a2a30;
    --z-graphite: #3a3a40;
    --z-silver: #b8b9be;
    --z-silver-light: #e3e4e8;

    --z-bg: #f5f6f7;
    --z-bg-dark: #0f0f10;

    --z-text-dark: #1c1c1c;
    --z-text-mid: #5a5a5c;
    --z-text-light: #9fa0a4;

    --z-success: #15b374;
    --z-danger: #e54242;
}


/* ===== RESET ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: "Inter", system-ui, sans-serif;
    background: linear-gradient(135deg, var(--z-steel), var(--z-graphite));
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    color: var(--z-text-dark);
}


/* ===== CARD WRAPPER ===== */
.auth-wrapper {
    width: 100%;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-card {
    width: 360px;
    background: #ffffff;
    padding: 40px 35px 35px;
    border-radius: 14px;
    box-shadow: 0 10px 34px rgba(0, 0, 0, 0.25);
    animation: fadeIn 0.3s ease-out;
    text-align: center;
}


/* ===== LOGO ===== */
.auth-logo h1 {
    font-size: 24px;
    font-weight: 800;
    color: var(--z-primary);
    letter-spacing: -0.5px;
}
.auth-logo p {
    color: var(--z-text-light);
    font-size: 13px;
    margin-top: 6px;
    margin-bottom: 28px;
}


/* ===== FORM ===== */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
}

.auth-form label {
    font-size: 13px;
    font-weight: 600;
    color: var(--z-text-mid);
}

.auth-form input {
    width: 100%;
    padding: 11px 12px;
    border-radius: 8px;
    border: 1px solid var(--z-silver);
    font-size: 14px;
    transition: 0.15s ease;
}

.auth-form input:focus {
    border-color: var(--z-primary);
    box-shadow: 0 0 0 3px rgba(255,92,28,0.2);
    outline: none;
}


/* ===== SUBMIT BUTTON ===== */
.auth-btn {
    margin-top: 12px;
    padding: 11px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    background: var(--z-primary);
    color: white;
    transition: 0.2s ease;
}

.auth-btn:hover {
    background: var(--z-primary-dark);
}

.auth-btn:active {
    transform: scale(0.97);
}


/* ===== MESSAGES ===== */
.auth-message {
    margin-top: 18px;
    padding: 10px;
    border-radius: 6px;
    font-size: 13px;
    display: none;
    text-align: center;
    animation: fadeIn 0.25s ease;
}

.auth-message.success {
    display: block;
    background: var(--z-success);
    color: white;
}

.auth-message.error {
    display: block;
    background: var(--z-danger);
    color: white;
}


/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
    .auth-card {
        width: 100%;
        padding: 30px 25px;
        border-radius: 10px;
    }
}


/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}
