html,
body {
    margin: 0;
    padding: 0;
    max-width: 100%;
    overflow-x: hidden;
}

/* cek status */
.step-box {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0.2rem;
    border-radius: 20px;
    font-size: 0.875rem;
}

.step-active {
    background-color: #0d6efd;
    color: #fff;
}

.step-done {
    background-color: #198754;
    color: #fff;
}

.step-upcoming {
    background-color: #dee2e6;
    color: #495057;
}

/* Navbar */
.navbar {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 0.5rem 1rem;
    background-color: #5bc0de !important;
}

.navbar-nav {
    display: flex;
    flex-wrap: wrap;
    margin-left: auto;
}

.nav-link {
    white-space: nowrap;
    color: #fff !important;
}

.nav-link:hover {
    color: #e0f7fa !important;
}

/* Footer */
footer {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    background-color: #007bff;
    color: white;
    padding: 10px 10px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-section h3 {
    margin-bottom: 15px;
}

.footer-section p {
    margin: 0;
}

.footer-section i {
    font-size: 20px;
}

/* WhatsApp float button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    text-decoration: none;
    color: white;
}

/* Media queries common */
@media (max-width: 768px) {
    .navbar-nav {
        width: 100%;
        justify-content: center;
    }

    .footer-container {
        flex-direction: column;
        gap: 20px;
        padding: 0 15px;
    }
}

@media (max-width: 576px) {
    .navbar-brand span {
        font-size: 18px;
    }

    .footer-section h3 {
        font-size: 16px;
    }

    .footer-section p {
        font-size: 14px;
    }

    .footer-section i {
        font-size: 18px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 15px;
        right: 15px;
    }
}

/* Perbaiki warna teks tab di dashboard admin */
.nav-tabs .nav-link {
    color: #333 !important;
    /* Bikin teks lebih gelap */
    opacity: 1 !important;
    /* Hilangkan transparan */
}

.nav-tabs .nav-link.active {
    font-weight: bold;
    color: #0d6efd !important;
    /* Biru khas Bootstrap aktif */
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-bottom-color: transparent;
}

.nav-tabs .nav-link.active {
    border-bottom: 3px solid #0d6efd;
}

/*tampilan status*/
/* Status Page Specific Styles */
.status-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.status-card .card-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.progress-track {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 2rem 0 3rem;
}

.progress-track::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 4px;
    background: #e9ecef;
    z-index: 1;
}

.track-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.track-step .step-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    color: #6c757d;
    font-size: 1.25rem;
    border: 4px solid white;
}

.track-step .step-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #6c757d;
    text-align: center;
}

.track-step.done .step-icon {
    background: #198754;
    color: white;
}

.track-step.active .step-icon {
    background: #0d6efd;
    color: white;
    transform: scale(1.1);
}

.track-step.done::after,
.track-step.active::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    width: 100%;
    height: 4px;
    background: #198754;
    z-index: -1;
}

.detail-box {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid #0d6efd;
}

.detail-box h5 {
    color: #0d6efd;
    margin-bottom: 1rem;
}

.process-bar {
    height: 10px;
    border-radius: 5px;
}

.process-bar .progress-bar {
    border-radius: 5px;
}

.payment-status .badge {
    font-size: 0.85em;
    padding: 0.35em 0.65em;
}

@media (max-width: 768px) {
    .progress-track {
        margin: 1.5rem 0;
    }

    .track-step .step-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .detail-box {
        padding: 1rem;
    }
}

/* Smooth transitions for all hover effects */
.layanan-item,
.layanan-item h5,
.layanan-item::after {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}