/* Minimal login styling */
:root {
    --deep-ink: #0b3037;
    --teal: #134e5e;
    --text: #e7f5f7;
    --muted: #b9c8cc;
    --surface: rgba(6, 24, 28, 0.55);
    --border: rgba(255, 255, 255, 0.08);
    --accent: #21a0b6;
}

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

body.auth-body {
    margin: 0;
    min-height: 100vh;
    font-family: "Vazirmatn", sans-serif;
    background: radial-gradient(circle at 20% 20%, rgba(33, 160, 182, 0.25), transparent 45%),
                radial-gradient(circle at 80% 0%, rgba(10, 48, 55, 0.35), transparent 40%),
                linear-gradient(135deg, #0b3037 0%, #134e5e 70%, #0b3037 100%);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.auth-shell {
    width: min(420px, 100%);
}

.auth-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 28px 26px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

.brand-mark {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(33, 160, 182, 0.35), rgba(11, 48, 55, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text);
}

.brand-text h1 {
    margin: 0;
    font-size: 1.3rem;
}

.brand-text p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.alert {
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 122, 122, 0.08);
    color: #ffd7d7;
    border: 1px solid rgba(255, 122, 122, 0.16);
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field label {
    font-size: 0.95rem;
    color: var(--muted);
}

.field-control {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field-control:focus-within {
    border-color: rgba(33, 160, 182, 0.6);
    box-shadow: 0 0 0 3px rgba(33, 160, 182, 0.18);
}

.field-control input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 1rem;
    outline: none;
}

.field-control input::placeholder {
    color: rgba(233, 245, 247, 0.45);
}

.field-control .material-symbols-rounded {
    color: var(--muted);
    font-size: 1.3rem;
}

.ghost-btn {
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    padding: 4px;
    display: grid;
    place-items: center;
}

.primary-btn {
    width: 100%;
    background: linear-gradient(135deg, #21a0b6, #134e5e);
    color: #f7ffff;
    border: none;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 12px 25px rgba(19, 78, 94, 0.35);
}

.primary-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 32px rgba(19, 78, 94, 0.45);
}

.primary-btn:active {
    transform: translateY(0);
}

@media (max-width: 480px) {
    .auth-panel {
        padding: 22px 18px;
    }

    .brand-text h1 {
        font-size: 1.15rem;
    }
}
