* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.login-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

/* Left Section */
.left-section {
    position: relative;
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    display: flex;
    flex-direction: column;
}

.doctor-image {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.doctor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.branding-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    padding: 40px 30px;
    color: white;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo span {
    font-size: 18px;
    font-weight: 600;
}

.welcome-text h2 {
    font-size: 28px;
    font-weight: 300;
    margin-bottom: 8px;
    line-height: 1.2;
}

.welcome-text .highlight {
    font-weight: 700;
}

.welcome-text h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    line-height: 1.2;
}

.welcome-text p {
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.9;
}

/* Right Section */
.right-section {
    padding: 60px 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-container {
    width: 100%;
    max-width: 360px;
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.logo-small {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
}

.logo-icon-small {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-small span {
    font-size: 16px;
    font-weight: 600;
    color: #4F46E5;
}

.form-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 8px;
}

.form-header p {
    font-size: 14px;
    color: #6B7280;
    line-height: 1.5;
}

/* Form Styles */
.login-form {
    width: 100%;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
    background: white;
}

.form-group input:focus {
    outline: none;
    border-color: #4F46E5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-group input::placeholder {
    color: #9CA3AF;
}

.password-input {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6B7280;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: color 0.2s ease;
}

.toggle-password:hover {
    color: #4F46E5;
}

.forgot-password {
    text-align: right;
    margin-bottom: 32px;
}

.forgot-link {
    font-size: 14px;
    color: #4F46E5;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.forgot-link:hover {
    color: #3730A3;
}

.sign-in-btn {
    width: 100%;
    background: #4F46E5;
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 24px;
}

.sign-in-btn:hover {
    background: #3730A3;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.sign-in-btn:active {
    transform: translateY(0);
}

.signup-link {
    text-align: center;
    font-size: 14px;
    color: #6B7280;
}

.signup-text {
    color: #4F46E5;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.signup-text:hover {
    color: #3730A3;
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-card {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .left-section {
        min-height: 200px;
    }
    
    .branding-overlay {
        position: static;
        padding: 30px 20px;
    }
    
    .welcome-text h2 {
        font-size: 24px;
    }
    
    .welcome-text h3 {
        font-size: 18px;
    }
    
    .right-section {
        padding: 40px 30px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    .right-section {
        padding: 30px 20px;
    }
    
    .form-header h1 {
        font-size: 28px;
    }
}