#dashboard-container {
    background: linear-gradient(to bottom right, #0f0f1c, #1a1a2e);
    min-height: 100vh;
    color: #fff;
    padding: 2rem 5%;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #FFD700;
    padding-bottom: 1rem;
    margin-bottom: 3rem;
}

.sovereign-identity {
    display: flex;
    align-items: center;
    gap: 1.6rem;
}

.sovereign-emblem {
    height: 5rem;
    width: 5rem;
}

.rank {
    color: #FFD700;
    font-size: 1.4rem;
    font-style: italic;
}

/* EMPIRE OVERVIEW */
.empire-overview .card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.division-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #FFD700;
    border-radius: 1rem;
    padding: 2rem;
    text-align: left;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.2);
    transition: transform 0.3s;
}

.division-card:hover {
    transform: scale(1.03);
}

.status {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.3rem 1rem;
    border-radius: 5px;
    font-size: 1.3rem;
    text-transform: uppercase;
}

.status.active { background: #1f8b4c; }
.status.stable { background: #2b6cb0; }
.status.development { background: #b7791f; }
.status.formation { background: #9b2c2c; }

/* ANALYTICS SECTION */
.analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.analytics-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #424141;
    border-radius: 1rem;
    padding: 2rem;
    text-align: left;
}

canvas {
    width: 100%;
    height: 220px;
}

/* DECREE LOG */
.decree-log {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #424141;
    border-radius: 1rem;
    padding: 2rem;
    list-style: none;
    margin-top: 1rem;
    line-height: 2rem;
}

/* SECURITY WARNING */
.security-warning {
    margin-top: 4rem;
    background: rgba(255, 0, 0, 0.1);
    border-left: 3px solid #FF0000;
    padding: 1.5rem;
    font-size: 1.4rem;
    text-align: center;
}

/* FOOTER */
.dashboard-footer {
    margin-top: 5rem;
    text-align: center;
    font-size: 1.2rem;
    color: #aaa;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .dashboard-header {
        flex-direction: column;
        text-align: center;
    }

    .analytics-grid, .card-grid {
        grid-template-columns: 1fr;
    }
}
