:root {
    --layanan-primary: #19c37d;
    --layanan-primary-light: #30c27c;
    --layanan-primary-dark: #0f8ee0;
    --layanan-bg: #020b16;
    --layanan-card-bg: rgba(7, 19, 33, 0.78);
    --text-dark: #e6f4ff;
    --text-muted: rgba(230, 244, 255, 0.7);
    --border-light: rgba(255, 255, 255, 0.1);
    --shadow-card: 0 30px 70px rgba(25, 195, 125, 0.2);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    background: var(--layanan-bg) !important;
    color: var(--text-dark);
    padding-top: 0;
}

body.has-global-sidebars {
    background: var(--layanan-bg) !important;
}

.dp-main {
    background: var(--layanan-bg) !important;
}

.dp-body {
    background: var(--layanan-bg) !important;
}

/* Hero Section - New Layout */
.layanan-hero {
    background: radial-gradient(circle at top right, rgba(25, 195, 125, 0.25), transparent),
        linear-gradient(135deg, rgba(10, 22, 40, 0.95), rgba(26, 47, 74, 0.95));
    color: var(--text-dark);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.layanan-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/icon-hero.jpeg') center/cover;
    opacity: 0.05;
    mix-blend-mode: screen;
    pointer-events: none;
}

.layanan-hero::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(25, 195, 125, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.layanan-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    align-items: center;
    max-width: 900px;
    margin: 0 auto 40px;
}

.layanan-hero__icon {
    width: 120px;
    height: 120px;
    background: rgba(25, 195, 125, 0.2);
    border: 1px solid rgba(25, 195, 125, 0.3);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--layanan-primary);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(25, 195, 125, 0.2);
}

.layanan-hero__content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.layanan-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 50px;
    background: rgba(25, 195, 125, 0.2);
    border: 1px solid rgba(25, 195, 125, 0.3);
    backdrop-filter: blur(10px);
    color: var(--layanan-primary);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    width: fit-content;
}

.layanan-hero h1 {
    margin: 0;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-dark);
}

.layanan-hero p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 600px;
}

.layanan-hero__features {
    display: flex;
    gap: 24px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.feature-item i {
    color: var(--layanan-primary);
}

.feature-item i {
    font-size: 1.1rem;
}

/* Hero Stats */
.layanan-hero__stats {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Stat Cards Grid */
.stat-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    background: rgba(0, 0, 0, 0.4);
    border-color: var(--layanan-primary);
    box-shadow: 0 8px 24px rgba(25, 195, 125, 0.2);
}

.stat-card__icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.stat-card--primary .stat-card__icon {
    background: linear-gradient(135deg, var(--layanan-primary), var(--layanan-primary-light));
}

.stat-card--info .stat-card__icon {
    background: linear-gradient(135deg, var(--layanan-primary-dark), #3b82f6);
}

.stat-card--warning .stat-card__icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.stat-card--success .stat-card__icon {
    background: linear-gradient(135deg, #19c37d, #059669);
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Main Content - New Layout */
.layanan-main {
    padding: 40px 0 60px;
    position: relative;
    z-index: 1;
    background: var(--layanan-bg) !important;
}

.layanan-wrapper {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    align-items: start;
}

/* Services Section */
.layanan-services-section {
    background: var(--layanan-card-bg);
    border: 1px solid var(--border-light);
    border-radius: 0;
    padding: 40px;
    box-shadow: var(--shadow-card);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--border-light);
}

.section-header__icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--layanan-primary), var(--layanan-primary-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    box-shadow: 0 8px 24px rgba(20, 137, 87, 0.3);
}

.section-header__text h2 {
    margin: 0 0 8px;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
}

.section-header__text p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.section-header__icon {
    background: linear-gradient(135deg, var(--layanan-primary), var(--layanan-primary-light)) !important;
}

/* Filters */
.filters {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.filter-chip {
    padding: 8px 16px;
    border-radius: 50px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-light);
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-chip:hover {
    background: rgba(25, 195, 125, 0.2);
    border-color: var(--layanan-primary);
    color: var(--layanan-primary);
}

.filter-chip.active {
    background: linear-gradient(135deg, var(--layanan-primary), var(--layanan-primary-light));
    color: white;
    border-color: var(--layanan-primary);
    box-shadow: 0 4px 12px rgba(25, 195, 125, 0.3);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.service-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--layanan-primary);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 8px 24px rgba(25, 195, 125, 0.2);
}

.service-card__icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--layanan-primary), var(--layanan-primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.service-card__content h3 {
    margin: 0 0 8px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.service-card__content p {
    margin: 0 0 12px;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.service-card__action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--layanan-primary), var(--layanan-primary-light));
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-top: auto;
    width: fit-content;
}

.service-card__action:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(25, 195, 125, 0.3);
    gap: 12px;
}

.service-card__action i {
    transition: transform 0.3s ease;
}

.service-card__action:hover i {
    transform: translateX(4px);
}

.service-card__icon {
    background: linear-gradient(135deg, var(--layanan-primary), var(--layanan-primary-light)) !important;
}

.service-card__category {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    background: rgba(25, 195, 125, 0.2);
    border: 1px solid rgba(25, 195, 125, 0.3);
    color: var(--layanan-primary);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Requests Sidebar */
.layanan-requests-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-card {
    background: var(--layanan-card-bg);
    border: 1px solid var(--border-light);
    border-radius: 0;
    padding: 24px;
    box-shadow: var(--shadow-card);
}

.sidebar-card__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border-light);
}

.sidebar-card__header i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--layanan-primary), var(--layanan-primary-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
}

.sidebar-card__header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.sidebar-card__header i {
    background: linear-gradient(135deg, var(--layanan-primary), var(--layanan-primary-light)) !important;
}

.request-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.request-item {
    padding: 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--layanan-primary);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.request-item:hover {
    background: rgba(25, 195, 125, 0.1);
    border-color: var(--layanan-primary);
    transform: translateX(4px);
}

.request-item__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.request-item__header strong {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 600;
}

.request-item__service {
    margin: 0 0 4px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.request-item__date {
    margin: 0;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.status-badge {
    border: 1px solid transparent;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-menunggu {
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #f59e0b;
}

.status-diproses {
    background: rgba(15, 142, 224, 0.2);
    border: 1px solid rgba(15, 142, 224, 0.3);
    color: #0f8ee0;
}

.status-selesai {
    background: rgba(25, 195, 125, 0.2);
    border: 1px solid rgba(25, 195, 125, 0.3);
    color: #19c37d;
}

.status-ditolak {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

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

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

.empty-state p {
    margin: 0;
    font-size: 1rem;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 1200px) {
    .layanan-wrapper {
        grid-template-columns: 1fr 320px;
        gap: 24px;
    }
    
    .layanan-hero__stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 960px) {
    .layanan-hero {
        padding: 40px 0;
    }
    
    .layanan-hero__grid {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }
    
    .layanan-hero__icon {
        margin: 0 auto;
    }
    
    .layanan-hero__features {
        justify-content: center;
    }
    
    .layanan-hero__stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .layanan-wrapper {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .layanan-services-section {
        padding: 32px 24px;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .layanan-hero {
        padding: 32px 0;
    }
    
    .layanan-hero__icon {
        width: 80px;
        height: 80px;
        font-size: 32px;
    }
    
    .layanan-hero h1 {
        font-size: 1.5rem;
    }
    
    .layanan-hero p {
        font-size: 0.9rem;
    }
    
    .layanan-hero__stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .stat-card {
        padding: 20px;
    }
    
    .layanan-main {
        padding: 24px 0 40px;
    }
    
    .layanan-services-section {
        padding: 24px 20px;
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .section-header__icon {
        margin: 0 auto;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

