/* app/static/css/loader.css */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&display=swap');

/* ✨ Custom GIF Loader - Crafted by Master & Ellen ✨ */
#ellen-global-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #ffffff; /* Background diubah menjadi putih bersih */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.4s ease-out, visibility 0.4s ease-out;
}

.ellen-gif-loader {
    width: 280px; /* Ukuran GIF diperbesar drastis agar jelas */
    height: auto;
    object-fit: contain;
}

.loader-text {
    font-family: 'Montserrat', sans-serif; /* Menggunakan Google Font eksklusif */
    margin-top: -10px; /* Sedikit dinaikkan agar lebih dekat ke GIF */
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 5px;
    color: #334155; /* Teks diubah menjadi warna gelap/abu-abu tua */
    text-transform: uppercase;
    animation: pulse-text-light 1.5s ease-in-out infinite;
}

@keyframes pulse-text-light {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; text-shadow: 0 0 15px rgba(0, 0, 0, 0.1); }
}

body.loader-active {
    overflow: hidden;
}
