* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: #3D2B1F;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-bar {
    display: none;
}

.login-container {
    display: flex;
    width: 92%;
    max-width: 1100px;
    min-height: 600px;
    max-height: 90vh;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

/* Left side - Image */
.login-image {
    flex: 1;
    position: relative;
    overflow: hidden;
    min-height: 100%;
}

.login-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Right side - Login Form */
.login-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 64px;
    background: white;
    overflow-y: auto;
}

.logo {
    margin-bottom: 36px;
    text-align: center;
}

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

.login-title {
    font-size: 24px;
    font-weight: 700;
    color: #A5500A;
    margin-bottom: 8px;
}

.login-subtitle {
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 32px;
    line-height: 1.6;
}

.form {
    max-width: 420px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.password-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.form-group input[type="email"],
.form-group input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    font-size: 14px;
    border: 1.5px solid #E5E7EB;
    border-radius: 10px;
    transition: all 0.3s ease;
    outline: none;
    background: #FAFAFA;
}

.form-group input[type="email"]:focus,
.form-group input[type="password"]:focus {
    border-color: #A5500A;
    box-shadow: 0 0 0 3px rgba(165, 80, 10, 0.08);
    background: white;
}

.form-group input::placeholder {
    color: #9CA3AF;
}

.forgot-password {
    font-size: 12px;
    color: #A5500A;
    text-decoration: none;
    font-weight: 600;
}

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

.checkbox-group {
    margin-bottom: 28px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    cursor: pointer;
    accent-color: #A5500A;
}

.checkbox-label span {
    font-size: 13px;
    color: #374151;
}

.btn-login {
    width: 100%;
    padding: 14px;
    font-size: 15px;
    font-weight: 600;
    color: white;
    background: #A5500A;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.btn-login:hover {
    background: #8A4308;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(165, 80, 10, 0.35);
}

.btn-login:active {
    transform: translateY(0);
}

.error-message {
    margin-top: 16px;
    padding: 12px 14px;
    background: #FEF2F2;
    color: #DC2626;
    border-radius: 10px;
    font-size: 13px;
    border-left: 4px solid #DC2626;
}

/* Responsive */
@media (max-width: 1024px) {
    .login-image {
        display: none;
    }

    .login-container {
        max-width: 480px;
    }
    
    .login-form {
        padding: 48px 40px;
    }
}

@media (max-width: 640px) {
    body {
        padding: 16px;
    }

    .login-container {
        width: 100%;
        border-radius: 16px;
    }

    .login-form {
        padding: 36px 24px;
    }
    
    .login-title {
        font-size: 22px;
    }
    
    .logo-img {
        height: 50px;
    }
}
