/* * DANA Premium Framework - Complete Edition
 * Digunakan untuk seluruh modular template
 */

/* --- 1. Root Variables & Reset --- */
:root {
    --dana-blue: #118EEA;
    --dana-dark-blue: #005EB8;
    --dana-light-blue: #F0F7FF;
    --dana-bg: #F5F7FA;
    --dana-success: #28a745;
    --dana-danger: #dc3545;
    --dana-warning: #ffcc00;
    --dana-text-main: #333333;
    --dana-text-muted: #8E8E8E;
    --radius-premium: 20px;
    --radius-md: 12px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 15px rgba(0,0,0,0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #e9ecef; /* Warna di luar container mobile */
    color: var(--dana-text-main);
    overflow-x: hidden;
}

/* --- 2. Layout Container --- */
.max-width-mobile {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    background-color: var(--dana-bg);
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 50px rgba(0,0,0,0.1);
}

main.content-area {
    flex: 1;
    padding-bottom: 90px; /* Jarak agar tidak tertutup bottom nav */
}

/* --- 3. Header & Navigation Components --- */
.dana-header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    border-radius: 0 0 25px 25px;
    transition: all 0.3s ease;
}

/* Bottom Nav */
.bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    max-width: 480px;
    height: 75px;
    background: #ffffff;
    border-top: 1px solid #eee;
    z-index: 1100;
}

/* --- 4. Menu & Grid Elements --- */
.menu-icon-circle {
    width: 50px;
    height: 50px;
    background: var(--dana-light-blue);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
    margin-bottom: 8px;
    transition: transform 0.2s ease;
}

.menu-icon-circle:active {
    transform: scale(0.9);
}

.service-icon-box {
    width: 55px;
    height: 55px;
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: var(--radius-md);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    margin: 0 auto 5px;
    box-shadow: var(--shadow-sm);
}

/* --- 5. Notification & Loader UI --- */
.notify-wrapper {
    position: absolute;
    top: 20px;
    left: 15px;
    right: 15px;
    z-index: 2000;
    pointer-events: none;
}

.warning-toast {
    background: #ffffff;
    padding: 16px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    pointer-events: auto;
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
}

#loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 3000;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* --- 6. Helper Classes --- */
.rounded-dana { border-radius: var(--radius-premium) !important; }
.bg-dana { background-color: var(--dana-blue) !important; }
.text-dana { color: var(--dana-blue) !important; }
.shadow-dana { box-shadow: var(--shadow-md) !important; }

.fw-semibold { font-weight: 600; }

/* Custom Scrollbar untuk Mobile Feel */
::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

/* Card Activity Style */
.activity-item {
    padding: 15px;
    border-bottom: 1px solid #f8f9fa;
    transition: background 0.2s;
}

.activity-item:last-child { border-bottom: none; }
.activity-item:active { background-color: #f1f7ff; }

.activity-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
}