/* Notification Popup */
.aduan-notification {
    visibility: hidden; /* Use visibility instead of display for animation */
    position: absolute;
    top: 80px; /* Default top position */
    background: linear-gradient(135deg, #ff9800, #f5c505); /* Gradient background */
    padding: 12px 20px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    color: #fff;
    font-size: 16px;
    font-family: "Inter", sans-serif;
    font-weight: 500;
    z-index: 1000;
    width: 320px;
    text-align: center;
    opacity: 0;
    transform: translateX(-50%) scale(0.9);
    transition: opacity 0.4s ease, transform 0.4s ease, top 0.4s ease;
}

/* Positioning for logged-out state (relative to .cta-btn) */
.aduan-notification {
    left: 67%; /* Default for logged-out state */
}

/* Positioning for logged-in state (relative to .profile-dropdown) */
.aduan-notification.logged-in {
    left: 55%; /* Position for logged-in state */
    right: 20px; /* Align to the right edge of the profile icon */
    transform: translateX(0); /* Remove centering transform */
}

/* State when active */
.aduan-notification.active {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) scale(1); /* For logged-out */
    top: 90px; /* Slight drop for animation */
    animation: slideIn 0.4s ease forwards; /* Apply animation */
}

.aduan-notification.logged-in.active {
    transform: translateX(0) scale(1); /* For logged-in */
}

/* Animation for popup appearance */
@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px) scale(0.9); /* Start above */
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1); /* End at normal position */
    }
}

.aduan-notification.logged-in.active {
    animation: slideInRight 0.4s ease forwards; /* Different animation for logged-in */
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(20px) translateY(-20px) scale(0.9); /* Start from right */
    }
    100% {
        opacity: 1;
        transform: translateX(0) translateY(0) scale(1); /* End at normal position */
    }
}

/* Hover effect */
.aduan-notification:hover {
    transform: translateX(-50%) scale(1.02); /* For logged-out */
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.aduan-notification.logged-in:hover {
    transform: translateX(0) scale(1.02); /* For logged-in */
}

/* Bubble arrow */
.aduan-notification::before {
    content: "";
    position: absolute;
    top: -12px;
    left: 50%; /* Center arrow for logged-out */
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 12px solid #ff9800;
}

.aduan-notification.logged-in::before {
    left: auto;
    right: 30px; /* Align arrow with profile icon */
    transform: translateX(0);
}

/* Close button */
.close-btn {
    background: none;
    border: none;
    font-size: 18px;
    color: #fff;
    cursor: pointer;
    padding: 0 5px;
    line-height: 1;
    transition: color 0.3s ease, transform 0.3s ease;
}

.close-btn:hover {
    color: #ffebee;
    transform: scale(1.2);
}

@media (max-width: 1025px) {
    .aduan-notification {
        left: 77%; /* Center on smaller screens */
        width: 280px;
    }
    .header .logo img {
        display: none;
    }
}
/* Responsive adjustments */
@media (max-width: 992px) {
    .aduan-notification {
        display: none;
        left: 50%; /* Center on smaller screens */
        width: 280px;
    }

    .aduan-notification.logged-in {
        right: 15px;
    }

    .aduan-notification::before {
        left: 50%;
    }

    .aduan-notification.logged-in::before {
        right: 25px;
    }
}

@media (max-width: 576px) {
    .aduan-notification {
        display: none   ;
        width: 90%;
        max-width: 300px;
        top: 70px;
    }

    .aduan-notification.active {
        top: 80px;
    }

    .aduan-notification.logged-in {
        right: 10px;
    }

    .aduan-notification::before {
        top: -10px;
        border-bottom-width: 10px;
        border-left-width: 10px;
        border-right-width: 10px;
    }

    .aduan-notification.logged-in::before {
        right: 20px;
    }
}

#aduanModal .required-star {
    color: #dc3545;
}

.footer-custom .col-left p {
    text-align: justify; /* Membuat teks rata kiri-kanan */
}

/* General */
body {
    overflow-x: hidden;
}

/* Header */
.header {
    padding: 15px 0;
    transition: background 0.3s;
}

.header .container-fluid {
    padding: 0 15px;
}

.header .logo img {
    max-width: 60px;
    height: auto;
    margin-right: 15px;
}

.header .logo span {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

/* Navbar */
.navmenu {
    display: flex;
    align-items: center;
}

.nav-menu-list {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0;
}

.nav-menu-list li a {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-menu-list li a:hover,
.nav-menu-list li a.active {
    color: #ff9800;
}

.nav-menu-dropdown {
    display: none;
}

.nav-menu-dropdown .dropdown-toggle {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 24px;
    padding: 0;
    cursor: pointer;
}

.nav-menu-dropdown .dropdown-menu {
    background: #343a40;
    border: none;
    border-radius: 8px;
    min-width: 200px;
    padding: 10px 0;
}

.nav-menu-dropdown .dropdown-item {
    color: #fff;
    font-size: 14px;
    padding: 10px 20px;
    text-transform: uppercase;
}

.nav-menu-dropdown .dropdown-item:hover,
.nav-menu-dropdown .dropdown-item.active {
    background: #ff9800;
    color: #fff;
}

.mobile-nav-toggle {
    display: none;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
}

/* Profile Dropdown */
.profile-dropdown {
    margin-left: 20px;
}

.profile-dropdown .dropdown-toggle {
    display: flex;
    align-items: center;
    padding: 5px;
    background: transparent;
    border: none;
    transition: transform 0.3s;
}

.profile-dropdown .dropdown-toggle:hover {
    transform: scale(1.1);
}

.profile-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ff9800;
}

.profile-dropdown .dropdown-menu {
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    min-width: 220px;
    padding: 10px 0;
    background: #fff;
    border: none;
}

.profile-dropdown .dropdown-header {
    padding: 10px 20px;
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

.profile-dropdown .dropdown-item {
    padding: 12px 20px;
    font-size: 15px;
    color: #333;
    transition: background 0.3s, color 0.3s;
}

.profile-dropdown .dropdown-item:hover {
    background-color: #ff9800;
    color: #fff;
}

.profile-dropdown .dropdown-item button {
    display: none;
}

/* Hero Section */
.hero-custom {
    padding: 150px 15px;
    background: url("../img/hero-bg.jpg") no-repeat center center;
    background-size: cover;
    color: #ffffff;
    text-align: center;
    position: relative;
}

.hero-custom::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.hero-custom > * {
    position: relative;
}

.hero-custom h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.hero-custom h3 {
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 30px;
}

.search-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 8px 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 500px;
}

.ticket-icon {
    font-size: 20px;
    color: #6c757d;
    margin-right: 10px;
}

.search-input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    outline: none;
    border-radius: 50px 0 0 50px;
    font-size: 16px;
    background: transparent;
    min-width: 0;
}

.search-button {
    padding: 10px 20px;
    background-color: #ff9800;
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.search-button:hover {
    background-color: #e68900;
}

/* Progress Steps */
.progress-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    position: relative;
    gap: 65px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.step-circle {
    width: 60px;
    height: 60px;
    background-color: #ff9800;
    border: 3px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    z-index: 2;
}

.step-circle i {
    font-size: 24px;
}

.step-box {
    width: 90px;
    height: 45px;
    background-color: #fff;
    border-radius: 8px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.step-text {
    margin-top: 15px;
    font-size: 18px;
    color: #fff;
    font-weight: 500;
}

.border-destination {
    position: absolute;
    top: 30px;
    height: 3px;
    border: 2px dashed #fff;
    z-index: 1;
}

.step:nth-child(2) .border-destination {
    width: 25rem;
}

.step:last-child .border-destination {
    display: none;
}

/* Footer */
.footer-custom {
    padding: 40px 15px;
    color: #fffafa;
}

.footer-custom .container {
    max-width: 1200px;
}

.footer-custom .row {
    margin: 0 -15px;
}

.footer-custom .col-left img {
    max-width: 90px;
}

.footer-custom h4 {
    font-size: 16px;
}

.footer-custom p,
.footer-custom .contact-item {
    font-size: 15px;
}

/* Form Styling */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 8px;
    font-family: "Inter", sans-serif;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
    background: #fff;
}

.form-group select:focus,
.form-group input:focus,
.form-group textarea:focus {
    border-color: #ff9800;
    outline: none;
    box-shadow: 0 0 8px rgba(255, 152, 0, 0.4);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.floating-label {
    position: relative;
}

.floating-label label {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    font-size: 16px;
    color: #666;
    transition: all 0.3s ease;
    pointer-events: none;
    background: #fff;
    padding: 0 5px;
}

.floating-label input:focus + label,
.floating-label input:not(:placeholder-shown) + label,
.floating-label select:focus + label,
.floating-label select:not(:placeholder-shown) + label,
.floating-label textarea:focus + label,
.floating-label textarea:not(:placeholder-shown) + label {
    top: -10px;
    font-size: 12px;
    color: #ff9800;
}

/* Aduan Card */
.aduan-card {
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 10px;
    margin-bottom: 20px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.aduan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.aduan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 2px solid #ff9800;
    padding-bottom: 10px;
}

.aduan-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.status-send {
    background: #007bff;
    color: #fff;
}

.status-pending {
    background: #ffc107;
    color: #333;
}

.status-processed {
    background: #17a2b8;
    color: #fff;
}

.status-resolved {
    background: #28a745;
    color: #fff;
}

.status-rejected {
    background: #dc3545;
    color: #fff;
}

.aduan-body {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.aduan-detail-item {
    margin-bottom: 15px;
}

.aduan-detail-item label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    margin-bottom: 5px;
}

.aduan-detail-item input,
.aduan-detail-item textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    background: #f8f9fa;
    color: #333;
}

.aduan-detail-item textarea {
    min-height: 80px;
    resize: none;
}

.aduan-detail-item.aduan-catatan,
.aduan-detail-item.aduan-file {
    grid-column: span 2;
}

.aduan-detail-item .btn-download {
    background: #ff9800;
    color: #fff;
    padding: 8px 15px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.3s, transform 0.2s;
}

.aduan-detail-item .btn-download:hover {
    background: #e68900;
    transform: translateY(-2px);
}

.no-aduan {
    text-align: center;
    font-size: 16px;
    color: #666;
    padding: 20px;
}

/* Table Styling */
#riwayat-aduan-table {
    width: 100%;
    margin-top: 15px;
    font-size: 14px;
}

#riwayat-aduan-table th,
#riwayat-aduan-table td {
    vertical-align: middle;
    padding: 10px;
}

#riwayat-aduan-table th {
    background-color: #343a40;
    color: #fff;
}

#riwayat-aduan-table .btn-sm {
    padding: 5px 10px;
    font-size: 12px;
}

/* Modal Styling */
.modal-content {
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(90deg, #ff9800, #e68900);
    color: white;
    border-bottom: none;
    padding: 20px;
    border-radius: 15px 15px 0 0;
}

.modal-title {
    font-size: 24px;
    font-weight: 600;
    font-family: "Raleway", sans-serif;
}

.modal-body {
    padding: 25px;
    font-size: 16px;
}

.modal-footer {
    border-top: none;
    padding: 15px 20px;
    justify-content: center;
    gap: 15px;
    background: #f8f9fa;
    border-radius: 0 0 15px 15px;
}

/* Modal Kontak */
.modal-kontak .modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.kontak-info img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.kontak-info p {
    margin: 12px 0;
    font-size: 15px;
    color: #555;
}

.kontak-info a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s;
}

.kontak-info a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.kontak-form .form-group {
    margin-bottom: 20px;
}

.kontak-form input[type="text"],
.kontak-form input[type="email"],
.kontak-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
}

.kontak-form textarea {
    height: 120px;
    resize: vertical;
}

/* Modal Ticket */
#ticketModal .modal-content {
    color: #333;
    border-radius: 10px;
    border: 2px solid #ddd;
}

#ticketModal .modal-header {
    border-bottom: 1px solid #ddd;
}

#ticketModal .modal-title {
    font-weight: bold;
    color: #fff;
}

#ticketModal .modal-body {
    padding: 20px;
}

#ticketModal .aduan-card {
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    margin-bottom: 20px;
}

#ticketModal .aduan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

#ticketModal .no-aduan {
    text-align: center;
    font-size: 16px;
    color: #666;
    padding: 20px;
}

#ticketModal .modal-footer {
    border-top: 1px solid #ddd;
}

#ticketModal .btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    color: #fff;
}

#ticketModal .btn-secondary:hover {
    background-color: #5a6268;
    border-color: #545b62;
}

/* Buttons */
.btn-anon-yes,
.btn-anon-no,
.btn-login,
.btn-daftar,
.btn-submit,
.btn-kirim,
.btn-profile {
    background-color: #ff9800;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    border-radius: 10px;
    transition: background-color 0.3s, transform 0.2s;
    color: white;
}

.btn-anon-no {
    background-color: #6c757d;
}

.btn-kirim {
    background-color: #dc3545;
}

.btn-anon-yes:hover,
.btn-login:hover,
.btn-daftar:hover,
.btn-submit:hover,
.btn-profile:hover {
    background-color: #e68900;
    transform: translateY(-2px);
}

.btn-anon-no:hover {
    background-color: #5a6268;
    transform: translateY(-2px);
}

.btn-kirim:hover {
    background-color: #c82333;
    transform: translateY(-2px);
}

/* Modal Login, Daftar, Profil */
.modal-login .modal-body,
.modal-daftar .modal-body,
.modal-profile .modal-body {
    padding: 25px;
}

.modal-profile .nav-tabs {
    border-bottom: 2px solid #ff9800;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.modal-profile .nav-item {
    margin-right: 10px;
}

.modal-profile .nav-link {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    padding: 10px 20px;
    font-weight: 500;
    transition: background 0.3s, color 0.3s;
}

.modal-profile .nav-link.active {
    background: #ff9800;
    color: #fff;
    border-color: #ff9800;
}

.modal-profile .nav-link:hover {
    background: #e68900;
    color: #fff;
}

.modal-profile .tab-content {
    padding: 20px;
    background: #fff;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.modal-profile .form-control {
    border: 2px solid #ddd;
    border-radius: 10px;
    padding: 12px;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.modal-profile .form-control:focus {
    border-color: #ff9800;
    box-shadow: 0 0 8px rgba(255, 152, 0, 0.4);
}

.modal-profile .text-danger {
    font-size: 14px;
    color: #dc3545;
}

.modal-link {
    color: #007bff;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
}

.modal-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Aduan Timeline */
.aduan-timeline {
    position: relative;
    padding: 20px 0;
}

.aduan-item {
    position: relative;
    margin-bottom: 30px;
    padding-left: 40px;
}

.aduan-item::before {
    content: "";
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #ddd;
}

.aduan-item .aduan-circle {
    position: absolute;
    left: 8px;
    top: 10px;
    width: 18px;
    height: 18px;
    background: #ff9800;
    border-radius: 50%;
    border: 2px solid #fff;
}

.aduan-item .aduan-content {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.aduan-item .aduan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.aduan-item .aduan-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.aduan-item .aduan-details p {
    margin: 5px 0;
    font-size: 15px;
    color: #555;
}

.aduan-item .aduan-details strong {
    color: #333;
}

/* Scroll Top Button */
.scroll-top {
    bottom: 20px;
    right: 20px;
}

/* Media Queries */
@media (max-width: 992px) {
    .navmenu ul {
        display: none;
        list-style: none;
        position: absolute;
        inset: 60px 20px 20px 20px;
        padding: 10px 0;
        margin: 0;
        border-radius: 6px;
        background-color: var(--nav-mobile-background-color);
        border: 1px solid
            color-mix(in srgb, var(--default-color), transparent 90%);
        box-shadow: none;
        overflow-y: auto;
        transition: 0.3s;
        z-index: 9998;
    }

    .navmenu {
        top: 0;
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .navmenu.active {
        right: 0;
    }

    .nav-menu-list {
        flex-direction: column;
        gap: 15px;
    }

    .nav-menu-list li a {
        font-size: 16px;
        color: black;
    }

    .mobile-nav-toggle {
        display: block !important;
    }

    .profile-dropdown {
        margin-left: 10px;
    }

    .cta-btn {
        font-size: 14px;
        padding: 8px 15px;
    }
}

@media (max-width: 768px) {
    .header .logo img {
        display: none;
        max-width: 50px;
    }

    .header .logo span {
        font-size: 14px;
    }

    .nav-menu-list {
        display: none;
    }

    .nav-menu-dropdown {
        display: block;
    }

    .hero-custom {
        padding: 100px 10px;
    }

    .hero-custom h1 {
        font-size: 32px;
    }

    .hero-custom h3 {
        font-size: 18px;
    }

    .search-container {
        flex-direction: column;
        align-items: stretch;
        padding: 10px;
        max-width: 400px;
    }

    .search-input {
        border-radius: 50px;
        margin-bottom: 10px;
        padding: 12px;
    }

    .search-button {
        border-radius: 50px;
        width: 100%;
        padding: 12px;
    }

    .progress-steps {
        flex-direction: row;
        gap: 30px;
    }

    .step-circle {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .step-circle i {
        font-size: 20px;
    }

    .step-box {
        width: 70px;
        height: 35px;
        font-size: 14px;
    }

    .step-text {
        font-size: 14px;
    }

    .border-destination {
        top: 25px;
        height: 2px;
        border: 2px dashed #fff;
    }

    .step:nth-child(2) .border-destination {
        width: 15rem;
    }

    .footer-custom {
        padding: 30px 10px;
    }

    .footer-custom .row > div {
        margin-bottom: 25px;
        padding: 0 10px;
    }

    .footer-custom .col-left img {
        max-width: 80px;
    }

    .footer-custom h4 {
        font-size: 15px;
    }

    .footer-custom p,
    .footer-custom .contact-item {
        font-size: 14px;
    }

    .modal-kontak .modal-body {
        grid-template-columns: 1fr;
    }

    .aduan-body {
        grid-template-columns: 1fr;
    }

    .modal-lg,
    .modal-xl {
        max-width: 90%;
    }

    .modal-header {
        padding: 15px;
    }

    .modal-title {
        font-size: 20px;
    }

    .modal-footer {
        flex-direction: column;
        gap: 10px;
    }

    .btn-anon-yes,
    .btn-anon-no,
    .btn-submit,
    .btn-kirim,
    .btn-login,
    .btn-daftar,
    .btn-profile {
        width: 100%;
        padding: 10px;
    }

    #riwayat-aduan-table {
        display: block;
        overflow-x: auto;
        font-size: 12px;
    }

    #riwayat-aduan-table thead {
        display: none;
    }

    #riwayat-aduan-table tbody,
    #riwayat-aduan-table tr,
    #riwayat-aduan-table td {
        display: block;
        width: 100%;
    }

    #riwayat-aduan-table tr {
        margin-bottom: 15px;
        border-bottom: 1px solid #ddd;
    }

    #riwayat-aduan-table td {
        text-align: left;
        padding: 10px;
        position: relative;
    }

    #riwayat-aduan-table td:before {
        content: attr(data-label);
        font-weight: bold;
        display: inline-block;
        width: 50%;
        padding-right: 10px;
    }

    #riwayat-aduan-table td:last-child {
        border-bottom: none;
    }
}

@media (max-width: 576px) {
    .status-badge {
        font-size: 12px;
        padding: 4px 8px;
        max-width: 120px;
        word-break: break-word;
        text-align: center;
        white-space: normal;
    }

    .modal-profile .tab-content {
        overflow: auto;
        max-height: 70vh; /* Batasi tinggi untuk mencegah overflow vertikal */
    }

    .aduan-card {
        padding: 15px;
        max-width: 100%;
        overflow-x: auto;
        margin-bottom: 15px;
    }

    .aduan-header {
        flex-direction: column;
        align-items: flex-start;
        padding-bottom: 8px;
        margin-bottom: 10px;
    }

    .aduan-title {
        font-size: 16px;
        margin-bottom: 5px;
    }

    .aduan-detail-item label {
        font-size: 13px;
    }

    .aduan-detail-item input,
    .aduan-detail-item textarea {
        font-size: 14px;
        padding: 8px;
    }

    .modal-profile .nav-tabs {
        flex-direction: column;
        align-items: stretch;
        margin-bottom: 15px;
    }

    .modal-profile .nav-item {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .modal-profile .nav-link {
        font-size: 14px;
        padding: 8px 15px;
        border: 1px solid #ddd;
        border-radius: 8px;
        text-align: center;
    }

    .modal-profile .nav-link.active {
        border-color: #ff9800;
        background: #ff9800;
        color: #fff;
    }

    .header .logo img {
        display: none;
        max-width: 45px;
    }

    .header .logo span {
        font-size: 16px;
    }

    .navmenu {
        width: 3rem;
    }

    .nav-menu-list li a {
        color: black;
        font-size: 14px;
    }

    .mobile-nav-toggle {
        font-size: 20px;
    }

    .hero-custom {
        padding: 80px 10px;
    }

    .hero-custom h1 {
        font-size: 28px;
    }

    .hero-custom h3 {
        font-size: 16px;
    }

    .search-container {
        width: 95%;
        max-width: 300px;
    }

    .search-input {
        font-size: 14px;
    }

    .search-button {
        font-size: 14px;
        margin-left: 0;
    }

    .progress-steps {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .border-destination {
        display: none;
    }

    .step-circle {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .step-circle i {
        font-size: 18px;
    }

    .step-box {
        width: 60px;
        height: 30px;
        font-size: 12px;
    }

    .step-text {
        font-size: 12px;
    }

    .footer-custom {
        padding: 25px 10px;
    }

    .footer-custom .col-left img {
        max-width: 60px;
    }

    .footer-custom .container {
        padding: 0 10px;
    }

    .form-group label {
        font-size: 14px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px;
    }

    .modal-dialog {
        max-width: 90%;
        margin: 1rem auto;
    }

    .modal-profile .nav-link {
        border-bottom: #6c757d;
        font-size: 14px;
        padding: 8px 15px;
    }
}
