body.form-membership {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    background: linear-gradient(135deg, #f1f4ff, #f8f9fc 55%, #e8edff);
}

.login-card {
    width: min(100%, 430px);
    padding: 36px 34px 30px;
    border: 1px solid rgba(88, 103, 221, .1);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 55px rgba(35, 47, 105, .12);
    text-align: center;
}

.login-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    margin-bottom: 18px;
    border-radius: 22px;
    background: #f3f5ff;
}

.login-logo img {
    max-width: 68px;
    max-height: 68px;
    object-fit: contain;
}

.login-card h1 {
    margin: 0 0 8px;
    color: #252b42;
    font-size: 1.3rem;
    font-weight: 700;
}

.login-subtitle {
    margin: 0 0 26px;
    color: #7b8195;
    font-size: .95rem;
}

.login-card .form-group {
    margin-bottom: 17px;
    text-align: right;
}

.login-card .form-control {
    height: 48px;
    padding: 10px 14px;
    border: 1px solid #e2e5ef;
    border-radius: 9px;
    background: #fbfcff;
    transition: border-color .2s, box-shadow .2s;
}

.login-card .form-control:focus {
    border-color: #5867dd;
    box-shadow: 0 0 0 3px rgba(88, 103, 221, .12);
}

.login-card .custom-control {
    min-height: 1.5rem;
}

.login-card .btn-primary {
    min-height: 48px;
    border-radius: 9px;
    font-weight: 600;
    box-shadow: 0 7px 16px rgba(88, 103, 221, .2);
}

.login-card .validation-summary-errors {
    margin-top: 16px;
    text-align: right;
}

.login-card .validation-summary-errors ul {
    margin: 0;
    padding-right: 20px;
}

@media (max-width: 480px) {
    .login-card {
        padding: 30px 22px 24px;
    }
}
