/* Split-pane auth pages (Register/Login) - Sprint 03, Task B1. */

body {
    margin: 0;
    min-height: 100vh;
}

.auth-split {
    display: flex;
    min-height: 100vh;
}

.auth-brand-pane {
    flex: 1 1 45%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 1rem;
    padding: 4rem 3.5rem;
    color: #fff;
    background: linear-gradient(155deg, #1f7f3f 0%, #239047 55%, #39b807 100%);
    position: relative;
    overflow: hidden;
}

.auth-brand-pane::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.12), transparent 45%),
                radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1), transparent 40%);
    pointer-events: none;
}

.auth-brand-logo {
    width: 96px;
    height: auto;
    margin-bottom: 1rem;
}

.auth-brand-title {
    font-size: 2rem;
    font-weight: 700;
    max-width: 26rem;
}

.auth-brand-subtitle {
    max-width: 24rem;
    opacity: 0.9;
}

.auth-form-pane {
    flex: 1 1 55%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: #f7f9fb;
}

.auth-form-card {
    width: 100%;
    max-width: 26rem;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 1.25rem;
    box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.08);
    padding: 2.5rem;
}

.password-field {
    position: relative;
}

.password-toggle {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
}

.password-toggle:hover {
    color: #239047;
}

@media (max-width: 900px) {
    .auth-split {
        flex-direction: column;
    }

    .auth-brand-pane {
        padding: 2.5rem 1.5rem;
        flex: 0 0 auto;
    }

    .auth-brand-title {
        font-size: 1.5rem;
    }
}
