body {
    font-family: "Poppins", sans-serif;
    background:
        linear-gradient(to right, rgba(0, 48, 80, 0.7), rgba(0, 48, 80, 0.7)),
        url("https://www.wisatagunung.com/wp-content/uploads/2022/06/Gunung-Bawakaraeng-image-source.jpg")
            center/cover no-repeat fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.login-card {
    background: linear-gradient(135deg, #ffffffee, #e9f0faee);
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 48, 80, 0.25);
    max-width: 900px;
    width: 100%;
    display: flex;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.login-card:hover {
    box-shadow: 0 30px 80px rgba(0, 48, 80, 0.4);
}

.login-image {
    flex: 1;
    background: url("https://www.ikasmansamks.org/wp-content/uploads/2025/09/IKASMANSAMKS-1.png")
        center no-repeat;
    background-size: 70%;
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
    background-color: #ffffff;
    border-right: 2px solid #0271a9;
}

.login-image:hover {
    /* background-size: 105%; */
}

.login-form {
    flex: 1;
    padding: 3.5rem 3rem;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-name {
    font-weight: 700;
    font-size: 1.5rem;
    color: #0271a9;
    letter-spacing: 1px;
    margin-bottom: 0.15rem;
}

.title-text {
    font-size: 1rem;
    font-weight: 700;
    margin-top: 0.3rem;
    color: #003050;
    letter-spacing: 0.03em;
}

.subtitle-text {
    font-size: 1.05rem;
    color: #6c757d;
    margin-bottom: 2rem;
    letter-spacing: 0.02em;
}

.form-control {
    border-radius: 15px;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    border: 2px solid #ddd;
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: #0271a9;
    box-shadow: 0 0 8px rgba(13, 110, 253, 0.4);
    outline: none;
}

.btn-primary {
    border-radius: 15px;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 0.75rem;
    background-color: #0271a9;
    border: none;
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.4);
    transition:
        background-color 0.3s ease,
        box-shadow 0.3s ease;
    cursor: pointer;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #0b5ed7;
    box-shadow: 0 8px 20px rgba(11, 94, 215, 0.6);
    outline: none;
}

.form-check-label {
    font-size: 0.95rem;
    color: #495057;
    user-select: none;
}

.form-check-input {
    width: 1.3em;
    height: 1.3em;
    cursor: pointer;
    border-radius: 4px;
    border: 2px solid #ced4da;
    transition: border-color 0.25s ease;
}

.form-check-input:checked {
    background-color: #0271a9;
    border-color: #0271a9;
}

.form-check-input:focus {
    border-color: #0271a9;
    box-shadow: 0 0 8px rgba(13, 110, 253, 0.4);
}

.bg-light.rounded.p-3.text-center.border {
    font-style: italic;
    color: #888;
    font-weight: 500;
    user-select: none;
}

.text-center.small-text {
    font-size: 0.9rem;
    margin-top: 1.25rem;
}

.text-center.small-text a {
    color: #0271a9;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.text-center.small-text a:hover {
    text-decoration: underline;
    color: #0b5ed7;
}
.captcha img {
    height: 50px;
    max-width: 100%;
    border-radius: 6px;
    border: 1px solid #ced4da;
}

@media (max-width: 768px) {
    .login-card {
        flex-direction: column;
        border-radius: 20px;
        max-width: 400px;
    }

    .login-image {
        height: 220px;
        border-radius: 20px 20px 0 0;
        background-position: center;
    }

    .login-form {
        padding: 2.5rem 2rem;
        border-radius: 0 0 20px 20px;
    }
}
