body {
    font-family: 'Nunito', sans-serif;
    background-color: #f0f8ff; /* Soft Alice Blue */
    padding-bottom: 50px;
}
h1, h2, h3, h4, h5, .brand-font {
    font-family: 'Baloo 2', cursive;
    font-weight: 700;
}

/* Navbar Custom */
.navbar-custom {
    background: linear-gradient(90deg, #ff9a9e 0%, #fecfef 99%, #fecfef 100%);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    padding: 15px 0;
    margin-bottom: 30px;
}

/* Kartu Paspor Anak */
.card-paspor {
    border: none;
    border-radius: 30px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease;
}
.card-paspor:hover {
    transform: translateY(-5px);
}
.paspor-header {
    background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
    padding: 30px 20px 60px 20px;
    text-align: center;
    color: white;
    position: relative;
    border-bottom-left-radius: 50% 20px;
    border-bottom-right-radius: 50% 20px;
}
/* Variasi warna header untuk anak kedua, dst */
.bg-gradient-2 { background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%); color: #2d3436; }
.bg-gradient-3 { background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%); color: #2d3436; }

.avatar-anak {
    width: 100px;
    height: 100px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #ff6b81;
    margin: -50px auto 15px auto;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border: 4px solid #fff;
    position: relative;
    z-index: 2;
}

/* Lencana Gamifikasi */
.badge-level {
    background-color: #ffd32a;
    color: #805b00;
    font-size: 1.1rem;
    padding: 8px 20px;
    border-radius: 50px;
    font-family: 'Baloo 2', cursive;
    box-shadow: 0 4px 10px rgba(255, 211, 42, 0.4);
    border: 2px solid #fff;
}
.badge-grains {
    background-color: #ff4757;
    color: white;
    font-size: 1.1rem;
    padding: 8px 20px;
    border-radius: 50px;
    font-family: 'Baloo 2', cursive;
    box-shadow: 0 4px 10px rgba(255, 71, 87, 0.4);
    border: 2px solid #fff;
}

/* Tombol Aksi Raksasa */
.btn-action-big {
    border-radius: 20px;
    padding: 15px;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    border: none;
    height: 100%;
}
.btn-action-big i { font-size: 2rem; }
.btn-action-big:hover { transform: scale(1.05); }

.btn-absen { background-color: #1e90ff; color: white; box-shadow: 0 6px 15px rgba(30,144,255,0.3); }
.btn-lapor { background-color: #2ed573; color: white; box-shadow: 0 6px 15px rgba(46,213,115,0.3); }
.btn-rapor { background-color: #ffa502; color: white; box-shadow: 0 6px 15px rgba(255,165,2,0.3); }

/* Styling untuk Podium */
.podium-item {
    cursor: pointer; /* Ubah kursor jadi tangan agar terasa interaktif */
    transition: transform 0.3s ease; /* Transisi agar animasi halus */
}
.podium-item:hover {
    transform: translateY(-10px); /* Balok dan avatar melayang naik saat disentuh */
}

.avatar-podium {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: 3px solid #fff;
    transition: transform 0.3s ease;
}

/* Buat class khusus untuk Juara 1 agar tidak perlu pakai inline-style */
.avatar-podium-emas {
    width: 70px;
    height: 70px;
    font-size: 2rem;
    z-index: 2;
    position: relative;
}

.podium-item .bg-light, .podium-item .bg-warning {
    transition: all 0.3s ease;
}

/* Pergelap menjadi 85% agar perubahannya terlihat mata */
.podium-item:hover .bg-light, .podium-item:hover .bg-warning {
    filter: brightness(0.85); 
}
.podium-item:hover .avatar-podium {
    transform: scale(1.1); /* Avatar sedikit membesar saat disentuh */
}
/* Styling Universal untuk Placeholder Form Input & Textarea */
::placeholder {
    font-size: 0.6rem;     /* Ukuran kecil */
    color: #e5f146;         /* Warna abu-abu tipis */
    font-style: italic;     /* Huruf miring */
    opacity: 0.7;             /* Memastikan konsistensi warna di beberapa browser */
}

/* Kompatibilitas Lintas Browser */
::-webkit-input-placeholder { font-size: 0.7rem; color: #e5f146; font-style: italic; }
::-moz-placeholder { font-size: 0.7rem; color: #e5f146; font-style: italic; opacity: 0.7; }
:-ms-input-placeholder { font-size: 0.7rem; color: #e5f146; font-style: italic; }
:-moz-placeholder { font-size: 0.7rem; color: #e5f146; font-style: italic; opacity: 0.7; }
/* End Styling Universal Placeholder */