/* CSS ini sama dengan kode sebelumnya, tidak ada perubahan */
body {
    font-family: "Poppins", sans-serif;
    background-color: #f8f9fa;
}
.navbar-brand img {
    height: 40px;
}
.navbar .d-lg-none {
    flex-grow: 1;
    justify-content: flex-end;
}
.navbar .search-box-mobile {
    max-width: 180px;
}
.navbar .btn-keranjang,
.navbar .navbar-toggler {
    flex-shrink: 0;
}
.navbar .btn-keranjang .bi-cart-fill {
    vertical-align: middle;
    font-size: 1.1rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: #6c757d;
}
.navbar-nav .nav-link.active {
    color: #000;
    font-weight: 600;
}
.search-box {
    position: relative;
}
.search-box .form-control {
    padding-left: 2.5rem;
    border-radius: 20px;
    background-color: #f3f4f6;
    border: none;
}
.search-box .search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
}
.btn-keranjang {
    background-color: #e53935;
    color: white;
    border-radius: 10px;
    font-weight: 500;
}
.btn-keranjang:hover {
    background-color: #c62828;
    color: white;
}
/* .hero-banner {
    position: relative;
    overflow: hidden;
}

.hero-banner h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 600;
    color: #2c3e50;
    letter-spacing: 2px;
    text-align: center;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}
.hero-banner h1::after {
    content: '';
    display: block;
    width: 250px;
    height: 5px;
    background-color: #2c3e50;
    opacity: 0.6;
    margin: 15px auto 0;
}
.hero-banner h1::before {
    content: '';
    display: block;
    width: 200px;
    height: 5px;
    background-color: #2c3e50;
    opacity: 0.6;
    margin: 0 auto 15px;
}
.hero-banner img {
    max-width: 250px;
    height: auto;
} */
.hero-banner {
    background-image: linear-gradient(
            rgba(0, 137, 123, 0.7),
            rgba(0, 137, 123, 0.7)
        ),
        url("https://images.unsplash.com/photo-1555396273-367ea4eb4db5?q=80&w=1974&auto-format&fit=crop");
    background-size: cover;
    background-position: center;
    padding: 2rem 0;
    color: white;
}

.hero-banner .hero-logo {
    height: 150px; /* Sesuaikan ukuran logo */
    width: auto;
}

.hero-banner .hero-title {
    font-size: 2.5rem; /* Ukuran "KANTIN DIGITAL" */
    font-weight: 700;
    margin-bottom: 0;
    letter-spacing: 1px;
}

.hero-banner .hero-subtitle {
    font-size: 1.25rem; /* Ukuran "SMA NEGERI 2 JEMBER" */
    font-weight: 400;
    margin-bottom: 0;
    letter-spacing: 1px;
}
.card {
    padding: 5px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}
.card1 {
    border: 3px dashed #ff0000;
}
.card2 {
    border: 3px dashed #6a9d00;
}
.card3 {
    border: 3px dashed #31adff;
}
.card-img-top {
    border-radius: 15px;
}
.card:hover {
    transform: translateY(-5px);
}
.rating-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #ffc107;
    color: #000;
    font-weight: 600;
    border-radius: 20px;
    padding: 2px 10px;
    font-size: 0.9em;
    display: flex;
    align-items: center;
}
.rating-badge .bi-star-fill {
    margin-right: 5px;
}
.card .card-title {
    font-weight: 600;
    color: #212529;
    margin-bottom: 0.25rem;
}
.card .stall-name {
    font-size: 0.85em;
    color: #6c757d;
}
.card .price {
    font-weight: 700;
    color: #0d6efd;
    font-size: 1.1em;
}
.add-button {
    background-color: #0d6efd;
    color: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    text-decoration: none;
}
.add-button:hover {
    background-color: #0a58ca;
    color: white;
}
.breadcrumb a {
    text-decoration: none;
    color: #6c757d;
}
.breadcrumb a:hover {
    color: #0d6efd;
}
/* Style untuk Offcanvas Keranjang */
.offcanvas {
    display: flex;
    flex-direction: column;
}
.offcanvas-body {
    flex-grow: 1;
    overflow-y: auto;
}
.cart-item {
    display: flex;
    align-items: center;
    padding: 5px;
    border-radius: 15px;
    margin-bottom: 1rem;
}
.cart-item img {
    width: 60px;
    height: 80px;
    border-radius: 10px;
    object-fit: cover;
    margin-right: 1rem;
}
.cart-item-details {
    flex-grow: 1;
}
.cart-item-details h6 {
    margin-bottom: 0;
    font-weight: 600;
}
.cart-item-details .text-muted {
    font-size: 0.9em;
}
.cart-item-price {
    color: #0d6efd;
    font-weight: 600;
    /* margin-top: 0.25rem; */
    margin: 0;
}
.cart-item-price-total {
    color: #f52a3b;
    font-weight: 600;
}
.cart-quantity-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.cart-quantity-selector .btn {
    width: 28px;
    height: 28px;
    padding: 0;
    border-radius: 50%;
    background-color: #f3f4f6;
    border: none;
    color: #000;
}
.schedule-section .input-group-text {
    background-color: transparent;
    border-right: 0;
}
.schedule-section .form-control,
.schedule-section .form-select {
    border-left: 0;
}
.payment-method {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    background-color: #f8f9fa;
    border-radius: 10px;
}
.payment-method .icon-bg {
    background-color: #e0e0e0;
    padding: 0.5rem;
    border-radius: 8px;
    margin-right: 1rem;
}
.payment-method .text-danger {
    font-size: 0.9em;
}
.offcanvas-footer {
    padding: 1rem;
    border-top: 1px solid #dee2e6;
    background-color: #fff;
}
.btn-confirm {
    background-color: #e53935;
    color: white;
    font-weight: 600;
    padding: 0.75rem;
}
.btn-confirm:hover {
    background-color: #c62828;
    color: white;
}

/* Detail */
.product-image {
    width: 100%;
    max-height: 450px;
    height: auto;
    border-radius: 15px;
    border: 1px solid #eee;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
    object-fit: cover;
}
.rating-stars .bi-star-fill {
    color: #ffc107;
}
.product-price {
    color: #0d6efd;
}
.nutrition-info .badge {
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    padding: 0.5rem 1rem;
    color: #212529;
    background-color: transparent;
    font-weight: 500;
    font-size: 0.8em;
    text-align: center;
}
.nutrition-info .badge span {
    display: block;
    font-size: 1em;
    color: #6c757d;
}
.variant-options .btn-check:checked + .btn {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: white;
}
.quantity-selector {
    display: flex;
    align-items: center;
}
.quantity-selector .btn {
    border-radius: 50%;
    width: 38px;
    height: 38px;
    font-weight: 600;
}
.quantity-selector .form-control {
    width: 50px;
    text-align: center;
    border: none;
    background: transparent;
    font-weight: 600;
    font-size: 1.2rem;
}
.quantity-selector .form-control:focus {
    box-shadow: none;
}
.btn-add-to-cart {
    background-color: #00897b; /* Warna hijau toska */
    color: white;
    font-weight: 600;
}
.btn-add-to-cart:hover {
    background-color: #00695c;
    color: white;
}

/* prifile */

.profile-card {
    background-color: white;
    /* border: none; */

    border: 3px dashed #ffd000;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    position: relative;
}

.profile-picture {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    margin-top: -83px;
}
.bg-img {
    position: absolute;
    width: 125px;
    height: 124px;
    border-radius: 50%;
    object-fit: cover;

    border: 3px dashed #ffd000;

    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: -51px;
    left: 50%;
    transform: translateX(-50%);
}

.edit-link {
    position: absolute;
    top: 20px;
    right: 20px;
    text-decoration: none;
    color: #6c757d;
    font-weight: 500;
}
.edit-link:hover {
    color: #0d6efd;
}

/* Form Styles */
.profile-form .row {
    align-items: center;
}

.profile-form .form-label {
    font-weight: 600;
    color: #343a40;
    padding-left: 0;
}

.profile-form .form-control[readonly] {
    background-color: white;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-weight: 500;
}

/* Penyesuaian untuk mobile */
@media (max-width: 767.98px) {
    .profile-form .form-label {
        margin-bottom: 0.25rem;
        text-align: left;
    }
    .profile-form .row .col-md-3,
    .profile-form .row .col-md-9 {
        padding-left: 0;
        padding-right: 0;
    }
}

/* PROFILE UPDATE */
.profile-picture-update-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin: -83px auto 0 auto;
}
.profile-picture-update {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
}

.upload-button {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 35px;
    height: 35px;
    background-color: #0d6efd;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    cursor: pointer;
    transition: background-color 0.2s;
}
.upload-button:hover {
    background-color: #0a58ca;
}
.upload-button input[type="file"] {
    display: none;
}

.profile-form .form-label {
    font-weight: 600;
    color: #343a40;
}

.profile-form .form-control,
.profile-form .form-select {
    border-radius: 8px;
    font-weight: 500;
}

@media (max-width: 767.98px) {
    .profile-form .form-label {
        margin-bottom: 0.25rem;
        text-align: left;
    }
}
