/* --- DCC Master Trick Command Center CSS --- */
/* Neutral Gray SaaS UI with Inter Font */

/* Global Reset and Font */
body.dcc-os-body {
    background-color: #f7f9fc; /* Light Gray Background */
    color: #333;
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Ensure body doesn't inherit padding from parent themes */
.dcc-os-body .site-content {
    padding: 0;
}

/* --- Navbar (Glass Top) --- */
.dcc-navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #e0e6f0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}
.dcc-navbar-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-logo {
    font-weight: 700;
    font-size: 1.25rem;
    color: #333;
    text-decoration: none;
}
.nav-links a {
    margin-left: 25px;
    color: #555;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}
.nav-links a:hover {
    color: #007bff; /* Subtle primary color accent */
}

/* --- Main Layout: Sidebar (Fixed Left) + Main Content --- */
.dcc-container {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Fixed Sidebar (380px wide) - Scrolls with the page (Option B) */
.dcc-sidebar {
    width: 380px; /* Locked width C */
    flex-shrink: 0;
    background-color: #ffffff;
    border-right: 1px solid #e0e6f0;
    padding: 30px;
    position: static; 
    top: 0; 
}
.sidebar-header {
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}
.sidebar-header h2 {
    font-size: 1.4rem;
    margin: 0;
    color: #007bff;
}
.status-indicator {
    font-size: 0.8rem;
    color: #28a745;
    font-weight: 600;
}
.sidebar-module {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #eee;
}
.sidebar-module h3 {
    font-size: 1rem;
    color: #555;
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: 700;
}
.sidebar-module ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}
.sidebar-module li {
    padding: 4px 0;
}
.score-value {
    font-weight: 700;
    color: #007bff;
}
.placeholder-text {
    font-style: italic;
    color: #999;
    font-size: 0.85rem;
}


/* Main Content Grid */
.dcc-main-grid-area {
    flex-grow: 1;
    padding: 30px 0 60px 30px; /* Space left by sidebar */
    min-width: 0; /* Allows flex-shrink */
}

/* --- Dashboard Modules & Cards --- */
.dcc-hero-header {
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}
.dcc-hero-header h1 {
    font-size: 2.5rem;
    margin-top: 0;
    margin-bottom: 8px;
    color: #212529;
}
.dcc-hero-header .sub-title {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 15px;
}
.dcc-hero-header .summary-text {
    font-size: 1rem;
    color: #444;
}

.module-card {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.module-card h3 {
    font-size: 1.1rem;
    margin-top: 0;
    margin-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 10px;
    color: #333;
}

.dcc-module-row {
    margin-bottom: 30px;
}
.dcc-row-3col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* Specific Modules */
.module-weather .temp-main {
    font-size: 3rem;
    font-weight: 700;
    color: #007bff;
    line-height: 1;
}
.module-weather .conditions {
    color: #555;
    margin: 5px 0 10px 0;
}
.module-weather .high-low {
    font-size: 0.9rem;
    color: #777;
}

.attractions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.attraction-item {
    border-left: 3px solid #007bff;
    padding-left: 15px;
    background-color: #fcfcfc;
    padding: 15px;
    border-radius: 4px;
}
.attraction-item h4 {
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 1rem;
    color: #222;
}
.attraction-item p {
    font-size: 0.9rem;
    color: #666;
}

/* Error Panel (used if API fails) */
.dcc-error-panel {
    background-color: #fff0f0;
    border: 1px solid #f00000;
    color: #a00000;
    padding: 30px;
    border-radius: 8px;
    margin-top: 30px;
}
.dcc-error-panel h1 {
    color: #a00000;
}
.dcc-error-panel pre {
    white-space: pre-wrap;
    background-color: #ffe0e0;
    padding: 10px;
    border-radius: 4px;
}

/* --- Responsiveness --- */
@media (max-width: 1100px) {
    .dcc-container {
        flex-direction: column;
        padding: 0 15px;
    }
    .dcc-sidebar {
        width: 100%; /* Sidebar takes full width */
        border-right: none;
        border-bottom: 1px solid #e0e6f0;
        padding: 20px 15px;
    }
    .dcc-main-grid-area {
        padding: 20px 15px 60px 15px;
    }
    .dcc-row-3col {
        grid-template-columns: 1fr; /* Stack modules */
    }
    .dcc-navbar-inner {
        padding: 15px;
    }
    .nav-links {
        display: none; /* Hide nav links on small screens for simplicity */
    }
}