:root {
    --brand-primary-dark: #1B657C;
    --brand-primary-text: #2C2C2C;
    --brand-accent: #EC6B4D;
    --bg-light: #F5F3E8;
    --text-light: #F5F3E8;
    --sidebar-width: 280px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; background-color: var(--bg-light); color: var(--brand-primary-text); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.page-container { display: grid; grid-template-columns: var(--sidebar-width) 1fr; min-height: 100vh; }
.main-content { background-color: var(--bg-light); padding: 2rem 2.5rem; }
.sidebar { background-color: var(--brand-primary-dark); color: var(--text-light); grid-column: 1 / 2; grid-row: 1 / 2; transition: transform 0.3s ease-in-out; display: flex; flex-direction: column; }
.sidebar-header { padding: 1.5rem; border-bottom: 1px solid rgba(245, 243, 232, 0.2); text-align: center; }
.sidebar-logo { max-width: 200px; height: auto; }
.nav-menu { list-style: none; margin-top: 1rem; flex-grow: 1; }
.main-tab { display: flex; align-items: center; padding: 1rem 1.5rem; cursor: pointer; font-weight: 600; transition: background-color 0.2s ease, color 0.2s ease; user-select: none; border-left: 4px solid transparent; }
a.main-tab-link { text-decoration: none; color: inherit; }
.main-tab:hover { background-color: rgba(236, 107, 77, 0.1); }
.main-tab.active { background-color: var(--brand-accent); color: #fff; border-left: 4px solid var(--text-light); }
.main-tab i { margin-right: 1rem; width: 20px; text-align: center; font-size: 1.1rem; }
.main-tab .arrow { margin-left: auto; transition: transform 0.3s ease; }
.main-tab.active .arrow { transform: rotate(180deg); }
.sub-menu { list-style: none; background-color: rgba(0, 0, 0, 0.25); max-height: 0; overflow: hidden; transition: max-height 0.3s ease-in-out; }
.sub-menu a { display: block; color: var(--text-light); text-decoration: none; padding: 0.8rem 1.5rem 0.8rem 3.5rem; font-weight: 400; transition: background-color 0.2s ease; border-bottom: 1px solid rgba(245, 243, 232, 0.1); }
.sub-menu a:hover { background-color: var(--brand-accent); color: #fff; }
.content-panel { background-color: #FFFFFF; border-radius: 10px; box-shadow: 0 4px 12px rgba(44, 44, 44, 0.08); overflow: hidden; }
.content-header { padding: 1.25rem 1.5rem; border-bottom: 1px solid #EAEAEA; }
#content-title { font-size: 1.5rem; margin-bottom: 0; color: var(--brand-primary-dark); }
.content-display-area { height: 80vh; }
.content-display-area iframe { width: 100%; height: 100%; border: none; }
.welcome-message { padding: 2rem 1.5rem; text-align: center; color: #555; }
.welcome-message p { font-size: 1.2rem; line-height: 1.6; margin-bottom: 1rem; }
.mobile-nav-toggle { display: none; }
@media (max-width: 768px) {
    .page-container { grid-template-columns: 1fr; }
    .sidebar { position: fixed; top: 0; left: 0; height: 100vh; z-index: 1000; transform: translateX(-100%); width: var(--sidebar-width); }
    .sidebar[data-visible="true"] { transform: translateX(0%); }
    .mobile-nav-toggle { display: block; position: fixed; top: 1rem; left: 1rem; z-index: 1001; background: var(--brand-primary-dark); color: var(--text-light); border: none; padding: 0.5rem; border-radius: 5px; cursor: pointer; }
    .mobile-nav-toggle .fa-bars { font-size: 1.5rem; }
    .main-content { grid-column: 1 / -1; padding-top: 5rem; }
}
/* --- Dashboard Card Styles (for dashboards page) --- */

.dashboard-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 1.5rem;
    height: 100%;
    align-content: start;
}

.dashboard-card {
    background-color: #F8F9FA;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    border: 1px solid #EAEAEA;
    text-decoration: none;
    color: var(--brand-primary-text);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(44, 44, 44, 0.1);
    cursor: pointer;
}

.dashboard-card i {
    font-size: 2.5rem;
    color: var(--brand-accent);
    margin-bottom: 1rem;
}

.dashboard-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--brand-primary-dark);
}

.dashboard-card p {
    font-size: 1rem;
    line-height: 1.5;
    color: #555;
}