/* Tombol refresh captcha - icon only */
.btn-refresh-icon {
    height: 40px;
    width: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #00000000;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.btn-refresh-icon i {
    font-size: 15px;
}

.btn-refresh-icon:hover {
    background-color: #084298;
}

/* Jika digabung dengan captcha */
.captcha-row {
    display: flex;
    align-items: flex-end; /* rata bawah */
    gap: 10px;
}


/* Background Video */
#masuk {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -3;
}

/* Overlay di atas video */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(22, 0, 108, 0.382); /* Biru transparan */
    z-index: -2;
}

/* Kontainer login utama */
.login-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    gap: 10px;
    padding: 0 20px;
    z-index: 1;
    color: rgb(0, 0, 0);
}

/* Gambar samping form */
.login-image img {
    max-width: 550px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 0px rgba(0,0,0,0.3);
    opacity: 0;
    animation: fadeInLeft 1s ease forwards;
}

/* Kotak Form Login */
.container {
    max-width: 400px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.36);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.3s;
    z-index: 2;
}

/* Judul */
h2 {
    text-align: center;
    margin-bottom: 25px;
    font-weight: bold;
    font-size: 20px;
}

/* Label */
form label {
    margin-top: 10px;
    display: block;
    font-weight: bold;
}

/* Input */
form input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border-radius: 8px;
    border: 1px solid #ccc;
    background-color: rgba(255, 255, 255, 0.13);
    color: #000;
    backdrop-filter: blur(10px);
}

/* Tombol Login */
.btn {
    width: 100%;
    margin-top: 20px;
    padding: 10px;
    border-radius: 8px;
    background-color: #001e3e;
    color: white;
    border: none;
}

.btn:hover {
    background-color: #003874;
}

/* Pesan Error */
.error {
    color: red;
    text-align: center;
    margin-bottom: 15px;
}

/* Animasi */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(-40px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsif */
@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
        padding-top: 50px;
        height: auto;
    }

    .login-image img {
        max-width: 200px;
        margin-bottom: 20px;
    }

    .container {
        width: 100%;
    }
}

.logo-top-right {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.logo-top-right img {
    width: 350px;
    height: auto;
    opacity: 0.9;
}

/* Logo di dalam form login */
.form-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.form-logo img {
    max-width: 100px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 0 0px rgba(255, 255, 255, 0);
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
    animation-delay: 0.2s;
}

/* Link media sosial dalam form login */
.social-links {
    margin-top: 20px;
    text-align: center;
    font-size: 12px;
    color: #000000;
}

.social-links a {
    color: #f5f5f5;
    text-decoration: none;
    margin: 0 5px;
    font-weight: bold;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #ffd700;
}

