/**
 * Authentication pages: /login and /register.
 * Scoped to .auth-login-page and .auth-register-page.
 */

.auth-login-page,
.auth-register-page {
    --auth-primary: var(--wm-primary, #a31030);
    --auth-primary-dark: var(--wm-primary-dark, #760b22);
    --auth-secondary: var(--wm-secondary, #1a2f50);
    --auth-secondary-dark: var(--wm-secondary-dark, #0d1728);
    --auth-accent: #f25f79;
    --auth-blue: #365d95;
    --auth-ink: var(--wm-ink, #142033);
    --auth-muted: var(--wm-muted, #667487);
    --auth-line: rgba(26, 47, 80, 0.12);
    --auth-soft: rgba(163, 16, 48, 0.09);
    --auth-surface: #f4f7fb;
    --auth-card: rgba(255, 255, 255, 0.94);
    --auth-radius: 28px;
    --auth-shadow: 0 30px 90px rgba(13, 23, 40, 0.22);
}

.auth-login-page .login-page-wrapper,
.auth-register-page .main-content {
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 86px);
    background:
        radial-gradient(circle at 12% 16%, rgba(242, 95, 121, 0.24), transparent 24rem),
        radial-gradient(circle at 88% 20%, rgba(54, 93, 149, 0.2), transparent 26rem),
        radial-gradient(circle at 50% 110%, rgba(163, 16, 48, 0.16), transparent 28rem),
        linear-gradient(135deg, #f8fbff 0%, #eef3fa 46%, #fff8fa 100%);
}

.auth-login-page .login-page-wrapper::before,
.auth-register-page .main-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(26, 47, 80, 0.052) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26, 47, 80, 0.052) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(180deg, #000 0%, transparent 88%);
    pointer-events: none;
}

.auth-login-page .login-page-wrapper::after,
.auth-register-page .main-content::after {
    content: '';
    position: absolute;
    inset: 7% auto auto 6%;
    width: min(38vw, 34rem);
    height: min(38vw, 34rem);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(13, 23, 40, 0.14), rgba(163, 16, 48, 0.12));
    filter: blur(12px);
    pointer-events: none;
}

.auth-login-page .login-hero-enhanced,
.auth-register-page .register-form-section {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    min-height: calc(100vh - 86px);
    padding: clamp(2.5rem, 6vw, 5rem) 0;
}

.auth-login-page .login-pattern {
    position: absolute;
    inset: 8% 8% auto auto;
    width: 24rem;
    height: 24rem;
    border-radius: 999px;
    background:
        radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.5), transparent 28%),
        radial-gradient(circle, rgba(163, 16, 48, 0.2), transparent 66%);
    filter: blur(4px);
    pointer-events: none;
}

.auth-login-page .login-floating-elements {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.auth-login-page .floating-card {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.82rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--auth-secondary);
    font-size: 0.84rem;
    font-weight: 900;
    box-shadow: 0 20px 48px rgba(26, 47, 80, 0.16);
    backdrop-filter: blur(14px);
    animation: authFloat 7s ease-in-out infinite;
}

.auth-login-page .floating-card i {
    color: var(--auth-primary);
}

.auth-login-page .floating-card.card-1 {
    inset-block-start: 16%;
    inset-inline-start: 8%;
}

.auth-login-page .floating-card.card-2 {
    inset-block-start: 42%;
    inset-inline-end: 9%;
    animation-delay: 1.6s;
}

.auth-login-page .floating-card.card-3 {
    inset-block-end: 16%;
    inset-inline-start: 14%;
    animation-delay: 3.2s;
}

.auth-login-page .login-container {
    width: min(100%, 520px);
    margin: 0 auto;
    padding: 0 1rem;
}

.auth-login-page .login-card,
.auth-register-page .register-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: var(--auth-radius);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.9)) padding-box,
        linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(163, 16, 48, 0.2), rgba(26, 47, 80, 0.18)) border-box;
    box-shadow: var(--auth-shadow);
    backdrop-filter: blur(18px);
}

.auth-login-page .login-card::before,
.auth-register-page .register-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 7px;
    background: linear-gradient(90deg, var(--auth-primary) 0%, var(--auth-accent) 45%, var(--auth-blue) 100%);
}

.auth-login-page .login-card {
    padding: clamp(1.65rem, 4vw, 2.65rem);
}

.auth-login-page .login-logo-section {
    text-align: center;
    margin-bottom: 1.7rem;
}

.auth-login-page .login-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    margin-bottom: 1rem;
    border: 1px solid rgba(26, 47, 80, 0.08);
    border-radius: 30px;
    background:
        radial-gradient(circle at 30% 25%, rgba(242, 95, 121, 0.2), transparent 60%),
        #fff;
    box-shadow: 0 18px 42px rgba(26, 47, 80, 0.14);
}

.auth-login-page .login-logo img {
    max-width: 74px;
    max-height: 74px;
    object-fit: contain;
}

.auth-login-page .login-title,
.auth-register-page .card-title {
    margin: 0;
    color: var(--auth-secondary-dark);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 1.08;
}

.auth-login-page .login-subtitle,
.auth-register-page .card-subtitle {
    margin: 0.65rem auto 0;
    color: var(--auth-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.auth-login-page .login-form {
    margin-top: 1.75rem;
}

.auth-register-page .register-card .card-header {
    position: relative;
    padding: clamp(1.75rem, 4vw, 2.8rem);
    text-align: center;
    border-bottom: 0;
    background:
        radial-gradient(circle at top right, rgba(242, 95, 121, 0.26), transparent 18rem),
        radial-gradient(circle at bottom left, rgba(54, 93, 149, 0.22), transparent 18rem),
        linear-gradient(135deg, var(--auth-secondary-dark) 0%, var(--auth-secondary) 58%, var(--auth-primary-dark) 100%);
    color: #fff;
}

.auth-register-page .register-card .card-title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    color: #fff;
}

.auth-register-page .register-card .card-title i {
    color: #ffd8df;
}

.auth-register-page .register-card .card-subtitle {
    color: rgba(255, 255, 255, 0.74);
}

.auth-register-page .register-card .card-body {
    padding: clamp(1.25rem, 4vw, 2.6rem);
    background: rgba(255, 255, 255, 0.82);
}

.auth-register-page .register-form {
    display: grid;
    gap: 1.35rem;
}

.auth-register-page .form-section {
    position: relative;
    margin: 0;
    padding: clamp(1rem, 3vw, 1.35rem);
    border: 1px solid rgba(26, 47, 80, 0.085);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 251, 255, 0.82));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.auth-register-page .form-section::before {
    content: '';
    position: absolute;
    inset-block: 1.1rem;
    inset-inline-start: 0;
    width: 4px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--auth-primary), var(--auth-blue));
}

.auth-register-page .form-section:last-child {
    text-align: center;
}

.auth-register-page .section-title {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0 0 1.15rem;
    color: var(--auth-secondary-dark);
    font-size: 1.02rem;
    font-weight: 900;
}

.auth-register-page .section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(163, 16, 48, 0.24), transparent);
}

.auth-register-page .section-title i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--auth-primary), var(--auth-accent));
    color: #fff;
    box-shadow: 0 10px 22px rgba(163, 16, 48, 0.18);
}

.auth-login-page .form-group,
.auth-register-page .form-group {
    position: relative;
    margin-bottom: 0;
}

.auth-login-page .smart-field + .smart-field {
    margin-top: 1.1rem;
}

.auth-login-page .form-label,
.auth-register-page .form-label,
.auth-register-page label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.5rem;
    color: var(--auth-secondary-dark);
    font-size: 0.88rem;
    font-weight: 900;
}

.auth-login-page .form-label i,
.auth-register-page .form-label i {
    color: var(--auth-primary);
}

.auth-login-page .required,
.auth-register-page .required,
.auth-register-page .text-danger {
    color: var(--auth-primary) !important;
    font-weight: 900;
}

.auth-login-page .form-control,
.auth-register-page .form-control,
.auth-register-page .custom-select,
.auth-login-page .password-input-group .form-control,
.auth-register-page .password-input-group .form-control {
    width: 100%;
    min-height: 56px;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(26, 47, 80, 0.11);
    border-radius: 18px;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, rgba(26, 47, 80, 0.16), rgba(163, 16, 48, 0.16)) border-box;
    color: var(--auth-ink);
    font-size: 0.96rem;
    font-weight: 700;
    box-shadow: 0 12px 28px rgba(26, 47, 80, 0.055);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.auth-login-page .form-control:focus,
.auth-register-page .form-control:focus,
.auth-register-page .custom-select:focus {
    border-color: rgba(163, 16, 48, 0.55);
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, var(--auth-primary), var(--auth-blue)) border-box;
    box-shadow: 0 0 0 4px rgba(163, 16, 48, 0.12), 0 18px 38px rgba(26, 47, 80, 0.1);
    transform: translateY(-1px);
}

.auth-login-page .form-control::placeholder,
.auth-register-page .form-control::placeholder {
    color: #99a4b3;
    font-weight: 700;
}

.auth-login-page .form-control.has-value,
.auth-register-page .form-control.has-value {
    border-color: rgba(26, 47, 80, 0.24);
}

.auth-login-page .form-control.is-invalid,
.auth-register-page .form-control.is-invalid,
.auth-register-page .custom-select.is-invalid {
    border-color: rgba(220, 53, 69, 0.72);
    background-image: none;
}

.auth-register-page .input-group {
    flex-wrap: nowrap;
    border-radius: 20px;
    box-shadow: 0 12px 28px rgba(26, 47, 80, 0.045);
}

.auth-register-page .input-group-prepend {
    margin: 0;
}

.auth-register-page .input-group-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    height: 56px;
    border: 1px solid rgba(26, 47, 80, 0.11);
    border-inline-end: 0;
    border-radius: 18px 0 0 18px;
    background: linear-gradient(135deg, var(--auth-secondary-dark) 0%, var(--auth-secondary) 100%);
    color: #fff;
}

.auth-register-page .input-group .form-control {
    border-start-start-radius: 0;
    border-end-start-radius: 0;
}

.auth-login-page .password-input-group,
.auth-register-page .password-input-group {
    position: relative;
    border-radius: 18px;
}

.auth-login-page .password-input-group .form-control,
.auth-register-page .password-input-group .form-control {
    padding-inline-end: 3.5rem;
}

.auth-login-page .password-toggle,
.auth-register-page .password-toggle {
    position: absolute;
    inset-block-start: 50%;
    inset-inline-end: 0.7rem;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 14px;
    background: rgba(26, 47, 80, 0.075);
    color: var(--auth-secondary);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.auth-login-page .password-toggle:hover,
.auth-register-page .password-toggle:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--auth-primary), var(--auth-accent));
    transform: translateY(-50%) scale(1.03);
}

.auth-register-page .password-strength {
    margin-top: 0.65rem;
}

.auth-register-page .strength-bar {
    overflow: hidden;
    height: 8px;
    border-radius: 999px;
    background: rgba(26, 47, 80, 0.08);
}

.auth-register-page .strength-fill {
    width: 0;
    height: 100%;
    border-radius: inherit;
    transition: width 0.25s ease, background-color 0.25s ease;
}

.auth-register-page .strength-text {
    display: block;
    margin-top: 0.35rem;
    color: var(--auth-muted);
    font-weight: 800;
}

.auth-login-page .form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 1.4rem 0 1.6rem;
    padding: 0.85rem;
    border: 1px solid rgba(26, 47, 80, 0.08);
    border-radius: 18px;
    background: rgba(248, 251, 255, 0.82);
}

.auth-login-page .custom-checkbox,
.auth-register-page .terms-label {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--auth-muted);
    font-weight: 800;
    cursor: pointer;
    user-select: none;
}

.auth-login-page .custom-checkbox input,
.auth-register-page .terms-checkbox input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.auth-login-page .checkmark,
.auth-register-page .checkbox-custom {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    border: 2px solid rgba(26, 47, 80, 0.22);
    border-radius: 8px;
    background: #fff;
    box-shadow: inset 0 1px 2px rgba(26, 47, 80, 0.06);
}

.auth-login-page .custom-checkbox input:checked + .checkmark,
.auth-register-page .terms-checkbox input:checked + .terms-label .checkbox-custom {
    border-color: var(--auth-primary);
    background: linear-gradient(135deg, var(--auth-primary), var(--auth-accent));
}

.auth-login-page .custom-checkbox input:checked + .checkmark::after,
.auth-register-page .terms-checkbox input:checked + .terms-label .checkbox-custom::after {
    content: '';
    width: 6px;
    height: 11px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) translateY(-1px);
}

.auth-login-page .forgot-link,
.auth-login-page .register-link,
.auth-register-page .terms-link,
.auth-register-page .login-link-text {
    color: var(--auth-primary);
    font-weight: 900;
    text-decoration: none;
    transition: color 0.18s ease;
}

.auth-login-page .forgot-link:hover,
.auth-login-page .register-link:hover,
.auth-register-page .terms-link:hover,
.auth-register-page .login-link-text:hover {
    color: var(--auth-secondary);
    text-decoration: underline;
}

.auth-login-page .login-btn,
.auth-register-page .register-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    min-height: 58px;
    padding: 1rem 1.4rem;
    border: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--auth-primary-dark) 0%, var(--auth-primary) 42%, var(--auth-accent) 100%);
    color: #fff;
    font-size: 1.04rem;
    font-weight: 900;
    letter-spacing: 0.01em;
    box-shadow: 0 18px 40px rgba(163, 16, 48, 0.34);
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.auth-login-page .login-btn:hover,
.auth-register-page .register-btn:hover {
    color: #fff;
    filter: brightness(1.05);
    transform: translateY(-2px);
    box-shadow: 0 24px 54px rgba(163, 16, 48, 0.42);
}

.auth-login-page .login-btn:disabled {
    cursor: not-allowed;
    opacity: 0.72;
    transform: none;
}

.auth-login-page .btn-loading {
    align-items: center;
    gap: 0.5rem;
}

.auth-login-page .register-section {
    margin-top: 1.45rem;
    padding-top: 1.45rem;
    border-top: 1px solid rgba(26, 47, 80, 0.1);
    text-align: center;
}

.auth-login-page .register-text,
.auth-register-page .login-link {
    margin: 0;
    color: var(--auth-muted);
    font-weight: 800;
    text-align: center;
}

.auth-register-page .terms-section {
    padding: 1rem;
    border: 1px dashed rgba(163, 16, 48, 0.32);
    border-radius: 20px;
    background:
        linear-gradient(135deg, rgba(163, 16, 48, 0.065), rgba(54, 93, 149, 0.055));
}

.auth-login-page .invalid-feedback,
.auth-register-page .invalid-feedback {
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.45rem;
    color: #b42335;
    font-size: 0.82rem;
    font-weight: 800;
}

.auth-login-page .invalid-feedback {
    display: flex;
}

.auth-register-page .bootstrap-select.form-control {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.auth-register-page .bootstrap-select > .dropdown-toggle {
    min-height: 56px;
    border: 1px solid rgba(26, 47, 80, 0.11);
    border-radius: 18px;
    background: #fff;
    color: var(--auth-ink);
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(26, 47, 80, 0.055);
}

.auth-register-page .bootstrap-select > .dropdown-toggle:focus,
.auth-register-page .bootstrap-select.show > .dropdown-toggle {
    outline: 0 !important;
    border-color: rgba(163, 16, 48, 0.55);
    box-shadow: 0 0 0 4px rgba(163, 16, 48, 0.12);
}

.auth-register-page .bootstrap-select .dropdown-menu {
    overflow: hidden;
    border: 1px solid rgba(26, 47, 80, 0.1);
    border-radius: 18px;
    box-shadow: 0 22px 58px rgba(26, 47, 80, 0.16);
}

.auth-register-page .bootstrap-select .dropdown-menu li a {
    padding: 0.7rem 1rem;
    color: var(--auth-ink);
    font-weight: 800;
}

.auth-register-page .bootstrap-select .dropdown-menu li a:hover,
.auth-register-page .bootstrap-select .dropdown-menu li.selected a,
.auth-register-page .bootstrap-select .dropdown-menu li.active a {
    background: var(--auth-soft);
    color: var(--auth-primary);
}

.auth-register-page .modal#TermsAndConditions .modal-content {
    overflow: hidden;
    border: 1px solid rgba(26, 47, 80, 0.1);
    border-radius: 24px;
    box-shadow: 0 28px 74px rgba(26, 47, 80, 0.22);
}

.auth-register-page .modal#TermsAndConditions .modal-header {
    border: 0;
    background: linear-gradient(135deg, var(--auth-secondary) 0%, var(--auth-primary) 100%);
    color: #fff;
}

.auth-register-page .modal#TermsAndConditions .modal-title {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: 900;
}

.auth-register-page .modal#TermsAndConditions .close {
    color: #fff;
    opacity: 0.9;
    text-shadow: none;
}

.auth-register-page .modal#TermsAndConditions .modal-body {
    max-height: 65vh;
    overflow: auto;
}

@keyframes authFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

body.wm-layout[dir="rtl"] .auth-login-page,
body.wm-layout[dir="rtl"] .auth-register-page {
    direction: rtl;
}

body.wm-layout[dir="ltr"] .auth-login-page,
body.wm-layout[dir="ltr"] .auth-register-page {
    direction: ltr;
}

body.wm-layout[dir="rtl"] .auth-login-page .login-card,
body.wm-layout[dir="rtl"] .auth-register-page .register-card,
body.wm-layout[dir="rtl"] .auth-register-page .form-section {
    text-align: right;
}

body.wm-layout[dir="rtl"] .auth-register-page .section-title,
body.wm-layout[dir="rtl"] .auth-register-page .form-label,
body.wm-layout[dir="rtl"] .auth-register-page label {
    direction: rtl;
    justify-content: flex-start;
    text-align: right;
}

body.wm-layout[dir="rtl"] .auth-register-page .section-title {
    flex-direction: row;
}

body.wm-layout[dir="ltr"] .auth-login-page .login-card,
body.wm-layout[dir="ltr"] .auth-register-page .register-card,
body.wm-layout[dir="ltr"] .auth-register-page .form-section {
    text-align: left;
}

body.wm-layout[dir="ltr"] .auth-register-page .section-title,
body.wm-layout[dir="ltr"] .auth-register-page .form-label,
body.wm-layout[dir="ltr"] .auth-register-page label {
    direction: ltr;
    justify-content: flex-start;
    text-align: left;
}

body.wm-layout[dir="rtl"] .auth-register-page .input-group-text {
    border-inline-end: 1px solid rgba(26, 47, 80, 0.14);
    border-inline-start: 0;
    border-radius: 0 18px 18px 0;
}

body.wm-layout[dir="rtl"] .auth-register-page .input-group .form-control {
    border-start-start-radius: 18px;
    border-end-start-radius: 18px;
    border-start-end-radius: 0;
    border-end-end-radius: 0;
}

body.wm-layout[dir="ltr"] .auth-register-page .input-group-text {
    border-inline-end: 0;
    border-inline-start: 1px solid rgba(26, 47, 80, 0.11);
    border-radius: 18px 0 0 18px;
}

body.wm-layout[dir="ltr"] .auth-register-page .input-group .form-control {
    border-start-start-radius: 0;
    border-end-start-radius: 0;
    border-start-end-radius: 18px;
    border-end-end-radius: 18px;
}

body.wm-layout[dir="rtl"] .auth-login-page .custom-checkbox input:checked + .checkmark::after,
body.wm-layout[dir="rtl"] .auth-register-page .terms-checkbox input:checked + .terms-label .checkbox-custom::after {
    transform: rotate(45deg) translateY(-1px);
}

body.wm-layout[dir="rtl"] .auth-register-page .section-title::after {
    background: linear-gradient(270deg, rgba(163, 16, 48, 0.24), transparent);
}

body.wm-layout[dir="rtl"] .auth-register-page .form-section::before {
    inset-inline-start: auto;
    inset-inline-end: 0;
}

body.wm-layout[dir="rtl"] .auth-register-page .bootstrap-select > .dropdown-toggle,
body.wm-layout[dir="rtl"] .auth-register-page .bootstrap-select .dropdown-menu,
body.wm-layout[dir="rtl"] .auth-register-page .bootstrap-select .dropdown-menu .inner,
body.wm-layout[dir="rtl"] .auth-register-page .bootstrap-select .filter-option {
    direction: rtl;
    text-align: right;
}

body.wm-layout[dir="ltr"] .auth-register-page .bootstrap-select > .dropdown-toggle,
body.wm-layout[dir="ltr"] .auth-register-page .bootstrap-select .dropdown-menu,
body.wm-layout[dir="ltr"] .auth-register-page .bootstrap-select .dropdown-menu .inner,
body.wm-layout[dir="ltr"] .auth-register-page .bootstrap-select .filter-option {
    direction: ltr;
    text-align: left;
}

@media (max-width: 991.98px) {
    .auth-login-page .floating-card {
        display: none;
    }

    .auth-register-page .register-card .card-body {
        padding: 1.15rem;
    }
}

@media (max-width: 767.98px) {
    .auth-login-page .login-hero-enhanced,
    .auth-register-page .register-form-section {
        min-height: auto;
        padding: 2rem 0;
    }

    .auth-login-page .login-card,
    .auth-register-page .register-card {
        border-radius: 22px;
    }

    .auth-login-page .form-options {
        align-items: flex-start;
        flex-direction: column;
    }

    .auth-register-page .form-section {
        padding: 1rem;
        border-radius: 20px;
    }
}
