* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f0f2f5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
}

/* Main Wrapper - General for all pages */
.main-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
    background-color: #f0f2f5;
    position: relative;
    overflow: hidden;
}

/* Specific wrappers for pages without waves or two-column layout */
.main-wrapper.simple-page,
.main-wrapper.admin-dashboard-page {
    justify-content: flex-start;
    align-items: center;
    padding: 20px;
    overflow: auto;
}

/* Wave Background Elements (Hanya untuk halaman login/daftar) */
.wave-top-left, .wave-bottom-right {
    position: static;
    width: 100%;
    height: 200px; 
    border-radius: 0;
    z-index: -1; 
    overflow: hidden;
    display: none; 
}

.wave-top-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 50vw;
    height: 25vh;
    background-color: #e42121; /* Merah SPACE.IN */
    border-bottom-right-radius: 40% 100%;
    margin-bottom: 2rem;
    z-index: 1;
}

.wave-bottom-right {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60vw;
    height: 35vh;
    background-color: #e42121;
    border-top-left-radius: 40% 100%;
    margin-top: 2rem
}

/* Header Dashboard dan Detail Page */
.dashboard-header {
    width: 100%;
    background-color: #fff;
    padding: 15px 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 10;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-header .logo a {
    font-size: 1.8em;
    font-weight: bold;
    color: #e42121; 
    text-decoration: none;
}

.profil-nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

.profil-nav a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.3s ease;
}

.profil-nav a:hover,
.profil-nav a.active-nav {
    color: #e42121;
}

/* The main card that wraps all detail content */
.cafe-detail-card {
    background-color: #fff;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    width: 100%;
}

/* Banner section with the main image and overlay */
.cafe-detail-banner {
    position: relative;
    width: 100%;
    height: 350px; /* Fixed height for the banner */
    background-color: #333; /* Fallback color */
}

.cafe-detail-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the area without distortion */
}

/* Dark overlay on top of the banner for text readability */
.cafe-detail-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    padding: 20px;
}

.cafe-detail-banner-overlay h1 {
    font-size: 2.8em;
    font-weight: bold;
    margin: 0;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.cafe-detail-banner-overlay p {
    font-size: 1.2em;
    margin-top: 5px;
    margin-bottom: 15px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

.cafe-detail-banner-overlay .rating {
    font-size: 1.2em;
    color: #ffd700; /* Gold color for stars */
}

/* Container for the main content below the banner */
.cafe-detail-body {
    padding: 30px 40px;
}

/* Three-column grid for Facilities, About, and Address */
.cafe-detail-info-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr; /* Facilities | About (wider) | Address */
    gap: 40px; /* Space between columns */
    padding-bottom: 30px;
    border-bottom: 1px solid #eee; /* Separator line */
    margin-bottom: 30px;
}

.info-column h3 {
    font-size: 1.3em;
    color: #333;
    margin-bottom: 15px;
    border-bottom: 2px solid #e42121;
    padding-bottom: 8px;
    display: inline-block;
}

/* Styling for the facilities list */
.info-column ul {
    list-style: none;
    padding: 0;
}

.info-column ul li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: #555;
    font-size: 1em;
}

.info-column ul .fa-solid {
    color: #e42121; /* Red checkmark icon */
    margin-right: 12px;
    font-size: 1.2em;
}

/* Styling for the "About Cafe" description */
.info-column .description {
    font-size: 1em;
    line-height: 1.7;
    color: #666;
    text-align: justify;
}

/* Styling for the address and social media icons */
.info-column .address {
    font-size: 1em;
    color: #555;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
}

.info-column .address .fa-location-dot {
    margin-right: 10px;
    color: #e42121;
    margin-top: 4px;
}

.social-media-links {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.social-media-links a {
    color: #555;
    font-size: 1.6em;
    transition: color 0.3s ease, transform 0.3s ease;
}

/* Photo Gallery Section */
.cafe-detail-gallery h2 {
    font-size: 1.6em;
    color: #333;
    text-align: center;
    margin-bottom: 25px;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.carousel-button:hover {
    background: rgba(0, 0, 0, 0.8);
}

.carousel-button.prev {
    left: 15px;
}

.carousel-button.next {
    right: 15px;
}

.btn-view-map {
    display: inline-flex; /* Agar ikon dan teks sejajar */
    align-items: center;
    background-color: #e42121; /* Merah SPACE.IN */
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-top: 10px; /* Jarak dari alamat */
}

.btn-view-map:hover {
    background-color: #c01b1b; /* Warna lebih gelap saat hover */
}

.btn-view-map .fas {
    margin-right: 8px; /* Jarak antara ikon dan teks */
}

.cafe-facilities-section ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.cafe-facilities-section li {
    display: flex;
    align-items: center;
    font-size: 1em;
    color: #555;
}

.cafe-facilities-section li i {
    color: #e42121;
    margin-right: 10px;
}

.btn-back {
    display: block;
    width: fit-content;
    margin: 20px auto 0;
    padding: 12px 25px;
    background-color: #555; /* Warna abu-abu untuk tombol kembali */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    text-decoration: none; /* Penting jika tombol adalah <a> */
    transition: background-color 0.3s ease;
}

.btn-back:hover {
    background-color: #333;
}

/* Footer (Sudah ada di file Anda) */
.main-footer {
    width: 100%;
    background-color: #333;
    color: white;
    padding: 30px 20px;
    margin-top: auto; /* Mendorong footer ke bawah */
}

.main-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; /* Untuk responsif */
    gap: 20px; /* Jarak antar kolom footer */
}

.footer-left {
    flex: 1;
    min-width: 250px;
}

.footer-left h3 {
    color: #e42121;
    font-size: 1.8em;
    margin-bottom: 10px;
}

.footer-left p {
    font-size: 0.9em;
    line-height: 1.5;
    color: #ccc;
}

.footer-links {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.footer-links h4 {
    font-size: 1.2em;
    color: #e42121;
    margin-bottom: 15px;
}

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

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-links .social-icon {
    margin-right: 8px;
    font-size: 1.1em;
}

/* Media Queries (Sesuaikan jika diperlukan) */
@media (max-width: 992px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    .profil-nav ul {
        justify-content: center;
        width: 100%;
    }
    .detail-main-content {
        padding: 20px 15px;
    }
    .cafe-detail-content {
        padding: 20px;
    }
    .cafe-detail-content h1 {
        font-size: 1.8em;
    }
    .cafe-detail-description, .cafe-detail-address {
        font-size: 0.95em;
    }
    .cafe-social-media a {
        font-size: 1.5em;
    }
    .btn-view-map {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    /* Atur layout login jadi satu kolom */
    .content-wrapper {
        flex-direction: column;
        padding: 20px 15px;
        align-items: center;
        text-align: center;
        z-index: 2;
    }

@media (max-width: 768px) {
    .left-section {
        padding: 2rem 1.5rem;
        text-align: center;
    }
    .left-section h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    .left-section p {
        font-size: 1rem;
    }
    .left-section .arrow {
        display: none;
    }
    .wave-bottom-right {
        display: none; /* Menghilangkan wave bawah di mobile */
    }
}

    /* Form login menyesuaikan layar */
    .right-section {
        flex-basis: auto;
        min-width: unset;
        width: 100%;
        max-width: 400px;
        padding: 1.5rem;
        margin-top: 2rem;
        text-align: left;
    }

    /* Footer responsive */
    .main-footer .container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .footer-links {
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }
    .footer-links div {
        width: 100%;
    }
    .footer-links ul {
        margin-top: 5px;
    }

    /* Gambar cafe di layar kecil */
    .cafe-detail-image img {
        max-height: 250px;
    }
}

@media (max-width: 480px) {
    .left-section h1 {
        font-size: 1.8rem;
    }

    .left-section p {
        font-size: 0.9rem;
    }

    .right-section h2 {
        text-align: center;
        font-size: 1.4rem;
    }

    input[type="email"],
    input[type="password"] {
        padding: 0.8rem;
        font-size: 0.95rem;
    }

    .btn-daftar {
        padding: 0.8rem;
        font-size: 1rem;
    }

    .dashboard-header .logo a {
        font-size: 1.5em;
    }
    .profil-nav ul {
        gap: 10px;
    }
    .profil-nav a {
        font-size: 0.9em;
    }
    .cafe-detail-content h1 {
        font-size: 1.5em;
    }
    .cafe-detail-rating {
        font-size: 1em;
    }
    .cafe-detail-description {
        font-size: 0.9em;
    }
    .cafe-detail-facilities ul {
        grid-template-columns: 1fr;
    }
    .btn-back, .btn-view-map {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}

/* Content Wrapper (untuk menempatkan left dan right section secara rapi di tengah) */
.content-wrapper {
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 40px 0;
    z-index: 2;
    position: relative;
    align-items: center;
    flex-grow: 1;
}

/* Gaya Awal untuk Left Section (Desktop & Layar Besar) */
.left-section {
    flex: 1;
    padding-right: 4rem;
    padding-left: 2rem;
    color: #333;
}

.left-section h1 {
    font-size: 3.2rem;
    color: #e42121; /* Merah SPACE.IN */
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.left-section p {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.left-section strong {
    font-weight: 700;
}

.left-section .arrow {
    font-size: 3rem;
    color: #e42121; /* Merah SPACE.IN */
    margin-top: 3rem;
}

/* ==========================================================================
   Gaya Umum untuk Form Pendaftaran & Login
   ========================================================================== */
.right-section {
    flex-basis: 450px;
    width: 100%;
    max-width: 450px;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    z-index: 3;
    display: flex;
    flex-direction: column;
}

.right-section h2, .admin-content-card h1, .admin-content-card h2, .auth-card h1 {
    text-align: center;
    margin-bottom: 2rem;
    color: #e42121;
    font-size: 1.8rem;
    font-weight: 700;
    position: relative;
}

.right-section h2::after, .auth-card h1::after, .admin-content-card h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #e42121;
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

.admin-content-card h1::after {
    display: none;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    text-align: left;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #555555;
    font-size: 0.95em;
}

input[type="email"], input[type="password"], input[type="text"], input[type="tel"] {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #cccccc;
    border-radius: 8px;
    font-size: 1em;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

input[type="email"]:focus, input[type="password"]:focus, input[type="text"]:focus, input[type="tel"]:focus {
    border-color: #e42121;
    outline: none;
    box-shadow: 0 0 0 3px rgba(228, 33, 33, 0.2);
}

.terms-container {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

/* Gaya untuk checkbox dan label saat disabled */
.terms-container input[type="checkbox"]:disabled {
    cursor: not-allowed;
    background-color: #f0f0f0; /* Latar belakang abu-abu */
    border-color: #cccccc;
}

.terms-container input[type="checkbox"]:disabled + .terms-label {
    color: #aaaaaa; /* Warna teks label menjadi abu-abu */
    cursor: not-allowed;
}

/* Gaya untuk tombol daftar saat disabled */
.btn-daftar:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.terms-container input[type="checkbox"] {
    margin-top: 4px;
    flex-shrink: 0;
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #999999;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.terms-container input[type="checkbox"]:checked {
    background-color: #e42121;
    border-color: #e42121;
}

.terms-container input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.terms-container label.terms-label {
    display: inline;
    font-weight: 400;
    font-size: 0.9em;
    color: #666666;
    line-height: 1.5;
}

.terms-container a {
    color: #e42121;
    text-decoration: none;
    font-weight: 600;
}

.terms-container a:hover {
    text-decoration: underline;
}

.reset-password {
    display: block;
    text-align: right;
    margin-top: -0.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #e42121;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.reset-password:hover {
    color: #d11a1a;
    text-decoration: underline;
}

.btn-daftar {
    width: 100%;
    padding: 1rem;
    background-color: #e42121;
    border: none;
    color: white;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
    margin-bottom: 1.5rem;
}

.btn-daftar:hover:not(:disabled) {
    background-color: #d11a1a;
}

.btn-daftar:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
    color: #aaaaaa;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #dddddd;
}

.divider:not(:empty)::before {
    margin-right: .5em;
}

.divider:not(:empty)::after {
    margin-left: .5em;
}

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1rem;
    background-color: white;
    color: #555555;
    border: 1px solid #dddddd;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-google:hover {
    background-color: #f7f7f7;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.btn-google .fab {
    margin-right: 10px;
    font-size: 1.2em;
    color: #e42121;
}

.login-link, .daftar-link {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.95em;
    color: #666666;
}

.login-link a, .daftar-link a {
    color: #e42121;
    text-decoration: none;
    font-weight: 600;
}

.login-link a:hover, .daftar-link a:hover {
    text-decoration: underline;
}

/* --- Modal/Popup untuk Reset Password Email Input --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 450px;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-content h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #333;
    font-size: 1.5em;
}

.modal-content p.modal-message {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #666;
}

.modal-content .form-group {
    margin-bottom: 1.5rem;
}

.modal-content input[type="email"] {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
}

.modal-content button {
    width: 100%;
    padding: 0.9rem;
    background-color: #e42121; /* Merah SPACE.IN */
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.modal-content button:hover {
    background-color: #d11a1a;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2em;
    color: #aaa;
    cursor: pointer;
    line-height: 1;
}

.modal-close:hover {
    color: #777;
}

/* --- Specific Styles for 404 and Reset Pages (auth-card) --- */
.auth-card {
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 450px;
    text-align: center;
    margin: auto;
    position: relative;
}

.auth-card h1 {
    font-size: 2.2rem;
    color: #e42121; /* Merah SPACE.IN */
    margin-bottom: 1.5rem;
}

.auth-card h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #e42121; /* Merah SPACE.IN */
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

.auth-card p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1.5rem;
}

.auth-card .btn-link-style {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: #e42121; /* Merah SPACE.IN */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.auth-card .btn-link-style:hover {
    background-color: #d11a1a;
}

/* Admin and Dashboard Specific Styles */
.admin-dashboard-page {
    background-color: #f0f2f5;
    justify-content: flex-start;
    padding-top: 40px;
    min-height: 100vh;
}

.admin-content-card {
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 900px;
    margin-bottom: 2rem;
    text-align: left;
}

.admin-content-card h1 {
    margin-bottom: 1.5rem;
    color: #e42121; /* Merah SPACE.IN */
    font-size: 2.2rem;
    text-align: center;
}

.admin-content-card h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #333;
    font-size: 1.6rem;
    text-align: center;
}

.admin-content-card h2::after {
    display: block;
}

.admin-content-card p {
    text-align: center;
    margin-bottom: 1rem;
    color: #555;
}

.table-container {
    overflow-x: auto;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

#reservation-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

#reservation-table th, #reservation-table td {
    border: 1px solid #ddd;
    padding: 10px 15px;
    text-align: left;
    white-space: nowrap;
}

#reservation-table th {
    background-color: #e42121; /* Merah SPACE.IN */
    color: white;
    font-weight: bold;
}

#reservation-table tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}

#reservation-table tbody tr:hover {
    background-color: #e9e9e9;
}

#logoutAdminBtn {
    margin-top: 2rem;
    display: block;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Dashboard Page Specific Styles (Modifikasi & Tambahan) --- */
.dashboard-page .main-wrapper {
    overflow: auto;
    display: flex;
    flex-direction: column;
}

.dashboard-main-content {
    padding: 30px 0 50px;
    flex-grow: 1;
    background-color: #f0f2f5; /* Latar belakang abu-abu terang */
    color: #333; /* Warna teks gelap */
}

.dashboard-main-content .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.dashboard-greeting {
    text-align: left;
    margin-bottom: 20px;
    padding: 20px;
    background-color: #fff; /* Latar belakang putih */
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); /* Sedikit bayangan */
}

.dashboard-greeting p {
    font-size: 1.5em;
    color: #333; /* Warna teks gelap */
    margin-bottom: 5px;
}

.dashboard-greeting p:last-child {
    font-size: 1.1em;
    color: #555; /* Warna teks lebih terang */
}

/* Search and Filter Section */
.search-filter-section {
    background-color: #fff; /* Latar belakang putih */
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.search-bar {
    display: flex;
    gap: 10px;
}

.search-bar input[type="text"] {
    flex-grow: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
    color: #333;
    font-size: 1em;
    outline: none;
}

.search-bar input[type="text"]::placeholder {
    color: #999;
}

.search-bar input[type="text"]:focus {
    border-color: #e42121; /* Merah SPACE.IN */
    box-shadow: 0 0 5px rgba(228, 33, 33, 0.3);
}

.search-bar button {
    background-color: #e42121; /* Merah SPACE.IN */
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

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

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: flex-start;
}

.filter-options select { /* Hapus styling untuk .filter-button */
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
    color: #333;
    font-size: 0.95em;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23333" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>'); /* Panah dropdown custom (hitam) */
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 30px;
}

.filter-options select option {
    background-color: #fff;
    color: #333;
}

.filter-options select:focus {
    border-color: #e42121; /* Merah SPACE.IN */
    outline: none;
}

/* Styling for disabled elements */
.filter-options select[disabled] {
    cursor: not-allowed;
    background-color: #f0f0f0;
    color: #999;
    border-color: #ccc;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23999" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>'); /* Panah abu-abu untuk disabled */
}

.facility-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.facility-filters label {
    display: flex;
    align-items: center;
    color: #555; /* Warna teks gelap */
    font-size: 0.9em;
    cursor: pointer;
}

.facility-filters input[type="checkbox"] {
    margin-right: 8px;
    accent-color: #e42121; /* Merah SPACE.IN */
}

/* Cafe Sections */
.cafe-section {
    margin-bottom: 40px;
}

.cafe-section h2 {
    font-size: 1.8em;
    color: #333; /* Warna teks gelap */
    margin-bottom: 20px;
    text-align: left;
    border-bottom: 2px solid #e42121; /* Merah SPACE.IN */
    padding-bottom: 10px;
}

/* Cafe Grid */
.cafe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.cafe-card {
    background-color: #fff; /* Warna background card putih */
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08); /* Shadow lebih terang */
    overflow: hidden;
    transition: transform 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
}

.cafe-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

.cafe-card-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.cafe-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cafe-card-content {
    padding: 15px; /* Jaga padding agar konten tidak menempel ke tepi */
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Ini membuat semua konten rata kiri */
    flex-grow: 1; /* Memastikan konten mengisi ruang yang tersedia */
}

.cafe-card-content h3 {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
    line-height: 1.2;
}

.cafe-card-content p {
    font-size: 0.9em; /* Ukuran font untuk nama kota */
    color: #555;
    margin-bottom: 10px;
}

/* Pastikan nama kafe dan kotanya memiliki gaya yang tepat */
.cafe-name {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.cafe-city {
    font-size: 0.9em; /* Ukuran font yang ingin kamu samakan */
    color: #777;
    margin-bottom: 10px;
}

.cafe-rating-container {
    display: flex;
    align-items: center; /* Meratakan secara vertikal */
    gap: 5px; /* Memberi jarak antara bintang dan angka */
    margin-top: 5px; /* Memberi jarak dari elemen di atasnya */
}

/* Gaya untuk bintang */
.cafe-rating-stars {
    font-size: 0.9em; /* Samakan dengan ukuran .cafe-city */
}

/* Gaya untuk angka rating */
.cafe-rating-number {
    font-size: 0.9em; /* Samakan dengan ukuran .cafe-city */
    color: #555;
    font-weight: bold;
}

.cafe-card .btn-detail {
    display: block;
    width: 100%;
    padding: 10px 15px;
    background-color: #e42121; /* Merah SPACE.IN */
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: auto;
    transition: background-color 0.3s ease;
}

.cafe-card .btn-detail:hover {
    background-color: #d11a1a;
}

/* Footer styles */
.main-footer {
    background-color: #333; /* Footer tetap gelap untuk kontras */
    color: white;
    padding: 40px 0;
    margin-top: auto;
}

.main-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    padding: 0 20px;
    align-items: flex-start;
}

.footer-left {
    flex: 2;
    min-width: 250px;
    text-align: left;
}

.footer-left h3 {
    font-size: 1.8em;
    margin-bottom: 10px;
    color: #e42121; /* Merah SPACE.IN */
    text-align: left;
}

.footer-left p {
    font-size: 0.9em;
    line-height: 1.6;
    color: #ccc;
    text-align: left;
}

.footer-links {
    flex: 3;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
}

.footer-links div {
    flex: 1;
    min-width: 120px;
    text-align: left;
}

.footer-links h4 {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: white;
    position: relative;
    padding-bottom: 5px;
    display: inline-block;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: #e42121; /* Merah SPACE.IN */
}

.footer-links ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.footer-links ul li a:hover {
    color: #e42121; /* Merah SPACE.IN */
}

.social-icon {
    margin-right: 8px;
    font-size: 1.2em;
}

.copyright {
    width: 100%;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8em;
    color: #aaa;
    text-align: left;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Media Queries untuk Responsiveness */
@media (max-width: 768px) {
    /* Header Responsive */
    .dashboard-header .header-container {
        flex-direction: column;
        gap: 10px;
    }
    .dashboard-header .logo a {
        font-size: 1.5em;
    }
    .profil-nav ul {
        gap: 15px;
    }
    .profil-nav a {
        font-size: 0.9em;
    }

    .dashboard-greeting {
        padding: 15px;
    }
    .dashboard-greeting p {
        font-size: 1.2em;
    }
    .dashboard-greeting p:last-child {
        font-size: 0.9em;
    }

    .search-filter-section {
        flex-direction: column;
    }

    .filter-options {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-options select {
        width: 100%;
    }

    .facility-filters {
        flex-direction: column;
        gap: 10px;
    }

    .cafe-grid {
        grid-template-columns: 1fr;
    }

    .cafe-card-image {
        height: 150px;
    }

    .cafe-card-content h3 {
        font-size: 1.2em;
    }
    .cafe-card-content p, .cafe-card-content .rating {
        font-size: 0.85em;
    }

    /* Footer Responsive Adjustments */
    .main-footer .container {
        flex-direction: column;
        align-items: flex-start;
    }
    footer {
        text-align: center;
        width: 100%;
    }

    .footer-left,
    .footer-links {
        width: 100%;
        text-align: left;
    }
    .footer-links div {
        width: 100%;
        text-align: center;
    }
    .footer-links h4 {
        margin-left: 0;
        margin: 0;
        margin-right: auto;
        text-align: left;
    }
    .footer-links h4::after {
        margin: 0 auto;
    }
    .footer-links ul li a {
        justify-content: center;
    }
    .copyright {
        text-align: center;
    }
}

@media (max-width: 600px) {
    .right-section, .auth-card {
        padding: 1.5rem;
        min-width: unset; /* Izinkan menyusut pada layar kecil */
    }

    .right-section h2, .auth-card h1 {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .profil-header .logo a { /* Ini mungkin tidak lagi relevan jika .dashboard-header digunakan */
        font-size: 1.5em;
    }
    .profil-nav ul {
        gap: 10px;
    }
    .profil-nav a {
        font-size: 0.9em;
    }
    .profile-card {
        flex-direction: column; /* Avatar dan info menjadi vertikal */
        text-align: center;
        padding: 15px;
    }
    .profile-avatar {
        margin-bottom: 15px;
    }
    .avatar-circle {
        width: 80px;
        height: 80px;
        font-size: 2em;
    }
    .ubah-foto-btn {
        padding: 6px 12px;
        font-size: 0.8em;
    }
    .profile-info h2 {
        font-size: 1.5em;
    }
    .profile-info p {
        font-size: 0.9em;
    }
    .profile-details {
        padding: 20px;
    }
    .section-title {
        font-size: 1.2em;
    }
    .section-title .edit-profile-btn {
        font-size: 0.7em;
        padding: 4px 8px;
    }
    .info-item {
        flex-direction: column; /* Ikon dan teks vertikal */
        align-items: flex-start;
        padding: 8px 0;
    }
    .info-icon {
        margin-right: 0;
        margin-bottom: 5px;
    }
    .info-item span {
        font-size: 1em;
    }
    .hapus-akun-btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .profil-menu-nav ul {
        padding: 15px;
    }
    .profil-menu-nav a {
        font-size: 0.9em;
    }
}
/* --- Toast Notification --- */
.toast {
  position: fixed;
  top: 20px;          /* dari atas */
  right: 20px;        /* pojok kanan */
  background: #e42121; /* default merah */
  color: #fff;
  padding: 14px 20px;
  border-radius: 8px;
  font-size: 0.95em;
  font-weight: 500;
  opacity: 0;
  transform: translateY(-20px); /* animasi dari atas */
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.toast.success {
  background: #28a745; /* hijau untuk sukses */
}

.toast.error {
  background: #dc3545; /* merah untuk error */
}