* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --teal-primary: #008080;
    --teal-dark: #006666;
    --teal-light: #00a3a3;
    --white: #ffffff;
    --gray-light: #f8f9fa;
    --gray-border: #dee2e6;
    --text-dark: #333333;
    --text-light: #666666;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f5f5;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    display: flex;
    width: 1000px;
    height: 600px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Left Side - Image */
.login-image {
    flex: 1;
    background: linear-gradient(rgba(0, 128, 128, 0.7), rgba(0, 102, 102, 0.7)), 
                url('https://images.unsplash.com/photo-1582719471384-894fbb16e074?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    padding: 40px;
    text-align: center;
    position: relative;
}

.login-image-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.login-image-content p {
    font-size: 18px;
    opacity: 0.9;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Right Side - Form */
.login-form {
    flex: 1;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--white);
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.login-header h1 {
    color: var(--teal-primary);
    font-size: 36px;
    margin-bottom: 10px;
    font-weight: 700;
}

.login-header p {
    color: var(--text-light);
    font-size: 16px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--gray-border);
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--teal-primary);
    box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.1);
}

.btn-login {
    width: 100%;
    padding: 15px;
    background: var(--teal-primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-login:hover {
    background: var(--teal-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 128, 128, 0.3);
}

.btn-login:active {
    transform: translateY(0);
}

.login-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-border);
}

.login-footer p {
    color: var(--text-light);
    font-size: 14px;
}

.alert {
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    border: 1px solid transparent;
}

.alert-error {
    background: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.alert-success {
    background: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.setup-link {
    text-align: center;
    margin-top: 15px;
}

.setup-link a {
    color: var(--teal-primary);
    text-decoration: none;
    font-size: 14px;
}

.setup-link a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
        width: 95%;
        height: auto;
        max-width: 400px;
    }
    
    .login-image {
        padding: 30px 20px;
        min-height: 200px;
    }
    
    .login-image-content h2 {
        font-size: 24px;
    }
    
    .login-image-content p {
        font-size: 14px;
    }
    
    .login-form {
        padding: 40px 30px;
    }
    
    .login-header h1 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .login-form {
        padding: 30px 20px;
    }
    
    .login-header h1 {
        font-size: 24px;
    }
}