* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1f2937;
}

.min-h-screen {
    min-height: 100vh;
}

.bg-gradient {
    background: linear-gradient(135deg, #27391C 0%, #27391C 100%);
    padding: 1.5rem;
}

.max-w-7xl {
    max-width: 80rem;
    margin: 0 auto;
}

/* Header Styles */
.header-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    padding: 2rem;
    margin-bottom: 2rem;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main-title {
    font-size: 2.25rem;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.subtitle {
    color: #6b7280;
    font-size: 1.125rem;
}

.header-icon {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.icon-container {
    background: #dbeafe;
    padding: 0.75rem;
    border-radius: 50%;
}

.icon-container i {
    width: 2rem;
    height: 2rem;
    color: #626F47;
}

/* Summary Cards */
.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.summary-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    border-left: 4px solid;
}

.border-blue { border-left-color: #626F47; }
.border-green { border-left-color: #A4B465; }
.border-yellow { border-left-color: #F5ECD5; }
.border-red { border-left-color: #F0BB78; }

.card-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-label {
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 500;
}

.card-value {
    font-size: 1.875rem;
    font-weight: bold;
    color: #1f2937;
}

.card-icon {
    width: 2.5rem;
    height: 2.5rem;
}

.text-blue { color: #3b82f6; }
.text-green { color: #10b981; }
.text-yellow { color: #f59e0b; }
.text-red { color: #ef4444; }

/* Charts */
.charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.chart-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

.chart-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 1rem;
}

.chart-container {
    position: relative;
    height: 300px;
}

/* Table */
.table-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.table-container {
    overflow-x: auto;
}

.text-center {
    text-align: center;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table thead {
    background: #f9fafb;
}

.data-table th {
    padding: 0.75rem 1.5rem;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 500;
    color: #696666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.data-table td {
    padding: 1rem 1.5rem;
    font-size: 0.875rem;
    color: #696666;
    border-top: 1px solid #e5e7eb;
    text-align: center; 
}

.data-table td:first-child {
    text-align: left;
}

.data-table tbody tr:hover {
    background: #f9fafb;
}

.status-cell {
    text-align: center;
}

.status-badge {
    display: inline-flex;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 9999px;
    justify-content: center;
    align-items: center;
}

.status-baik {
    background: #626F47;
    color: #fff;
}

.status-sedang {
    background: #A4B465;
    color: #fff;
}

.status-buruk {
    background: #F0BB78;
    color: #fff;
}

.status-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.status-icon.good { color: #89AC46; }
.status-icon.bad { color: #A31D1D; }

/* Recommendations */
.recommendations-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.recommendation-card {
    border-radius: 0.5rem;
    padding: 1rem;
    border: 1px solid;
}

.priority-high {
    background: #F2C078;
    border-color: #F0BB78;
}

.priority-medium {
    background: #C1DBB3;
    border-color: #A4B465;
}

.priority-low {
    background: #99BC85;
    border-color: #626F47;
}

.recommendation-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.priority-high .recommendation-title { color: #000000; }
.priority-medium .recommendation-title { color: #000000; }
.priority-low .recommendation-title { color: #000000; }

.recommendation-list {
    list-style: none;
    font-size: 0.875rem;
}

.priority-high .recommendation-list { color: #000000; }
.priority-medium .recommendation-list { color: #000000; }
.priority-low .recommendation-list { color: #000000; }

.recommendation-list li {
    margin-bottom: 0.25rem;
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 2rem;
    color: #ffffff;
}

.footer-date {
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: #b5b8ba;
}

.icon-container i {
    color: #626F47;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Responsive */
@media (max-width: 768px) {
    .bg-gradient {
        padding: 1rem;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .main-title {
        font-size: 1.875rem;
    }
    
    .charts-grid {
        grid-template-columns: 1fr;
    }
    
    .chart-container {
        height: 250px;
    }
    
    .data-table {
        font-size: 0.75rem;
    }
    
    .data-table th,
    .data-table td {
        padding: 0.5rem;
    }
}