/* Mengatur font utama untuk seluruh halaman */
body {
    font-family: 'Inter', sans-serif;
}

/* Memberikan transisi halus untuk label input file */
.file-input-label {
    transition: all 0.2s ease-in-out;
}

/* Mengubah tampilan area drop saat file diseret di atasnya */
.file-input-label.drag-over {
    background-color: #374151; /* gray-700 */
    border-color: #3b82f6; /* blue-500 */
}

/* Animasi putaran untuk ikon loading */
.loader {
    border-top-color: #3498db;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { 
        transform: rotate(360deg); 
    }
}

/* Tombol hapus pada pratinjau gambar */
.delete-btn {
    position: absolute;
    top: 0.25rem;
    right: 0.25rem;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    border-radius: 9999px;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

/* Tampilkan tombol hapus saat hover di pratinjau */
.group:hover .delete-btn {
    opacity: 1;
}

.delete-btn:hover {
    background-color: rgba(239, 68, 68, 0.8); /* red-500 with opacity */
}

#install-banner {
        display: none; /* Sembunyi secara default */
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        background-color: #2c3e50; /* Warna gelap agar kontras */
        color: white;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
        z-index: 1000;
        padding: 1rem;
        transform: translateY(100%);
        transition: transform 0.3s ease-in-out;
    }

    #install-banner.show {
        display: block;
        transform: translateY(0);
    }

    .install-banner-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        max-width: 1100px;
        margin: 0 auto;
    }

    .install-banner-text p {
        margin: 0;
        font-size: 0.9rem;
    }

    .install-banner-buttons button {
        border: 1px solid white;
        background-color: transparent;
        color: white;
        padding: 8px 16px;
        border-radius: 5px;
        font-weight: 500;
        cursor: pointer;
        margin-left: 10px;
        white-space: nowrap;
    }

    .install-banner-buttons .install-button {
        background-color: #3498db; /* Warna tombol utama */
        border-color: #3498db;
    }