/*------------------------------------------
  Project Name : Jobs Portal
  Module       : Login Modal Component Styles
------------------------------------------*/

.custom-login-modal {
    z-index: 1055 !important;
}

.custom-login-modal .modal-dialog {
    max-width: 920px !important;
    width: 92% !important;
    z-index: 1056 !important;
    position: relative;
    pointer-events: auto !important;
}

.custom-login-modal .modal-content {
    border-radius: 28px !important;
    border: none !important;
    overflow: hidden !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
    pointer-events: auto !important;
}

.custom-login-modal * {
    box-sizing: border-box !important;
}

.custom-login-modal input,
.custom-login-modal button,
.custom-login-modal a {
    pointer-events: auto !important;
}

.luxury-banner-bg {
    background-color: #49070a !important; /* Deep navy */
    background-image: linear-gradient(rgba(4, 15, 31, 0.5), rgba(4, 15, 31, 0.8)), url('../images/section/luxury-bg.png') !important;
    background-size: cover !important;
    background-position: center !important;
    border-radius: 28px 0 0 28px !important;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 2.5rem;
    color: #ffffff;
    text-align: center;
}

.golden-arch-border {
    position: absolute;
    top: 20px; left: 20px; right: 20px; bottom: 20px;
    border: 1px solid rgba(212, 175, 55, 0.5); /* Gold */
    border-radius: 40px 40px 0 0;
    pointer-events: none;
    z-index: 1;
}

.banner-content-wrapper {
    position: relative;
    z-index: 2;
}

.font-serif {
    font-family: "DM Sans", "DM Sans Static", sans-serif !important;
}

.gold-text {
    color: #b37e32 !important;
}

.luxury-logo-text {
    font-size: 1.25rem;
    letter-spacing: 2px;
    font-weight: 500;
}

.luxury-heading {
    font-size: 2.25rem;
    line-height: 1.1;
    font-weight: 400;
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
}

.coupon-box-wrapper {
    display: inline-flex;
    align-items: stretch;
    border: 1px dashed rgba(212, 175, 55, 0.7);
    border-radius: 6px;
    margin-top: 15px;
    margin-bottom: 10px;
    overflow: hidden;
}

.coupon-code {
    padding: 8px 20px;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 2px;
    color: #ffffff;
    display: flex;
    align-items: center;
    background: rgba(4, 15, 31, 0.6);
}

.coupon-copy-btn {
    background: #b37e32;
    color: #49070a;
    border: none;
    padding: 8px 16px;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 105px;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.coupon-copy-btn:hover {
    background: #f0c950;
}

.luxury-cream-bg {
    background-color: #eee9e4 !important;
}

.divider-gold-accent {
    width: 60px;
    height: 1px;
    background-color: #b37e32;
    margin: 15px auto 25px auto;
    position: relative;
}
.divider-gold-accent::after {
    content: '❖';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #b37e32;
    font-size: 12px;
    background: #eee9e4;
    padding: 0 6px;
}

.form-label-outside {
    display: block;
    font-size: 0.85rem;
    color: #4b5563;
    margin-bottom: 8px;
    font-weight: 500;
}

.custom-input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.icon-wrapper {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    background-color: #F2ECE0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background-color 0.3s ease;
    pointer-events: none;
}

.custom-input-with-icon:focus-within .icon-wrapper {
    background-color: #E8DFCE;
}

.icon-wrapper .input-icon {
    position: static;
    color: #C4A265;
    width: 17px;
    height: 17px;
    margin: 0;
}

.custom-input-with-icon:focus-within .input-icon {
    color: #9c7322 !important;
}

.login-form-side {
    background-color: #eee9e4 !important;
    padding: 2.25rem 2.25rem;
    position: relative;
    box-sizing: border-box !important;
    border-radius: 0 28px 28px 0;
}

.modal-close-btn-custom {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 34px;
    height: 34px;
    background: #ffffff;
    border: 1.5px solid #dccdbd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #49070a;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 20;
    box-shadow: 0 2px 8px rgba(73, 7, 10, 0.08);
}

.modal-close-btn-custom:hover {
    background: #49070a;
    color: #ffffff;
    border-color: #49070a;
    transform: rotate(90deg) scale(1.05);
}

.custom-input-field {
    width: 100% !important;
    display: block !important;
    height: 54px !important;
    border-radius: 12px !important;
    border: 1px solid #e9d6ba !important;
    background-color: #FFFFFF !important;
    padding-left: 3.5rem !important;
    padding-right: 1.2rem !important;
    font-size: 0.92rem !important;
    font-weight: 400 !important;
    color: #333333 !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
}

.custom-input-field:focus {
    border-color: #C4A265 !important;
    box-shadow: 0 0 0 3px rgba(196, 162, 101, 0.08) !important;
    background-color: #ffffff !important;
    outline: none !important;
}

.custom-input-field::placeholder {
    color: #9e9b95;
    font-weight: 400;
    font-size: 0.9rem;
}

/* intl-tel-input in apply/login modals — do NOT force padding-left; library sets it inline */
.apply-phone-field .iti {
    width: 100% !important;
    display: block !important;
}

.apply-phone-field .iti input.iti__tel-input,
.apply-phone-field .iti input[type='tel'] {
    width: 100% !important;
    display: block !important;
    height: 50px !important;
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
    background-color: #ffffff !important;
    padding-right: 1.1rem !important;
    font-size: 0.95rem !important;
    color: #0f172a !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
    box-shadow: none !important;
}

.apply-phone-field .iti input.iti__tel-input:focus,
.apply-phone-field .iti input[type='tel']:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1) !important;
    outline: none !important;
}

.apply-phone-field .iti__country-container {
    z-index: 2;
}

.apply-phone-field .iti__dropdown-content {
    z-index: 1060 !important;
}

/* Custom apply-modal file picker */
.apply-file-upload {
    position: relative;
    display: flex;
    align-items: stretch;
    min-height: 50px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.apply-file-upload:focus-within {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.apply-file-upload.is-invalid {
    border-color: #dc2626;
}

.apply-file-upload.is-invalid:focus-within {
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12);
}

.apply-file-upload__input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.apply-file-upload__trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    flex-shrink: 0;
    height: 100%;
    min-height: 48px;
    padding: 0 1rem;
    margin: 0;
    background: #f8fafc;
    border: none;
    border-right: 1px solid #e2e8f0;
    color: #334155;
    font-weight: 600;
    font-size: 0.875rem;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.apply-file-upload__trigger:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.apply-file-upload__name {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    padding: 0 1rem;
    font-size: 0.9rem;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: #ffffff;
}

.custom-login-modal .iti {
    width: 100% !important;
    display: block !important;
}

.custom-login-modal .iti__country-list,
.custom-login-modal .iti__dropdown-content {
    z-index: 1060 !important;
}

.password-toggle-btn {
    position: absolute !important;
    right: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: transparent !important;
    border: none !important;
    color: #9ca3af !important;
    padding: 6px !important;
    z-index: 5 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: none !important;
    transition: color 0.3s ease !important;
}

.password-toggle-btn:hover {
    color: #b37e32 !important;
}

.custom-submit-btn {
    width: 100% !important;
    height: 52px !important;
    border-radius: 12px !important;
    background: #111827 !important;
    border: none !important;
    color: #ffffff !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em !important;
    box-shadow: 0 4px 6px -1px rgba(17, 24, 39, 0.1), 0 2px 4px -1px rgba(17, 24, 39, 0.06) !important;
    transition: all 0.25s ease !important;
}

.custom-submit-btn:hover,
.custom-submit-btn:focus,
.custom-submit-btn:active {
    background: #1f2937 !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 10px 15px -3px rgba(17, 24, 39, 0.1), 0 4px 6px -2px rgba(17, 24, 39, 0.05) !important;
}

.custom-passkey-btn {
    width: 100% !important;
    height: 48px !important;
    border-radius: 12px !important;
    border: 1px solid #cbd5e1 !important;
    background-color: #ffffff !important;
    color: #1e293b !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
}

.custom-social-icon-btn {
    width: 68px !important;
    height: 46px !important;
    border-radius: 12px !important;
    border: 1px solid #cbd5e1 !important;
    background-color: #ffffff !important;
    color: #1e293b !important;
    font-size: 1.15rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    flex: 0 0 68px !important;
}

.custom-social-icon-btn:hover {
    background-color: #f8fafc !important;
    border-color: #2563eb !important;
    color: #0f172a !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12) !important;
}

.custom-passkey-btn:hover {
    background-color: #f8fafc !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
}

.divider-or {
    position: relative;
    text-align: center;
    margin: 1.5rem 0;
}

.divider-or::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #e2e8f0;
    z-index: 1;
}

.divider-or span {
    position: relative;
    z-index: 2;
    background-color: #ffffff;
    padding: 0 14px;
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 500;
}

@media (max-width: 767.98px) {
    .login-form-side {
        padding: 2rem 1.5rem;
    }
}

/* ============================================
   Header User Profile Dropdown
   ============================================ */

.header-user-dropdown-wrap {
    position: relative;
}

.header-user-dropdown-wrap:hover .header-user-dropdown,
.header-user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: all;
}

.header-user-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: -12px;
    width: 220px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.15), 0 2px 10px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.08);
    padding: 8px 0;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
    pointer-events: none;
}

/* Invisible Hover Bridge to eliminate any hover gap */
.header-user-dropdown::after {
    content: "";
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
    background: transparent;
    pointer-events: all;
}

/* Arrow pointing up */
.header-user-dropdown::before {
    content: "";
    position: absolute;
    top: -6px;
    right: 22px;
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-left: 1px solid rgba(0,0,0,0.08);
    border-top: 1px solid rgba(0,0,0,0.08);
    transform: rotate(45deg);
    z-index: 1;
}

/* Authenticated: User info header */
.header-user-dropdown-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px 10px 16px;
}

.header-user-avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #c8a96e 0%, #a0784a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    flex-shrink: 0;
}

.header-user-name {
    font-weight: 600;
    font-size: 0.88rem;
    color: #1a1a1a;
    line-height: 1.2;
    max-width: 130px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header-user-email {
    font-size: 0.75rem;
    color: #888;
    max-width: 130px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

/* Divider */
.header-user-dropdown-divider {
    height: 1px;
    background: #f0f0f0;
    margin: 6px 0;
}

/* Menu items */
.header-user-dropdown-item {
    display: flex;
    align-items: center;
    padding: 9px 16px;
    font-size: 0.87rem;
    color: #333;
    text-decoration: none !important;
    transition: background 0.15s, color 0.15s;
    cursor: pointer;
    line-height: 1.4;
    border-radius: 0;
    font-weight: 500;
}

.header-user-dropdown-item:hover {
    background: #f8f5f0;
    color: #c8a96e;
}

.header-user-dropdown-item i {
    font-size: 15px;
    opacity: 0.75;
    width: 18px;
}

/* Logout button */
.header-user-dropdown-logout {
    color: #e53e3e !important;
    padding: 9px 16px;
    font-size: 0.87rem;
    font-weight: 500;
}

.header-user-dropdown-logout:hover {
    background: #fff5f5 !important;
    color: #c53030 !important;
}

/* Guest - Welcome section */
.header-user-dropdown-guest-title {
    font-weight: 700;
    font-size: 1rem;
    color: #1a1a1a;
    padding: 10px 16px 2px 16px;
}

.header-user-dropdown-guest-sub {
    font-size: 0.78rem;
    color: #888;
    padding: 0 16px 8px 16px;
    margin: 0;
}

/* Guest Login button */
.header-user-dropdown-login {
    margin: 2px 10px;
    border-radius: 8px;
    background: linear-gradient(135deg, #c8a96e, #a0784a);
    color: #fff !important;
    justify-content: center;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 9px 12px;
}

.header-user-dropdown-login:hover {
    background: linear-gradient(135deg, #b8985e, #906840) !important;
    color: #fff !important;
}

/* Guest Sign Up button */
.header-user-dropdown-signup {
    margin: 4px 10px 8px 10px;
    border-radius: 8px;
    border: 1.5px solid #c8a96e;
    color: #c8a96e !important;
    justify-content: center;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 8px 12px;
}

.header-user-dropdown-signup:hover {
    background: #fdf8f0 !important;
    color: #a0784a !important;
}

/* ============================================
   Logout Confirmation Popup
   ============================================ */

.lc-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease, visibility 0.22s;
}

.lc-overlay.lc-show {
    opacity: 1;
    visibility: visible;
}

.lc-modal {
    background: #ffffff;
    border-radius: 20px;
    padding: 36px 32px 28px;
    width: 100%;
    max-width: 360px;
    text-align: center;
    box-shadow: 0 24px 60px rgba(0,0,0,0.18);
    transform: translateY(16px) scale(0.97);
    transition: transform 0.25s ease;
}

.lc-overlay.lc-show .lc-modal {
    transform: translateY(0) scale(1);
}

.lc-icon-wrap {
    width: 64px;
    height: 64px;
    background: #fff5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 28px;
    color: #e53e3e;
}

.lc-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px;
}

.lc-msg {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0 0 24px;
    line-height: 1.55;
}

.lc-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.lc-actions form {
    margin: 0;
    display: inline-flex;
}

.lc-btn-cancel {
    flex: 0 0 auto;
    width: auto;
    padding: 10px 20px;
    border-radius: 10px;
    border: 1.5px solid #e2e8f0;
    background: #f8fafc;
    color: #4b5563;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
    white-space: nowrap;
}

.lc-btn-cancel:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #1f2937;
}

.lc-btn-confirm {
    flex: 0 0 auto;
    width: auto;
    padding: 10px 22px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.15s;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35);
    white-space: nowrap;
}

.lc-btn-confirm:hover {
    opacity: 0.9;
}

/* ============================================
   Mobile Account Trigger Button (toolbar)
   ============================================ */
.mobile-account-trigger {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    color: inherit;
    gap: 0;
    line-height: 1;
}
.mobile-account-trigger .toolbar-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}
.mobile-account-trigger .toolbar-label {
    font-size: 10px;
    margin-top: 2px;
}

/* ============================================
   Mobile Account Bottom Sheet Popup
   ============================================ */
.map-overlay {
    position: fixed;
    inset: 0;
    z-index: 99998;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
}

.map-overlay.map-show {
    opacity: 1;
    visibility: visible;
}

.map-sheet {
    width: 100%;
    max-width: 480px;
    background: #ffffff;
    border-radius: 24px 24px 0 0;
    padding: 12px 0 24px;
    transform: translateY(100%);
    transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1);
    box-shadow: 0 -8px 40px rgba(0,0,0,0.12);
}

.map-overlay.map-show .map-sheet {
    transform: translateY(0);
}

.map-handle {
    width: 40px;
    height: 4px;
    background: #d1d5db;
    border-radius: 2px;
    margin: 0 auto 20px;
}

.map-user-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 20px 16px;
}

.map-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #c8a96e, #a0784a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    flex-shrink: 0;
}

.map-user-name {
    font-weight: 700;
    font-size: 1rem;
    color: #1a1a1a;
    line-height: 1.2;
}

.map-user-email {
    font-size: 0.78rem;
    color: #9ca3af;
    margin-top: 2px;
}

.map-divider {
    height: 1px;
    background: #f3f4f6;
    margin: 6px 0;
}

.map-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1a1a1a;
    text-decoration: none !important;
    width: 100%;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: background 0.15s;
}

.map-item i {
    font-size: 20px;
    color: #6b7280;
    width: 24px;
    text-align: center;
}

.map-item:hover, .map-item:active {
    background: #f9fafb;
    color: #c8a96e;
}

.map-item:hover i, .map-item:active i {
    color: #c8a96e;
}

.map-logout {
    color: #ef4444 !important;
}

.map-logout i {
    color: #ef4444 !important;
}

.map-logout:hover, .map-logout:active {
    background: #fff5f5 !important;
    color: #dc2626 !important;
}

.map-cancel-btn {
    display: block;
    width: calc(100% - 32px);
    margin: 12px 16px 0;
    padding: 13px;
    border-radius: 12px;
    border: 1.5px solid #e5e7eb;
    background: #f9fafb;
    color: #374151;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: background 0.15s;
}

.map-cancel-btn:hover {
    background: #f3f4f6;
}

/* Modal Seamless Rounded Corners Fix */
.modal-login-custom .modal-content {
    background-color: #040f1f !important;
    border-radius: 24px !important;
    border: none !important;
    overflow: hidden !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35) !important;
}

.modal-login-custom .modal-body {
    padding: 0 !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    background-color: transparent !important;
}

.modal-login-custom .row {
    margin: 0 !important;
    border-radius: 24px !important;
    overflow: hidden !important;
}

.modal-login-custom .login-banner-side {
    border-radius: 24px 0 0 24px !important;
    background-color: #040f1f !important;
}

.modal-login-custom .login-form-side {
    background-color: #f7f4ed !important;
    border-radius: 0 24px 24px 0 !important;
    padding: 2.5rem 2.25rem !important;
}

@media (max-width: 767.98px) {
    .modal-login-custom .login-form-side {
        border-radius: 24px !important;
        padding: 2rem 1.5rem !important;
    }
}
/* ===================================================
   MODAL 100% SEAMLESS & GAPLESS LAYOUT
   =================================================== */
.modal-login-custom .modal-dialog {
    max-width: 840px !important;
}

.modal-login-custom .modal-content {
    background-color: #f7f4ed !important;
    border-radius: 24px !important;
    border: none !important;
    overflow: hidden !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35) !important;
}

.modal-login-custom .modal-body {
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    background-color: #f7f4ed !important;
}

.modal-login-custom .row {
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    background-color: #f7f4ed !important;
    display: flex !important;
    align-items: stretch !important;
}

.modal-login-custom .col-md-6 {
    padding: 0 !important;
    margin: 0 !important;
}
.modal-login-custom .col-md-6:not(.d-none) {
    display: flex !important;
    flex-direction: column !important;
}

.modal-login-custom .login-banner-side {
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    border-radius: 24px 0 0 24px !important;
    background-color: #040f1f !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.modal-login-custom .login-form-side {
    width: 100% !important;
    height: 100% !important;
    background-color: #f7f4ed !important;
    border-radius: 0 24px 24px 0 !important;
    padding: 2.5rem 2.25rem !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

@media (max-width: 767.98px) {
    .modal-login-custom .login-form-side {
        border-radius: 24px !important;
        padding: 2rem 1.5rem !important;
    }
}
.custom-submit-btn svg { margin-right: 10px !important; flex-shrink: 0 !important; }

/* ===================================================
   SMOOTH STEP TRANSITIONS & BUTTON ANIMATIONS
   =================================================== */
@keyframes authStepFadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-step-animate {
    animation: authStepFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    will-change: transform, opacity;
}

.custom-submit-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.25s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer;
    border: none;
    outline: none;
}

.custom-submit-btn:disabled {
    opacity: 0.85 !important;
    cursor: not-allowed !important;
}

.custom-submit-btn .btn-loader-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
}
/* ===================================================
   MOBILE VIEW PERFECT POLISH (< 768px)
   =================================================== */
@media (max-width: 767.98px) {
    .modal-login-custom .modal-dialog {
        width: calc(100% - 28px) !important;
        max-width: 420px !important;
        margin: 1.25rem auto !important;
    }

    .modal-login-custom .modal-content {
        border-radius: 22px !important;
        background-color: #f7f4ed !important;
    }

    .modal-login-custom .modal-body {
        border-radius: 22px !important;
        background-color: #f7f4ed !important;
    }

    /* Strict Hide for Left Banner Column on Mobile */
    .modal-login-custom .d-none,
    .modal-login-custom .login-banner-side,
    .modal-login-custom .col-md-6.d-none {
        display: none !important;
    }

    .modal-login-custom .login-form-side {
        border-radius: 22px !important;
        padding: 26px 20px 22px !important;
        background-color: #f7f4ed !important;
    }

    .modal-login-custom .modal-close-btn-custom {
        top: 14px !important;
        right: 14px !important;
        width: 32px !important;
        height: 32px !important;
    }

    .modal-login-custom h2 {
        font-size: 1.45rem !important;
    }
}
/* ===================================================
   RIGHT FORM SIDE LUXURY REDESIGN
   =================================================== */
.modal-login-custom .login-form-side {
    background-color: #faf7f2 !important;
    padding: 3rem 2.75rem !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    position: relative !important;
}

.modal-login-custom .luxury-auth-title {
    font-family: "DM Sans", "Playfair Display", serif !important;
    font-size: 1.85rem !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    letter-spacing: -0.3px !important;
    margin-bottom: 6px !important;
}

.modal-login-custom .luxury-auth-subtitle {
    font-size: 13.5px !important;
    color: #64748b !important;
    line-height: 1.45 !important;
    margin-bottom: 0 !important;
}

.modal-login-custom .gold-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0px;
}

.modal-login-custom .gold-ornament-line {
    width: 38px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #c5a880, transparent);
}

.modal-login-custom .gold-ornament-diamond {
    color: #c5a880;
    font-size: 10px;
}

.modal-login-custom .luxury-phone-wrapper {
    display: flex;
    align-items: stretch;
    background: #ffffff;
    border: 1.5px solid #dfd3c3;
    border-radius: 14px;
    height: 52px;
    overflow: hidden;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.modal-login-custom .luxury-phone-wrapper:focus-within {
    border-color: #49070a;
    box-shadow: 0 0 0 3.5px rgba(73, 7, 10, 0.08);
}

.modal-login-custom .country-code-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px;
    background: #f8fafc;
    border-right: 1.5px solid #ebdccb;
    color: #49070a;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
    user-select: none;
}

.modal-login-custom .luxury-phone-input {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 16px !important;
    font-size: 15.5px !important;
    font-weight: 600 !important;
    letter-spacing: 0.8px !important;
    color: #0f172a !important;
    width: 100% !important;
    height: 100% !important;
}

.modal-login-custom .luxury-phone-input::placeholder {
    color: #94a3b8 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    font-size: 14px !important;
}

.modal-login-custom .trust-security-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(37, 211, 102, 0.08);
    border: 1px solid rgba(37, 211, 102, 0.25);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: #166534;
    font-weight: 500;
    margin-top: 10px;
    margin-bottom: 22px;
}

.modal-login-custom .luxury-main-btn {
    height: 52px !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, #111827 0%, #1e293b 100%) !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px !important;
    border: none !important;
    box-shadow: 0 8px 20px -4px rgba(15, 23, 42, 0.28) !important;
    transition: all 0.25s ease !important;
}

.modal-login-custom .luxury-main-btn:hover {
    transform: translateY(-1.5px);
    box-shadow: 0 12px 24px -4px rgba(15, 23, 42, 0.35) !important;
}

.modal-login-custom .luxury-main-btn:active {
    transform: translateY(0);
}

@media (max-width: 767.98px) {
    .modal-login-custom .login-form-side {
        padding: 2.25rem 1.5rem 2rem !important;
    }
}