:root {
    --auth-primary: #0f62fe;
    --auth-accent: #0fe0c7;
    --auth-surface: #0b1b2b;
    --auth-text: #0b1b2b;
}

.auth-hero {
    position: relative;
    background: radial-gradient(circle at 10% 20%, rgba(15, 98, 254, 0.18), transparent 35%),
                radial-gradient(circle at 80% 0%, rgba(15, 224, 199, 0.25), transparent 40%),
                linear-gradient(135deg, #f6f9ff 0%, #e7edff 50%, #ffffff 100%);
    border-radius: 28px;
    padding: 2.5rem;
    box-shadow: 0 25px 80px rgba(11, 27, 43, 0.12);
    overflow: hidden;
}

.auth-hero::after {
    content: "";
    position: absolute;
    inset: 14px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    z-index: 0;
}

.auth-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: center;
}

.auth-brand {
    color: var(--auth-surface);
}

.auth-brand .badge-soft {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(15, 98, 254, 0.1);
    color: #0f62fe;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.auth-card {
    border: 1px solid rgba(11, 27, 43, 0.05);
    border-radius: 20px;
    padding: 2rem;
    background: #fff;
    box-shadow: 0 18px 40px rgba(11, 27, 43, 0.1);
}

.auth-card h3 {
    font-weight: 700;
    color: var(--auth-text);
}

.auth-card .form-control {
    border-radius: 12px;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(11, 27, 43, 0.12);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-card .form-control:focus {
    border-color: rgba(15, 98, 254, 0.55);
    box-shadow: 0 0 0 0.15rem rgba(15, 98, 254, 0.18);
}

.auth-btn {
    border-radius: 12px;
    padding: 0.85rem 1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    background: linear-gradient(120deg, #0f62fe, #0fe0c7);
    border: none;
    color: #0b1b2b;
    box-shadow: 0 12px 30px rgba(15, 98, 254, 0.35);
}

.auth-secondary {
    background: rgba(15, 98, 254, 0.08);
    color: #0f62fe;
    border-radius: 12px;
    padding: 0.9rem 1rem;
    font-weight: 700;
    border: 1px solid rgba(15, 98, 254, 0.3);
}

.auth-meta {
    color: #4f5d75;
    font-size: 0.95rem;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.9rem;
    background: rgba(11, 27, 43, 0.06);
    border-radius: 999px;
    font-weight: 600;
    color: var(--auth-text);
}

.link-underline {
    text-decoration: none;
    border-bottom: 1px solid rgba(15, 98, 254, 0.4);
    padding-bottom: 2px;
    transition: border-color 0.15s ease, color 0.15s ease;
}

.link-underline:hover {
    border-color: #0f62fe;
    color: #0f62fe;
}

.floating-shape {
    position: absolute;
    filter: blur(60px);
    opacity: 0.25;
    z-index: 0;
}

.floating-shape.one {
    width: 240px;
    height: 240px;
    top: -80px;
    right: -60px;
    background: #0f62fe;
}

.floating-shape.two {
    width: 180px;
    height: 180px;
    bottom: -70px;
    left: -40px;
    background: #0fe0c7;
}

.auth-card .alert {
    border-radius: 12px;
    border: none;
}

@media (max-width: 768px) {
    .auth-hero {
        padding: 1.5rem;
    }
    .auth-card {
        padding: 1.5rem;
    }
}
