/**
 * index_app.css - Stylesheet Terpadu untuk Halaman Portal Dashboard / Pemilihan Aplikasi
 * Unified Theme System untuk Semua Modul Aplikasi
 */

:root {
    --app-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif;
}

body {
    background-color: #d9ebfe;
    font-family: var(--app-font);
    color: #1e293b;
}

/* Navbar */
.navbar-brand {
    font-weight: 700;
    letter-spacing: -0.2px;
}

.navbar .navbar-text {
    font-size: 0.95rem;
}

/* Kartu Selamat Datang */
.welcome-card {
    background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 50%, #06b6d4 100%);
    color: #ffffff;
    border: none;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.25);
}

.welcome-card .card-title {
    font-weight: 700;
}



/* ============================================================
   WARNA EXTENDED BOOTSTRAP (VIBRANT & COLORFUL)
   Menggunakan nilai palet resmi Bootstrap 5 ($theme-colors)
   ============================================================ */

/* 1. Teal / Toska Segar (Tabungan) */
.btn-teal {
    color: #ffffff !important;
    background-color: #20c997;
    border-color: #20c997;
}
.btn-teal:hover {
    color: #ffffff !important;
    background-color: #17a589;
    border-color: #17a589;
}
.text-teal {
    color: #20c997 !important;
}

/* 2. Indigo / Ungu Kebiruan Elegan (Pelanggaran) */
.btn-indigo {
    color: #ffffff !important;
    background-color: #6610f2;
    border-color: #6610f2;
}
.btn-indigo:hover {
    color: #ffffff !important;
    background-color: #520dc2;
    border-color: #520dc2;
}
.text-indigo {
    color: #6610f2 !important;
}

/* 3. Purple / Ungu Dinamis */
.btn-purple {
    color: #ffffff !important;
    background-color: #6f42c1;
    border-color: #6f42c1;
}
.btn-purple:hover {
    color: #ffffff !important;
    background-color: #59369a;
    border-color: #59369a;
}
.text-purple {
    color: #6f42c1 !important;
}

/* 4. Orange / Jingga Hangat */
.btn-orange {
    color: #ffffff !important;
    background-color: #fd7e14;
    border-color: #fd7e14;
}
.btn-orange:hover {
    color: #ffffff !important;
    background-color: #ca6510;
    border-color: #ca6510;
}
.text-orange {
    color: #fd7e14 !important;
}

/* ============================================================
   KARTU MODUL & INTERAKSI
   ============================================================ */
.menu-card {
    border: 1px solid rgba(226, 232, 240, 0.85);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.25s ease;
}

.menu-card:hover {
    transform: translateY(-6px);
    border-color: var(--theme-border, #cbd5e1);
    box-shadow: 0 14px 28px -4px var(--theme-glow, rgba(0, 0, 0, 0.08)), 
                0 4px 10px -2px rgba(0, 0, 0, 0.04);
}

/* Wadah Ikon dengan Ukuran Lebih Besar & Micro-Animation */
.icon-wrapper {
    width: 82px;
    height: 82px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--theme-bg, #f1f5f9);
    color: var(--theme-color, #475569);
    margin-bottom: 1.25rem;
    font-size: 2.35rem;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.icon-wrapper i {
    font-size: 2.35rem;
    line-height: 1;
}

.menu-card:hover .icon-wrapper {
    transform: scale(1.1);
}

/* Styling Tombol Menu Card */
.menu-card .btn {
    border-radius: 10px;
    font-weight: 600;
    padding: 0.375rem 1.25rem;
    transition: all 0.2s ease-in-out;
}

.menu-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Animasi Ikon saat Card di-hover */
.menu-card i.fa-3x {
    display: inline-block;
    transition: transform 0.25s ease-in-out;
}

.menu-card:hover i.fa-3x {
    transform: scale(1.1);
}
