/* SISTEM BANTUAN KEDA - MASTER STYLESHEET (V2 PREMIUM)
   Warna Rasmi: Biru KEDA, Merah, Kuning
*/

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;600;700;800&display=swap');

:root {
    --keda-blue: #1e3a8a;
    --keda-red: #ed1c24;
    --keda-yellow: #ffcc00;
    --bg-light: #f4f7fe;
    --white: #ffffff;
    /* Theme Colors akan di-override dalam HTML untuk setiap kategori */
    --theme-color: #1e3a8a;
    --theme-light-bg: #e0f2fe;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-light);
    color: #1e293b;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* --- UTILITY CLASSES --- */
.fw-800 { font-weight: 800; }
.text-keda-red { color: var(--keda-red); }
.mt-n4 { margin-top: -1.5rem !important; }

/* --- LOGIN & HERO SECTION (INDEX.HTML) --- */
.hero {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.9) 0%, rgba(0, 0, 0, 0.8) 100%), 
                url('../image/bgnn.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0 160px 0;
    border-radius: 0 0 60px 60px;
    position: relative;
    border-bottom: 8px solid var(--keda-red);
}

.login-card {
    border: none;
    border-radius: 30px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    margin-top: -100px;
    background: rgba(255, 255, 255, 0.98);
    padding: 40px !important;
}

/* --- MINDMAP SECTION (INDEX.HTML) --- */
.mm-card {
    border: none;
    border-radius: 25px;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-left: 8px solid;
    background: white;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.mm-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* --- PORTAL WRAPPER (PORTAL PAGES) --- */
.portal-wrapper {
    min-height: 100vh;
    background-color: #f4f7fe;
    padding-bottom: 50px;
}

.top-bar {
    background-color: var(--theme-color);
    height: 180px;
    border-radius: 0 0 40px 40px;
    padding-top: 25px;
    transition: background-color 0.3s ease;
}

.profile-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    margin-top: -80px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    z-index: 10;
    position: relative;
}

/* --- ACTION GRID (PORTAL PAGES) --- */
.action-grid .card {
    border: none !important;
    border-radius: 22px !important;
    background: white;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 15px 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.action-grid .card:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.08);
}

.action-icon {
    width: 55px;
    height: 55px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 10px auto;
    background-color: var(--theme-light-bg);
    color: var(--theme-color);
}

/* --- CATEGORY COLORS --- */
.border-usahawan { border-color: #a78bfa !important; }
.border-pertanian { border-color: #4ade80 !important; }
.border-komuniti { border-color: #fb7185 !important; }

/* --- FOOTER --- */
footer {
    background: #f1f5f9;
    color: #64748b;
    padding: 20px 0;
}