/* Dashboard Header */
.dashboard-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo-section img {
    max-width: 150px;
    height: auto;
}

.welcome-section h1 {
    color: #fff;
    font-size: 28px;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.welcome-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    margin: 0;
}

/* Alert Section */
.alert-section {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.alert-section h2 {
    color: #856404;
    font-size: 22px;
    margin: 0 0 15px 0;
}

.alert-section ul {
    margin: 0;
    padding-left: 25px;
}

.alert-section li {
    color: #856404;
    font-size: 16px;
    margin-bottom: 10px;
}

/* Brand Message Section */
.brand-message-section {
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.brand-message-section img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.brand-message-section h2 {
    color: #333;
    font-size: 24px;
    margin: 0;
}

/* Dashboard Container */
.dashboard-container {
    margin-top: 30px;
}

.dashboard-title {
    color: #333;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #667eea;
}

/* Stats Cards */
.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.stat-card-active {
    border-left: 5px solid #4caf50;
}

.stat-card-pending {
    border-left: 5px solid #ff9800;
}

.stat-card-formalized {
    border-left: 5px solid #2196f3;
}

.stat-icon {
    font-size: 48px;
    opacity: 0.8;
}

.stat-content h3 {
    color: #666;
    font-size: 14px;
    font-weight: 500;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-number {
    color: #333;
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 5px 0;
}

.stat-amount {
    color: #666;
    font-size: 16px;
    margin: 0;
    font-weight: 500;
}

/* Charts Container */
.charts-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.chart-box {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.chart-box h3 {
    color: #333;
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.chart-box canvas {
    max-height: 300px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .stats-cards {
        grid-template-columns: 1fr;
    }

    .charts-container {
        grid-template-columns: 1fr;
    }

    .dashboard-title {
        font-size: 24px;
    }

    .welcome-section h1 {
        font-size: 24px;
    }
}
