/* ===== PELAYANAN HERO SECTION ===== */
.pelayanan-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    margin-bottom: 2rem;
}

.pelayanan-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.pelayanan-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== LAYANAN CARDS ===== */
.layanan-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.layanan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.layanan-icon {
    text-align: center;
    margin-bottom: 1.5rem;
}

.layanan-icon .material-icons {
    font-size: 3rem;
    color: #667eea;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.layanan-content {
    text-align: center;
}

.layanan-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.layanan-description {
    color: #6c757d;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.layanan-features {
    margin-bottom: 1.5rem;
}

.feature-badge {
    display: inline-block;
    background: #e3f2fd;
    color: #1976d2;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    margin: 0.25rem;
}

/* ===== INFO SECTION ===== */
.info-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
    margin-top: 3rem;
}

.info-title {
    text-align: center;
    margin-bottom: 2rem;
    color: #2c3e50;
    font-weight: 600;
}

.info-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.info-card h4 {
    color: #667eea;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-card .material-icons {
    font-size: 1.5rem;
    color: #667eea;
}

/* ===== TRACKING SECTION ===== */
.tracking-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

.tracking-section h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

/* ===== FORM STYLING ===== */
.section-title {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
}

.form-label {
    font-weight: 500;
    color: #495057;
}

.form-control:focus,
.form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* ===== TRACKING PAGE STYLING ===== */
.search-form {
    margin-bottom: 2rem;
}

.tracking-item {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tracking-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.tracking-title {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.tracking-subtitle {
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.tracking-date {
    color: #6c757d;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.tracking-date .material-icons {
    font-size: 1rem;
}

.tracking-status .badge {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
}

.tracking-details {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.tracking-details p {
    margin-bottom: 0.5rem;
    color: #495057;
}

/* ===== TIMELINE STYLING ===== */
.tracking-timeline {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.tracking-timeline::before {
    content: '';
    position: absolute;
    left: 0.75rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e9ecef;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.timeline-item.active {
    opacity: 1;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -2rem;
    top: 0.25rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: #e9ecef;
    border: 3px solid white;
    box-shadow: 0 0 0 2px #e9ecef;
}

.timeline-item.active .timeline-marker {
    background: #667eea;
    box-shadow: 0 0 0 2px #667eea;
}

.timeline-content h5 {
    color: #2c3e50;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.timeline-content p {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.timeline-content small {
    color: #adb5bd;
    font-size: 0.8rem;
}

.tracking-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

/* ===== EMPTY STATE ===== */
.empty-state {
    padding: 3rem 1rem;
}

.empty-icon {
    font-size: 4rem;
    color: #adb5bd;
    margin-bottom: 1rem;
}

.empty-state h3 {
    color: #6c757d;
    margin-bottom: 1rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .pelayanan-title {
        font-size: 2rem;
    }
    
    .pelayanan-subtitle {
        font-size: 1rem;
    }
    
    .layanan-card {
        padding: 1.5rem;
    }
    
    .tracking-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .tracking-status {
        align-self: flex-start;
    }
    
    .tracking-actions {
        justify-content: center;
    }
    
    .info-card {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .pelayanan-hero {
        padding: 2rem 0;
    }
    
    .pelayanan-title {
        font-size: 1.75rem;
    }
    
    .layanan-card {
        padding: 1rem;
    }
    
    .layanan-icon .material-icons {
        font-size: 2.5rem;
    }
    
    .tracking-timeline {
        padding-left: 1.5rem;
    }
    
    .timeline-marker {
        left: -1.5rem;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .navbar,
    .footer,
    .tracking-actions,
    .search-form {
        display: none !important;
    }
    
    .tracking-item {
        break-inside: avoid;
        margin-bottom: 2rem;
    }
    
    .pelayanan-hero {
        background: none !important;
        color: black !important;
    }
} 