* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f5f5f5;
    height: 100vh;
}

.container {
    display: flex;
    height: 100%;
}

.login-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background-color: white;
}

.image-container {
    flex: 1;
    background-color: #eee;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo {
    margin-bottom: 1.5rem;
    width: 200px;
}

.logo img {
    width: 100%;
}

h2 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: #333;
    text-align: center;
}

.form-group {
    width: 100%;
    max-width: 400px;
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.required {
    color: red;
}

.input-icon {
    position: relative;
}

.input-icon i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
}

input[type="text"],
input[type="password"],
input[type="email"] {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 2.5rem;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.3s;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus {
    border-color: #09388e;
}

.form-check {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 400px;
    width: 100%;
    margin-bottom: 2rem;
}

.forgot-link {
    color: #09388e;
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-link:hover {
    text-decoration: underline;
}

.btn-login {
    display: block;
    width: 100%;
    max-width: 400px;
    padding: 0.8rem;
    background-color: #09388e;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-login:hover {
    background-color: #072a6a;
}

.register {
    margin-top: 2rem;
    text-align: center;
    max-width: 400px;
    width: 100%;
}

.register a {
    color: #09388e;
    text-decoration: none;
}

.register a:hover {
    text-decoration: underline;
}

.photo-credit {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #999;
}

.error-message {
    background-color: #ffebee;
    color: #c62828;
    padding: 0.8rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.success-message {
    background-color: #e8f5e9;
    color: #1b5e20;
    padding: 0.8rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    width: 100%;
    max-width: 400px;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    
    .login-container {
        flex: none;
        min-height: 100vh;
        padding: 1rem;
    }
    
    .image-container {
        display: none;
    }
}