/* Shared login, registration and setup screen theme */
.auth-page {
    min-height: 100vh;
    background: radial-gradient(circle at 10% 15%, #ffd6ea 0, transparent 30%), radial-gradient(circle at 90% 85%, #e6d5ff 0, transparent 32%), linear-gradient(135deg, #fff8fc, #f6eff9);
    color: #28162b
}

.auth-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 34px 18px
}

.auth-card {
    width: min(100%, 720px);
    padding: 38px !important;
    border: 1px solid #efd9e8 !important;
    border-radius: 30px !important;
    background: rgba(255, 255, 255, .9) !important;
    box-shadow: 0 25px 70px #5c1d501f !important;
    position: relative;
    overflow: hidden
}

.auth-card:before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    right: -90px;
    top: -100px;
    background: linear-gradient(135deg, #f7a8ce, #d9b8ff);
    opacity: .42
}

.auth-card>* {
    position: relative;
    z-index: 1
}

.auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 19px;
    font-weight: 850
}

.auth-brand .brand-mark {
    width: 42px;
    height: 42px
}

.auth-card h1 {
    font-size: clamp(28px, 5vw, 44px);
    letter-spacing: -1.5px;
    margin: 8px 0
}

.auth-card label {
    display: block;
    margin: 15px 0;
    color: #513a50;
    font-size: 13px;
    font-weight: 700
}

.auth-card .input {
    margin-top: 6px;
    background: #fff;
    border-color: #e8d5e5;
    min-height: 46px
}

.auth-card .btn,
.auth-card button.btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 24px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #a71869, #e34a9d) !important;
    color: #fff !important;
    font-weight: 850 !important;
    box-shadow: 0 12px 24px #b5277438 !important;
    cursor: pointer
}

.auth-card .btn:hover {
    transform: translateY(-2px);
    filter: saturate(1.12)
}

.auth-card .btn.secondary {
    background: #fff !important;
    color: #a71869 !important;
    border: 1px solid #e7c9dc !important;
    box-shadow: none !important
}

.auth-card .alert {
    position: relative
}

.auth-card .auth-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 20px
}

.setup-card {
    width: min(100%, 780px)
}

.setup-card .setup-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(135deg, #a71869, #e34a9d);
    color: #fff;
    font-size: 28px;
    box-shadow: 0 14px 28px #b5277438;
    margin-bottom: 18px
}

.setup-card .setup-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 22px
}

.setup-card .setup-note {
    padding: 14px 16px;
    border-radius: 14px;
    background: #fff5fa;
    border: 1px solid #f1d6e6;
    color: #694e65
}

@media(max-width:600px) {
    .auth-shell {
        padding: 18px 12px
    }

    .auth-card {
        padding: 25px 18px !important;
        border-radius: 22px !important
    }

    .setup-card .setup-actions .btn {
        width: 100%
    }
}

.account-card {
    width: min(100%, 560px);
    padding: 38px !important;
    border: 1px solid #efd9e8 !important;
    border-radius: 30px !important;
    background: rgba(255, 255, 255, .94) !important;
    box-shadow: 0 25px 70px #5c1d501f !important
}

.account-card h1 {
    font-size: clamp(28px, 5vw, 42px);
    letter-spacing: -1.5px
}

.account-card label {
    color: #513a50;
    font-size: 13px;
    font-weight: 700
}

.account-card .input {
    margin-top: 6px;
    background: #fff;
    border-color: #e8d5e5;
    min-height: 46px
}

.account-card .btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    background: linear-gradient(135deg, #a71869, #e34a9d) !important;
    color: #fff !important;
    border: 0 !important;
    box-shadow: 0 12px 24px #b5277438 !important
}

@media(max-width:600px) {
    .account-card {
        padding: 25px 18px !important;
        border-radius: 22px !important
    }
}