.moneyquest-header-logo,
.moneyquest-sidebar-logo {
    max-height: 54px;
    object-fit: contain;
}

.moneyquest-sidebar-logo {
    max-width: 150px;
}

.moneyquest-header-context {
    color: #667085;
    font-size: 0.9rem;
    font-weight: 600;
}

.moneyquest-avatar,
.moneyquest-sidebar-avatar {
    align-items: center;
    background: linear-gradient(135deg, #f9b233 0%, #6abf4b 100%);
    border: 2px solid rgba(255, 255, 255, 0.65);
    border-radius: 50%;
    color: #12263f;
    display: inline-flex;
    font-weight: 800;
    justify-content: center;
}

.moneyquest-avatar {
    height: 38px;
    width: 38px;
}

.moneyquest-sidebar-avatar {
    height: 72px;
    margin: 0 auto 12px;
    width: 72px;
}

.moneyquest-disabled-link {
    opacity: 0.58;
    pointer-events: none;
}

.moneyquest-auth-body {
    background:
        radial-gradient(circle at 20% 20%, rgba(249, 178, 51, 0.2), transparent 24rem),
        radial-gradient(circle at 84% 20%, rgba(34, 117, 185, 0.18), transparent 22rem),
        linear-gradient(135deg, #f7fafc 0%, #eef4fb 48%, #f7fbf1 100%);
}

.moneyquest-auth-page {
    min-height: 100vh;
}

.moneyquest-auth-shell {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding: 24px;
}

.moneyquest-login-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(18, 38, 63, 0.08);
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(18, 38, 63, 0.14);
    max-width: 460px;
    padding: 36px;
    width: 100%;
}

.moneyquest-login-brand {
    margin-bottom: 28px;
    text-align: center;
}

.moneyquest-login-brand img {
    height: auto;
    max-width: 320px;
    width: 100%;
}

.moneyquest-login-brand p {
    color: #667085;
    margin: 18px auto 0;
    max-width: 340px;
}

.moneyquest-login-form .form-group {
    margin-bottom: 18px;
}

.moneyquest-login-button {
    font-weight: 700;
    min-height: 44px;
}

.moneyquest-auth-switch,
.moneyquest-waitlist {
    background: #f6f8fb;
    border: 1px solid #e7ecf3;
    border-radius: 8px;
    color: #475467;
    display: grid;
    gap: 4px;
    margin-top: 22px;
    padding: 14px;
    text-align: center;
}

.moneyquest-auth-switch span,
.moneyquest-waitlist span {
    color: #6abf4b;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.moneyquest-auth-switch a,
.moneyquest-waitlist strong {
    color: #12263f;
    font-weight: 800;
}

.moneyquest-waitlist-form {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.moneyquest-compact-form {
    background: #f8fafc;
    border: 1px solid #edf1f7;
    border-radius: 8px;
    padding: 18px;
}

.moneyquest-table-logo {
    background: #fff;
    border: 1px solid #edf1f7;
    border-radius: 6px;
    height: 34px;
    object-fit: contain;
    padding: 4px;
    width: 58px;
}

.moneyquest-color-input {
    max-width: 72px;
    padding: 3px;
}

.moneyquest-category-swatch {
    border: 1px solid rgba(18, 38, 63, 0.12);
    border-radius: 50%;
    display: inline-block;
    height: 18px;
    vertical-align: middle;
    width: 18px;
}

.moneyquest-empty-dashboard {
    border: 1px dashed rgba(34, 117, 185, 0.28);
    box-shadow: none;
    min-height: 380px;
}

.moneyquest-empty-dashboard .card-body {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px 24px;
    text-align: center;
}

.moneyquest-empty-icon {
    align-items: center;
    background: #fff8e6;
    border-radius: 50%;
    color: #f9b233;
    display: inline-flex;
    font-size: 2rem;
    height: 84px;
    justify-content: center;
    margin-bottom: 22px;
    width: 84px;
}

.moneyquest-empty-dashboard h5 {
    font-size: 1.25rem;
    font-weight: 800;
}

.moneyquest-empty-dashboard p {
    color: #667085;
    max-width: 560px;
}

@media (max-width: 575.98px) {
    .moneyquest-login-card {
        padding: 28px 22px;
    }

    .moneyquest-login-brand img {
        max-width: 200px;
    }
}
