/* Mengimpor Font dari Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* Reset Dasar & Pengaturan Font Global */
body,
html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', 'General Sans', sans-serif;
    background-color: #f4f4f4;
}

/* Kontainer utama untuk halaman */
.page-container {
    max-width: 1366px;
    margin: auto;
    background: white;
    position: relative;
}

/* Bagian Header */
.header {
    background-color: #118AEC;
    color: white;
    height: 158px;
    padding: 0 125px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative; /* Untuk z-index management */
}

/* Menu Navigasi */
.nav-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 45px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 200;
}

/* Tombol Autentikasi */
.auth-buttons {
    display: flex;
    align-items: center;
    gap: 40px;
}

.auth-buttons a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.auth-buttons .btn-login {
    padding: 14px 24px;
    border: 2px solid white;
    border-radius: 12px;
    background-color: transparent;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.auth-buttons .btn-login:hover {
    background-color: white;
    color: #118AEC;
}

/* Bagian Hero Banner */
.hero-section img {
    width: 100%;
    height: 768px;
    display: block;
    object-fit: cover;
}

/* Bagian Daftar Mobil */
.car-listing {
    padding: 80px 125px;
}

.car-listing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.car-listing-header h2 {
    color: #333333;
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

.car-listing-header .view-all-link {
    color: #118AEC;
    font-size: 18px;
    font-weight: 400;
    text-decoration: none;
}

.car-cards-container {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    flex-wrap: wrap;
}

.car-card {
    background: white;
    border-radius: 12px;
    border: 1px #E6E6E6 solid;
    width: 355px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.car-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.car-card img.car-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.car-card-body {
    padding: 20px 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.car-card-body h3 {
    color: #333333;
    font-size: 20px;
    font-weight: 400;
    margin: 0 0 10px 0;
}

.car-price {
    margin-bottom: 0px;
}

.car-price .price-amount {
    color: #333333;
    font-size: 20px;
    font-weight: 600;
}

.car-price .price-period {
    color: #333333;
    font-size: 14px;
    font-weight: 400;
}

.separator {
    border: none;
    height: 1px;
    background-color: #E6E6E6;
    margin-bottom: 20px;
}

.car-specs {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1px;
    row-gap: 20px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.spec-item img {
    width: 24px;
    height: 24px;
}

.spec-item span {
    color: black;
    font-size: 14px;
    font-weight: 400;
}

/* Footer */
.footer {
    background-color: #1E1E1E;
    color: white;
    padding: 80px 125px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.footer-column {
    flex: 1;
}

.footer-column.about {
    flex-basis: 10%;
}

.footer-column h3 {
    font-size: 16px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 30px;
}

.footer-column p {
    font-size: 14px;
    font-weight: 400;
    line-height: 25px;
    margin: 0;
    color: #dbdbdb;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 20px;
}

.footer-column a {
    color: #dbdbdb;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #118AEC;
}

.footer-column .contact-item strong {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 14px;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    color: #dbdbdb;
    font-size: 24px;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    color: #118AEC;
    transform: scale(1.1);
}

a.card-link {
    text-decoration: none;
    color: inherit;
}

/* Detail Mobil */
.detail-container {
    padding: 30px 125px 80px 125px;
}

.breadcrumb {
    font-size: 14px;
    color: #A3A3A3;
    margin-bottom: 30px;
}

.breadcrumb a {
    color: #A3A3A3;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: #333;
}

.detail-content {
    display: flex;
    gap: 50px;
}

.car-gallery {
    flex: 1;
}

.car-gallery .main-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 20px;
    object-fit: cover;
}

.thumbnail-images {
    display: flex;
    gap: 20px;
}

.thumbnail-images img {
    width: calc(33.333% - 14px);
    height: auto;
    border-radius: 12px;
    cursor: pointer;
    object-fit: cover;
}

.car-info-card {
    width: 250px;
    flex-shrink: 0;
    background: white;
    border-radius: 12px;
    border: 2px #E6E6E6 solid;
    padding: 30px 40px;
    align-self: flex-start;
    position: sticky;
    top: 30px;
}

.car-info-card h1 {
    font-size: 25px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 0px;
}

.car-info-card .price-label {
    font-size: 20px;
    margin-bottom: 0px;
}

.price-details {
    margin-bottom: 0px;
}

.price-details .price-amount-detail {
    font-size: 28px;
    font-weight: 600;
}

.price-details .price-period-detail {
    font-size: 18px;
    color: #A3A3A3;
    margin-left: 5px;
}

.car-info-card .spec-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.spec-list {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-bottom: 40px;
}

.spec-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 14px;
}

.spec-list li img {
    width: 24px;
    height: 24px;
}

.btn-rental {
    display: block;
    width: 100%; /* Diubah dari width: 259px */
    background: #118AEC;
    color: white;
    text-align: center;
    padding: 18px 0;
    border-radius: 12px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-rental:hover {
    background-color: #0d73c7;
}

/* Detail kiri kolom */
.detail-left-column {
    flex: 1;
}

.car-details-lower {
    margin-top: 50px;
}

.description-section,
.features-section {
    margin-bottom: 40px;
}

.description-section h2,
.features-section h2 {
    font-size: 20px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 20px;
}

.description-section p {
    font-size: 14px;
    line-height: 25px;
    color: black;
}

.features-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.features-table th {
    text-align: left;
    color: black;
    font-weight: 400;
    padding-bottom: 10px;
}

.features-table td {
    padding: 15px 0;
    color: #818181;
    border-bottom: 1px solid #E6E6E6;
}

.features-table tr:last-child td {
    border-bottom: none;
}

/* Form Register */
.register-container {
    padding: 80px 250px;
}

.register-header {
    margin-bottom: 40px;
}

.register-header h1 {
    font-size: 24px;
    font-weight: 600;
    color: #333333;
    margin: 0 0 10px 0;
}

.register-header p {
    font-size: 18px;
    color: #A3A3A3;
    margin: 0;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 30px;
    margin-bottom: 40px;
}

.form-group-large {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}

.form-group-large label {
    font-size: 18px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 12px;
}

.form-group-large input[type="text"],
.form-group-large input[type="tel"],
.form-group-large input[type="email"],
.form-group-large input[type="password"] {
    width: 100%;
    height: 55px;
    padding: 0 20px;
    border-radius: 8px;
    border: 1px #A3A3A3 solid;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

.file-upload-wrapper {
    position: relative;
    width: 100%;
    height: 55px;
}

.file-input {
    display: none;
}

.file-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    border: 1px #A3A3A3 solid;
    cursor: pointer;
    font-size: 16px;
    color: #A3A3A3;
    font-weight: 400;
}

.btn-register-submit {
    width: 100%;
    height: 55px;
    background: #118AEC;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-register-submit:hover {
    background-color: #0d73c7;
}

.login-prompt {
    text-align: center;
    margin-top: 20px;
    font-size: 16px;
    color: #A3A3A3;
}

.login-prompt a {
    color: #118AEC;
    font-weight: 600;
    text-decoration: none;
}

/* Modal Pop-up */
.modal-overlay {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    border-radius: 12px;
    width: 100%;
    max-width: 350px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    animation: fadeIn 0.3s ease;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    padding: 30px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.close-button {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-button:hover,
.close-button:focus {
    color: black;
}

.modal-header {
    padding: auto;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
    text-align: center;
}

.modal-body {
    padding: 20px;
    overflow-y: auto;
}

.sewa-details-list .detail-item label {
    font-size: 13px;
}
.sewa-details-list .detail-item span {
    font-size: 14px;
}

.modal-header h1 {
    font-size: 24px;
    font-weight: 600;
    color: #333333;
    margin: 20px 0 10px 0;
}

.modal-header p {
    font-size: 14px;
    color: #A3A3A3;
    margin: 0;
}

.modal-content .form-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    margin-top: 20px;
}

.modal-content .form-group input {
    height: 50px;
    width: 308px;
    border-radius: 8px;
    border: 1px #A3A3A3 solid;
    padding: 0 15px;
    font-size: 15px;
}

.btn-login-submit {
    width: 100%;
    height: 50px;
    margin-top: 20px;
    margin-bottom: 20px;
    background: #118AEC;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-login-submit:hover {
    background-color: #0d73c7;
}

.form-prompt {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
}

.form-prompt a {
    color: #118AEC;
    font-weight: 600;
    text-decoration: none;
}

/* Styling untuk Alert & Modal khusus */
.text-center {
    text-align: center;
}

.modal-icon {
    font-size: 50px;
    color: #f8bb86;
    margin-bottom: 20px;
}

.modal-content h2 {
    margin-bottom: 15px;
    font-size: 24px;
}

.modal-content p {
    margin: 0 auto 30px auto;
    max-width: 100%;
    color: #545454;
    line-height: 1.6;
}

.modal-content .btn-rental {
    margin: 0 auto;
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 8px;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.modal-icon.success {
    color: #28a745;
}

.btn-primary {
    background-color: #118AEC;
    border: none;
    color: white;
    border-radius: 8px;
    width: 150px;
    height: 50px;
}

/* Halaman Cari Mobil */
.search-page-container,
.search-results-container {
    padding: 40px 125px;
}

.search-header {
    margin-top: 30px;
    margin-bottom: 30px;
}

.search-header h1 {
    font-size: 24px;
    color: #333333;
    margin: 0 0 10px 0;
}

.search-header p {
    font-size: 18px;
    color: #A3A3A3;
    margin: 0;
}

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

.main-search-bar {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.main-search-bar input {
    flex-grow: 1;
    height: 56px;
    padding: 0 20px;
    border: 2px solid #E6E6E6;
    border-radius: 12px;
    font-size: 14px;
}

.main-search-bar button {
    height: 56px;
    padding: 0 40px;
    border: none;
    background-color: #118AEC;
    color: white;
    font-weight: 600;
    font-size: 14px;
    border-radius: 12px;
    cursor: pointer;
    flex-shrink: 0;
}

.filter-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.filter-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-row select {
    flex: 1;
    min-width: 200px;
    height: 56px;
    padding: 0 15px;
    border-radius: 12px;
    border: 2px solid #E6E6E6;
    background-color: white;
    font-size: 14px;
    color: #A3A3A3;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.checkbox-row {
    background: white;
    padding: 10px 15px;
    border-radius: 12px;
    border: 2px solid #E6E6E6;
    display: flex;
    gap: 12px;
    flex-wrap: nowrap;
    overflow-x: auto;
    align-items: center;
}

.checkbox-row .checkbox-item {
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.checkbox-row .checkbox-item input {
    width: 14px;
    height: 14px;
    cursor: pointer;
}

.checkbox-row .checkbox-item label {
    font-size: 15px;
    color: #333;
    cursor: pointer;
    margin: 0;
    font-weight: 400;
}

/* Hasil Pencarian Kosong */
.no-results-container {
    width: 100%;
    text-align: center;
    padding: 40px 20px;
}

.suggestion-box {
    margin-top: 40px;
    padding: 30px;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 12px;
    text-align: left;
}

.suggestion-box h3 {
    margin-top: 0;
}

.suggestion-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.suggestion-item a {
    display: block;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 10px;
    text-decoration: none;
    color: #333;
    background-color: #fff;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.suggestion-item a:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.suggestion-item a strong {
    display: block;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.suggestion-item a span {
    font-size: 14px;
    color: #777;
}

/* Halaman Pemesanan */
.booking-page-container {
    padding: 40px 125px;
}

.booking-layout {
    display: flex;
    gap: 40px;
    margin-top: 30px;
    align-items: flex-start;
}

.booking-form-section {
    flex: 2;
}

.form-header {
    margin-bottom: 30px;
}

.form-header h2 {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.form-group input,
.form-group select,
.form-group textarea {
    height: 56px;
    padding: 0 15px;
    border-radius: 12px;
    border: 2px solid #E6E6E6;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
}

.form-group textarea {
    height: auto;
    padding-top: 15px;
    resize: vertical;
    min-height: 20px;
}

.form-group small {
    font-size: 12px;
    color: #A3A3A3;
    margin-top: 8px;
}

.btn-outline {
    width: 100%;
    height: 60px;
    background: white;
    border: 2px solid #118AEC;
    color: #118AEC;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    box-sizing: border-box;
}

.rental-summary-section {
    margin-top: 50px;
}

.rental-summary-section h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.rental-summary-section input[readonly] {
    background: #f5f5f5;
    color: #555;
    font-weight: 500;
}

.cost-summary-section {
    flex: 1;
    position: sticky;
    top: 30px;
}

.cost-summary-card {
    background: white;
    border-radius: 12px;
    border: 2px solid #E6E6E6;
    padding: 20px;
}

.cost-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    margin: 15px 0;
}

.cost-item span {
    color: #A3A3A3;
}

.cost-item strong {
    font-size: 14px;
    color: #333333;
}

.cost-item.total strong {
    font-size: 16px;
}

.cost-summary-card hr {
    border: none;
    height: 1px;
    background-color: #D9D9D9;
    margin: 10px 0;
}

.btn-submit-rental {
    display: block;
    width: 100%;
    height: 56px;
    margin-top: 15px;
    background: #FF5353;
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    line-height: 56px;
    transition: background-color 0.3s ease;
}

.btn-submit-rental:hover {
    background-color: #e64a4a;
}

.cost-summary-card .terms {
    font-size: 12px;
    text-align: center;
    color: #A3A3A3;
    line-height: 20px;
    margin-top: 15px;
}

.booking-form-section .form-group input,
.booking-form-section .form-group select {
    width: 100%;
    height: 56px;
    padding: 0 15px;
    border: 2px solid #E6E6E6;
    border-radius: 12px;
    box-sizing: border-box;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    background-color: white;
}

.booking-form-section .form-group select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

/* Halaman Pembayaran */
.payment-page-container {
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.payment-card {
    width: 100%;
    max-width: 400px;
}

.payment-header {
    text-align: center;
    margin-bottom: 30px;
}
.payment-header h2 {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 10px 0;
}
.countdown-timer {
    font-size: 28px;
    font-weight: 600;
    color: #FF5353;
    margin-bottom: 15px;
}
.payment-deadline {
    font-size: 12px;
    color: #A3A3A3;
    line-height: 20px;
}
.payment-deadline strong {
    color: #888;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.detail-row:last-child {
    border-bottom: none;
}
.detail-row label {
    display: block;
    font-size: 12px;
    color: #333;
    margin-bottom: 5px;
}
.detail-row strong {
    font-size: 14px;
    font-weight: 600;
    display: block;
}
.detail-row span {
    font-size: 12px;
    color: #A3A3A3;
}
.btn-copy {
    background: none;
    border: none;
    color: #118AEC;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
}

.payment-details-box {
    background: white;
    border-radius: 12px;
    border: 2px solid #D9D9D9;
    padding: 25px;
    margin-bottom: 30px;
}

.payment-details-box .detail-row:first-child {
    padding-top: 0;
}
.payment-details-box .detail-row:last-of-type {
    padding-bottom: 20px;
    border-bottom: 1px solid #D9D9D9;
}

.payment-divider {
    border: none;
    height: 1px;
    background-color: #D9D9D9;
    margin: 15px 0;
}

.payment-info {
    font-size: 10px;
    line-height: 20px;
}
.payment-info h4 {
    margin: 0 0 10px 0;
    font-size: 11px;
}
.payment-info ul {
    padding-left: 18px;
    margin: 0;
    color: #555;
}

.payment-actions {
    display: flex;
    gap: 10px;
    width: 100%;
    margin-top: 30px;
    align-items: center;
}

.payment-actions .btn {
    flex: 1;
    height: 30px;
    font-size: 12px;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 10px 10px;
    border-radius: 12px;
    font-weight: 400;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    font-family: 'Poppins', sans-serif;
}

.btn-primary {
    background-color: #118AEC;
    border-color: #118AEC;
    color: white;
    width: 220px;
    height: 47px;
}
.btn-primary:hover {
    background-color: #0d73c7;
    border-color: #0d73c7;
}

.btn-outline {
    background-color: white;
    border-color: #118AEC;
    color: #118AEC;
}
.btn-outline:hover {
    background-color: #118AEC;
    color: white;
}

.payment-instructions {
    width: 100%;
    max-width: 400px;
    font-size: 10px;
    line-height: 25px;
}
.payment-instructions h3 { font-size: 14px; }
.payment-instructions h4 { font-size: 12px; margin: 15px 0 5px 0; }
.payment-instructions ol { padding-left: 20px; }

.rental-summary-section input:disabled {
    background-color: #f5f5f5;
    color: #555;
    font-weight: 500;
    cursor: not-allowed;
    border-color: #eee;
}

/* Upload File Kustom */
#upload-proof-modal .modal-content {
    max-width: 500px;
}

#bukti_pembayaran {
    display: none;
}

.file-upload-dropzone {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 200px;
    border: 2px dashed #A3A3A3;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    position: relative;
    overflow: hidden;
}
.file-upload-dropzone:hover {
    background-color: #f9f9f9;
}

#upload-prompt {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.upload-icon {
    margin-top: 50px;
    width: 90px; 
    height: 90px;
    opacity: 0.5;
}

.upload-text {
    display: block;
    color: #A3A3A3;
}

.image-preview {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.form-actions-vertical {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.btn-link {
    background: none;
    border: none;
    color: #A3A3A3;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
}

/* Halaman Terima Kasih */
.payment-thankyou-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    max-width: 300px;
    margin: 0 auto;
    border: 1px solid #eee;
}

.payment-thankyou-card h2 {
    font-size: 24px;
    margin-top: 15px;
    margin-bottom: 10px;
}

.payment-thankyou-card p {
    color: #555;
    margin-bottom: 30px;
}

.thankyou-info {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
}
.thankyou-info strong {
    display: block;
    font-size: 14px;
    color: #888;
}
.thankyou-info span {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
}

/* User Dropdown */
.user-dropdown {
    position: relative;
}

.user-dropdown .dropdown-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.user-dropdown .dropdown-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.user-dropdown .arrow-down {
    font-size: 20px;
}

.user-dropdown .dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 10px;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    border-radius: 8px;
    padding: 8px 0;
    z-index: 100;
}

.user-dropdown .dropdown-menu.show {
    display: block;
}

.user-dropdown .dropdown-item {
    display: block;
    width: 80%;
    padding: 10px 20px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
}

.user-dropdown .dropdown-item:hover {
    background-color: #f5f5f5;
}

.dropdown-divider {
    height: 1px;
    margin: 8px 0;
    overflow: hidden;
    background-color: #e9ecef;
    border: 0;
}

.profile-document-image {
    max-width: 200px;
    max-height: 300px;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin-bottom: 10px;
}

.no-image {
    font-size: 14px;
    color: #888;
}

.mt-2 {
    margin-top: 1rem;
}

.btn-secondary {
    background-color: #e9ecef;
    color: #495057;
    border-color: #e9ecef;
}

/* Halaman Riwayat Sewa */
.page-container .page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}
.page-container .page-title {
    font-size: 28px;
    font-weight: 600;
    margin: 0;
}
.page-container .data-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
}
.page-container .data-card-body {
    overflow-x: auto;
}
.page-container .data-table {
    width: 100%;
    border-collapse: collapse;
}
.page-container .data-table th, 
.page-container .data-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}
.page-container .data-table th {
    font-weight: 600;
    font-size: 14px;
    color: #555;
}
.page-container .action-cell {
    width: 120px;
}
.page-container .btn-icon {
    margin-top: 0;
    padding: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f5f5f5;
    color: #555;
    transition: all 0.2s ease;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}
.page-container .btn-icon:hover {
    background-color: #e0e0e0;
}
.page-container .btn-icon i {
    font-size: 15px;
    line-height: 1;
}

.btn.btn-primary.btn-icon {
    background-color: #118AEC;
    color: white;
}

/* Halaman Profil */
.profile-page-container {
    padding: 40px 320px;
    max-width: 1116px;
    margin: auto;
}

.profile-header {
    margin-bottom: 40px;
}
.profile-header h1 {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}
.profile-header p {
    font-size: 18px;
    color: #A3A3A3;
    margin-top: 5px;
}

.profile-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 30px;
    margin-bottom: 50px;
}

.profile-form-grid .form-group {
    display: flex;
    flex-direction: column;
}

.profile-form-grid .form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    height: 35px;
}

.profile-form-grid .form-group input,
.profile-form-grid .form-group select {
    height: 56px;
    padding: 0 15px;
    border: 2px solid #E6E6E6;
    border-radius: 12px;
}

.document-preview {
    width: 99%;
    height: 300px;
    border: 2px solid #E6E6E6;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.document-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-form-actions {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    width: auto;
    margin-top: 50px;
}

.profile-form-actions .btn {
    flex: 1;
    height: 56px;
    font-size: 14px;
    box-sizing: border-box;
}

/* Halaman Ubah Password */
.password-container {
    padding: 80px 125px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.password-container .form-wrapper {
    width: 100%;
    max-width: 500px;
}

.password-container .register-header {
    width: 100%;
    max-width: 500px;
    text-align: left;
    margin-bottom: 30px;
}

/* Halaman Tentang Kami */
.about-us-banner {
    width: 100%;
    height: 350px;
}
.about-us-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-us-container {
    padding: 40px 125px;
}

.about-section {
    margin-bottom: 50px;
}

.about-section h2 {
    font-size: 24px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 20px;
}

.about-section p,
.about-section li {
    font-size: 18px;
    color: #A3A3A3;
    line-height: 35px;

}

.about-section ul {
    list-style-position: inside;
    padding-left: 0;
}

/* Filter Checkbox */
.filter-group {
    flex: 1;
}

.filter-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
}

.checkbox-filter-group {
    display: flex;
    gap: 15px;
    background: white;
    padding: 10px;
    border-radius: 12px;
    border: 2px solid #E6E6E6;
    height: 33px;
}

.checkbox-filter-group .checkbox-item {
    display: flex;
    align-items: center;
}
.checkbox-filter-group .checkbox-item input {
    margin-right: 8px;
}
.checkbox-filter-group .checkbox-item label {
    margin-bottom: 0;
    font-weight: 400;
}

.availability-message {
    padding: 15px;
    margin-top: 20px;
    border-radius: 8px;
    font-weight: 500;
    display: none;
}
.availability-message.checking {
    display: block;
    background-color: #e2e3e5;
    color: #383d41;
}
.availability-message.available {
    display: block;
    background-color: #d4edda;
    color: #155724;
}
.availability-message.unavailable {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
}

/* Halaman Kontak */
.contact-form-section {
    max-width: 600px;
    margin-bottom: 50px;
}

.contact-bottom-layout {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.contact-info-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}
.contact-item i {
    font-size: 20px;
    color: #118AEC;
    margin-top: 5px;
}
.contact-item strong {
    display: block;
    font-size: 16px;
    margin-bottom: 5px;
}
.contact-item span {
    color: #555;
}

.map-section {
    flex: 2;
    border-radius: 12px;
    overflow: hidden;
    height: 300px;
}

/* Halaman Statis */
.static-page-header {
    margin-top: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.static-page-header h1 {
    font-size: 28px;
    font-weight: 600;
}

.static-page-content h2 {
    font-size: 20px;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
}

.static-page-content p, .static-page-content li {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

.sewa-details-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sewa-details-list .detail-item {
    display: block;
    justify-content: space-between;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.sewa-details-list .detail-item:last-child {
    border-bottom: none;
}

.sewa-details-list .detail-item label {
    font-size: 14px;
    color: #888;
    margin-bottom: 8px;
}

.sewa-details-list .detail-item span {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    text-align: right;
}

/*
========================================
  RESPONSIVE MEDIA QUERIES
========================================
*/

/* Tablet Landscape (1024px and below) */
@media (max-width: 1024px) {

    .car-info-card {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        position: relative;
        top: 0;
    }

    .header {
        padding: 0 60px;
        height: 120px;
    }
    
    .nav-menu ul {
        gap: 25px;
    }
    
    .nav-menu a,
    .auth-buttons a {
        font-size: 13px;
    }
    
    .car-listing,
    .detail-container,
    .search-page-container,
    .search-results-container,
    .booking-page-container,
    .about-us-container {
        padding: 40px 60px;
    }
    
    .footer {
        padding: 60px 60px;
    }
    
    .car-cards-container {
        justify-content: center;
        gap: 20px;
    }
    
    .car-card {
        width: calc(50% - 10px);
        max-width: 355px;
    }
    
    .detail-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .car-info-card {
        width: 100%;
        position: relative;
        top: 0;
    }
    
    .thumbnail-images {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .thumbnail-images img {
        width: calc(50% - 7.5px);
    }
    
    .booking-layout {
        flex-direction: column;
        gap: 30px;
    }
    
    .cost-summary-section {
        position: relative;
        top: 0;
    }
    
    .register-container {
        padding: 60px 120px;
    }
    
    .profile-page-container {
        padding: 40px 120px;
    }
    
    .password-container {
        padding: 60px 60px;
    }
}

/* Tablet Portrait (768px and below) */
@media (max-width: 768px) {

        .btn-outline {
        width: 100%;
        max-width: 100%;
        height: 48px;
        font-size: 15px;
        padding: 12px 18px;
        border-radius: 10px;
    }

     .btn-primary {
        width: 100%;
        max-width: 100%;
        height: 48px;
        font-size: 15px;
        padding: 12px 18px;
        border-radius: 10px;
    }
    
    .car-info-card {
        width: 100%;
        max-width: 100%;
        padding: 20px;
        margin: 0;
        box-sizing: border-box;
    }

    .header {
        padding: 0 30px;
        height: 100px;
        flex-direction: column;
        gap: 20px;
        justify-content: center;
    }
    
    .nav-menu ul {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .auth-buttons {
        gap: 20px;
    }
    
    .hero-section img {
        height: 400px;
    }
    
    .car-listing,
    .detail-container,
    .search-page-container,
    .search-results-container,
    .booking-page-container,
    .about-us-container {
        padding: 30px 30px;
    }
    
    .footer {
        padding: 40px 30px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .car-listing-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .car-cards-container {
        flex-direction: column;
        align-items: center;
    }
    
    .car-card {
        width: 100%;
        max-width: 400px;
    }
    
    .filter-bar {
        flex-direction: column;
        gap: 15px;
    }
    
    .filter-bar select {
        width: 100%;
    }
    
    .main-search-bar {
        flex-direction: column;
        gap: 15px;
    }
    
    .main-search-bar button {
        padding: 0 20px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .register-container {
        padding: 40px 40px;
    }
    
    .profile-page-container {
        padding: 30px 40px;
    }
    
    .profile-form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .profile-form-actions {
        flex-direction: column;
    }
    
    .password-container {
        padding: 40px 30px;
    }
    
    .contact-bottom-layout {
        flex-direction: column;
        gap: 30px;
    }
    
    .modal-content {
        max-width: 90%;
        margin: 0 20px;
    }
    
    .modal-content .form-group input {
        width: 100%;
        box-sizing: border-box;
    }
    
    .payment-card {
        max-width: 90%;
    }
    
    .payment-instructions {
        max-width: 90%;
    }
    
    .checkbox-filter-group {
        flex-direction: column;
        height: auto;
        padding: 15px;
        gap: 10px;
    }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {

    .btn-outline {
        width: 100%;
        height: 44px;
        font-size: 14px;
        padding: 10px 15px;
        border-radius: 8px;
        min-height: px;
    }

    .btn-primary {
        width: 100%;
        height: 44px;
        font-size: 14px;
        padding: 10px 15px;
        border-radius: 8px;
        min-height: 44px; /* Minimum touch target */
    }

    .header {
        padding: 0 20px;
        height: auto;
        min-height: 80px;
    }
    
    .nav-menu ul {
        gap: 15px;
        font-size: 12px;
    }
    
    .auth-buttons {
        gap: 15px;
    }
    
    .auth-buttons .btn-login {
        padding: 10px 16px;
        font-size: 12px;
    }
    
    .hero-section img {
        height: 250px;
    }
    
    .car-listing,
    .detail-container,
    .search-page-container,
    .search-results-container,
    .booking-page-container,
    .about-us-container {
        padding: 20px 20px;
    }
    
    .footer {
        padding: 30px 20px;
    }
    
    .car-listing-header h2 {
        font-size: 20px;
    }
    
    .car-listing-header .view-all-link {
        font-size: 16px;
    }
    
    .car-card {
        width: 100%;
    }
    
    .car-card-body {
        padding: 15px 20px;
    }
    
    .car-specs {
        grid-template-columns: 1fr 1fr;
        row-gap: 15px;
    }
    
    .spec-item span {
        font-size: 12px;
    }
    
    .car-info-card {
        padding: 20px 25px;
    }
    
    .car-info-card h1 {
        font-size: 22px;
    }
    
    .car-info-card .price-label {
        font-size: 18px;
    }
    
    .price-details .price-amount-detail {
        font-size: 24px;
    }
    
    .btn-rental {
        width: 100%;
        font-size: 16px;
        padding: 15px 0;
    }
    
    .register-container {
        padding: 30px 20px;
    }
    
    .register-header h1 {
        font-size: 20px;
    }
    
    .register-header p {
        font-size: 16px;
    }
    
    .form-group-large label {
        font-size: 16px;
    }
    
    .form-group-large input {
        height: 50px;
        font-size: 14px;
    }
    
    .file-label {
        font-size: 14px;
    }
    
    .btn-register-submit {
        height: 50px;
        font-size: 16px;
    }
    
    .profile-page-container {
        padding: 20px 20px;
    }
    
    .profile-header h1 {
        font-size: 20px;
    }
    
    .profile-header p {
        font-size: 16px;
    }
    
    .password-container {
        padding: 30px 20px;
    }
    
    .modal-content {
        max-width: 95%;
        margin: 0 10px;
    }
    
    .modal-header h1 {
        font-size: 20px;
        text-align: center;
    }
    
    .modal-body {
        padding: 15px;
    }
    
    .payment-card {
        max-width: 95%;
    }
    
    .payment-header h2 {
        font-size: 20px;
    }
    
    .countdown-timer {
        font-size: 24px;
    }
    
    .payment-details-box {
        padding: 20px;
    }
    
    .btn-copy {
        font-size: 11px;
    }
    
    .page-container .data-card-body {
        overflow-x: scroll;
    }
    
    .page-container .data-table {
        min-width: 600px;
    }
    
    .page-container .data-table th,
    .page-container .data-table td {
        padding: 10px 15px;
        font-size: 13px;
    }
    
    .about-section h2 {
        font-size: 20px;
    }
    
    .about-section p,
    .about-section li {
        font-size: 16px;
        line-height: 28px;
    }
    
    .about-us-banner {
        height: 250px;
    }
    
    .static-page-header h1 {
        font-size: 24px;
    }
    
    .static-page-content h2 {
        font-size: 18px;
    }
    
    .static-page-content p,
    .static-page-content li {
        font-size: 14px;
    }
}

/* Extra Small Mobile (360px and below) */
@media (max-width: 360px) {

    .btn-outline {
        width: 100%;
        height: 42px;
        font-size: 13px;
        padding: 8px 12px;
    }

     .btn-primary {
        width: 100%;
        height: 42px;
        font-size: 13px;
        padding: 8px 12px;
    }

    .header {
        padding: 0 15px;
    }
    
    .nav-menu ul {
        gap: 10px;
    }
    
    .nav-menu a,
    .auth-buttons a {
        font-size: 11px;
    }
    
    .car-listing,
    .detail-container,
    .search-page-container,
    .search-results-container,
    .booking-page-container,
    .about-us-container {
        padding: 15px 15px;
    }
    
    .footer {
        padding: 25px 15px;
    }
    
    .car-card-body {
        padding: 12px 15px;
    }
    
    .car-card-body h3 {
        font-size: 18px;
    }
    
    .car-price .price-amount {
        font-size: 18px;
    }
    
    .car-specs {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .register-container,
    .profile-page-container,
    .password-container {
        padding: 20px 15px;
    }
    
    .modal-content {
        margin: 0 5px;
    }
    
    .payment-card,
    .payment-instructions {
        max-width: 98%;
    }
}

/*
========================================
  HAMBURGER MENU STYLES - LENGKAP
========================================
*/

/* Reset header untuk mobile compatibility */
.header {
    background-color: #118AEC;
    color: white;
    height: 158px;
    padding: 0 125px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 999;
}

/* Brand Logo */
.brand-logo {
    font-size: 20px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
    z-index: 1002;
}

.brand-logo a {
    color: white;
    text-decoration: none;
}

/* Hamburger Button - Tersembunyi di desktop */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
    flex-shrink: 0;
    position: relative;
}

.hamburger-line {
    width: 24px;
    height: 3px;
    background-color: white;
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
    transform-origin: center;
}

/* Animasi hamburger menjadi X */
.hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
    display: flex;
    opacity: 1;
}

.mobile-nav-content {
    width: 300px;
    height: 100vh;
    background-color: white;
    margin-left: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    position: relative;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

.mobile-nav-overlay.active .mobile-nav-content {
    transform: translateX(0);
}

/* Close Button */
.mobile-nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    z-index: 1001;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.mobile-nav-close:hover {
    background-color: #f0f0f0;
}

/* Mobile Navigation List */
.mobile-nav {
    padding: 70px 0 0 0; /* Hilangkan padding bottom */
    background-color: white; /* Pastikan background putih */
    min-height: calc(100vh - 70px); /* Pastikan tinggi penuh */
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: white; /* Background putih untuk list */
}

.mobile-nav-list li {
    border-bottom: 1px solid #f0f0f0;
    background-color: white; /* Background putih untuk setiap item */
}

.mobile-nav-item {
    display: block;
    padding: 18px 25px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    background-color: white; /* Background putih untuk link */
}

.mobile-nav-item:hover {
    background-color: #f8f9fa;
    color: #118AEC;
    padding-left: 35px;
}

.mobile-nav-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: #118AEC;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.mobile-nav-item:hover::before {
    transform: scaleY(1);
}

/* Mobile Auth Section */
.mobile-auth-section {
    margin-top: 0; /* Hilangkan margin top */
    padding: 20px 25px 40px 25px; /* Tambah padding bottom */
    background-color: rgb(255, 255, 255); /* Ubah dari #fafafa ke white */
    min-height: 200px; /* Pastikan tinggi minimum */
}

.mobile-nav-item {
    display: block;
    padding: 18px 25px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-nav-item:hover {
    background-color: #f8f9fa;
    color: #118AEC;
    padding-left: 35px;
}

.mobile-nav-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: #118AEC;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.mobile-nav-item:hover::before {
    transform: scaleY(1);
}

/* Mobile Auth Section */
.mobile-auth-section {
    margin-top: 30px;
    padding: 20px 25px;
    background-color: #ffffff;
}

/* Mobile User Info */
.mobile-user-info {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mobile-user-avatar {
    margin-right: 15px;
}

.mobile-user-avatar i {
    font-size: 36px;
    color: #118AEC;
}

.mobile-user-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

/* Mobile User Menu */
.mobile-user-menu {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mobile-auth-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    border: none;
    background: white;
    cursor: pointer;
    width: 100%;
    text-align: left;
    border-radius: 8px;
    margin-bottom: 5px;
}

.mobile-auth-item:hover {
    background-color: #f0f8ff;
    color: #118AEC;
}

.mobile-auth-item i {
    margin-right: 12px;
    width: 18px;
    font-size: 16px;
}

.mobile-logout-form {
    margin: 0;
}

.logout-btn {
    color: #dc3545 !important;
}

.logout-btn:hover {
    background-color: #fdf2f2 !important;
    color: #c82333 !important;
}

/* Mobile Guest Buttons */
.mobile-guest-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
}

.mobile-btn i {
    margin-right: 10px;
    font-size: 18px;
}

.mobile-btn-register {
    background-color: #f8f9fa;
    color: #118AEC;
    border: 2px solid #118AEC;
}

.mobile-btn-register:hover {
    background-color: #118AEC;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(17, 138, 236, 0.3);
}

.mobile-btn-login {
    background-color: #118AEC;
    color: white;
}

.mobile-btn-login:hover {
    background-color: #0d73c7;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(17, 138, 236, 0.4);
}

/*
========================================
  RESPONSIVE BREAKPOINTS UNTUK HAMBURGER
========================================
*/

/* Desktop - Sembunyikan hamburger, tampilkan nav normal */
@media (min-width: 769px) {
    .hamburger-menu {
        display: none !important;
    }
    
    .mobile-nav-overlay {
        display: none !important;
    }
    
    .desktop-nav,
    .desktop-auth {
        display: flex;
    }
    
    .header {
        height: 158px;
        padding: 0 125px;
    }
}

/* Tablet dan Mobile - Tampilkan hamburger, sembunyikan nav desktop */
@media (max-width: 768px) {
    
    .desktop-nav,
    .desktop-auth {
        display: none !important;
    }
    
    .hamburger-menu {
        display: flex !important;
    }
    
    .header {
        justify-content: flex-start !important;
        align-items: center !important;
        padding: 0 20px !important;
        height: 80px !important;
        position: relative !important;
        flex-direction: row !important;
    }
    
    .brand-logo {
        position: absolute !important;
        left: 20px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        flex: none !important;
        text-align: left !important;
        margin: 0 !important;
        padding: 0 !important;
        z-index: 1002 !important;
    }
    
    .hamburger-menu {
        position: absolute !important;
        right: 20px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        flex: none !important;
        margin: 0 !important;
        z-index: 1002 !important;
    }
    
    .mobile-nav-content {
        width: 320px;
    }
}

/* Mobile sedang */
@media (max-width: 480px) {
    .header {
        padding: 0 15px !important;
        height: 70px !important;
    }
    
    .brand-logo {
        font-size: 18px;
        left: 15px !important;
    }
    
    .hamburger-menu {
        width: 35px;
        height: 35px;
        right: 15px !important;
    }
    
    .hamburger-line {
        width: 20px;
        height: 2px;
    }
    
    .mobile-nav-content {
        width: 280px;
    }
    
    .mobile-nav-item {
        padding: 16px 20px;
        font-size: 15px;
    }
    
    .mobile-auth-section {
        padding: 15px 20px;
    }
    
    .mobile-user-name {
        font-size: 16px;
    }
    
    .mobile-btn {
        padding: 12px 15px;
        font-size: 15px;
        height: 52px;
        line-height: 1;
    }
}

/* Extra mobile kecil */
@media (max-width: 360px) {
    .header {
        padding: 0 10px !important;
        height: 65px !important;
    }
    
    .brand-logo {
        font-size: 16px;
        left: 10px !important;
    }
    
    .hamburger-menu {
        width: 32px;
        height: 32px;
        right: 10px !important;
    }
    
    .hamburger-line {
        width: 18px;
        height: 2px;
        margin: 2px 0;
    }
    
    .mobile-nav-content {
        width: 260px;
    }
}

/* Pastikan tidak ada overflow pada mobile */
@media (max-width: 768px) {
    body.mobile-nav-open {
        overflow: hidden;
    }
    
    .page-container {
        overflow-x: hidden;
    }
}

/*
========================================
  Halaman Statis (Syarat & Ketentuan, dll) - RESPONSIF
========================================
*/

/* Base styles untuk desktop */
.static-page-container {
    padding: 40px 125px;
}

.static-page-header {
    margin-top: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    text-align: left;
}

.static-page-header h1 {
    font-size: 28px;
    font-weight: 600;
    text-align: left;
    margin: 0;
}

.static-page-content {
    text-align: left;
}

.static-page-content h2 {
    font-size: 20px;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    text-align: left;
}

.static-page-content p, 
.static-page-content li {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    text-align: justify;
    margin-bottom: 15px;
}

.static-page-content ul {
    list-style-position: inside;
    text-align: left;
    padding-left: 0;
}

.static-page-content ol {
    text-align: left;
    padding-left: 20px;
}

/*
========================================
  RESPONSIVE BREAKPOINTS
========================================
*/

/* Tablet Landscape (1024px and below) */
@media (max-width: 1024px) {
    .static-page-container {
        padding: 30px 80px;
    }
    
    .static-page-header h1 {
        font-size: 26px;
    }
    
    .static-page-content h2 {
        font-size: 19px;
    }
    
    .static-page-content p,
    .static-page-content li {
        font-size: 15px;
    }
}

/* Tablet Portrait (768px and below) */
@media (max-width: 768px) {
    .static-page-container {
        padding: 25px 40px;
    }
    
    .static-page-header {
        margin-top: 20px;
        margin-bottom: 25px;
        padding-bottom: 15px;
    }
    
    .static-page-header h1 {
        font-size: 24px;
        text-align: left;
    }
    
    .static-page-content h2 {
        font-size: 18px;
        margin-top: 25px;
        text-align: left;
    }
    
    .static-page-content p,
    .static-page-content li {
        font-size: 14px;
        line-height: 1.7;
        text-align: left; /* Ubah dari justify ke left untuk mobile */
    }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
    .static-page-container {
        padding: 20px 15px;
    }
    
    .static-page-header {
        margin-top: 15px;
        margin-bottom: 20px;
        padding-bottom: 12px;
    }
    
    .static-page-header h1 {
        font-size: 22px;
        text-align: left;
    }
    
    .static-page-content h2 {
        font-size: 17px;
        margin-top: 20px;
        margin-bottom: 12px;
        text-align: left;
    }
    
    .static-page-content p,
    .static-page-content li {
        font-size: 14px;
        line-height: 1.6;
        text-align: left;
        margin-bottom: 12px;
    }
    
    .static-page-content ul {
        padding-left: 15px;
    }
    
    .static-page-content ol {
        padding-left: 18px;
    }
}

/* Extra Small Mobile (360px and below) */
@media (max-width: 360px) {
    .static-page-container {
        padding: 15px 10px;
    }
    
    .static-page-header {
        margin-top: 10px;
        margin-bottom: 15px;
        padding-bottom: 10px;
    }
    
    .static-page-header h1 {
        font-size: 20px;
        text-align: left;
    }
    
    .static-page-content h2 {
        font-size: 16px;
        margin-top: 18px;
        margin-bottom: 10px;
        text-align: left;
    }
    
    .static-page-content p,
    .static-page-content li {
        font-size: 13px;
        line-height: 1.5;
        text-align: left;
        margin-bottom: 10px;
    }
    
    .static-page-content ul {
        padding-left: 12px;
    }
    
    .static-page-content ol {
        padding-left: 15px;
    }
}

/* Breadcrumb responsif (jika digunakan dalam static page) */
@media (max-width: 768px) {
    .breadcrumb {
        font-size: 13px;
        margin-bottom: 20px;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .breadcrumb {
        font-size: 12px;
        margin-bottom: 15px;
        padding: 0 5px;
    }
}

/* Accessibility improvements untuk mobile */
@media (max-width: 768px) {
    .static-page-content h2 {
        line-height: 1.3; /* Better line height for headings on mobile */
    }
    
    .static-page-content p {
        word-wrap: break-word; /* Prevent text overflow */
        hyphens: auto; /* Enable hyphenation for better text flow */
    }
}


/*
========================================
  Responsivitas untuk Modal Pop-up
========================================
*/

/* Untuk layar tablet (lebar maksimal 768px) */
@media (max-width: 768px) {
    .modal-content {
        /* Pop-up akan sedikit lebih lebar di tablet */
        max-width: 80vw; 
    }

    .sewa-details-list, .user-details-grid {
        /* Ubah layout detail menjadi 1 kolom */
        grid-template-columns: 1fr;
    }

    .user-document-images {
        flex-direction: column; /* Susun gambar KTP/KK ke bawah */
        align-items: center;
    }
}

/* Untuk layar ponsel (lebar maksimal 480px) */
@media (max-width: 480px) {
    .modal-content {
        /* Buat pop-up memenuhi layar dengan sedikit padding */
        max-width: 95vw;
        padding: 20px;
    }

    .modal-header h1,
    .modal-header h2 {
        font-size: 18px; /* Perkecil judul di pop-up */
        text-align: center;
    }
    
    .modal-header p {
        font-size: 14px;
    }

    /* Perkecil padding pada body modal */
    .modal-body {
        padding: 15px;
    }

    /* Atur ulang layout detail di layar kecil */
    .sewa-details-list .detail-item {
        flex-direction: column; /* Susun label dan nilai ke bawah */
        align-items: flex-start;
        gap: 5px;
    }
    .sewa-details-list .detail-item span {
        text-align: left;
    }
}

/* Base styles untuk desktop */
.page-content-wrapper {
    padding: 40px 125px;
}

.data-card-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

/*
========================================
  RESPONSIVE BREAKPOINTS
========================================
*/

/* Tablet Landscape (1024px and below) */
@media (max-width: 1024px) {
    .page-content-wrapper {
        padding: 30px 80px;
    }
    
    .data-card-footer {
        padding: 18px;
        gap: 12px;
    }
}

/* Tablet Portrait (768px and below) */
@media (max-width: 768px) {
    .page-content-wrapper {
        padding: 25px 40px;
    }
    
    .data-card-footer {
        padding: 15px;
        flex-direction: column;
        justify-content: center;
        align-items: stretch;
        gap: 15px;
        text-align: center;
    }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
    .page-content-wrapper {
        padding: 20px 20px;
    }
    
    .data-card-footer {
        padding: 12px 15px;
        gap: 12px;
    }
}

/* Extra Small Mobile (360px and below) */
@media (max-width: 360px) {
    .page-content-wrapper {
        padding: 15px 15px;
    }
    
    .data-card-footer {
        padding: 10px 12px;
        gap: 10px;
    }
}

/* Jika footer berisi tombol-tombol */
.data-card-footer .btn {
    flex: 1;
    min-width: 120px;
}

@media (max-width: 768px) {
    .data-card-footer .btn {
        width: 100%;
        margin-bottom: 5px;
    }
    
    .data-card-footer .btn:last-child {
        margin-bottom: 0;
    }
}

/* Jika footer berisi pagination atau navigasi */
.data-card-footer .pagination {
    margin: 0;
}

@media (max-width: 768px) {
    .data-card-footer .pagination {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* Menyamakan ukuran tombol */
.btn-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Jika tombol di atas menggunakan class tertentu, samakan ukurannya */
.btn-small,
.btn-round {
    width: 20px;
    height: 20px;
    min-width: 40px;
    min-height: 40px;
    border-radius: 50%;
    padding: 0;
    box-sizing: border-box;
}

/* Responsive untuk mobile */
@media (max-width: 768px) {
    .btn-icon,
    .btn-small,
    .btn-round {
        width: 26px;
        height: 26px;
        min-width: 36px;
        min-height: 36px;
    }
}

@media (max-width: 480px) {
    .btn-icon,
    .btn-small,
    .btn-round {
        width: 26px;
        height: 26px;
        min-width: 32px;
        min-height: 32px;
    }
}

/* Floating WhatsApp Button */
.whatsapp-fab {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366; /* WhatsApp green */
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: transform 0.3s ease, background-color 0.3s ease;
    text-decoration: none; /* Remove underline */
}

.whatsapp-fab:hover {
    background-color: #128c7e; /* Darker green on hover */
    transform: scale(1.05);
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .whatsapp-fab {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 15px;
        right: 15px;
    }
}