/* 2. PREMIUM APP LAYOUT (The Squeeze & Soften) */
body {
    background-color: #e2e8f0; /* Darker, distinct slate-grey background */
    margin: 0;
    padding: 0;
    color: #334155;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.app-container {
    max-width: 650px; 
    margin: 40px auto; 
    background-color: #ffffff; /* Pure white card */
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15); /* Tripled the shadow opacity so it actually pops */
    padding: 40px 30px; /* Added slightly more vertical padding */
}

/* 3. Elevate the Input Fields */
input[type="text"],
input[type="number"],
.dash-dropdown {
    width: 100%;
    padding: 12px 15px;
    margin: 8px 0 20px 0;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
    transition: border-color 0.2s, box-shadow 0.2s;
}

input[type="text"]:focus,
input[type="number"]:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    outline: none;
}

/* 4. Action Buttons */
.action-btn-large {
    background-color: #10b981;
    color: white;
    border: none;
    padding: 15px 20px;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.2s, transform 0.1s;
}

.action-btn-large:hover {
    background-color: #059669;
    transform: translateY(-1px);
}

/* --- THE VIP CHALLENGE PORTAL (COMMAND CENTER) --- */
.vip-portal-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Base Portal Card Architecture */
.portal-card {
    border-radius: 12px;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    background-color: #ffffff;
    border-top: 5px solid #bdc3c7; /* Default fallback */
    height: 100%;
    min-height: 220px;
}

.portal-card .card-body {
    padding: 30px 25px;
    text-align: left;
}

.portal-card .card-icon {
    font-size: 2.8rem;
    margin-bottom: 15px;
    display: inline-block;
}

.portal-card .card-title {
    color: #2c3e50;
    font-size: 1.4rem;
    letter-spacing: -0.5px;
}

.portal-card .card-text {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* The Enterprise Hover Lift */
.portal-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

/* Module Accent Colors */
.ledger-card { border-top-color: #2c3e50; }  /* Deep Navy */
.sprint-card { border-top-color: #e67e22; }  /* Action Orange */
.debt-card   { border-top-color: #3498db; }  /* Trust Blue */
.wealth-card { border-top-color: #2ecc71; }  /* Growth Green */

/* --- THE KPI HUD ARRAY (VIMAS STYLE) --- */
.kpi-card {
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background-color: #ffffff;
    text-align: center;
    padding: 15px 10px;
    transition: all 0.2s ease;
}

.kpi-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.kpi-value {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 0;
}

.kpi-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #64748b;
    margin-top: 5px;
    margin-bottom: 0;
}

/* Dynamic KPI Colors */
.kpi-positive { color: #10b981; } /* Growth Green */
.kpi-negative { color: #ef4444; } /* Alert Red */
.kpi-neutral  { color: #3b82f6; } /* Trust Blue */
.kpi-warning  { color: #f59e0b; } /* Debt Orange */