body,
html {
    height: 100%;
    margin: 0;
    font-family: "Poppins", sans-serif;
}

.container {
    display: flex;
    height: 100%;
}

.image-section {
    flex: 7;
    background-image: url("../images/simrs.png");
    /* URL disesuaikan */
    background-size: cover;
    background-position: center;
    position: relative;
}

.login-section {
    flex: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background-color: #fff;
}

.alert {
    padding: 15px;
    background-color: #f44336;
    color: white;
    margin-bottom: 20px;
    border-radius: 5px;
    text-align: center;
}

.login-logo {
    margin-bottom: 2rem;
}

.login-logo img {
    width: 100%;
    max-width: 300px;
}

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

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

.form-group input {
    width: 100%;
    border: none;
    border-bottom: 2px solid #e0e0e0;
    outline: none;
    padding: 10px 0;
    font-size: 18px;
    color: #333;
    background-color: transparent;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    border-bottom: 2px solid #4a5568;
}

.login-button {
    width: 100%;
    padding: 1rem;
    background-color: #4a5568;
    color: white;
    font-size: 18px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login-button:hover {
    background-color: #2d3748;
}

.remember-me {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    width: 100%;
}

.remember-me input {
    margin-right: 0.5rem;
}

.footer-text {
    margin-top: 2rem;
    text-align: center;
    color: #718096;
    font-size: 14px;
}

.footer-text p {
    margin: 0.25rem 0;
}

.captcha {
    display: flex;
    align-items: center;
    gap: 10px;
}

.captcha-image {
    width: 300px;
    height: 100px;
}

.reload {
    font-size: 20px;
    padding: 10px 15px;
    border-radius: 8px;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

#reload:active {
    transform: scale(0.9);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2) inset;
}

/* Media query untuk layar kecil (ponsel, tablet) */

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    .image-section {
        display: none;
        /* Sembunyikan gambar pada layar kecil */
    }
    .login-section {
        flex: 1;
        width: 100%;
        padding: 1rem;
    }
    .login-form {
        max-width: 100%;
        /* Form memenuhi lebar layar kecil */
    }
}
