* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #f8f9fa;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-container {
    display: flex;
    width: 100%;
    max-width: 900px;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

.login-left {
    flex: 1;
    background: linear-gradient(135deg, #9d4b7f 0%, #7d3a66 100%);
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.brand-section {
    text-align: center;
}

.logo {
    display: none;
}

.brand-section h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.tagline {
    font-size: 18px;
    opacity: 0.95;
    line-height: 1.6;
    max-width: 350px;
    margin: 0 auto;
}

.illustration {
    display: none;
}

.login-right {
    flex: 1;
    padding: 60px 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-form-container {
    width: 100%;
    max-width: 400px;
}

.login-logo {
    text-align: center;
    margin-bottom: 32px;
}

.login-logo img {
    max-width: 200px;
    height: auto;
}

.login-header {
    margin-bottom: 40px;
}

.login-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.login-header p {
    font-size: 15px;
    color: #6c757d;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 16px;
    color: #999;
    pointer-events: none;
}

.input-wrapper input {
    width: 100%;
    padding: 12px 16px 12px 48px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.2s;
    background: white;
}

.input-wrapper input:focus {
    outline: none;
    border-color: #9d4b7f;
    background: white;
    box-shadow: 0 0 0 3px rgba(157, 75, 127, 0.1);
}

.toggle-password {
    position: absolute;
    right: 16px;
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    padding: 4px;
    display: flex;
    align-items: center;
}

.toggle-password:hover {
    color: #9d4b7f;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    user-select: none;
}

.checkbox-container input {
    margin-right: 8px;
    cursor: pointer;
}

.forgot-password {
    font-size: 14px;
    color: #9d4b7f;
    text-decoration: none;
    font-weight: 600;
}

.forgot-password:hover {
    text-decoration: underline;
    color: #7d3a66;
}

.error-message {
    padding: 12px 16px;
    background: #fee;
    border: 1px solid #fcc;
    border-radius: 8px;
    color: #c33;
    font-size: 14px;
    margin-bottom: 20px;
}

.login-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #9d4b7f 0%, #7d3a66 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(157, 75, 127, 0.3);
}

.login-btn:hover {
    background: linear-gradient(135deg, #7d3a66 0%, #9d4b7f 100%);
    box-shadow: 0 4px 12px rgba(157, 75, 127, 0.4);
}

.login-btn:active {
    transform: translateY(0);
}

.login-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.loader {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.login-footer {
    margin-top: 32px;
    text-align: center;
    font-size: 14px;
    color: #666;
}

.login-footer a {
    color: #9d4b7f;
    text-decoration: none;
    font-weight: 600;
}

.login-footer a:hover {
    text-decoration: underline;
    color: #7d3a66;
}

/* Reset Password Steps */
.reset-step {
    width: 100%;
}

#otp {
    text-align: center;
    letter-spacing: 8px;
    font-size: 20px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
        width: 95%;
        min-height: auto;
    }
    
    .login-left {
        padding: 40px 20px;
        min-height: 200px;
    }
    
    .brand-section h1 {
        font-size: 28px;
    }
    
    .illustration {
        display: none;
    }
    
    .login-right {
        padding: 40px 20px;
    }
    
    .login-header h2 {
        font-size: 24px;
    }
}
