* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    display: flex;
    min-height: 100vh;
    background-color: #f5f7fa;
}

.container {
    display: flex;
    width: 100%;
    height: 100vh;
    position: relative;
}

.image-section {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    overflow: hidden;
}

.image-section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(48, 231, 16, 0.4) 0%, rgba(4, 85, 27, 0.5) 100%);
}

.image-content {
    position: relative;
    z-index: 1;
    color: white;
}

.image-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.image-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
}

.login-section {
    flex: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    padding: 2rem;
    position: relative;
}

.login-container {
    width: 100%;
    max-width: 400px;
}

.logo {
    text-align: center;
    margin-bottom: 2rem;
}

.logo h1 {
    color: #0d8013ff;
    font-size: 2.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.logo i {
    font-size: 2.2rem;
}

.login-form h2 {
    color: #333;
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-size: 1.8rem;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #555;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    border-color: #0052d4;
    box-shadow: 0 0 0 2px rgba(0, 82, 212, 0.2);
    outline: none;
}

.form-group i {
    position: absolute;
    left: 15px;
    top: 42px;
    color: #777;
}

.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.remember-me {
    display: flex;
    align-items: center;
}

.remember-me input {
    margin-right: 8px;
}

.forgot-password {
    color: #077031ff;
    text-decoration: none;
    font-weight: 500;
}

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

.login-button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #0c9d33ff 0%, #0c9d33ff 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.login-button:hover {
    background: linear-gradient(135deg, #0b6e0dff 0%, #0b6e0dff 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 82, 212, 0.3);
}

.social-login {
    margin-top: 2rem;
    text-align: center;
}

.social-login p {
    color: #666;
    margin-bottom: 1rem;
    position: relative;
}

.social-login p::before,
.social-login p::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background-color: #ddd;
}

.social-login p::before {
    left: 0;
}

.social-login p::after {
    right: 0;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
}

.facebook {
    background-color: #3b5998;
}

.google {
    background-color: #dd4b39;
}

.twitter {
    background-color: #1da1f2;
}

.register-link {
    text-align: center;
    margin-top: 2rem;
    color: #666;
}

.register-link a {
    color: #0052d4;
    text-decoration: none;
    font-weight: 500;
}

.register-link a:hover {
    text-decoration: underline;
}

footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    padding: 1rem;
    color: #666;
    font-size: 0.9rem;
    border-top: 1px solid #eee;
}

footer p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

footer i {
    color: #0052d4;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .image-section {
        flex: 1;
        min-height: 200px;
        padding: 1.5rem;
    }

    .login-section {
        flex: 2;
    }

    .image-content h2 {
        font-size: 1.5rem;
    }

    .image-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .login-section {
        padding: 1.5rem;
    }

    .login-container {
        max-width: 100%;
    }

    .remember-forgot {
        flex-direction: column;
        align-items: flex-start;
    }

    .forgot-password {
        margin-top: 10px;
    }

    .logo h1 {
        font-size: 2rem;
    }

    .login-form h2 {
        font-size: 1.5rem;
    }
}
