
/* Sembunyikan modal secara default */
.modal-overlay {
    display: none; 
    position: fixed;
    z-index: 10000000; /* Di atas segalanya */
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(3px);
}

.modal-box {
    background-color: #fff;
    margin: 10% auto;
    width: 350px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    overflow: hidden;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-head {
    padding: 15px 20px;
    background: #339900;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

.close-btn { background: none; border: none; color: white; font-size: 24px; cursor: pointer; }
.close-btn:hover {
    opacity:0.8;
}

.modal-body { padding: 20px; }

.input-group { margin-bottom: 15px; }
.input-group label { display: block; margin-bottom: 5px; font-size: 14px; font-weight: bold; }
.input-group input { 
    width: 100%; padding: 10px; 
    border: 1px solid #ccc; border-radius: 4px; 
    box-sizing: border-box; 
}

.modal-foot { padding: 15px 20px; background: #f8f9fa; text-align: right; }

.btn-submit { 
    width: 100%; padding: 12px; 
    background:#336666; color: white; 
    border: none; border-radius: 4px; 
    font-weight: bold; cursor: pointer; 
}
.btn-submit:hover { background: #0056b3; }


        .secret-trigger {
            position: absolute; /* Absolute terhadap footer */
            bottom: 0;
            left: 0;
            width: 20%; /* 20% lebar area footer */
            height: 100%; /* Menyesuaikan tinggi footer */
            background:#44A08D; /* GANTI KE 'transparent' JIKA SUDAH BERHASIL */
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .hidden-login-btn {
            display: none;
            background: #343a40;
            color: #fff;
            border: 1px solid #fff;
            padding: 5px 10px;
            border-radius: 4px;
            font-size: 11px;
            cursor: pointer;
            font-weight: bold;
        }

        /* Saat di-double click, area bergeser sedikit dan warna berubah */
        .is-active {
            transform: translateX(10px);
            background: rgba(0,0,0,0.2) !important; /* Warna saat aktif */
        }
    


/* Responsif untuk Mobile */
@media (max-width: 576px) {
    .modal-dialog {
        margin: 20px;
    }
}
