* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    height: 100vh;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
}

.login-container {
    display: flex;
    width: 100%;
    height: 100vh;
    background-color: #ffffff;
    overflow: hidden;
}

/* Left Panel - Form */
.login-left {
    flex: 0 0 40%;
    max-width: 40%;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 48px;
    overflow-y: auto;
}

.login-form-wrapper {
    width: 100%;
    max-width: 450px;
    min-width: 360px;
    background-color: #F5F5F5;
    border-radius: 8px;
    padding: 40px 28px;
    margin: auto 0;
}

/* Specific padding for login to match previous design if needed, 
   but unified 40px/100px is also fine. Let's use a class to differentiate if needed */
.login-page .login-form-wrapper {
    padding: 100px 28px;
}

/* Logo */
.login-logo {
    text-align: center;
    margin-bottom: 16px;
}

.login-logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.login-logo-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto;
}

.login-brand-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--Primary-Brand, #2980B9);
    font-style: normal;
    line-height: normal;
    letter-spacing: -0.5px;
    font-feature-settings: 'liga' off, 'clig' off;
    margin-top: 12px;
    text-align: center;
}

.login-subtitle {
    font-size: 12px;
    font-weight: 400;
    color: var(--Text-Text-Tertiary, #8C8C8C);
    text-align: center;
    margin-top: 8px;
    margin-bottom: 30px;
    font-style: normal;
    line-height: normal;
    letter-spacing: -0.5px;
    font-feature-settings: 'liga' off, 'clig' off;
}

.login-page .login-subtitle {
    margin-bottom: 60px;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
    line-height: 22px;
    color: var(--text-text-88, rgba(0, 0, 0, 0.88));
    margin-bottom: 8px;
    align-self: stretch;
}

.form-label .required {
    color: #e74c3c;
    margin-left: 2px;
}

.form-control {
    width: 100%;
    padding: 12px 14px;
    font-size: 14px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    font-family: 'Roboto', sans-serif;
}

.form-control::placeholder {
    color: #bfbfbf;
}

.form-control:focus {
    border-color: #4a90a4;
    box-shadow: 0 0 0 2px rgba(74, 144, 164, 0.1);
}

.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #999;
    font-size: 16px;
    user-select: none;
}

.password-toggle:hover {
    color: #666;
}

/* Remember & Forgot */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.remember-me input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #4a90a4;
    border-radius: 2px;
    border: 1px solid #d9d9d9;
}

.remember-me span {
    font-size: 14px;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
    line-height: 22px;
    color: var(--Text-Text-Primary, #000000);
}

.forgot-password {
    font-size: 14px;
    color: #4a90a4;
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}

/* Common Button Styles */
.btn-account {
    display: flex;
    padding: 0 16px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    width: 100%;
    height: 40px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    color: var(--Text-Text-White, #FFF);
    background: var(--Primary-Brand, #2980B9);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-account:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 144, 164, 0.35);
}

.btn-account:active {
    transform: translateY(0);
}

/* Links */
.account-footer-link {
    text-align: center;
    margin-top: 20px;
}

.account-footer-link a {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    color: var(--colorLink, #1677FF);
    text-decoration-line: underline;
}

.account-footer-link a:hover {
    text-decoration: underline;
}

/* Right Panel - Background Image */
.login-right {
    flex: 0 0 60%;
    max-width: 60%;
    padding: 16px;
    background-color: #ffffff;
}

.login-right img.login-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

/* Error Messages */
.validation-summary-errors {
    color: #e74c3c;
    font-size: 14px;
    margin-bottom: 16px;
    padding: 12px;
    background: #fff2f0;
    border: 1px solid #ffccc7;
    border-radius: 6px;
}

.validation-summary-errors ul {
    margin: 0;
    padding-left: 20px;
}

.text-danger {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
        max-width: 100%;
        min-height: 100vh;
        height: auto;
        justify-content: center;
        align-items: center;
        border-radius: 0;
    }

    .login-left {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
        min-width: 100%;
        padding: 30px 20px;
    }

    .login-right {
        display: none;
    }

    body {
        background-color: #ffffff;
    }
}

.logo-svg {
    width: 60px;
    height: 60px;
}
