/* Compact auth pages: less gap between breadcrumb and form */
.page-header--compact {
    padding-block: clamp(2.5rem, 4vw, 3.5rem);
    min-height: auto;
}

.page-header--compact .page-header__content h2 {
    margin-bottom: 0.35rem;
}

.account--compact {
    padding-top: 2rem !important;
}

.account--compact .account__header {
    margin-bottom: 1.25rem;
}

.account--compact .account__header h2 {
    margin-bottom: 0.35rem;
    font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.account--compact .account__header p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.register-form .row.g-3 > [class*="col-"] {
    margin-bottom: 0;
}

.register-form .form-label {
    margin-bottom: 0.35rem;
    font-size: 0.92rem;
}

.register-form small.text-muted {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.8rem;
}

/* Tom Select – dark theme */
.register-form .ts-wrapper.form-select {
    width: 100%;
}

.register-form .ts-control {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: inherit;
    border-radius: 0.5rem;
    min-height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
}

.register-form .ts-dropdown {
    background: #1a2332;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    z-index: 1050;
}

.register-form .ts-dropdown .option {
    color: #fff;
}

.register-form .ts-dropdown .active {
    background: rgba(36, 255, 130, 0.15);
    color: #fff;
}

.register-form .ts-control input {
    color: inherit;
}

/* intl-tel-input – dark theme */
.register-form .phone-input-group .iti {
    width: 100%;
}

.register-form .phone-input-group .iti__country-list {
    background: #1a2332;
    border-color: rgba(255, 255, 255, 0.12);
    color: #fff;
    z-index: 1060;
}

.register-form .phone-input-group .iti__country.iti__highlight {
    background: rgba(36, 255, 130, 0.15);
}

.register-form .phone-input-group .form-control {
    width: 100%;
    padding-left: 3.25rem;
}

.register-form .phone-input-group .iti__selected-flag {
    background: rgba(255, 255, 255, 0.04);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

[data-bs-theme="light"] .register-form .ts-control,
[data-bs-theme="light"] .register-form .phone-input-group .iti__selected-flag {
    background-color: #fff;
    color: #212529;
}

[data-bs-theme="light"] .register-form .ts-dropdown,
[data-bs-theme="light"] .register-form .phone-input-group .iti__country-list {
    background: #fff;
    color: #212529;
}

[data-bs-theme="light"] .register-form .ts-dropdown .option {
    color: #212529;
}
