/* Login Page - Split Layout */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap');


/* Full-page login container */
.login-page-container {
    display: flex;
    min-height: 100vh;
    width: 100%;
    font-family: 'Poppins', sans-serif;
}

/* Left panel - Logo area */
.login-left-panel {
    flex: 1;
    background-color: var(--color-background);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.login-brand {
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-brand-logo {
    height: 64px;
    width: auto;
}

/* Right panel - Form area */
.login-right-panel {
    flex: 1.2;
    background-color: var(--color-blu);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-radius: 30px 0 0 30px;
    box-shadow: -10px 0 30px rgba(48, 66, 97, 0.3);
}

/* Form container */
.login-form-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    width: 100%;
    max-width: 455px;
    padding: 40px;
    z-index: 1;
}

.login-welcome-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 30px;
    color: var(--color-pure-white);
    text-align: center;
    letter-spacing: 1.44px;
    line-height: 28px;
    margin: 14px 0 0 0;
}

.login-box-msg-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 18px;
    color: var(--color-pure-white);
    text-align: center;
    letter-spacing: 1.44px;
    line-height: 28px;
    margin: 0;
    /* margin: 14px 0 0 0; */
}

.login-box-msg-text.small {
    font-size: 14px !important;
    line-height: 20px !important;
}
.login-box-msg-text.large {
    font-size: 22px !important;
    line-height: 32px !important;
}

/* Form fields section */
.login-fields-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.login-email-pass-container, .login-reset-password-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

/* Text field styling */
.login-text-field {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--color-pure-white);
    border-radius: 100px;
    padding: 12px 25px;
    height: 48px;
    box-sizing: border-box;

    transition: opacity 0.2s ease-in-out;
}

.login-text-field-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.login-text-field-icon {
    width: 14px;
    height: 14px;
    color: var(--color-secondary-blu);
    flex-shrink: 0;
}

.login-text-field-eye-icon {
    font-size: 18px; 
    line-height: 18px; 
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.login-text-field input {
    border: none;
    outline: none;
    background: transparent;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: var(--color-blu);
    width: 100%;
}

.login-text-field.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}


.login-text-field input::placeholder {
    color: var(--color-secondary-blu);
}

.login-password-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

.login-password-toggle svg {
    width: 14px;
    height: 14px;
    color: var(--color-secondary-blu);
}

/* Login button */
.login-submit-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-secondary-blu);
    border: none;
    border-radius: 100px;
    padding: 7px 16px;
    height: 48px;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

.login-submit-button:hover {
    background-color: #4a5f82;
}

.login-submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.login-submit-button span {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 18px;
    color: var(--color-pure-white);
    line-height: 24px;
}

/* Or divider */
.login-or-divider {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 20px;
    color: var(--color-pure-white);
    margin: 0;
}

/* Google sign-in button */
.login-google-button:before {
    content: url('/images/icons/google-signin-button-icon.svg');
    display: inline-block;
    vertical-align: -6px;
    width: 24px;
    height: 24px;
    background: transparent;
}
.login-google-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background-color: var(--color-pure-white);
    border: none;
    border-radius: 100px;
    padding: 15px;
    height: 54px;
    width: 100%;
    cursor: pointer;
    box-shadow: 0px 2px 3px 0px rgba(48, 66, 97, 0.55);
    transition: background-color 0.2s ease-in-out;
}

.login-google-button:hover {
    background-color: #e1e0e0;
}

.login-google-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

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

.login-google-button span {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: rgba(0, 0, 0, 0.54);
    line-height: normal;
}

/* Forgot password link */
.login-forgot-password, .login-have-account-container {
    margin-top: 10px;
}

.login-forgot-password a, .login-have-account-container a {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: var(--color-cloud);
    text-decoration: none;
    transition: color 0.2s ease;
}

.login-forgot-password a:hover, .login-have-account-container a:hover {
    color: var(--color-pure-white);
    text-decoration: underline;
}

.login-have-account-container p {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: var(--color-cloud);
    text-decoration: none;
    transition: color 0.2s ease;
}

/* Responsive design */
@media (max-width: 1024px) {
    .login-page-container {
        flex-direction: column;
    }
    
    .login-left-panel {
        padding: 40px 20px;
        flex: none;
    }
    
    .login-right-panel {
        flex: 1;
        padding: 40px 20px;

        border-radius: 20px 20px 0 0;
        box-shadow: none;
    }
    
    .login-form-container {
        padding: 20px;
    }
    
}

@media (max-width: 480px) {
    .login-brand-name {
        font-size: 28px;
        letter-spacing: 4px;
    }
    
    .login-brand-icon {
        width: 48px;
        height: 48px;
    }
    
    .login-text-field {
        padding: 10px 20px;
    }
    
    .login-google-button {
        padding: 12px;
    }
}

/* Legacy styles for backward compatibility */
.login-logo-container {
    text-align: center;
    margin: 0 auto 30px auto;
}

.login-logo-container img {
    height: 120px;
    width: auto;
    object-fit: cover;
}

.login-box {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.login-box-body, .register-box-body{
    background: transparent !important;
}

.input-auth-number {
    font-family: 'Poppins', sans-serif;
    color: var(--color-blu);
    width: 50px !important;
    height: 50px;
    background-color: var(--color-pure-white);
    border-radius: 6px;
    border: none;
    text-align: center;
    font-size: 18px !important;
}

.input-auth-number:focus {
    outline: none;
    border: none;
    box-shadow: none;
}
