/* General Styles */
.confirmation-message {
    text-align: center;
    margin-top: 15px;
    padding: 10px;
    background-color: rgba(245, 158, 11, 0.1);
    color: #F59E0B;
    border-radius: 8px;
    font-size: 14px;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
.theme-transition * {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

:root {
    /* Light Theme (Default) */
    --primary: #F59E0B;
    --primary-hover: #D97706;
    --text: #000000;
    --text-light: #4B5563;
    --border: #E5E7EB;
    --background: #F8FAFF;
    --form-bg: #FFFFFF;
    --input-bg: #F3F4F6;
    --error: #EF4444;
    --success: #10B981;
    --white: #FFFFFF;
    --dark-bg: #0F172A;
    --dark-form-bg: #1E3A8A;
    --dark-text: #F1F5F9;
    --facebook: #1877F2;
    --linkedin: #0A66C2;
    --google: #DB4437;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] {
    --primary: #F59E0B;           
    --primary-hover: #D97706;    
    --text: #E5E7EB;             
    --text-light: #9CA3AF;       
    --border: #2A2A2A;           
    --background: #0A0A0A;       
    --form-bg: #121212;           
    --input-bg: #1A1A1A;         
    --error: #EF4444;            
    --success: #10B981;           
    --white: #FFFFFF;             
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    
    /* Left Side */
    .image-container {
        position: relative;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }
    
    .image-content h2,
    .image-content p {
        color: #F8FAFC;
    }
    
    /* Right Side */
    .account-form {
        background: var(--form-bg);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    }
    
    .continue-google .btn {
        background: #1A1A1A;
        border-color: #2A2A2A;
    }
    
    .continue-google .btn:hover {
        background: #2A2A2A;
    }
    
    .other-option__text {
        background: var(--form-bg);
        color: var(--text-light);
    }
    
    .form-check-input {
        border-color: #3D3D3D;
        background-color: #1A1A1A;
    }
    
    .form-check-input:checked {
        background-color: var(--primary);
        border-color: var(--primary);
    }
    
    .form-check-label {
        color: var(--text);
    }
    
   
    .input-with-icon input {
        background-color: var(--input-bg);
        border-color: var(--border);
        color: var(--text);
    }
    
    .input-with-icon i {
        color: var(--text-light);
    }
    
    
    .btn--base {
        background-color: var(--primary);
        color: white;
    }
    
    .btn--base:hover {
        background-color: var(--primary-hover);
    }
}

/* Base Styles */
body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}


body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at 70% 50%,
        #F59E0B 0%,     
        #B45309 25%,   
        #EA580C 50%,   
        #7E22CE 75%,   
        #1E1B4B 100%   
    );
    background-size: 150% 150%;
    background-position: center;
    z-index: -1;
    background-blend-mode: multiply;
}


.decorative-image {
    position: fixed;
    z-index: -1;
    width: 150px; 
    opacity: 0.7; 
    transition: transform 0.3s ease;
}

.decorative-image:hover {
    transform: scale(1.1);
    opacity: 1;
}


.investing-logo {
    width: 70%;
    max-width: 400px;
    height: auto;
    z-index: 5;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

.investing-logo:hover {
    transform: scale(1.05);
}


[data-theme="light"] .iti {
    --iti-bg: #ffffff;
    --iti-text: #495057;
    --iti-border: #ced4da;
    --iti-dropdown-bg: #ffffff;
    --iti-dropdown-text: #212529;
    --iti-dropdown-hover: #f8f9fa;
}


[data-theme="dark"] .iti {
    --iti-bg: #2d3748;
    --iti-text: #e2e8f0;
    --iti-border: #4a5568;
    --iti-dropdown-bg: #2d3748;
    --iti-dropdown-text: #e2e8f0;
    --iti-dropdown-hover: #4a5568;
}

.iti__flag {
    background-image: url("https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.8/img/flags.png");
}

.iti__selected-flag {
    padding: 0 10px 0 15px;
    border-radius: 4px 0 0 4px;
    background-color: var(--iti-bg, #f8f9fa);
    color: var(--iti-text, #495057);
}

.iti__selected-flag, [data-theme="dark"] .iti__selected-flag {
    background-color: #2d3748;
    color: #e2e8f0;
}

.iti--separate-dial-code .iti__selected-flag {
    background-color: var(--iti-bg, #f8f9fa);
    border-right: 1px solid var(--iti-border, #ced4da);
}

.iti--allow-dropdown input,
.iti--allow-dropdown input[type=tel],
.iti--allow-dropdown input[type=text],
.iti--separate-dial-code input,
.iti--separate-dial-code input[type=tel],
.iti--separate-dial-code input[type=text] {
    padding-left: 100px !important;
    background-color: var(--iti-bg, #ffffff);
    color: var(--iti-text, #495057);
    border: 1px solid var(--iti-border, #ced4da);
}


.iti__country-list,
.iti__dropdown-content,
[data-theme="dark"] .iti__country-list,
.dark-dropdown {
    background: #1E293B !important; 
    border: 1px solid #4A5568 !important; 
    color: #E5E7EB !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 
                0 2px 4px -1px rgba(0, 0, 0, 0.2) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    z-index: 9999 !important;
    max-height: 300px !important;
    overflow-y: auto !important;
    border: 1px solid #e0e0e0;
    background-color: #fff;
}


.iti__country,
.dark-dropdown .country {
    padding: 10px 15px !important;
    color: #E5E7EB !important;
    background-color: #1E293B !important;
    border-bottom: 1px solid #2D3748 !important;
    display: flex !important;
    align-items: center !important;
}

.iti__country:last-child,
.dark-dropdown .country:last-child {
    border-bottom: none !important;
}

.iti__country:hover,
.dark-dropdown .country:hover {
    background-color: #2D3748 !important;
}


.iti__search-input,
.dark-dropdown .search-container input {
    background: #1F2937 !important;
    border: 1px solid #4A5568 !important;
    color: #E5E7EB !important;
    padding: 10px 15px !important;
    margin: 5px !important;
    border-radius: 4px !important;
    width: calc(100% - 30px) !important;
}

.iti__search-input::placeholder,
.dark-dropdown .search-container input::placeholder {
    color: #9CA3AF !important;
    opacity: 1 !important;
}


.iti__flag,
.dark-dropdown .flag {
    margin-right: 10px !important;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.3) !important;
}


.iti__country-name,
.dark-dropdown .country-name {
    flex-grow: 1 !important;
    color: #E5E7EB !important;
}

/* تنسيق أكواد الاتصال */
.iti__dial-code,
.dark-dropdown .dial-code {
    color: #9CA3AF !important;
    font-size: 0.9em !important;
    margin-right: 10px !important;
}

.iti__country {
    color: #E5E7EB !important;
    color: var(--iti-dropdown-text, #212529);
}

.iti__country:hover {
    background-color: #334155 !important;
    background-color: var(--iti-dropdown-hover, #f8f9fa);
}

.iti__country.iti__highlight {
    background-color: var(--iti-dropdown-hover, #f8f9fa);
}

.iti__divider {
    border-bottom-color: var(--iti-border, #ced4da);
}

.iti__country.iti__preferred {
    border-bottom: 1px solid var(--iti-border, #ced4da);
}

.iti__country.iti__preferred:hover {
    background-color: var(--iti-dropdown-hover, #f8f9fa);
}

/* Phone Input Styles */
.input-with-icon {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}

.input-with-icon i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    pointer-events: none;
}

.phone-input {
    padding-right: 15px !important;
    padding-left: 10px !important;
    direction: ltr;
    text-align: right;
    height: 48px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 400;
    color: var(--text);
    background-color: var(--input-bg);
    transition: all 0.3s ease;
    width: 100%;
    position: relative;
}


.phone-input::placeholder {
    text-align: left;
    padding-left: 10px;
    opacity: 0.7;
    color: #9CA3AF;
    direction: ltr;
    font-size: 0.9em;
    position: absolute;
    left: 80px; 
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}


.phone-input:focus::placeholder {
    opacity: 0.5;
}


.iti__selected-dial-code {
    padding-right: 5px !important;
    opacity: 0.8;
    position: relative;
    z-index: 2;
    color: var(--text);
    font-weight: 500;
    margin-left: 8px;
}


.input-with-icon.phone-input-container {
    position: relative;
}


.phone-input {
    padding-left: 90px !important; 
}

.phone-input:focus {
    border-color: #4dabf7;
    box-shadow: 0 0 0 0.2rem rgba(77, 171, 247, 0.25);
    outline: none;
}


.intl-tel-input {
    width: 100% !important;
}

.intl-tel-input .flag-container {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    padding: 0 10px 0 15px;
    border-right: 1px solid var(--border);
    display: flex !important;
    align-items: center;
    z-index: 1;
}

.intl-tel-input input[type="tel"] {
    padding-left: 45px !important;
    height: 48px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 400;
    color: var(--text);
    background-color: var(--input-bg);
    transition: all 0.3s ease;
    width: 100% !important;
}

.intl-tel-input input[type="tel"]:focus {
    border-color: #4dabf7;
    box-shadow: 0 0 0 0.2rem rgba(77, 171, 247, 0.25);
    outline: none;
}

/* Country List Styling */
.country-list {
    margin: 5px 0 0 -1px;
    padding: 8px 0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid var(--border);
    background-color: var(--input-bg);
}

.country {
    padding: 8px 15px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text);
}

.country.highlight,
.country:hover {
    background-color: #f8f9fa;
}

/* Dark Mode Styles */
[data-theme="dark"] .phone-input,
[data-theme="dark"] .intl-tel-input input[type="tel"] {
    background-color: var(--input-bg);
    border-color: var(--border);
    color: var(--text);
}

[data-theme="dark"] .phone-input::placeholder,
[data-theme="dark"] .intl-tel-input input[type="tel"]::placeholder {
    color: var(--text-light);
}

[data-theme="dark"] .country-list {
    background-color: var(--input-bg);
    border-color: var(--border);
}

[data-theme="dark"] .country {
    color: var(--text);
    background-color: var(--input-bg);
}

[data-theme="dark"] .country.highlight,
[data-theme="dark"] .country:hover {
    background-color: #4a5568;
}


[data-theme="dark"] .phone-input,
[data-theme="dark"] .form--control.phone-input,
[data-theme="dark"] .input-with-icon .form--control.phone-input {
    background-color: var(--input-bg) !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
    box-shadow: none !important;
}

[data-theme="dark"] .phone-input::placeholder,
[data-theme="dark"] .form--control.phone-input::placeholder,
[data-theme="dark"] .input-with-icon .form--control.phone-input::placeholder {
    color: var(--text-light) !important;
}

[data-theme="dark"] .phone-input:focus,
[data-theme="dark"] .form--control.phone-input:focus,
[data-theme="dark"] .input-with-icon .form--control.phone-input:focus {
    border-color: #4dabf7 !important;
    box-shadow: 0 0 0 0.2rem rgba(77, 171, 247, 0.25) !important;
}

/* Phone Hint Styles */
.phone-hint {
    display: block;
    margin: 6px 0 0 10px;
    font-size: 13px;
    color: #6c757d;
    transition: all 0.2s ease;
    min-height: 18px;
    line-height: 1.4;
}

.phone-hint.error {
    color: #ff6b6b;
}

/* Responsive Adjustments */
@media (max-width: 575px) {
    .country-list {
        width: 280px !important;
        max-width: 100%;
    }
}

[data-theme="dark"] .iti__selected-dial-code {
    color: var(--text);
}


.decorative-image.top-left {
    top: 20px;
    left: 20px;
}

.decorative-image.top-right {
    top: 20px;
    right: 20px;
}

.decorative-image.bottom-left {
    bottom: 20px;
    left: 20px;
}

.decorative-image.bottom-right {
    bottom: 20px;
    right: 20px;
}

/* Smooth theme transition */
.theme-transition * {
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.container {
    display: flex;
    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
}

/* Theme Toggle */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--input-bg);
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background-color: var(--input-bg);
}

[data-theme="dark"] .theme-toggle {
    color: var(--text);
}

[data-theme="dark"] .theme-toggle:hover {
    background-color: #334155;
}

/* Form Container */
.form-container {
    flex: 1;
    display: flex;
    align-items: flex-start; 
    justify-content: center;
    padding: 2rem 2rem 3rem; 
    background-color: var(--form-bg);
    overflow-y: auto;
    min-height: 100vh; 
    box-sizing: border-box;
}

.image-container {
    flex: 0 0 45%;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    margin: 0;
    padding: 0;
}

.image-container
.main-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}



.floating-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.floating-img {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    animation: float 15s linear infinite;
    opacity: 1;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.8));
    object-fit: contain;
    background: none; 
    padding: 0; 
}

.floating-img:hover {
    transform: scale(1.05); 
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 1));
    background-color: rgba(255, 255, 255, 0.3);
}


.floating-img:nth-child(1) { top: 40px; left: 10%; animation-delay: 0s; width: 80px; height: 80px; }
.floating-img:nth-child(2) { top: 40px; right: 10%; animation-delay: -5s; width: 80px; height: 80px; }
.floating-img:nth-child(3) { bottom: 40px; left: 10%; animation-delay: -10s; width: 80px; height: 80px; }
.floating-img:nth-child(4) { bottom: 40px; right: 10%; animation-delay: -15s; width: 80px; height: 80px; }


@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(2deg);
    }
}


.floating-img:nth-child(3),
.floating-img:nth-child(4) {
    animation-name: float-bottom;
}

@keyframes float-bottom {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(10px) rotate(-2deg);
    }
}


.floating-img {
    -webkit-backface-visibility: hidden; 
    backface-visibility: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}


@media (max-width: 992px) {
    .floating-img {
        width: 60px;
        height: 60px;
    }
}


.logo-overlay {
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.logo-overlay-img {
    max-width: 200px;
    height: auto;
}

.auth-image {
    max-width: 100%;
    height: auto;
    max-height: 40vh;
    margin-top: auto;
    margin-bottom: 0;
    object-fit: contain;
    align-self: flex-end;
}

.image-content {
    margin: 2rem 0;
    max-width: 80%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    padding: 0 2rem;
}

.image-content h2 {
    font-size: 24px;
    margin-bottom: 1rem;
    font-weight: 600;
}

.image-content p {
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.9;
    margin: 0 auto;
    max-width: 400px;
}

/* Account Content */
.account-content {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    padding: 2.5rem 2rem 3rem;
    background: var(--form-bg);
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
    margin-top: 2rem; 
}


.account-form__title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 8px 0;
    text-align: center;
    line-height: 1.3;
}

.account-form__desc {
    color: var(--text-light);
    text-align: center;
    margin: 0 0 24px 0;
    font-size: 15px;
    line-height: 1.5;
}


.forget-password {
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
    display: inline-block;
}

.forget-password:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.text-right {
    text-align: right;
}

.mt-2 {
    margin-top: 8px;
}

/* Social Buttons */
.social-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 0 0 5px 0;
    padding: 0;
}

.social-btn {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    background: var(--white);
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.social-btn img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Dark mode styles */
[data-theme="dark"] .social-btn {
    background: var(--input-bg);
    border-color: var(--border);
}

[data-theme="dark"] .social-btn:hover {
    background: var(--background);
}

.continue-google {
    margin-bottom: 16px;
}

.continue-google .btn {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.continue-google .btn:hover {
    background: var(--input-bg);
    transform: translateY(-1px);
}

.google-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.google-icon img {
    width: 24px;
    height: 24px;
}

/* Divider */
.other-option {
    position: relative;
    text-align: center;
    margin: 24px 0;
}

.other-option__text {
    display: inline-block;
    padding: 0 16px;
    background: var(--white);
    color: var(--text-light);
    font-size: 14px;
    position: relative;
    z-index: 1;
}

.other-option::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: var(--border);
    z-index: 0;
}


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

.input-with-icon i {
    position: absolute;
    left: 16px;
    color: var(--text-light);
    pointer-events: none;
    transition: color 0.2s ease;
}


.input-with-icon:focus-within i,
.input-with-icon input:focus ~ i {
    color: var(--primary);
}


.input-with-icon:focus-within .pwd-toggle,
.input-with-icon input:focus ~ .pwd-toggle {
    color: var(--primary);
}

.input-with-icon input {
    width: 100%;
    padding: 12px 45px 12px 45px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    background-color: var(--input-bg);
    color: var(--text);
    box-sizing: border-box;
}


.pwd-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 4px;
    margin: 0;
    line-height: 1;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border-radius: 4px;
}


.pwd-toggle:focus,
.pwd-toggle:hover {
    color: var(--text-light);
    outline: none;
}


.pwd-toggle.active i,
.pwd-toggle.active {
    color: var(--primary) !important;
}

.pwd-toggle:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.pwd-toggle:active {
    transform: translateY(-50%) scale(0.95);
}

.pwd-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--primary-light);
}

.pwd-toggle i {
    font-size: 16px;
    transition: all 0.2s ease;
    position: static;
}

/* Form Elements */
.form--label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text);
    font-size: 14px;
}


.input-with-icon {
    position: relative;
    width: 100%;
}


.input-with-icon i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    pointer-events: none;
}


.input-with-icon input {
    width: 100%;
    padding: 12px 45px 12px 45px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    background-color: var(--input-bg);
    color: var(--text);
    box-sizing: border-box;
    margin: 0;
}


.toggle-password {
    position: absolute;
    right: 5px;
    top: 50%;
    margin: 0;
    padding: 0;
    width: 30px;
    height: 30px;
    border: none;
    background: none;
    color: var(--text-light);
    cursor: pointer;
    transform: translateY(-50%);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: flex;
    align-items: center;
    justify-content: center;
}


.toggle-password:focus,
.toggle-password:active {
    outline: none;
    box-shadow: none;
    transform: translateY(-50%);
}


.toggle-password:hover,
.toggle-password:focus {
    color: var(--text-light);
    outline: none;
    box-shadow: none;
}

.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.form-check-input {
    margin-right: 8px;
    width: 16px;
    height: 16px;
    border: 1px solid var(--border);
    border-radius: 4px;
    cursor: pointer;
}

.form-check-label {
    font-size: 14px;
    color: var(--text);
    cursor: pointer;
}

.btn--base {
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
}

.btn--base:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.15);
}

.forget-password {
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.forget-password:hover {
    text-decoration: underline;
    color: var(--primary-hover);
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 1rem;
}

.mb-0 {
    margin-bottom: 0;
}

.text-primary {
    color: var(--primary);
}

.font-medium {
    font-weight: 500;
}

.text-primary:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.image-container {
    width: 50%;
    height: 100vh;
    background-image: url('https://source.unsplash.com/1600x900/?nature,water');
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 0;
}

.image-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--text);
}

.image-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.image-content p {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 32px;
    opacity: 0.9;
}

[data-theme="dark"] .image-container {
    opacity: 0.95;
}

/* Responsive Design */
@media (max-width: 992px) {
    .image-content {
        padding: 40px 30px;
        text-align: center;
        position: relative;
        top: auto;
        transform: none;
        margin: 0 auto;
        max-width: 100%;
    }
    
    .image-content h2 {
        font-size: 28px;
        margin-bottom: 10px;
    }
    
    .image-content p {
        font-size: 16px;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    .logo-overlay {
        top: 20px;
        right: 20px;
    }
    
    .logo-overlay-img {
        max-width: 100px;
    }
    
    .container {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }
    
    .form-container,
    .image-container {
        width: 100%;
        padding: 40px 6%;
    }
    
    .form-container {
        order: 2;
        padding-top: 60px;
        padding-bottom: 60px;
    }
    
    .image-container {
        height: 300px;
        order: 1;
    }
    
    .logo {
        margin-bottom: 30px;
    }
    
    h1 {
        font-size: 28px;
    }
    
    .account-form {
        max-width: 100%;
        padding: 1.5rem;
    }
}


@media (max-width: 992px) {
    .container {
        flex-direction: row;
    }
    
    .image-container {
        display: none; 
    }
    
    .form-container {
        width: 100%;
        max-width: 100%;
        padding: 2rem 1rem;
        min-height: 100vh;
    }
    
    .account-form {
        max-width: 440px;
        margin: 0 auto;
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {
    .d-flex.gap-3 {
        flex-wrap: wrap;
        gap: 0.75rem !important;
    }
    
    .continue-google {
        flex: 0 0 calc(33.333% - 0.5rem);
    }
    
    .account-form {
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .account-form__title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .account-form__desc {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .form-container {
        padding: 1rem;
    }
    
    .account-form {
        padding: 1.5rem 1.25rem;
        border-radius: 10px;
    }
    
    .continue-google {
        flex: 0 0 100%;
        margin-bottom: 0.75rem;
    }
    
    .continue-google:last-child {
        margin-bottom: 0;
    }
    
    .account-form__title {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .account-form__desc {
        font-size: 0.9375rem;
        margin-bottom: 1.5rem;
    }
    
    .form--label,
    .form-check-label,
    .forget-password {
        font-size: 0.9375rem;
    }
    
    .btn--base,
    .btn {
        padding: 0.875rem;
        font-size: 1rem;
        font-weight: 500;
    }
    
    .other-option {
        margin: 1.25rem 0;
    }
    
    .text-center.mt-4 {
        margin-top: 1.5rem !important;
        font-size: 0.9375rem;
    }
}

@media (max-width: 480px) {
    .form-container {
        padding: 30px 20px;
    }
    
    .image-container {
        padding: 30px 20px;
        height: 250px;
    }
    
    .logo {
        margin-bottom: 25px;
    }
    
    .logo img {
        height: 32px;
    }
    
    h1 {
        font-size: 24px;
    }
    
    .image-content h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .image-content p {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .social-buttons {
        gap: 8px;
    }
    
    .social-btn {
        width: 40px;
        height: 40px;
    }
    
    .social-btn img {
        width: 20px;
        height: 20px;
    }
}

/* Sign Up Page Specific Styles */
.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

/* Terms and Conditions Checkbox */
.terms-checkbox {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.terms-checkbox input[type="checkbox"] {
    margin-right: 10px;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.terms-checkbox label {
    font-size: 14px;
    color: var(--text-light);
    cursor: pointer;
}

.terms-checkbox a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.terms-checkbox a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* Other Option Divider */
.other-option {
    display: flex;
    align-items: center;
    margin: 10px 0 25px 0;
    width: 100%;
    position: relative;
    text-align: center;
}

.other-option__line {
    flex: 1;
    height: 1px;
    background-color: #E5E7EB; /* Gray-200 */
    margin: 0;
}

.other-option span {
    padding: 0 20px;
    color: #9CA3AF; /* Gray-400 */
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    background: var(--form-bg);
    position: relative;
    z-index: 1;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .other-option {
        margin: 8px 0 20px 0;
    }
    
    .other-option span {
        font-size: 13px;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .other-option {
        margin: 6px 0 18px 0;
    }
    
    .other-option span {
        font-size: 12px;
        padding: 0 12px;
    }
}

/* Responsive adjustments for sign up form */
@media (max-width: 576px) {
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .terms-checkbox {
        align-items: flex-start;
    }
    
    .terms-checkbox label {
        font-size: 13px;
    }
}


.swal2-popup {
  box-shadow: none !important;
}


.toastify, .toastify.on {
  box-shadow: none !important;
}


.swal2-popup,
.swal2-title,
.swal2-html-container,
.swal2-content,
.swal2-actions,
.swal2-confirm,
.swal2-cancel,
.swal2-styled,
.swal2-popup.swal2-toast {
  color: #fff !important;
}


html[data-theme="light"] .swal2-popup,
html[data-theme="light"] .swal2-title,
html[data-theme="light"] .swal2-html-container,
html[data-theme="light"] .swal2-content,
html[data-theme="light"] .swal2-actions,
html[data-theme="light"] .swal2-confirm,
html[data-theme="light"] .swal2-cancel,
html[data-theme="light"] .swal2-styled,
html[data-theme="light"] .swal2-popup.swal2-toast {
  color: #222 !important;
}


html[data-theme="dark"] .swal2-popup,
html[data-theme="dark"] .swal2-title,
html[data-theme="dark"] .swal2-html-container,
html[data-theme="dark"] .swal2-content,
html[data-theme="dark"] .swal2-actions,
html[data-theme="dark"] .swal2-confirm,
html[data-theme="dark"] .swal2-cancel,
html[data-theme="dark"] .swal2-styled,
html[data-theme="dark"] .swal2-popup.swal2-toast {
  color: #fff !important;
}