.login-wrapper {
    display: flex;
    min-height: 100vh;
}

.login-image-side {
    flex: 1.2;
    background: linear-gradient(rgba(0, 0, 0, 0.94), rgba(12, 53, 158, 0.94)), url('../images/login_spare_part.png');
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding: 8rem 5rem 6rem 5rem;
    position: relative;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-badge {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}

.login-logo {
    max-height: 55px;
    width: auto;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
}

.mobile-logo-header {
    margin-top: 1rem;
}

.hero-content {
    max-width: 580px;
    width: 100%;
    margin: 0;
    text-align: left;
}

.hero-content h1 {
    font-size: 2.2rem;
    line-height: 1.25;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
    font-weight: 800;
    text-transform: uppercase;
}

.hero-content p {
    font-size: 1rem;
    line-height: 1.8;
    opacity: 0.9;
    font-weight: 400;
}

.footer-side {
    width: 100%;
    text-align: left;
    margin-bottom: 6rem;
}

.footer-side p {
    margin-bottom: 0.25rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.login-form-side {
    flex: 1;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5% 10%;
}

.welcome-text {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.welcome-text h2 {
    font-weight: 800;
    font-size: 2.2rem;
    color: var(--text-dark);
}

.welcome-text p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-top: 0.5rem;
}

.input-group {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background-color: #fcfdfe;
    transition: var(--transition);
    overflow: hidden;
}

.input-group:focus-within {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(12, 53, 158, 0.08);
}

.input-group .form-control,
.input-group .input-group-text {
    border: none !important;
    background-color: transparent !important;
}

.input-group .form-control:focus {
    box-shadow: none !important;
}

.captcha-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.captcha-display {
    background: #f1f5f9;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 800;
    letter-spacing: 4px;
    font-size: 1.1rem;
    color: var(--primary-blue);
    border: 1px solid #e2e8f0;
}

.refresh-btn {
    cursor: pointer;
    color: var(--primary-blue);
    font-size: 1.3rem;
    transition: var(--transition);
}

.refresh-btn:hover {
    transform: rotate(180deg);
}

@media (max-width: 991.98px) {
    .login-image-side {
        display: none;
    }

    .login-form-side {
        flex: 1;
        width: 100%;
        padding: 3.5rem 1.5rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        background-color: #fff;
    }

    .login-form-side form {
        width: 100%;
        max-width: 420px;
    }

    .mobile-logo-header {
        margin-top: 0;
        margin-bottom: 2.5rem !important;
        text-align: center;
    }

    .welcome-text {
        margin-top: 0;
        text-align: center;
        margin-bottom: 2rem;
        width: 100%;
    }

    .welcome-text h2 {
        font-size: 2rem;
        font-weight: 800;
    }

    .welcome-text p {
        font-size: 0.95rem;
        opacity: 0.7;
    }
}

@media (max-width: 575.98px) {
    .login-form-side {
        padding: 2.5rem 1.25rem;
    }
    
    .login-logo {
        max-height: 48px;
    }
}