
/* Login Container */
.login-container {
    /* display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%; */

    /* Left Side - Login Form */
    .login-left {
        /* flex: 1;
        display: flex;
        flex-direction: column;
        padding: 2rem;
        max-width: 500px;
        margin: 0 auto;
        justify-content: center; */
    
        
        /* Background image full cover */
        background-image: url('/static/assets/login_bg.png');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        background-color: #1F2937;
        .loginwrapper {
            padding: 1.5rem;
            background: #fff;
            width: 60%;
        }
        
        /* Logo and title wrapper */
        .logo {
            display: flex;
            align-items: center;
            margin-bottom: 1.8rem;
            justify-content: space-between;
            width: 100%;
            padding: 1rem 0;
         
            .logo-wrapper {
                display: flex;
                align-items: center;
                
                .logo-icon {
                    width: 45px;
                    height: 40px;
                    margin-right: 12px;
                }
                h1 {
                    font-size: 1.8rem;
                    font-weight: 700;
                    color: var(--text-color);
                    margin-right: auto;
                }
            }
        }

        .login-form {
            width: 100%;
            margin: 0 auto;
            
            /* Form Elements */
            .form-group {
                margin-bottom: 1rem;
                
                label {
                    display: block;
                    font-size: 0.875rem;
                    font-weight: 500;
                    margin-bottom: 0.2rem;
                    color: var(--text-color);
                }
                .input-group {
                    position: relative;
                    display: flex;
                    align-items: center;
                    
                    i {
                        position: absolute;
                        left: 1rem;
                        color: var(--text-secondary);
                        &.toggle-password {
                            left: 93%;
                        }
                    }
                    input {
                        width: 100%;
                        padding: 0.75rem 1rem 0.75rem 2.75rem;
                        font-size: 0.95rem;
                        border: 1px solid var(--border-color);
                        border-radius: 0.5rem;
                        background-color: transparent;
                        color: var(--text-color);
                        transition: all 0.2s ease;
                        
                        &:focus {
                            outline: none;
                            border-color: var(--button);
                            box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
                        }
                    }
                }
            }
        }

    }

    .login-info {
        ul {
            list-style: none;
            li {
                background: var(--secondary);
                color: var(--text-secondary);
                width: 335px;
                margin-bottom: 70px;
                position: relative;

                &:not(:last-child)::after {
                    content: "";
                    position: absolute;
                    top: 135%;
                    left: 60%;
                    transform: translateY(-50%);
                    margin-left: 0px;
                    width: 250px;
                    height: 65px;
                    background: url(/static/assets/ic_leftdotted.png) no-repeat center;
                    background-size: contain;
                    pointer-events: none;
                }
                &:nth-child(2)::after {
                    background: url(/static/assets/ic_rightdotted.png) no-repeat center;
                    left: 0%;
                }
                &:nth-child(2), &:last-child {
                    margin-left: 200px
                }
                &:last-child {
                    margin-bottom: 0
                }

            };
        }
    }
}

[data-theme="dark"] {
    .login-container {
        .login-left {
            background-color: transparent;
            .loginwrapper {
                background-color: transparent;
            }
        }
    }
}


/* Logo and title wrapper 
.logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
    justify-content: center;
    width: 100%;
}

.logo-icon {
    width: 60px;
    height: 55px;
    margin-bottom: 10px;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
    text-align: center;
}

.login-form {
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.2rem;
    color: var(--text-color);
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group i {
    position: absolute;
    left: 1rem;
    color: var(--text-secondary);
}

.input-group input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    font-size: 0.95rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    background-color: var(--input-bg);
    color: var(--text-color);
    transition: all 0.2s ease;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

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

[data-theme="dark"] .input-group input::placeholder {
    color: var(--text-secondary);
} */

/* Password Field */
.password-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.forgot-password {
    font-size: 0.875rem;
    color: var(--button);
    text-decoration: none;
    font-weight: 500;
}

.forgot-password:hover {
    text-decoration: underline;
}

.password-input-group {
    position: relative;
    width: 100%;
}

.password-input-group input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
}

.input-group i.toggle-password {
    left: auto;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    cursor: pointer;
    z-index: 2;
    padding: 0.5px;
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Login Button */
.login-button {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background-color: var(--button);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-top: 1rem;
}

.login-button:hover {
    background-color: var(--primary-hover);
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1rem 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid var(--border-color);
}

.divider span {
    padding: 0 1rem;
}

/* Social Login Buttons */
.social-login {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 1rem;
}

/* Google Sign-In Button */
.custom-google-button {
    width: 100%;
    height: 42px;
    margin-top: 1rem;
}

/* Custom styling for Google button */
.abcRioButton {
    border-radius: 0.5rem !important;
    box-shadow: none !important;
    width: 100% !important;
    height: 42px !important;
    text-align: center !important;
}

.abcRioButtonContents {
    font-size: 1rem !important;
    font-weight: 500 !important;
    font-family: 'Inter', sans-serif !important;
    line-height: 42px !important;
}

.abcRioButtonContentWrapper {
    height: 42px !important;
    width: 100% !important;
}

.abcRioButtonIcon {
    margin-left: 1rem !important;
}

/* Dark mode adjustments for Google button */
[data-theme="dark"] .abcRioButtonBlue {
    background-color: #4285f4 !important;
}

[data-theme="dark"] .abcRioButtonContents {
    color: white !important;
}

/* Signup link removed as requested */

/* Footer removed as requested */

/* Right Side - Dashboard Preview */
.login-right {
    display: none; /* Hide the right side completely */
}

/* Responsive Design */
@media (min-width: 1024px) {
    .login-right {
        display: none; /* Keep it hidden on all screen sizes */
    }
    
    .login-left {
        padding: 2rem;
    }
}

/* Theme Toggle Button */
.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--secondary);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 2px 5px var(--shadow-color);
    transition: all 0.2s ease;
    /* Removed margin-left since it's now positioned absolutely */
}

.theme-toggle:hover {
    transform: scale(1.05);
}

/* Show/hide icons based on current theme */
.theme-toggle .light-icon {
    display: none;
}

.theme-toggle .dark-icon {
    display: block;
}

[data-theme="dark"] .theme-toggle .light-icon {
    display: block;
}

[data-theme="dark"] .theme-toggle .dark-icon {
    display: none;
}
