:root {
    --primary: #b6895b;
    --bg: #010101;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    background-color: var(--bg);
    color: #fff;
}

body.light {
    background-color: #eeeeee;
    color: black;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.4rem 7%;
    background-color: rgba(1, 1, 1, 0.8);
    border-bottom: 1px solid #513c28;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
}

.navbar .navbar-logo {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 10px;
    color: #fff;
    font-style: italic;
}

.navbar .navbar-logo span {
    color: var(--primary);
}

.navbar .navbar-nav a {
    color: #fff;
    display: inline-block;
    font-size: 1.3rem;
    margin: 0 1rem;
}

.navbar .navbar-nav a:hover {
    color: var(--primary);
}

.navbar .navbar-nav a::after {
    content: "";
    display: block;
    padding-bottom: 0.5rem;
    border-bottom: 0.1rem solid var(--primary);
    transform: scaleX(0);
    transition: 0.2s linear;
}
.navbar .navbar-nav a:hover::after {
    transform: scaleX(0.5);
}

.navbar .navbar-extra a {
    color: #fff;
    margin: 0 0.5rem;
}

.navbar .navbar-extra a:hover {
    color: var(--primary);
}

#hamburger-menu {
    display: none;
}

/* navbar search form */
.navbar .search-form {
    position: absolute;
    top: 100%;
    background-color: #fff;
    right: 7%;
    width: 50rem;
    height: 5rem;
    display: flex;
    align-items: center;
    transform: scaleY(0);
    transform-origin: top;
    transition: 0.3s;
}

.highlight {
    background-color: yellow;
    color: black;
    font-weight: bold;
}

.navbar .search-form.active {
    transform: scaleX(1);
}

.navbar .search-form input {
    height: 100%;
    width: 100%;
    font-size: 1.6rem;
    color: var(--bg);
    padding: 1rem;
}

.navbar .search-form label {
    cursor: pointer;
    font-size: 2rem;
    margin-right: 1.5rem;
    color: var(--bg);
}
/* Navbar Search End */

/* Hero Section Start*/
.hero,
.tentang {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: url("../img/header-bg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    -webkit-mask-image: linear-gradient(rgba(0, 0, 0, 1) 85%, rgba(0, 0, 0, 0));
    mask-image: linear-gradient(rgba(0, 0, 0, 1) 85%, rgba(0, 0, 0, 0));
}

.hero .content {
    padding: 1.4rem 7%;
    width: 100%;
    text-align: center;
    position: fixed;
    top: 150px;
}
.hero .content h1 {
    font-size: 5em;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
    line-height: 1.5;
}

.hero .content h1 span {
    color: var(--primary);
}

.hero .content p {
    font-size: 1.6rem;
    margin-top: 1rem;
    line-height: 1.4;
    font-weight: 300;
    text-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
    mix-blend-mode: difference;
    color: white;
}

body.light .hero .content p {
    font-size: 1.6rem;
    margin-top: 1rem;
    line-height: 1.4;
    font-weight: 300;
    text-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
    mix-blend-mode: difference;
    color: white;
}

.cta {
    margin-top: 1rem;
    display: inline-block;
    padding: 1rem 3rem;
    font-size: 1.4rem;
    color: #fff;
    background-color: var(--primary);
    border-radius: 0.5rem;
    box-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
}
/* Hero Section End */

/* Kumpulan Section Start */
.about,
.menu,
.products,
.contact,
.Katalog,
.reservasi,
.Donasi,
.review,
.donasi-page {
    padding: 10rem 7% 1.4rem;
}

.about h2,
.menu h2,
.products h2,
.contact h2,
.Katalog h2,
.reservasi h2,
.Donasi h2,
.review h2,
.donasi-page h2 {
    text-align: center;
    font-size: 2.6rem;
    margin-bottom: 3rem;
}

.about h2 span,
.menu h2 span,
.products h2 span,
.contact h2 span,
.tentang h2 span,
.Katalog h2 span,
.reservasi h2 span,
.Donasi h2 span,
.review h2 span,
.donasi-page h2 span {
    color: var(--primary);
}
/* Kumpulan Section End */

/* Tentang Kami halaman utama (index.html) Start  */
.about .row {
    display: flex;
}

.about .row .about-img {
    flex: 1 1 45rem;
}

.about .row .about-img img {
    width: 100%;
    -webkit-mask-image: url("../img/splash.svg");
    -webkit-mask-size: 90%;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
}

.about .row .content {
    flex: 1 1 35rem;
    padding: 0 1rem;
}

.about .row .content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.about .row .content p {
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
    font-weight: 300;
    line-height: 1.6;
}
/* Tentang Kami halaman utama (index.html) End  */

/* Halaman Tentang Kami (TentangKami.html) Start */
.container {
    justify-content: center;
    width: 90%;
    max-width: 1500px;
    margin: auto;
    margin-top: 10rem;
    padding: 2rem 0;
    text-align: justify;
    font-size: 1.1rem;
}

.tentangkami-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    margin-bottom: 4rem;
}

.tentangkami-text {
    flex: 1 1 300px;
}

.tentangkami-text h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #eee;
}
.tentangkami-text h1 span {
    color: var(--primary);
}

.tentangkami-text p,
.text-container p {
    color: #eee;
    font-size: 1rem;
    line-height: 1.5;
}

body.light .tentangkami-text h1 span {
    color: var(--primary);
}

body.light .tentangkami-text h1 {
    color: #000;
}

body.light .tentangkami-text p {
    color: #000;
}

.tentangkami-images {
    flex: 1 1 400px;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 8rem;
    justify-content: center;
}

.tentangkami-images img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    transform: rotate(45deg);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

section {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-top: 10rem;
    margin-bottom: 2rem;
    color: var(--primary);
}

.profil-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
}

.card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

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

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary); /* warna hijau kebiru-biruan */
}

.card p {
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
}

.struktur-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.galeri {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.galeri img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.galeri img:hover {
    transform: scale(1.05);
}

.struktur img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.inspirational-story {
    margin: 20px;
}

.content-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center; /* Vertically center the items */
    gap: 20px;
}

.image-container {
    flex: 1;
    min-width: 250px; /* Ensures image is not too small */
    display: flex;
    justify-content: center; /* Center image horizontally in container */
}

.story-image {
    width: 80%; /* Ensures the image doesn't stretch too much */
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

.text-container {
    flex: 2;
    max-width: 600px; /* Limit max width of text content */
}

/* Center the section title */
.section_title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--primary);
    text-align: center; /* Centering the title */
}

/* Halaman Tentang Kami (TentangKami.html) End */

/* Katalog halaman utama (index.html) Start  */
.Katalog .row {
    display: flex;
}

.Katalog .row .Katalog-img {
    flex: 1 1 45rem;
}

.Katalog .row .Katalog-img img {
    width: 100%;
    -webkit-mask-image: url("../img/splash.svg");
    -webkit-mask-size: 90%;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
}

.Katalog .row .content {
    flex: 1 1 35rem;
    padding: 0 1rem;
}

.Katalog .row .content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.Katalog .row .content p {
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
    font-weight: 300;
    line-height: 1.6;
}
/* Katalog halaman utama (index.html) End  */

/* Halaman Katalog (Katalog.html) Start */
.products h2,
.contact h2 {
    margin-bottom: 1rem;
}

.products p,
.contact p {
    text-align: center;
    max-width: 30rem;
    margin: auto;
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.6;
}
.products .row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 1.5rem;
    margin-top: 4rem;
}

.products .product-card {
    text-align: center;
    border: 1px solid #666;
    padding: 2rem;
}

.products .product-icons {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

/* Warna ikon default (dark mode) */
.products .product-icons a svg {
    stroke: white;
    transition: stroke 0.3s ease;
}

/* Warna ikon saat light mode */
body.light .products .product-icons a svg {
    stroke: black;
}

/* Optional: hover tetap sama di kedua tema */
.products .product-icons a:hover {
    background-color: #b6895b;
    border: 1px solid #b6895b;
}

.products .product-icons a {
    width: 4rem;
    height: 4rem;
    color: #fff;
    margin: 0.3rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #666;
}

.products .product-icons a:hover {
    background-color: #b6895b;
    border: 1px solid #b6895b;
}

.product-image {
    width: 100%;
    aspect-ratio: 1 / 1; /* Bikin kotak 1:1 */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 80%;
    height: 80%;
    object-fit: cover; /* Biar gambar tetap terisi rapi */
}

.products .product-content h3 {
    font-size: 2rem;
}

.products .product-stars {
    font-size: 1.7rem;
    padding: 0.8rem;
    color: var(--primary);
}

.products .product-stars .star-full {
    fill: var(--primary);
}

.products .product-price {
    font-size: 1.3rem;
    font-weight: bold;
}

.products .product-price span {
    text-decoration: line-through;
    font-weight: lighter;
    font-size: 1rem;
}

/* Halaman Katalog (Katalog.html) End */

/* Reservasi halaman utama (index.html) Start  */
.reservasi .row {
    display: flex;
}

.reservasi .row .reservasi-img {
    flex: 1 1 45rem;
}

.reservasi .row .reservasi-img img {
    width: 100%;
    -webkit-mask-image: url("../img/splash.svg");
    -webkit-mask-size: 90%;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
}

.reservasi .row .content {
    flex: 1 1 35rem;
    padding: 0 1rem;
}

.reservasi .row .content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.reservasi .row .content p {
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
    font-weight: 300;
    line-height: 1.6;
}
/* Reservasi halaman utama (index.html) End  */

/* Halaman Reservasi (Reservasi.html) Start */
/* reservasi.html*/
/* benner reservasi*/
.banner {
    width: 100%;
    height: 300px;
    background-image: url("../img/header-bg.jpg"); /* Ganti dengan URL gambar */
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.light .form-row input[type="text"],
body.light .form-row input[type="date"],
body.light .form-row input[type="time"],
body.light .form-row input[type="number"],
body.light .form-row textarea,
body.light .seat-option,
body.light .input-container-org .btn {
    background-color: white;
    color: black;
    border: 1px solid #ccc;
}

.banner-overlay {
    background-color: rgba(0, 0, 0, 0.5); /* lapisan gelap transparan */
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-title {
    color: #fff;
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-top: 150px;
}

.form {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px 60px;
    width: 80%;
    max-width: 1000px;
}

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

.form-row label {
    font-size: 18px;
    font-weight: 500;
}

.form-row input[type="text"],
.form-row input[type="date"],
textarea {
    height: 46px;
    border-radius: 10px;
    background-color: #f4f4f4;
    border: none;
    padding: 10px;
    font-size: 16px;
}

input[type="time"] {
    display: block;

    padding: 5px 15px;
    color: #111827;
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    border-radius: 10px;
    width: 150px;
    height: 46px;
    border: none;
}
/* Container tombol dan input */
.input-container-org {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: transparent;
    height: 46px;
}

/* Tombol plus dan minus */
.input-container-org .btn {
    font-size: 18px;
    width: 40px;
    height: 40px;
    background-color: #f1f1f1;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    color: #000;
    transition: background-color 0.3s;
}

.input-container-org .btn:hover {
    background-color: #ddd;
}

/* Input angka (tengah) */
.input-container-org .input-number {
    width: 50px;
    height: 40px;
    text-align: center;
    font-size: 18px;
    border: none;
    border-radius: 6px;
    background-color: #f1f1f1;
    color: #000;
}

textarea {
    height: 100px;
}

.full-width {
    grid-column: span 2;
}

.duduk .seat-option {
    display: block;
    margin-bottom: 12px;
    font-size: 15px;
    cursor: pointer;
    width: 225px;
    margin-top: 8px;
}

/* Sembunyikan radio button */
.seat-option input[type="radio"] {
    display: none;
}

/* Default style */
.seat-option .content {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    padding: 10px 14px;
    border: 2px solid transparent;
    border-radius: 8px;
    transition: 0.3s;
    border-color: #ffffff;
}

/* Saat radio button dipilih */
.seat-option input[type="radio"]:checked + .content {
    color: var(--primary);
    border-color: var(--primary);
}

/* button next */
.button-container {
    text-align: center;
    margin-top: 100px;
}

.menu-button {
    background-color: var(--primary);
    color: white;
    padding: 15px 30px;
    font-size: 18px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
    text-decoration: none; /* menghilangkan garis bawah link */
    display: inline-block; /* biar padding bekerja normal */
    text-align: center;
}

.menu-button:hover {
    transform: scale(1.1); /* Membesarkan button saat hover */
}
/* form reservasi end */
/* Popup Overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Popup Box */
.popup-box {
    background-color: #fff;
    padding: 30px 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    max-width: 450px;
    width: 90%;
}
.popup-box h3 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
    color: #b6895b; /* atau warna gelap lain seperti #333 */
    background: none; /* pastikan tidak ada background aneh */
}

/* Tombol di popup */
.menu-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.menu-buttons .cancel {
    background-color: #ccc;
    color: #333;
}

/*form reservasi/ pilih menu */
.menu {
    width: 100%;
    margin: auto;
    display: flex;
}

.kategori-container {
    width: 100%;
    max-width: 500px;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.select-wrapper {
    background-color: #b6895b; /* Warna coklat */
    padding: 0.3rem 0.3rem;
    border-radius: 12px;
    position: relative;
    width: 100%;
}

/* Light mode */
body.light .select-wrapper select {
    background-color: white;
    color: black;
    border: 1px solid #ccc;
}

.select-wrapper select {
    appearance: none; /* hilangkan default tampilan browser */
    background-color: #000000;
    border: none;
    font-size: 1.4rem;
    color: #fff; /* teks putih agar kontras */
    font-weight: 500;
    padding: 0.8rem 2rem 0.8rem 1rem;
    border-radius: 5px;
    outline: none;
    width: 100%;
    cursor: pointer;
}

.btn-batal {
    background-color: #ccc;
    color: #333;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
}

.btn-lanjutkan {
    background-color: var(--primary);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
}
/* Ikon panah */
.select-wrapper::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 1rem;
    width: 30px;
    height: 30px;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23666" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform: translateY(-50%) rotate(0deg);
    transition: transform 0.3s ease;
    pointer-events: none;
}

/* Kalau select-wrapper punya class 'open', panah berputar */
.select-wrapper.open::after {
    transform: translateY(-50%) rotate(180deg);
}
.jmlh {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.jmlh .input-container-banyak-menu {
    display: flex;
    gap: 5px;
    height: 30px;
}
.jmlh .btn {
    font-size: 15px;
    cursor: pointer;
    padding: 5px 15px;
    background-color: #f1f1f1;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.jmlh .input-number {
    width: 80px;
    text-align: center;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px;
}

.button-container {
    text-align: center;
    margin-top: 100px;
}

.menu-button {
    background-color: var(--primary);
    color: white;
    padding: 15px 30px;
    font-size: 18px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.menu-button:hover {
    transform: scale(1.1); /* Membesarkan button saat hover */
}
/* Untuk browser Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
/* Untuk Firefox */
input[type="number"] {
    -moz-appearance: textfield;
}

/* form reservasi/pilih menu end */

/* form reservasi/pilih menu/ket reservasi */
.ket {
    width: 80%;
    margin: 10rem auto 0 auto;
    padding: 30px 0 0 0;
}
.ket h2 {
    font-weight: 500px;
    font-size: 30px;
    color: var(--primary);
    margin-bottom: 40px;
    line-height: 1.2;
    word-break: break-word; /* Supaya pecah rapih kalau kepanjangan */
    white-space: normal; /* Biar bisa pindah baris */
}
.ket .keterangan-reservasi {
    width: 100%;
    font-size: 18px;
}
.baris {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 8px;
    flex-wrap: wrap;
}
.label {
    min-width: 200px; /* lebar kolom kiri */
    font-weight: bold;
    margin: 0;
}
.baris p {
    margin: 0;
}
.baris .nilai {
    flex: 1;
    word-break: break-word;
    white-space: normal;
    text-align: justify;
    color: #fff;
    margin: 0;
}

body.light .baris .nilai {
    color: var(--bg);
}

hr {
    margin: 30px auto;
    width: 100%;
    border: 1px solid #ccc;
}
.daftar-pesanan {
    width: 100%;
    margin: 20px auto;
    max-height: fit-content;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.pesanan {
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding: 10px 20px;
}
.gambar-menu img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 20px;
}
.nama-menu {
    flex: 2;
    font-weight: bold;
}
.jumlah-menu {
    flex: 1;
    text-align: center;
}
.harga-menu {
    flex: 1;
    text-align: right;
    padding-right: 10px; /* Biar sejajar dengan nominal harga total */
}
.header-pesanan {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    border-bottom: 2px solid #fff;
    font-weight: bold;
    background-color: #1a1a1a;
}

.header-pesanan .judul-kolom {
    color: var(--primary);
}
.header-pesanan .nama-menu {
    flex: 2;
}
.header-pesanan .jumlah-menu {
    flex: 1;
    text-align: center;
    padding-left: 100px;
}
.header-pesanan .harga-menu {
    flex: 1;
    text-align: right;
    padding-right: 10px;
}
/* Pesanan ke-6 dan seterusnya disembunyikan awalnya */
.daftar-pesanan .pesanan:nth-child(n + 4) {
    display: none;
}

/* Tombol Lihat Semua */
.lihat-semua-wrapper {
    display: none;
    justify-content: flex-end;
    margin-top: 10px;
    padding-right: 20px;
}

.lihat-semua-wrapper.show {
    display: flex;
}

#lihat-semua-toggle {
    background: none;
    border: none;
    font-weight: bold;
    color: var(--primary, #007bff);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
}

#lihat-semua-toggle .icon {
    display: inline-block;
    transition: transform 0.3s ease;
}

#lihat-semua-toggle.open .icon {
    transform: rotate(180deg);
}

.ringkasan-pembayaran {
    width: 100%;
    padding: 0 20px; /* Biar tidak nempel ke pinggir */
    box-sizing: border-box;
    margin-top: 30px;
}
.baris-ringkasan {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.keterangan {
    text-align: left;
    font-weight: bold;
    flex: 1;
}
.nominal {
    text-align: right;
    flex: 1;
    font-weight: bold;
}
.catatan {
    margin-top: 100px;
    padding: 20px;
}
.judul-catatan {
    font-weight: bold;
    margin-bottom: 10px;
}
.isi-catatan {
    padding-left: 20px;
}
.isi-catatan li {
    margin-bottom: 8px;
    line-height: 1.5;
}
.isi-catatan li ul {
    margin-left: 20px;
}
.button-container {
    text-align: center;
    margin-top: 150px;
    margin-bottom: 20px;
}

.ket-btn-popup {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.ket-btn-popup:hover {
    background-color: var(--primary);
}

/* pop up di ket-reservasi.html*/
.ket-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}
.ket-popup-content {
    background-color: #fff;
    border-radius: 12px;
    max-width: 950px;
    width: 90%;
    padding: 30px;
    position: relative;
    overflow-y: auto;
    max-height: 80vh;
    color: #000;
}
.ket-popup-content h2 {
    color: var(--primary);
}
.ket-close-btn {
    position: absolute;
    top: 12px;
    right: 20px;
    font-size: 26px;
    cursor: pointer;
}

.ket-rekening-container {
    border: 2px solid var(--primary);
    border-radius: 12px;
    padding: 20px;
    background-color: #fff;
    margin: 20px 0;
    width: 400px;
}
.tot-bayar {
    margin-top: 10px;
}
.tot-bayar span {
    font-weight: 600;
}
.btn-salin {
    padding: 5px 10px;
    text-decoration: underline;
    background-color: #fff;
    color: var(--primary);
    border: none;
    cursor: pointer;
    font-size: 16px;
}
.btn-salin:hover {
    color: #000000;
}

/* Popup Toast */
.popup-toast {
    position: fixed;
    bottom: 20px; /* Jarak dari bawah */
    left: 50%; /* Pusat horizontal */
    transform: translateX(-50%); /* Geser agar benar-benar tengah */
    background-color: var(--primary);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    z-index: 1000;
}

.popup-toast.show {
    opacity: 1;
}
.ket-pembayaran-instruksi h4,
.ket-pembayaran-instruksi h5 {
    margin-top: 20px;
}
.ket-pembayaran-instruksi p,
.ket-pembayaran-instruksi ul {
    font-size: 14px;
    line-height: 1.6;
}
.ket-pembayaran-instruksi ul {
    padding-left: 20px;
    list-style-type: disc;
}
.btn-bayar-sekarang {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-bayar-sekarang:hover {
    transform: scale(1.05);
}

/* form reservasi/pilih menu/ket reservasi end */
/* Halaman Reservasi (Reservasi.html) End */

/* Donasi & Kolaborasi halaman utama (index.html) Start  */
.Donasi .row {
    display: flex;
}

.Donasi .row .Donasi-img {
    flex: 1 1 45rem;
}

.Donasi .row .Donasi-img img {
    width: 100%;
    -webkit-mask-image: url("../img/splash.svg");
    -webkit-mask-size: 90%;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
}

.Donasi .row .content {
    flex: 1 1 35rem;
    padding: 0 1rem;
}

.Donasi .row .content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.Donasi .row .content p {
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
    font-weight: 300;
    line-height: 1.6;
}
/* Donasi & Kolaborasi Halaman utama (index.html) End  */

/* Halaman Donasi & Kolaborasi (Donasi.html) Start */
.donasi-section {
    padding: 8rem 2rem;
    text-align: center;
}

.hero-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin-bottom: 4rem;
    gap: 2rem;
}

.hero-content.reverse {
    flex-direction: row-reverse;
}

.hero-content .image,
.hero-content .text {
    flex: 1 1 45%;
    max-width: 45%;
    padding: 1rem;
    box-sizing: border-box;
}

.hero-content .image img {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 15px;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    -webkit-mask-image: url("../img/splashsplash.svg");
    -webkit-mask-size: 90%;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
}

.hero-content .text {
    flex: 1 1 300px;
    padding: 1rem;
}

.hero-content h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.hero-content h1 span {
    color: var(--primary);
}

.hero-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    text-align: justify;
}

.kegiatan-section h2 {
    margin-top: 2rem;
    margin-bottom: 50px;
    font-size: 2rem;
}

.kegiatan-section h2 span {
    color: var(--primary);
}

/* Container gambar */
.kegiatan-section .image {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* untuk baris terakhir */
    gap: 1rem;
    padding-bottom: 2rem;
}

/* Gambar dalam grid */
.kegiatan-section .image img {
    flex: 1 1 calc(33.333% - 1rem); /* Maks 3 gambar per baris */
    max-width: calc(33.333% - 1rem);
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 8px;
}

.kegiatan-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.kegiatan-gallery img {
    width: 100%;
    border-radius: 90px;
}

.ajakan {
    margin-top: 2rem;
}

.ajakan h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.ajakan p {
    max-width: 890px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
}

.btn-donasi {
    display: inline-block;
    padding: 12px 30px;
    background-color: #ff7f50;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.btn-donasi:hover {
    background-color: #e0693f;
}
/* Halaman Donasi & Kolaborasi (Donasi.html) End */

.review-title {
    text-align: center;
    margin-bottom: 2rem;
}

.highlight {
    color: #b6895b;
}

.star-container {
    text-align: center;
}

.star-button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 2rem;
    color: gold;
}

.input-container {
    text-align: center;
    margin-top: 2rem;
}

.review-input {
    width: 80%;
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid #555;
    background-color: #222;
    color: white;
}

.review-textarea {
    width: 80%;
    height: 100px;
    background-color: #222;
    color: white;
    border: 1px solid #555;
    padding: 1rem;
    border-radius: 8px;
}

body.light .review-textarea {
    background-color: #ffffff;
    color: var(--bg);
}

.submit-button {
    background-color: gold;
    color: black;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.review-list {
    margin-top: 3rem;
}

.review-subtitle {
    text-align: center;
}

.review-card {
    background-color: #222;
    margin: 1rem auto;
    padding: 1rem;
    border-radius: 8px;
    width: 80%;
}

body.light .review-card {
    background-color: #fff;
}

.review-meta {
    font-size: 1rem;
    color: white;
    font-weight: bold;
}

body.light .review-meta {
    font-size: 1rem;
    color: black;
    font-weight: bold;
}

.review-date {
    color: #888;
    font-size: 0.9rem;
    margin-left: 0.5rem;
}

.review-stars {
    font-size: 1.5rem;
    color: gold;
    margin-top: 5px;
}

.review-comment {
    margin-top: 0.5rem;
}

/* Review Customer End (index.html) */

/* profile.html*/

.banner-profil {
    width: 100%;
    height: 300px;
    background-image: url("../img/bg-profil.jpeg"); /* Ganti dengan URL gambar */
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-profil-overlay {
    background-color: rgba(0, 0, 0, 0.5); /* lapisan gelap transparan */
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile {
    display: flex;
    max-width: 1200px;
    margin: 20px auto 0; /* naikkan posisi container lebih ke atas */
    padding: 0 20px;
    position: relative;
}
.kiri-profile {
    width: 250px;
    margin-right: 20px;
}
.sidebar {
    width: 250px;
    background: #f5f8fa;
    border-radius: 10px;
    padding: 20px;
    margin-top: -70px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    word-wrap: break-word;
    overflow: hidden;
}
.sidebar img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    display: block;
    margin: 0 auto 10px;
}
.nama-profile {
    color: #000;
    font-size: 19px;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    padding: 0 5px; /* beri ruang agar teks tidak menempel ke tepi */
}
.email-profile {
    color: #000;
    font-size: 15px;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    padding: 0 5px;
    margin-bottom: 20px;
}

.tab-link {
    font-size: 15px;
    font-weight: 600;
    display: block;
    margin: 10px 0;
    background-color: #f5f8fa;
    color: var(--primary);
    padding: 10px;
    width: 100%;
    border-radius: 5px;
    border: 2px solid var(--primary);
    text-decoration: none;
    text-align: center;
}

.tab-link.active {
    background-color: var(--primary);
    color: white;
}
.logout form button,
.hapus-akun button {
    background-color: var(--primary);
    color: white;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
}

.logout form,
.hapus-akun {
    width: 100%;
}
.logout form button:hover,
.hapus-akun button:hover {
    transform: scale(1.05);
}

.main-content {
    flex: 1;
    padding: 30px;
    background-color: #f5f8fa;
    margin-top: -70px;
    border-radius: 10px;
}

.main-content h2 {
    font-size: 22px;
    color: var(--primary);
    max-height: 500px;
}

/*profile-tab*/
.profile-container {
    justify-content: space-between;
    gap: 50px;
    align-items: flex-start;
    position: relative;
}

.form-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
}

/* Kolom kiri (input form) */
.profile-form {
    flex: 1;
    padding-right: 30px;
    border-right: 1px solid #ddd;
}

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

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 6px;
    color: var(--primary);
}

.form-group input[type="text"] {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.user-profil,
.user-email,
.user-telepon,
.user-pw {
    font-size: 14px;
    color: #333;
}

.user-email a,
.user-telepon a,
.user-pw a {
    margin-left: 10px;
    color: var(--primary);
    font-size: 14px;
    text-decoration: none;
}

.user-email a:hover,
.user-telepon a:hover,
.user-pw a:hover {
    text-decoration: underline;
}

/* Tombol Simpan */
.submit-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.btn-simpan {
    background-color: var(--primary);
    color: #fff;
    padding: 10px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-simpan:hover {
    transform: scale(1.05);
}

.profile-image {
    width: 200px;
    text-align: center;
}

.profile-image img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

.btn-upload {
    background-color: #fff;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    font-weight: 600;
    margin: 10px 0 3px 0;
}

.btn-upload:hover {
    background-color: var(--primary);
    color: white;
}

.info-gambar {
    font-size: 12px;
    color: #777;
    margin-top: 8px;
}
/*profile-tab end*/

/*History-tab*/

.main-content .isi-notif {
    max-height: 370px; /* batas maksimal tinggi */
    overflow-y: auto; /* scroll hanya jika konten melebihi tinggi */
}

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

.main-content .header-row p {
    font-size: 14px;
    color: #555;
}

.header-row .highlight {
    color: var(--primary);
    font-weight: 600;
}

.sort-by {
    display: flex;
    align-items: center;
    gap: 5px;
}
.sort-by label {
    color: var(--primary);
    font-weight: 500;
    font-size: 14px;
}
.sort-by select {
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: white;
    font-size: 14px;
}

.notif-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: border 0.2s ease;
}

.notif-card:hover {
    border: 3px solid var(--primary);
}

.notif-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.notif-left img {
    width: 70px;
    height: 70px;
    border-radius: 10px;
}

.notif-info h3 {
    font-size: 18px;
    font-weight: 530;
    color: var(--primary);
}

.notif-info p {
    color: #777;
    font-size: 12px;
}

.badges {
    margin-top: 5px;
}

/* Status colors for reservation history */
.status-lanjut {
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 500;
    margin-right: 5px;
    background-color: #f0d02c; /* Yellow for continue payment */
    color: white;
}

.status-menunggu {
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 500;
    margin-right: 5px;
    background-color: #3498db; /* Light blue for waiting confirmation */
    color: #eeeeee;
}

.status-berhasil {
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 500;
    margin-right: 5px;
    background-color: #28b90f; /* Green for success */
    color: #eeeeee;
}

.status-batal {
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 500;
    margin-right: 5px;
    background-color: #ff0000; /* Red for cancel */
    color: #eeeeee;
}

/* Text status colors for payment info section */
/* Added these classes for the payment status text */
.lanjut-reservasi {
    color: #f0d02c; /* Yellow for continue payment */
    font-weight: 500;
}

.menunggu-reservasi {
    color: #3498db; /* Light blue for waiting confirmation */
    font-weight: 500;
}

.berhasil-reservasi {
    color: #28b90f; /* Green for success */
    font-weight: 500;
}

.batal-reservasi {
    color: #ff0000; /* Red for cancel */
    font-weight: 500;
}

.lihat-btn {
    background-color: var(--primary);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 530;
    transition: 0.3s;
}

.lihat-btn:hover {
    opacity: 0.6;
}

.notif-action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 25px;
}

.updated-time {
    font-size: 10px;
    color: #888;
}

/*History-tab end*/
/*profile.html end*/

/*history-berhasil.html, history-batal.html, history-lanjut.html*/
.nav-history a {
    display: flex;
    gap: 5px;
    align-items: center;
    align-content: center;
    padding: 20px 50px;
    background-color: rgba(1, 1, 1, 0.8);
    border-bottom: 1px solid #513c28;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
}

/* Payment deadline styling */
.payment-deadline-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 5px;
}

.payment-deadline-info {
    flex: 1 1 30%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 5px;
    text-align: right;
}

.payment-deadline-label {
    font-size: 14px;
    color: #010101;
}

.payment-deadline-time {
    font-size: 14px;
    font-weight: bold;
    color: #ff0000;
}

.payment-deadline-time.deadline-expired {
    color: #ff0000;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 20px;
    transition: color 0.2s;
}

.back-button:hover {
    color: #f5f8fa;
}

.content-history {
    display: flex;
    gap: 20px;
    width: 90%;
    margin: 5rem auto 0 auto;
    align-items: flex-start;
}
.history-kiri {
    background-color: #f5f8fa;
    width: 65%;
    padding: 30px;
    border-radius: 10px;
    box-sizing: border-box;
}

.judul-content-history {
    width: 95%;
    margin: 0 auto;
}
.judul-content-history h3 {
    color: var(--primary);
    font-size: 30px;
    font-weight: 600;
}

.judul-content-history hr {
    margin-top: 0;
}

.info-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 10px auto;
    font-size: 14px;
    font-weight: 500;
    color: #000;
    gap: 10px; /* beri jarak antar elemen di wrap */
}
.booking-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 40%;
}
.booking-right {
    flex: 1 1 30%;
    text-align: right;
}

.booking-number,
.booking-date {
    font-weight: 600;
    color: #2a2a2a; /* atau warna sesuai tema kamu */
}

.detail-inform {
    width: 100%;
    margin: 20px auto;
    padding: 0 30px;
}

.detail-baris {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    flex-wrap: wrap;
    font-size: 15px;
}

.detail-label {
    font-weight: 600;
    min-width: 180px; /* lebar tetap untuk label */
    margin-right: 8px;
    color: var(--primary);
}

.detail-baris p {
    margin: 0;
}

.detail-baris p[class^="detail-nilai"] {
    flex: 1;
    word-break: break-word;
    white-space: normal;
    text-align: justify;
    color: #000000;
}

.daftar-produk {
    width: 100%;
    margin: 20px auto;
    padding: 0 30px;
}
.daftar-produk p {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
}
.daftar-produk hr {
    margin-top: 0;
}

.produk-item {
    display: flex;
    gap: 10px;
    margin: 15px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 10px;
}

.produk-item:last-child {
    border-bottom: none;
}

.produk-item img {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    object-fit: cover;
}

.produk-detail {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.produk-nama {
    font-weight: 600;
    font-size: 14px;
    color: var(--primary);
    word-break: break-word;
    white-space: normal;
    text-align: justify;
    margin-bottom: 10px;
}

.produk-info-bawah {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.produk-harga {
    font-weight: 500;
    color: black;
    font-size: 14px;
}

.produk-jumlah {
    font-size: 13px;
    color: #444;
}

/* Hanya tampilkan 3 produk di awal */
.produk-item {
    display: none;
}

.produk-item.visible {
    display: flex;
}

.daftar-produk.show-all .produk-item {
    display: flex;
}

.lihat-semua-container {
    text-align: right;
    padding: 10px 30px 0 0;
    margin: 0 0 10px;
}

.toggle-produk {
    background: none;
    border: none;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.toggle-produk .arrow {
    font-size: 10px;
}

.detail-harga {
    width: 100%;
    margin: 20px auto;
    padding: 0 30px;
}
.baris-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.detail-keterangan {
    text-align: left;
    font-weight: bold;
    flex: 1;
    color: var(--primary);
}

.detail-nominal {
    text-align: right;
    flex: 1;
    font-weight: bold;
    color: #000;
}

/* history bagian kanan (pembayaran) */

.history-kanan {
    width: 35%;
}
.pembayaran-atas {
    background-color: #f5f8fa;
    width: 100%;
    border-radius: 10px;
    box-sizing: border-box;
    padding: 20px;
}
.pembayaran-atas h3 {
    color: var(--primary);
    font-size: 25px;
    font-weight: 600;
}
.pembayaran-atas hr {
    margin-top: 15px;
}

.box-info-pembayaran {
    background-color: #f5f8fa;
    margin: 20px;
}
.info-bar-pembayaran {
    width: 100%;
    margin: 20px auto;
}
.info-bar-pembayaran span {
    font-size: 14px;
}
.baris-info-bayar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.ket-info-bayar,
.ket-info-pesan {
    text-align: left;
    font-weight: bold;
    flex: 1;
    color: #c9a063;
}
.baris-info-bayar .tgl-bayar,
.baris-info-bayar .id-bayar,
.baris-info-bayar .tgl-batal,
.baris-info-bayar .tgl-pesan {
    text-align: right;
    flex: 1;
    font-weight: 500;
    color: #000;
}
.baris-info-bayar .status-bayar {
    text-align: right;
    flex: 1;
    font-weight: bold;
    color: var(--primary);
    font-size: 16px;
}
.info-bar-pembayaran hr {
    margin: 20px 0;
}

.info-pengirim,
.info-penerima {
    width: 90%;
    border-radius: 10px;
    border: 2px solid var(--primary);
    padding: 10px 20px;
    margin-bottom: 10px;
    margin: 0 auto 10px;
}
.judul-dana {
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 8px;
    font-weight: bold;
}
.account-info {
    display: flex;
    align-items: center;
    gap: 15px;
}
.logo-bank {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 12px;
}
.details {
    line-height: 1.4;
}
.name-penerima,
.name-pengirim {
    font-weight: bold;
    font-size: 16px;
    margin: 0;
    color: #000;
}
.bank-penerima,
.bank-pengirim {
    color: #555;
    margin: 2px 0;
    font-size: 14px;
}

.account-penerima,
.account-pengirim {
    color: #333;
    font-weight: 500;
    font-size: 14px;
}

/* #info-penerima di history-lanjut.html */
.judul-dana-tf {
    font-size: 14px;
    color: var(--primary);
    margin-bottom: 8px;
    font-weight: bold;
}
.ket-tf {
    display: flex;
    gap: 5px;
    align-items: center;
}
#nomor-rekening {
    color: #000000;
    font-weight: 600;
    font-size: 14px;
}
.btn-salin {
    padding: 5px 10px;
    text-decoration: underline;
    background-color: #fef4e9;
    color: var(--primary);
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-salin:hover {
    color: #000000;
}

.detail-pembayaran {
    width: 100%;
    margin: 20px auto;
}
.detail-pembayaran span {
    font-size: 14px;
}
.baris-bayar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.ket-bayar {
    text-align: left;
    font-weight: bold;
    flex: 1;
    color: var(--primary);
}
.bayar-nominal,
.nominal-dp,
.jumlah-bayar {
    text-align: right;
    flex: 1;
    font-weight: bold;
    color: #000;
}

.catatan-pembayaran {
    width: 100%;
    margin: 20px auto;
    color: #000;
    font-size: 13px;
    font-weight: 500;
    text-align: justify;
}
.catatan-pembayaran span {
    color: var(--primary);
    font-weight: bold;
    font-size: 15px;
}
.catatan-pembayaran hr {
    margin-bottom: 5px;
}

/* button di kanan (history-berhasil,history-gagal, history-lanjut)*/
.button-batal,
.button-lanjut-reserv,
.button-lanjur-bayar {
    background-color: var(--primary);
    width: 100%;
    margin-top: 15px;
    border-radius: 10px;
    padding: 15px 0;
    color: #f5f8fa;
    text-align: center;
    font-size: 20px;
}
.button-batal:hover,
.button-lanjut-reserv:hover,
.button-lanjur-bayar:hover {
    transform: scale(1.05);
}
/* button di kanan (history-berhasil,history-gagal, history-lanjut) end*/

/* pop up di history-berhasil.html dan history-lanjut.html */
/* pop up (history-berhasil.html)*/
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding-top: 60px; /* memberi ruang untuk navbar */
    box-sizing: border-box;
}
.popup-overlay p {
    color: #000;
}
.popup-content {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    max-width: 700px; /* lebar popup lebih besar */
    max-height: calc(100vh - 100px); /* hindari popup terlalu tinggi */
    overflow-y: auto; /* scroll jika konten melebihi tinggi */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.popup-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}
.popup-button {
    padding: 10px 20px;
    background-color: #444;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    font-weight: bold;
}
.popup-button:hover {
    background-color: #666;
}
.popup-content h2 {
    color: var(--primary);
    text-align: center;
}
.popup-content p {
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
    margin-top: 20px;
    text-align: justify;
}
.popup-content .policy {
    margin-top: 20px;
    padding: 15px;
    background-color: #fef4e9;
    border-left: 5px solid var(--primary);
    color: #000;
}
.popup-content ul {
    margin: 10px 0 0 20px;
    text-align: justify;
}
/* pop up (history-berhasil.html) end*/

/*pop up di history-lanjut.html*/
/* Popup salin */
.popup-toast {
    position: fixed;
    bottom: 20px; /* Jarak dari bawah */
    left: 50%; /* Pusat horizontal */
    transform: translateX(-50%); /* Geser agar benar-benar tengah */
    background-color: var(--primary);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    z-index: 1000;
}
.popup-toast.show {
    opacity: 1;
}
/* Popup salin end */
/* Pop-up overlay */
.popup-lanjut-overlay {
    position: fixed;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}
/* Konten pop-up */
.popup-lanjut-content {
    background-color: #fff;
    padding: 25px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.popup-lanjut-content h3 {
    margin-bottom: 5px;
    text-align: center;
    color: var(--primary);
    font-size: 20px;
}
.popup-lanjut-content hr {
    margin-bottom: 20px;
    margin-top: 5px;
}
/* Setiap input baris */
.popup-lanjut-content .norek,
.popup-lanjut-content .nama-norek,
.popup-lanjut-content .nama-bank,
.popup-lanjut-content .bukti-bayar {
    margin-bottom: 20px;
}

.popup-lanjut-content p {
    margin-bottom: 4px;
    font-weight: 500;
    color: black;
}
.popup-lanjut-content input[type="text"] {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border-radius: 8px;
    border: 1px solid #ccc;
}
.custom-file-input-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

#file-name-display {
    flex: 1;
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.custom-upload-button {
    padding: 8px 16px;
    background-color: var(--primary);
    color: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    text-align: center;
    white-space: nowrap;
}
.custom-upload-button:hover {
    transform: scale(1.05);
}
input[type="file"] {
    display: none;
}
/* Tombol Kirim */
.kirim-bukti {
    display: block;
    width: fit-content;
    margin: 20px auto 0 auto;
    background-color: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s;
}
.kirim-bukti:hover {
    transform: scale(1.05);
}
.popup-thanks-container {
    position: relative;
}
.close-popup-thanks {
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
    z-index: 10001;
}
.icon-close {
    color: rgb(0, 0, 0); /* Mengubah warna ikon menjadi merah */
    cursor: pointer; /* Menunjukkan bahwa ikon dapat diklik */
}
.lihat-history {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary);
    color: white;
    border-radius: 8px;
    /* Bank dropdown styling */
    .bank-dropdown-wrapper {
        width: 100%;
        position: relative;
    }

    .bank-dropdown-wrapper select {
        width: 100%;
        padding: 10px;
        font-size: 14px;
        border-radius: 8px;
        border: 1px solid #ccc;
        background-color: white;
        color: #333;
        appearance: none; /* Remove default arrow */
        -webkit-appearance: none;
        -moz-appearance: none;
        cursor: pointer;
    }

    .bank-dropdown-wrapper::after {
        content: "\25BC"; /* Down arrow */
        position: absolute;
        top: 50%;
        right: 15px;
        transform: translateY(-50%);
        pointer-events: none;
        color: var(--primary);
    }

    .bank-dropdown-wrapper select:focus {
        border-color: var(--primary);
        outline: none;
    }

    .bank-dropdown-wrapper select option {
        padding: 10px;
    }

    /* Minimal styling for side-by-side time inputs */
    .waktu-inputs {
        display: flex;
        gap: 20px;
    }

    .waktu-input-group {
        display: flex;
        flex-direction: column;
        flex: 1;
    }

    .waktu-label {
        font-size: 14px;
        margin-bottom: 5px;
        color: #fff;
    }

    /* Ensure the time inputs have the same styling as other inputs */
    .waktu-input-group input[type="time"] {
        width: 150px;
        height: 46px;
        border-radius: 10px;
        background-color: #f4f4f4;
        border: none;
        padding: 10px;
        font-size: 16px;
    }

    /* Responsive adjustment */
    @media (max-width: 768px) {
        .waktu-inputs {
            flex-direction: row;
        }
    }
    /* Hover effect for dropdown */
    .bank-dropdown-wrapper select:hover {
        border-color: var(--primary);
    }
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}
.lihat-history:hover {
    transform: scale(1.05);
}
/*pop up di history-lanjut.html end*/

/*history-berhasil.html, history-batal.html, history-lanjut.html  end*/

/* Footer */
footer {
    background-color: var(--primary);
    text-align: center;
    padding: 1rem 0 3rem;
    margin-top: 3rem;
}

footer .socials {
    padding: 1rem 0;
}

footer .socials a {
    color: #fff;
    margin: 1rem;
}

footer .socials a:hover,
footer .links a:hover {
    color: var(--bg);
}
footer .links {
    margin-bottom: 1rem;
}
footer .links a {
    color: #fff;
    padding: 0.7rem 1rem;
}

footer .credit {
    font-size: 0.8rem;
}

footer .credit a {
    color: var(--bg);
    font-weight: 700;
}

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

.modal-container {
    position: relative;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    max-width: 900px;
    width: 100%;
    box-sizing: border-box;
}

/* Popup for menu selection confirmation */
.menu-confirmation-popup,
.menu-confirmation-content,
.menu-confirmation-content h3,
.menu-confirmation-content p,
.menu-confirmation-buttons,
.menu-confirmation-button,
.menu-confirmation-button.yes,
.menu-confirmation-button.yes:hover,
.menu-confirmation-button.no,
.menu-confirmation-button.no:hover {
    display: none;
}

/* Remove the menu confirmation popup styles */
.menu-confirmation-popup,
.menu-confirmation-content,
.menu-confirmation-content h3,
.menu-confirmation-content p,
.menu-confirmation-buttons,
.menu-confirmation-button,
.menu-confirmation-button.yes,
.menu-confirmation-button.yes:hover,
.menu-confirmation-button.no,
.menu-confirmation-button.no:hover {
    display: none;
}

.modal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.modal-content img {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
}

#modal-name {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #333;
    text-align: center;
}

#modal-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin-top: 0.5rem;
    padding: 0 1rem;
    text-align: center;
}

.close-icon {
    position: absolute;
    right: 1rem;
    top: 1rem;
    color: #333;
}
/* Fix for navigation buttons */
.navigation-buttons {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 30px 0;
    padding: 0 7%;
}

/* Seating options styling */
.seating-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.seat-option {
    padding: 12px 20px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: transparent;
    color: white;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
}

.seat-option.active {
    border-color: var(--primary);
    color: var(--primary);
}

body.light .seat-option.active {
  border-color: var(--primary);
  color: var(--primary);
}

body.light .seat-option {
  color: black;
  border: 1px solid #ccc;
}

/* Submit button styling */
.form-row.submit-row {
    grid-column: span 2;
    display: flex;
    margin-top: 40px;

    text-align: center;
}

.menu-button {
    background-color: var(--primary);
    display: inline-block;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.menu-button:hover {
    transform: scale(1.05);
}

/* Animation for modal */
@keyframes modalAnimation {
    from {
        opacity: 0;
        transform: translateY(-100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-container {
    animation: modalAnimation 0.3s ease-out;
}

/* Media Queries */
@media (max-width: 768px) {
    .modal-container {
        width: 85%;
        margin: 10% auto;
    }

    #modal-name {
        font-size: 1.5rem;
    }

    #modal-description {
        font-size: 0.9rem;
    }
}

/* Media Queries */

/* Laptop */
@media (max-width: 1366px) {
    html {
        font-size: 75%;
    }
}

/* Tablet */
@media (max-width: 768px) {
    html {
        font-size: 62.5%;
    }
    #hamburger-menu {
        display: inline-block;
    }
    .navbar .navbar-nav {
        position: absolute;
        top: 100%;
        right: -100%;
        background-color: #fff;
        width: 30rem;
        height: 100vh;
        transition: 0.4s;
    }
    .navbar .navbar-nav.active {
        right: 0;
    }

    .navbar .navbar-nav a {
        color: var(--bg);
        display: block;
        margin: 1.5rem;
        padding: 0.5rem;
        font-size: 2rem;
    }
    .navbar .navbar-nav a::after {
        transform-origin: 0 0;
    }
    .navbar .navbar-nav a:hover::after {
        transform: scaleX(0.2);
    }

    .navbar .search-form {
        width: 90%;
        right: 2rem;
    }

    .about .row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .about .row .about-img img {
        height: auto;
        width: 100%;
        object-fit: cover;
        object-position: center;
        margin-bottom: 1.5rem;
    }

    .about .row .content {
        padding: 0 1rem;
    }

    .about .row .content h3 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }

    .about .row .content p {
        font-size: 1.4rem;
        line-height: 1.6;
    }

    /* Tablet (max-width: 768px) */
    .about .row .about-img {
        flex: auto;
    }
    /* Tablet (max-width: 768px) */
    .about .row .about-img {
        flex: auto;
    }
    .about .row .content {
        flex: auto;
    }

    .Katalog .row .Katalog-img {
        flex: auto;
    }
    .Katalog .row .content {
        flex: auto;
    }

    .reservasi .row .reservasi-img {
        flex: auto;
    }
    .reservasi .row .content {
        flex: auto;
    }

    .Donasi .row .Donasi-img {
        flex: auto;
    }
    .Donasi .row .content {
        flex: auto;
    }

    .about .content a.cta {
        display: inline-block;
        margin-top: 1.5rem;
        background-color: #c9a063;
        color: white;
        padding: 10px 20px;
        border-radius: 8px;
        text-decoration: none;
    }
    .about-hero {
        flex-direction: column;
        text-align: center;
    }
    .about-images img {
        width: 120px;
        height: 120px;
    }

    .Katalog .row {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
    }

    .Katalog .row .Katalog-img img {
        height: auto;
        width: 100%;
        object-fit: cover;
        object-position: center;
        margin-bottom: 1.5rem;
    }

    .Katalog .row .content {
        padding: 0 1rem;
    }

    .Katalog .row .content h3 {
        font-size: 1.6rem;
    }

    .Katalog .content a.cta {
        display: inline-block;
        margin-top: 1.5rem;
        background-color: #c9a063;
        color: white;
        padding: 10px 20px;
        border-radius: 8px;
        text-decoration: none;
    }

    .reservasi .row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .reservasi .row .reservasi-img img {
        height: auto;
        width: 100%;
        object-fit: cover;
        object-position: center;
        margin-bottom: 1.5rem;
    }

    .reservasi .row .content {
        padding: 0 1rem;
    }

    .reservasi .row .content h3 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }

    .reservasi .row .content p {
        font-size: 1.4rem;
        line-height: 1.6;
    }

    .reservasi .content a.cta {
        display: inline-block;
        margin-top: 1.5rem;
        background-color: #c9a063;
        color: white;
        padding: 10px 20px;
        border-radius: 8px;
        text-decoration: none;
    }

    .tainer {
        padding: 10px;
        margin: 100px auto;
    }

    .quantity-control button {
        font-size: 14px;
        padding: 8px;
    }

    .quantity-control input {
        width: 50px;
        font-size: 14px;
    }

    .Donasi .row {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
    }

    .Donasi .row .Donasi-img img {
        height: auto;
        width: 100%;
        object-fit: cover;
        object-position: center;
        margin-bottom: 1.5rem;
    }

    .Donasi .row .content {
        padding: 0 1rem;
    }

    .Donasi .row .content h3 {
        font-size: 1.6rem;
    }

    .Donasi .content a.cta {
        display: inline-block;
        margin-top: 1.5rem;
        background-color: #c9a063;
        color: white;
        padding: 10px 20px;
        border-radius: 8px;
        text-decoration: none;
    }

    .contact .row {
        flex-wrap: wrap;
    }
    .contact .row .map {
        height: 30rem;
    }
    .contact .row form {
        padding: 0;
    }
    .modal-content {
        flex-wrap: wrap;
    }
    .donasi-page {
        padding: 10rem 7% 1.4rem;
    }

    .donasi-page h2 {
        font-size: 2.6rem;
        text-align: center;
        letter-spacing: 1px;
        margin-bottom: 3rem;
    }
    .donasi-page h2 span {
        font-size: 2.6rem;
        text-align: center;
        letter-spacing: 1px;
        margin-bottom: 3rem;
    }
    .donasi-page img {
        max-width: 90%;
        border-radius: 10px;
        margin: 15px auto;
    }

    .sponsor-list {
        margin: 2rem 0;
    }

    .sponsor-item {
        max-width: 90%;
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }

    .kegiatan-gallery {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .kegiatan-gallery img {
        border-radius: 10px;
    }

    .donasi-page p {
        font-size: 14px;
        line-height: 1.6;
        margin: 1rem 0;
    }

    .btn-donasi {
        font-size: 1rem;
        padding: 12px 30px;
        margin-top: 1.5rem;
    }

    /*     donasi.html */
    .kegiatan-section .image img {
        flex: 0 1 30%;
        max-width: 30%;
    }
    .hero-content {
        flex-direction: column;
    }

    .hero-content.reverse {
        flex-direction: column;
    }

    .hero-content .image,
    .hero-content .text {
        flex: 1 1 100%;
        max-width: 100%;
        padding: 0.5rem;
    }

    .hero-content .image img {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    /*     donasi.html end */

    /*tentang kami*/

    .story-image {
        width: 100%;
    }
    .tentangkami-text h1 {
        font-size: 3rem;
        margin-bottom: 1rem;
        color: #eee;
        text-align: center;
    }

    .content-container {
        flex-direction: column; /* Stack the elements vertically on mobile */
        align-items: center; /* Center align for mobile */
    }

    .image-container {
        margin-bottom: 20px; /* Add space below image */
        justify-content: center; /* Center the image in its container */
    }

    .story-image {
        max-width: 100%;
        border-radius: 8px;
    }

    .text-container {
        max-width: 100%;
        padding: 0 10px;
    }

    .section-title,
    .section-title {
        font-size: 3rem; /* Adjust title font size for mobile */
    }

    .text-container p,
    .tentangkami-text p,
    .card p {
        font-size: 15px; /* Adjust paragraph font size for mobile */
    }
    .tentangkami-images img {
        width: 180px;
        height: 180px;
    }

    /*tentang kami end*/

    /*form reservasi*/
    .form {
        width: 90%;
        padding: 0 30px;
    }

    .nama-email,
    .telp-jmlh,
    .tgl-waktu,
    .note-duduk {
        flex-direction: column;
        gap: 20px;
    }

    .container-input,
    .container-input-no,
    .container-input-email,
    .textarea-container {
        width: 100%;
    }

    input[type="date"],
    input[type="time"],
    textarea {
        width: 100%;
    }

    .telp-jmlh .jmlh .input-container-org {
        width: 100%;
        justify-content: space-between;
    }

    .input-number {
        flex: 1;
    }

    .seat-container {
        display: flex;
        flex-direction: column;
    }

    .menu-button {
        width: 100%;
    }
    /*form reservasi end*/

    /* pilih menu*/
    .kategori-container {
        width: 100%;
        margin: 1rem auto;
    }

    .menu .row {
        grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
        gap: 1rem;
    }

    .menu .product-card {
        padding: 1.5rem;
    }

    .menu .product-image img {
        height: 12rem;
    }

    .menu .product-content h3,
    .menu .product-price {
        font-size: 15px;
    }

    .jmlh .btn,
    .jmlh .input-number {
        font-size: 14px;
        padding: 4px;
    }

    .jmlh .input-number {
        width: 60px;
    }

    .menu-button {
        font-size: 16px;
        padding: 12px 20px;
    }
    /*pilih-menu end */

    /*ket-reservasi.html*/
    .ket {
        width: 95%;
        padding: 0 20px;
    }

    .baris {
        display: flex;
        justify-content: flex-start;
        margin-bottom: 8px;
    }

    .label {
        width: 200px;
        font-weight: bold;
        margin-bottom: 4px;
    }

    .pesanan {
        padding: 8px 16px;
    }

    .gambar-menu img {
        width: 65px;
        height: 65px;
        margin-right: 15px;
    }

    .nama-menu h3,
    .jumlah-menu h3,
    .harga-menu h3,
    .judul-kolom {
        font-size: 14px;
    }

    .header-pesanan {
        padding: 8px 16px;
    }

    .header-pesanan .jumlah-menu {
        padding-left: 40px; /* sesuaikan biar tetap rata */
    }
    .ringkasan-pembayaran {
        width: 100%;
        padding: 0 20px; /* Biar tidak nempel ke pinggir */
        box-sizing: border-box;
        margin-top: 30px;
        font-family: Arial, sans-serif;
    }

    .baris-ringkasan {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 10px;
    }

    .btn-lanjut {
        font-size: 16px;
        padding: 10px 20px;
    }

    .button-container {
        margin-top: 100px;
    }

    .ket-popup-content {
        padding: 20px;
        max-width: 90%;
        font-size: 14px;
    }

    .ket-popup-content h2 {
        font-size: 20px;
    }

    .ket-rekening-container {
        width: 100%;
        padding: 16px;
    }

    .btn-salin {
        font-size: 14px;
        padding: 4px 8px;
    }

    .popup-toast {
        font-size: 14px;
        padding: 10px 16px;
    }

    .btn-bayar-sekarang {
        padding: 8px 16px;
        font-size: 14px;
    }

    .card-radio {
        padding: 10px 16px;
    }

    .card-content {
        margin-left: 6px;
        font-size: 14px;
    }

    .ket-pembayaran-instruksi h4 {
        font-size: 16px;
    }

    .ket-pembayaran-instruksi h5 {
        font-size: 15px;
    }

    .ket-pembayaran-instruksi p,
    .ket-pembayaran-instruksi ul {
        font-size: 13px;
    }

    /* ket-reservasi end */
    /* Profile 768px (nambah)*/
    .form-wrapper {
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: flex-start;
        gap: 10px;
    }
    .profile {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .kiri-profile,
    .main-content {
        width: 100%;
        box-sizing: border-box;
        margin-top: auto;
    }
    .logout,
    .hapus-akun a {
        font-size: 14px;
    }

    /* Pastikan isi sidebar juga rata dan tidak sempit */
    .sidebar {
        width: 100%;
        padding: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .sidebar img {
        width: 120px;
        height: 120px;
        border-radius: 50%;
        object-fit: cover;
        margin-bottom: 10px;
    }

    .profile-container {
        flex-direction: column;
        gap: 20px;
    }

    .profile-form,
    .profile-image {
        width: 100%;
        box-sizing: border-box;
    }

    .profile-image {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .profile-image img {
        width: 140px;
        height: 140px;
        border-radius: 50%;
        object-fit: cover;
    }

    .btn-upload {
        margin-top: 10px;
        padding: 8px 16px;
    }

    .info-gambar {
        font-size: 14px;
        margin-top: 8px;
        color: #555;
        text-align: center;
    }

    .submit-container {
        text-align: center;
        margin-top: 20px;
    }

    .btn-simpan {
        width: 100%;
        padding: 10px;
    }

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

    /* History (nambah)*/
    /* Ubah layout jadi kolom */
    .content-history {
        display: flex;
        flex-direction: column;
        padding: 1rem;
        gap: 2rem;
    }

    .history-kiri,
    .history-kanan {
        width: 100%;
    }

    /* Tombol kembali */
    .nav-history {
        padding: 1.1rem;
    }

    .nav-history .back-button {
        font-size: 1.1rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    /* Info bar */
    .info-bar {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        margin: 10px auto;
        font-size: 14px;
        font-weight: 500;
        color: #000;
        gap: 10px; /* beri jarak antar elemen di wrap */
    }
    .booking-left {
        display: flex;
        align-items: center;
        gap: 10px;
        flex: 1 1 40%;
        font-size: 1.1rem;
    }
    .booking-right {
        flex: 1 1 30%;
        text-align: right;
        font-size: 1.1rem;
    }

    .booking-number,
    .booking-date {
        font-weight: 600;
        color: #2a2a2a;
    }

    .status-batal,
    .status-berhasil,
    .status-lanjut {
        font-size: 1.1rem;
    }
    /* Payment deadline styling (nambah)*/
    .payment-deadline-container {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        margin-bottom: 5px;
    }

    .payment-deadline-info {
        flex: 1 1 30%;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 5px;
        text-align: right;
    }

    .payment-deadline-label {
        font-size: 1.1rem;
        color: #010101;
    }
    .payment-deadline-time {
        font-size: 1.1rem;
        font-weight: bold;
        color: #ff0000;
    }
    .payment-deadline-time.deadline-expired {
        color: #ff0000;
    }

    /* Detail informasi */
    .detail-baris {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 0.2rem;
        font-size: 1.1rem;
    }

    .detail-nilai-permintaan-khusus {
        font-size: 1.1rem;
        text-align: justify;
    }

    /* Produk */
    .produk-item {
        display: flex;
        gap: 0.8rem;
        margin: 0.5rem 0;
        align-items: center;
    }

    .produk-item img {
        width: 70px;
        height: 70px;
        object-fit: cover;
    }

    .produk-nama {
        font-size: 1.1rem;
    }

    .produk-info-bawah {
        display: flex;
        justify-content: space-between;
        font-size: 1.1rem;
    }

    .toggle-produk {
        font-size: 1.1rem;
        padding: 0.3rem 1rem;
    }

    .detail-harga {
        margin-top: 1rem;
        font-size: 1.1rem;
    }

    .baris-detail {
        display: flex;
        justify-content: space-between;
    }

    /* Pembayaran */

    .pembayaran-atas h3 {
        font-size: 30px;
        margin: 2.1rem;
    }

    .box-info-pembayaran {
        font-size: 1.1rem;
    }

    .account-info {
        display: flex;
        gap: 0.8rem;
        align-items: center;
    }

    .logo-bank {
        width: 50px;
        height: 50px;
        object-fit: contain;
    }

    .details p {
        font-size: 1.1rem;
        margin: 0;
    }

    .catatan-pembayaran {
        font-size: 1.1rem;
        text-align: justify;
    }
    .catatan-pembayaran span {
        font-size: 1.1rem;
        text-align: justify;
    }

    /* Tombol batal */
    .button-batal,
    .button-lanjur-bayar,
    .button-lanjut-reserv {
        font-size: 1.1rem;
        padding: 0.8rem;
        margin-top: 1.5rem;
        text-align: center;
    }

    /* Pop-up */
    .popup-content {
        width: 90%;
        font-size: 1.1rem;
    }

    .popup-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .popup-button {
        font-size: 1.1rem;
        padding: 0.5rem 1rem;
    }

    /* tambahan */
    .harga-sekarang {
        font-size: 1.1rem;
    }
    .baris-info-bayar span {
        font-size: 1.1rem;
    }
    .baris-bayar span {
        font-size: 1.1rem;
    }
    .produk-item {
        display: none;
    }

    .produk-item.visible {
        display: flex;
    }
    .berhasil-reservasi,
    .batal-reservasi,
    .lanjut-reservasi {
        font-size: 1.5rem;
    }
    /* reservasi form */
    .banner {
        height: 180px;
        background-size: cover;
        background-position: center;
        position: relative;
    }

    .banner-overlay {
        background-color: rgba(0, 0, 0, 0.5);
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .banner-title {
        font-size: 24px;
        color: white;
        text-align: center;
        margin-top: 100px;
    }

    .form {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 30px;
    }

    .form-grid {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

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

    .form-row label {
        margin-bottom: 6px;
        font-weight: bold;
        font-size: 14px;
    }

    .form-row input[type="text"],
    .form-row input[type="date"],
    .form-row input[type="time"],
    .form-row input[type="number"],
    .form-row textarea {
        width: 100%;
        padding: 8px 10px;
        font-size: 14px;
        border: 1px solid #ccc;
        border-radius: 10px;
    }

    .input-container-org {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
    }

    .input-container-org .btn {
        width: 32px;
        height: 32px;
        font-size: 18px;
        border: none;
        background-color: #eee;
        border-radius: 4px;
    }

    .input-container-org .input-number {
        flex: 1;
        text-align: center;
    }

    .box-waktu {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
    }

    .box-waktu p {
        margin: 0;
    }

    #largeTextBox {
        min-height: 80px;
        resize: vertical;
    }

    .duduk {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .seat-container {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .seat-option {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 14px;
    }

    .seat-option .content i {
        font-size: 16px;
    }

    .button-container.full-width {
        margin-top: 20px;
        display: flex;
        justify-content: center;
    }

    .menu-button {
        background-color: var(--primary);
        color: white;
        padding: 15px 30px;
        font-size: 18px;
        border: none;
        border-radius: 10px;
        cursor: pointer;
        transition: transform 0.3s ease, background-color 0.3s ease;
        text-decoration: none;
        display: inline-block;
        text-align: center;
    }

    .menu-button:hover {
        background-color: #555;
    }
    .judul-content-history h3 {
        color: var(--primary);
        font-size: 25px;
        font-weight: 600;
    }
    .profile-form {
        flex: 1;
        padding-right: 0px;
        border-right: 0px solid #dddddd00;
    }
}

/* Mobile Phone */
@media (max-width: 450px) {
    html {
        font-size: 55%;
    }

    /* donasi.html */
    .kegiatan-section .image img {
        flex: 0 1 30%;
        max-width: 30%;
    }
    /*     donasi.html end */

    /*pilih menu.html*/
    .menu .row {
        grid-template-columns: 1fr;
    }

    .menu .product-card {
        padding: 1rem;
    }

    .menu .product-image img {
        height: 10rem;
    }

    .menu .product-content h3,
    .menu .product-price {
        font-size: 14px;
    }

    .jmlh {
        flex-direction: column;
        align-items: center;
    }

    .jmlh .input-container-banyak-menu {
        gap: 3px;
    }

    .jmlh .btn,
    .jmlh .input-number {
        font-size: 13px;
        padding: 3px 10px;
    }

    .jmlh .input-number {
        width: 50px;
    }

    .kategori-container {
        width: 100%;
        margin: 1rem auto;
    }

    .menu-button {
        font-size: 14px;
        padding: 10px 20px;
    }
    /*pilih menu end*/

    /*ket-reservasi*/

    .ket {
        width: 100%;
        padding: 0 20px;
        font-size: 13px;
    }
    .ket h2 {
        font-size: 20px;

        line-height: 1.3;
    }

    .keterangan-reservasi,
    .ringkasan-pembayaran,
    .catatan {
        font-size: 13px;
    }
    .baris {
        display: flex;
        flex-wrap: wrap; /* Biar nggak maksa satu baris */
        gap: 4px;
    }
    .ket .baris .label {
        font-size: 14px;
        max-width: 130px;
        width: 130px;
    }
    .ket .baris p {
        font-size: 14px;
        margin: 0; /* Hapus margin bawaan p */
    }
    .ket .baris .nilai {
        width: 100%;
        margin-left: -45px;

        text-align: justify;
    }
    .pesanan {
        padding: 6px 10px;
    }

    .gambar-menu img {
        width: 50px;
        height: 50px;
        margin-right: 10px;
    }

    .nama-menu h3,
    .jumlah-menu h3,
    .harga-menu h3,
    .judul-kolom {
        font-size: 12px;
    }

    .header-pesanan {
        padding: 6px 10px;
    }

    .header-pesanan .jumlah-menu {
        padding-left: 20px; /* biar sejajar juga */
    }

    .header-pesanan .harga-menu {
        padding-right: 5px;
    }

    .btn-lanjut {
        width: 100%;
        padding: 10px;
        font-size: 14px;
        margin-top: 30px;
    }

    .judul-catatan {
        font-size: 15px;
    }

    .isi-catatan li {
        font-size: 13px;
    }
    .ket-popup-content {
        padding: 16px;
        font-size: 13px;
    }

    .ket-popup-content h2 {
        font-size: 18px;
    }

    .ket-close-btn {
        top: 10px;
        right: 16px;
        font-size: 22px;
    }

    .ket-rekening-container {
        width: 100%;
        padding: 14px;
    }

    .btn-salin {
        font-size: 13px;
        padding: 4px 6px;
    }

    .popup-toast {
        font-size: 13px;
        padding: 8px 12px;
    }

    .btn-bayar-sekarang {
        padding: 8px 14px;
        font-size: 13px;
    }

    .card-radio {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 10px 14px;
    }

    .card-content {
        margin-left: 0;
        font-size: 13px;
    }

    .ket-pembayaran-instruksi h4 {
        font-size: 15px;
    }

    .ket-pembayaran-instruksi h5 {
        font-size: 14px;
    }

    .ket-pembayaran-instruksi p,
    .ket-pembayaran-instruksi ul {
        font-size: 12px;
    }

    /*ket-reservasi*/

    /* tentang kami */
    /* tentang kami */
    .tentangkami-text p {
        font-size: 1.5rem;
    }
    .tentangkami-images img {
        width: 120px;
        height: 120px;
    }

    .section-title,
    .section_title {
        font-size: 3rem;
        margin-top: 5rem;
    }

    .card h3 {
        font-size: 2rem;
    }

    .card p {
        font-size: 1.5rem;
    }

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

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

    .content-container {
        gap: 1rem;
    }
    .profil-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
    /* Mobile (max-width: 450px) */
    /* tentang kami */
    .about .row .about-img {
        flex: auto;
    }
    .about .row .content {
        flex: auto;
    }

    /* katalog */
    .Katalog .row .Katalog-img {
        flex: auto;
    }
    .Katalog .row .content {
        flex: auto;
    }

    /* reservasi */
    .reservasi .row .reservasi-img {
        flex: auto;
    }
    .reservasi .row .content {
        flex: auto;
    }

    /* donasi  */
    .Donasi .row .Donasi-img {
        flex: auto;
    }
    .Donasi .row .content {
        flex: auto;
    }
    #user-avatar img {
        width: 24px !important;
        height: 24px !important;
        border-radius: 50% !important;
        object-fit: cover;
    }

    /* Style tombol Login & Registrasi - versi kecil */
    .navbar-extra .btn-auth {
        display: inline-block;
        padding: 0.3rem 0.8rem;

        border: 1.5px solid var(--primary);
        background-color: transparent;
        color: var(--primary);
        border-radius: 4px;
        font-size: 1.3rem;
        font-weight: 500;
        transition: all 0.3s ease;
    }

    .navbar-extra a.btn-auth:hover {
        background-color: var(--primary);
        color: #fff;
    }

    /* Profile 450px (nambah)*/
    .profile {
        padding: 16px;
        gap: 16px;
    }

    .sidebar {
        padding: 16px;
    }

    .sidebar img {
        width: 100px;
        height: 100px;
    }

    .nama-profile {
        font-size: 18px;
    }

    .email-profile {
        font-size: 14px;
        word-break: break-all;
    }

    .nav-option a {
        font-size: 14px;
        padding: 6px 12px;
    }

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

    .profile-form input {
        width: 100%;
        padding: 8px;
        font-size: 14px;
    }

    .profile-image img {
        width: 120px;
        height: 120px;
    }

    .btn-upload {
        padding: 6px 12px;
        font-size: 14px;
    }

    .submit-container {
        margin-top: 16px;
    }

    .btn-simpan {
        font-size: 15px;
        padding: 10px;
    }

    .notif-card {
        padding: 12px;
        gap: 8px;
    }

    .notif-left img {
        width: 45px;
        height: 45px;
    }

    .notif-info h3 {
        font-size: 1.2rem;
    }

    .notif-info p {
        font-size: 1.2rem;
    }

    .notif-action {
        flex-direction: column;
        align-items: center;
    }

    .lihat-btn {
        width: 100%;
        padding: 5px;
        font-size: 1.2rem;
        text-align: center;
    }
    .logout,
    .hapus-akun a {
        font-size: 14px;
    }
    .popup-content {
        width: 92%;
        padding: 16px;
    }

    .popup-content h3 {
        font-size: 1.1rem;
    }

    .popup-content p {
        font-size: 14px;
    }

    .header-row {
        display: flex;
        align-items: flex-start;
        gap: 4px;
        padding: 2px 6px;
    }

    .main-content .header-row p {
        font-size: 1.2rem;
        margin: 0;
    }

    .header-row .highlight {
        font-weight: bold;
        color: var(--primary);
        font-size: 1.2rem;
    }

    .sort-by {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 1.2rem;
    }

    .sort-by label {
        font-size: 1.2rem;
    }

    .sort-by select {
        font-size: 1.2rem;
        padding: 6px 10px;
        border-radius: 4px;
        border: 1px solid #ccc;
    }

    /* histori (nambah)*/
    .content-history {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        padding: 1rem;
    }

    .history-kiri,
    .history-kanan {
        width: 100%;
    }

    .produk-item {
        align-items: center;
        gap: 0.5rem;
        text-align: center;
    }
    .pembayaran-atas h3 {
        font-size: 18px;
    }
    .produk-item img {
        width: 100%;
        max-width: 70px;
        height: auto;
    }
    .produk-nama {
        padding: 0 1rem;
    }
    .produk-detail {
        width: 100%;
    }

    .produk-info-bawah {
        justify-content: space-between;
        padding: 0 1rem;
    }

    .detail-inform {
        padding: 0 10px;
    }

    .detail-baris {
        display: flex;
        gap: 2px;
    }
    .detail-label {
        min-width: 110px;
    }
    .popup-content {
        width: 90%;
        padding: 1rem;
        font-size: 14px;
    }

    .popup-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .popup-button {
        width: 100%;
    }

    /* Info bar */
    .info-bar {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        margin: 10px auto;
        font-size: 14px;
        font-weight: 500;
        color: #000;
        gap: 10px; /* beri jarak antar elemen di wrap */
    }
    .booking-left {
        display: flex;
        align-items: center;
        gap: 10px;
        flex: 1 1 40%;
        font-size: 0.95rem;
    }
    .booking-right {
        flex: 1 1 30%;
        text-align: right;
        font-size: 0.95rem;
    }

    .booking-number,
    .booking-date {
        font-weight: 600;
        color: #2a2a2a;
    }

    .status-batal,
    .status-berhasil,
    .status-lanjut {
        font-size: 0.95rem;
    }
    /* Payment deadline styling (nambah)*/
    .payment-deadline-container {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        margin-bottom: 5px;
    }

    .payment-deadline-info {
        flex: 1 1 30%;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 5px;
        text-align: right;
    }

    .payment-deadline-label {
        font-size: 0.95rem;
        color: #010101;
    }
    .payment-deadline-time {
        font-size: 0.95rem;
        font-weight: bold;
        color: #ff0000;
    }
    .payment-deadline-time.deadline-expired {
        color: #ff0000;
    }

    .info-pengirim .account-info,
    .info-penerima .account-info {
        align-items: center;
    }

    .account-info img.logo-bank {
        max-width: 70px;
        margin-bottom: 0.5rem;
    }

    .banner {
        height: 140px;
        background-size: cover;
        background-position: center;
        position: relative;
    }

    .banner-overlay {
        background-color: rgba(0, 0, 0, 0.5);
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .banner-title {
        font-size: 18px;
        color: white;
        text-align: center;
        margin-top: 80px;
    }

    .form {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 20px;
    }

    .form-grid {
        display: flex;
        flex-direction: column;
        gap: 14px;
        width: 100%;
    }

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

    .form-row label {
        font-weight: bold;
        font-size: 10px;
    }

    .form-row input[type="text"],
    .form-row input[type="date"],
    .form-row input[type="time"],
    .form-row input[type="number"],
    .form-row textarea {
        width: 100%;
        padding: 6px 8px;
        font-size: 10px;
        border: 1px solid #ccc;
        border-radius: 8px;
    }

    .input-container-org {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 6px;
    }

    .input-container-org .btn {
        width: 28px;
        height: 28px;
        font-size: 10px;
        border: none;
        background-color: #eee;
        border-radius: 4px;
    }

    .input-container-org .input-number {
        flex: 1;
        text-align: center;
        font-size: 10px;
    }

    .box-waktu {
        display: flex;
        align-items: center;
        gap: 6px;
        flex-wrap: wrap;
    }

    .box-waktu p {
        margin: 0;
        font-size: 10px;
    }

    #largeTextBox {
        min-height: 70px;
        resize: vertical;
        font-size: 10px;
    }

    .duduk {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .seat-container {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .seat-option {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 10px;
    }

    .seat-option .content i {
        font-size: 11px;
    }

    .button-container.full-width {
        margin-top: 16px;
        display: flex;
        justify-content: center;
    }

    .menu-button {
        background-color: var(--primary);
        color: white;
        padding: 12px 24px;
        font-size: 12px;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        transition: transform 0.3s ease, background-color 0.3s ease;
        text-decoration: none;
        display: inline-block;
        text-align: center;
    }

    .menu-button:hover {
        background-color: #555;
    }
    /* Nambah baru */
    .judul-content-history {
        width: 95%;
        margin: 0;
    }

    .judul-content-history h3,
    .daftar-produk p {
        color: var(--primary);
        font-size: 20px;
        font-weight: 600;
    }

    .judul-content-history hr {
        margin-top: 0;
    }
    .daftar-produk {
        width: 100%;
        margin: 20px auto;
        padding: 0;
    }
    .pembayaran-atas {
        background-color: #f5f8fa;
        width: 100%;
        border-radius: 10px;
        box-sizing: border-box;
        padding: 12px;
    }
    .judul-dana-tf {
        font-size: 1.3rem;
        color: var(--primary);
        margin-bottom: 8px;
        font-weight: bold;
    }
    #nomor-rekening {
        color: #000000;
        font-weight: 600;
        font-size: 1.3rem;
    }
    .btn-salin {
        font-size: 1.3rem;
        padding: 4px 6px;
    }
    .pembayaran-atas h3 {
        font-size: 20px;
    }
    .profile-form {
        flex: 1;
        padding-right: 0px;
        border-right: 0px solid #dddddd00;
    }
}

/* ✅ Email change form styling - matching login.css but with unique identifiers */
.otp-standalone-profile {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35);
    width: 400px;
    max-width: 90%;
    text-align: center;
    z-index: 1000;
}

.otp-standalone-profile h3 {
    color: #333;
    font-size: 24px;
    margin-bottom: 10px;
}

.otp-standalone-profile p {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

.otp-standalone-profile input {
    background-color: #eee;
    border: none;
    margin: 8px 0;
    padding: 10px 15px;
    font-size: 13px;
    border-radius: 8px;
    width: 100%;
    outline: none;
}

.otp-standalone-profile button {
    background-color: #b6895b;
    color: #fff;
    font-size: 12px;
    padding: 10px 30px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin: 10px 5px;
    cursor: pointer;
}

.otp-standalone-profile button:hover {
    opacity: 0.9;
}

/* Add overlay effect when forms are shown */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #e2e2e2, #d7b78e);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 999;
}

body.form-active::before {
    opacity: 1;
    visibility: visible;
}

.otp-hidden-profile {
    display: none !important;
}

.modal-content {
    padding: 20px;
}

.product-description {
    margin-top: 15px;
    white-space: pre-line; /* This will preserve line breaks in the description */
}

.modal img {
    max-width: 40%;
    height: auto;
}

.item-detail-button {
    background: none;
    border: 1px solid #666;
    border-radius: 50%;
    width: 4rem;
    height: 4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.item-detail-button:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}

.item-detail-button i {
    color: #666;
}

.item-detail-button i:hover {
    color: #fff;
}

@media (max-width: 384px) {
    html {
        font-size: 45%;
    }
    .profile {
        gap: 16px;
    }

    .sidebar {
        padding: 16px;
    }

    .sidebar img {
        width: 100px;
        height: 100px;
    }

    .nama-profile {
        font-size: 18px;
    }

    .email-profile {
        font-size: 14px;
        word-break: break-all;
    }

    .nav-option a {
        font-size: 14px;
        padding: 6px 12px;
    }

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

    .profile-form input {
        width: 100%;
        padding: 8px;
        font-size: 14px;
    }

    .profile-image img {
        width: 120px;
        height: 120px;
    }

    .btn-upload {
        padding: 6px 12px;
        font-size: 14px;
    }

    .submit-container {
        margin-top: 16px;
    }

    .btn-simpan {
        font-size: 15px;
        padding: 10px;
    }

    .notif-card {
        padding: 12px;
        gap: 8px;
    }

    .notif-left img {
        width: 45px;
        height: 45px;
    }

    .notif-info h3 {
        font-size: 1.2rem;
    }

    .notif-info p {
        font-size: 1.2rem;
    }

    .notif-action {
        flex-direction: column;
        align-items: center;
    }

    .lihat-btn {
        width: 100%;
        padding: 5px;
        font-size: 1.2rem;
        text-align: center;
    }
    .logout,
    .hapus-akun a {
        font-size: 14px;
    }
    .popup-content {
        width: 92%;
        padding: 16px;
    }

    .popup-content h3 {
        font-size: 1.1rem;
    }

    .popup-content p {
        font-size: 14px;
    }

    .header-row {
        display: flex;
        align-items: flex-start;
        gap: 4px;
        padding: 2px 6px;
    }

    .main-content .header-row p {
        font-size: 1.2rem;
        margin: 0;
    }

    .header-row .highlight {
        font-weight: bold;
        color: var(--primary);
        font-size: 1.2rem;
    }

    .sort-by {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 1.2rem;
    }

    .sort-by label {
        font-size: 1.2rem;
    }

    .sort-by select {
        font-size: 1.2rem;
        padding: 6px 10px;
        border-radius: 4px;
        border: 1px solid #ccc;
    }

    /* histori (nambah)*/
    .content-history {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        padding: 6rem 1rem;
    }

    .history-kiri,
    .history-kanan {
        width: 100%;
    }

    .produk-item {
        align-items: center;
        gap: 0.5rem;
        text-align: center;
    }
    .pembayaran-atas h3 {
        font-size: 15px;
    }
    .produk-item img {
        width: 100%;
        max-width: 70px;
        height: auto;
    }
    .produk-nama {
        padding: 0 1rem;
    }
    .produk-detail {
        width: 100%;
    }

    .produk-info-bawah {
        justify-content: space-between;
        padding: 0 1rem;
    }

    .detail-inform {
        width: 100%;
        margin: 20px auto;
        padding: 0 3px;
    }

    .detail-baris {
        display: flex;
        gap: 2px;
    }
    .detail-label {
        min-width: 80px;
    }
    .popup-content {
        width: 90%;
        padding: 1rem;
        font-size: 14px;
    }

    .popup-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .popup-button {
        width: 100%;
    }

    /* Info bar */
    .info-bar {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        margin: 10px auto;
        font-size: 14px;
        font-weight: 500;
        color: #000;
        gap: 10px; /* beri jarak antar elemen di wrap */
    }
    .booking-left {
        display: flex;
        align-items: center;
        gap: 10px;
        flex: 1 1 40%;
        font-size: 1rem;
    }
    .booking-right {
        flex: 1 1 30%;
        text-align: right;
        font-size: 1rem;
    }

    .booking-number,
    .booking-date {
        font-weight: 600;
        color: #2a2a2a;
    }

    .status-batal,
    .status-berhasil,
    .status-lanjut {
        font-size: 1rem;
    }
    /* Payment deadline styling (nambah)*/
    .payment-deadline-container {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        margin-bottom: 5px;
    }

    .payment-deadline-info {
        flex: 1 1 30%;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 5px;
        text-align: right;
    }

    .payment-deadline-label {
        font-size: 1rem;
        color: #010101;
    }
    .payment-deadline-time {
        font-size: 1rem;
        font-weight: bold;
        color: #ff0000;
    }
    .payment-deadline-time.deadline-expired {
        color: #ff0000;
    }

    .info-pengirim .account-info,
    .info-penerima .account-info {
        align-items: center;
    }

    .account-info img.logo-bank {
        max-width: 70px;
        margin-bottom: 0.5rem;
    }
    /* Nambah baru */
    .judul-content-history {
        width: 95%;
        margin: 0;
    }
    .judul-content-history h3,
    .daftar-produk p {
        color: var(--primary);
        font-size: 15px;
        font-weight: 600;
    }

    .judul-content-history hr {
        margin-top: 0;
    }
    .daftar-produk {
        width: 100%;
        margin: 20px auto;
        padding: 0;
    }
    .pembayaran-atas {
        background-color: #f5f8fa;
        width: 100%;
        border-radius: 10px;
        box-sizing: border-box;
        padding: 15px;
    }
    .judul-dana-tf {
        font-size: 1.3rem;
        color: var(--primary);
        margin-bottom: 8px;
        font-weight: bold;
    }
    #nomor-rekening {
        color: #000000;
        font-weight: 600;
        font-size: 1.3rem;
    }
    .btn-salin {
        font-size: 1.3rem;
        padding: 4px 6px;
    }
    .profile-form {
        flex: 1;
        padding-right: 0px;
        border-right: 0px solid #dddddd00;
    }
}

/* Layar Paling Kecil */
@media (max-width: 324px) {
    html {
        font-size: 40%;
    }
    #nomor-rekening {
        color: #000000;
        font-weight: 600;
        font-size: 1.1rem;
    }
    .btn-salin {
        font-size: 1.1rem;
        padding: 4px 6px;
    }
    .profile-form {
        flex: 1;
        padding-right: 0px;
        border-right: 0px solid #dddddd00;
    }
}
