:root {
    --oniono-orange: #ff8c00;
    --oniono-orange-deep: #e85d04;
    --oniono-yellow: #ffc947;
    --oniono-purple: #7c3aed;
    --oniono-text: #1f2937;
    --oniono-muted: #64748b;
}

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background:
        radial-gradient(ellipse 80% 60% at 10% 20%, rgba(255, 140, 0, 0.18), transparent 50%),
        radial-gradient(ellipse 70% 50% at 90% 80%, rgba(124, 58, 237, 0.12), transparent 55%),
        linear-gradient(165deg, #fff8f0 0%, #ffffff 45%, #f8fafc 100%);
    font-family: "Segoe UI", system-ui, sans-serif;
}

.auth-shell {
    width: 100%;
    max-width: 960px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 24px;
    overflow: hidden;
    box-shadow:
        0 4px 6px rgba(15, 23, 42, 0.04),
        0 24px 48px rgba(232, 93, 4, 0.12);
    background: #fff;
}

.auth-brand {
    position: relative;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(145deg, #fff5eb 0%, #ffffff 100%);
    border-right: 1px solid #f1f5f9;
}

.auth-brand::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 30%, rgba(255, 201, 71, 0.25), transparent 60%);
    pointer-events: none;
}

.auth-logo {
    position: relative;
    z-index: 1;
    max-width: 280px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 8px 24px rgba(232, 93, 4, 0.15));
}

.auth-tagline {
    position: relative;
    z-index: 1;
    margin-top: 1.25rem;
    color: var(--oniono-muted);
    font-size: 0.95rem;
    max-width: 260px;
    line-height: 1.5;
}

.auth-form-panel {
    padding: 2.5rem 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-form-panel h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--oniono-text);
    margin-bottom: 0.35rem;
}

.auth-form-panel .subtitle {
    color: var(--oniono-muted);
    font-size: 0.9rem;
    margin-bottom: 1.75rem;
}

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

.auth-input-wrap .form-control {
    padding-left: 2.75rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
}

.auth-input-wrap .form-control:focus {
    border-color: var(--oniono-orange);
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.2);
}

.auth-input-icon {
    position: absolute;
    left: 0.95rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1.05rem;
    pointer-events: none;
}

.auth-input-wrap--password .form-control {
    padding-right: 2.75rem;
}

.auth-password-toggle {
    position: absolute;
    right: 0.65rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: #94a3b8;
    padding: 0.25rem 0.35rem;
    font-size: 1.05rem;
    line-height: 1;
    cursor: pointer;
    border-radius: 6px;
}

.auth-password-toggle:hover {
    color: var(--oniono-muted);
}

.auth-password-toggle:focus-visible {
    outline: 2px solid var(--oniono-orange);
    outline-offset: 2px;
}

.btn-oniono {
    border: none;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(180deg, var(--oniono-yellow) 0%, var(--oniono-orange) 45%, var(--oniono-orange-deep) 100%);
    box-shadow: 0 4px 14px rgba(232, 93, 4, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-oniono:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(232, 93, 4, 0.4);
}

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

.auth-secondary-link {
    display: block;
    margin-top: 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--oniono-purple);
    text-align: center;
    text-decoration: none;
}

.auth-secondary-link:hover {
    color: var(--oniono-orange-deep);
    text-decoration: underline;
}

.auth-footer-note {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: #94a3b8;
    text-align: center;
}

@media (max-width: 767.98px) {
    .auth-shell {
        grid-template-columns: 1fr;
        max-width: 420px;
    }

    .auth-brand {
        padding: 2rem 1.5rem 1.25rem;
        border-right: none;
        border-bottom: 1px solid #f1f5f9;
    }

    .auth-logo {
        max-width: 200px;
    }

    .auth-tagline {
        display: none;
    }

    .auth-form-panel {
        padding: 1.75rem 1.5rem 2rem;
    }
}
