:root {
    /* Palet Granodiorit Lebak - sama dengan profil */
    --layanan-primary: #6B7280;   /* Granodiorit Grey */
    --layanan-secondary: #3B5E4A; /* Moss Green Geosite */
    --layanan-accent: #D97706;    /* Andesine Bronze */
    --layanan-bg: #F2F4F5;       /* Quartz White */
    --text-dark: #1F2937;    /* Biotite Black */
    --text-muted: #6B7280;   /* Granodiorit Grey */
}

.section-card {
    background: var(--layanan-bg);
    border-radius: 0;
    padding: 32px;
    border: 1px solid rgba(107, 114, 128, 0.15);
    box-shadow: 0 4px 12px rgba(31, 41, 55, 0.08);
    margin-bottom: 28px;
}

.section-card h2 {
    margin-top: 0;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--layanan-secondary);
}

.section-card h2 i {
    color: var(--layanan-primary);
}

.service-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.metric-card {
    background: #ffffff;
    border-radius: 0;
    padding: 24px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(31, 41, 55, 0.06);
    border: 1px solid rgba(107, 114, 128, 0.15);
    border-left: 4px solid var(--layanan-secondary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(31, 41, 55, 0.15);
}

.metric-card i {
    font-size: 36px;
    color: var(--layanan-secondary);
    margin-bottom: 15px;
}

.metric-card h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.metric-card p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.9rem;
}

.pengajuan-status-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.status-card {
    color: white;
    padding: 24px;
    border-radius: 0;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.status-card:hover {
    transform: translateY(-4px);
}

.status-card i {
    font-size: 32px;
    margin-bottom: 10px;
    display: block;
}

.status-card h3 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
}

.status-card p {
    margin: 5px 0 0 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

.service-search {
    margin-top: 20px;
}

.search-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(107, 114, 128, 0.2);
    border-radius: 0;
    font-size: 1rem;
    font-family: inherit;
    margin-bottom: 20px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--layanan-secondary);
    box-shadow: 0 0 0 3px rgba(59, 94, 74, 0.1);
}

.category-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.category-chip {
    padding: 10px 20px;
    background: rgba(59, 94, 74, 0.05);
    border: 1px solid rgba(107, 114, 128, 0.2);
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.category-chip:hover,
.category-chip.active {
    background: var(--layanan-secondary);
    color: white;
    border-color: var(--layanan-secondary);
}

.category-section {
    margin-bottom: 0;
}

.category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--layanan-secondary);
}

.category-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--layanan-secondary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-header h2 i {
    color: var(--layanan-primary);
}

.category-header span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.service-card {
    background: #ffffff;
    border-radius: 0;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(31, 41, 55, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(107, 114, 128, 0.15);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(31, 41, 55, 0.15);
    border-color: var(--layanan-secondary);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--layanan-secondary);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 24px;
    color: white;
}

.service-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.4;
    min-height: 56px;
    display: flex;
    align-items: center;
}

.service-desc {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 0.95rem;
    min-height: 54px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-ajukan {
    background: var(--layanan-secondary);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 0;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    width: 100%;
    justify-content: center;
    text-align: center;
}

.btn-ajukan:hover {
    background: #2d4a3a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 94, 74, 0.3);
    color: white;
}

.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
    color: var(--text-muted);
}

.empty-state h3 {
    color: var(--text-dark);
    margin-bottom: 10px;
}

/* Table Styles */
.pengajuan-table {
    overflow-x: auto;
    margin-top: 20px;
}

.pengajuan-table table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.pengajuan-table thead tr {
    background: var(--layanan-secondary);
    color: white;
}

.pengajuan-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.pengajuan-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(107, 114, 128, 0.15);
}

.pengajuan-table tbody tr {
    transition: background 0.2s ease;
}

.pengajuan-table tbody tr:hover {
    background: rgba(59, 94, 74, 0.05);
}

.btn-detail {
    background: var(--layanan-secondary);
    color: white;
    border: none;
    padding: 6px 15px;
    border-radius: 0;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-detail:hover {
    background: #2d4a3a;
}

/* Badge Styles */
.badge {
    padding: 6px 12px;
    border-radius: 0;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

.badge-menunggu {
    background: #ffc107;
    color: white;
}

.badge-diproses {
    background: #17a2b8;
    color: white;
}

.badge-selesai {
    background: #28a745;
    color: white;
}

.badge-ditolak {
    background: #dc3545;
    color: white;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-card[data-animate] {
    animation: fadeInUp 0.6s ease forwards;
}

.info-text {
    margin-top: 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

.info-text i {
    margin-right: 5px;
}

.category-header span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-metrics {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pengajuan-status-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-card {
        padding: 20px;
    }
    
    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

