/* Shared visual layout for Login / Register / Forgot Password / Reset Password screens */

html, body.auth-body {
    height: 100%;
    margin: 0;
}

.auth-wrapper {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

/* Left branding panel */
.auth-brand-panel {
    flex: 1 1 46%;
    max-width: 46%;
    background: linear-gradient(135deg, #0b2545 0%, #13315c 45%, #1f6fb2 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 50px;
    position: relative;
    overflow: hidden;
}

    .auth-brand-panel::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image:
            radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.08) 0, transparent 40%),
            radial-gradient(circle at 85% 80%, rgba(255, 255, 255, 0.07) 0, transparent 45%);
        pointer-events: none;
    }

.auth-brand-content {
    position: relative;
    z-index: 1;
    max-width: 420px;
    text-align: center;
}

.auth-logo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    margin-bottom: 28px;
}

    .auth-logo-badge img {
        width: 96px;
        height: 96px;
        object-fit: contain;
    }

.auth-brand-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 0.3px;
}

.auth-brand-subtitle {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 36px;
    line-height: 1.6;
}

.auth-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

    .auth-feature-list li {
        display: flex;
        align-items: flex-start;
        gap: 14px;
        padding: 12px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        font-size: 14px;
        color: rgba(255, 255, 255, 0.92);
    }

        .auth-feature-list li:first-child {
            border-top: none;
        }

        .auth-feature-list li i {
            width: 32px;
            height: 32px;
            min-width: 32px;
            border-radius: 8px;
            background: rgba(255, 255, 255, 0.14);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
        }

/* Right form panel */
.auth-form-panel {
    flex: 1 1 54%;
    max-width: 54%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f3f5f8;
    padding: 40px 24px;
    position: relative;
    overflow: hidden;
}

    .auth-form-panel::before,
    .auth-form-panel::after {
        content: "";
        position: absolute;
        border-radius: 50%;
        pointer-events: none;
    }

    .auth-form-panel::before {
        width: 340px;
        height: 340px;
        top: -110px;
        right: -110px;
        background: radial-gradient(circle, rgba(31, 111, 178, 0.12) 0%, rgba(31, 111, 178, 0) 70%);
    }

    .auth-form-panel::after {
        width: 380px;
        height: 380px;
        bottom: -140px;
        left: -120px;
        background: radial-gradient(circle, rgba(11, 37, 69, 0.09) 0%, rgba(11, 37, 69, 0) 70%);
    }

.auth-form-card {
    width: 100%;
    max-width: 400px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(20, 30, 60, 0.08);
    padding: 44px 40px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

    .auth-form-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #0b2545, #1f6fb2);
    }

    .auth-form-card .auth-card-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 52px;
        height: 52px;
        border-radius: 12px;
        background: linear-gradient(135deg, #0b2545, #1f6fb2);
        color: #fff;
        font-size: 20px;
        margin-bottom: 18px;
    }

    .auth-form-card h2,
    .auth-form-card h3 {
        font-weight: 700;
        margin-bottom: 6px;
    }

    .auth-form-card .auth-card-subtitle {
        color: #8a97a6;
        font-size: 14px;
        margin-bottom: 26px;
    }

/* Icon-prefixed inputs */
.auth-input-group {
    position: relative;
}

    .auth-input-group i {
        position: absolute;
        left: 14px;
        top: 50%;
        transform: translateY(-50%);
        color: #9aa7b6;
        font-size: 14px;
        pointer-events: none;
    }

    .auth-input-group .form-control {
        padding-left: 38px;
    }

.auth-form-card .btn-primary,
.auth-form-card .btn-success {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

@media (max-width: 991px) {
    .auth-brand-panel {
        display: none;
    }

    .auth-form-panel {
        flex: 1 1 100%;
        max-width: 100%;
        min-height: 100vh;
    }
}

@media (max-width: 480px) {
    .auth-form-card {
        padding: 32px 24px;
        box-shadow: none;
    }

    .auth-form-panel {
        background-color: #fff;
        padding: 0;
    }
}
