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

body {
    background: -webkit-gradient(
        linear,
        left top,
        left bottom,
        from(rgba(236, 240, 253, 0)),
        color-stop(14.32%, rgba(236, 240, 253, 0.53)),
        color-stop(45.83%, #ecf0fd),
        color-stop(84.33%, rgba(236, 240, 253, 0.43)),
        to(rgba(236, 240, 253, 0))
    );
    background: linear-gradient(180deg, rgba(236, 240, 253, 0) 0%, rgba(236, 240, 253, 0.53) 14.32%, #ecf0fd 45.83%, rgba(236, 240, 253, 0.43) 84.33%, rgba(236, 240, 253, 0) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.login-container {
    display: flex;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 800px;
    max-width: 90%;
    overflow: hidden;
}

.image-section {
    flex: 1;
    /* background-color: #4a6cf7; */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.image-section img {
    max-width: 100%;
    height: auto;
}

.form-section {
    flex: 1;
    padding: 40px;
}

h1 {
    color: #0a5694;
    margin-bottom: 20px;
    font-size: 25px;
}

.input-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

input[type="text"]:focus,
input[type="password"]:focus {
    border-color: #4a6cf7;
    outline: none;
}

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

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

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

.btn {
    background-color: #0a5694;
    color: white;
    border: none;
    padding: 12px;
    width: 100%;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #3a5ce5;
}

.register {
    text-align: center;
    margin-top: 20px;
    color: #555;
}

.register a {
    color: #0a5694;
    text-decoration: none;
    font-weight: 500;
}

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

@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
    }
    
    .image-section {
        display: none;
    }
}

.error {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}
.alert-error {
    background-color: #f8d7da;
    color: #842029;
    padding: 12px 20px;
    margin: 10px 0;
    border: 1px solid #f5c2c7;
    border-radius: 5px;
    font-size: 14px;
}