.custom-swal-button {
    color: white !important;
    font-weight: bold;
}

.modal-overlay {
    position: fixed;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.o-modal {
    background-color: #2b2b2b;
    width: 80%;
    max-width: 950px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.3s ease;
}

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

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-header {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

.step-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.step-indicator div {
    padding: 10px 20px;
    margin: 0 10px;
    border-radius: 50px;
    border: 1px solid #ddd;
    font-weight: bold;
    background-color: #f8f9fa;
    cursor: pointer;
}

.step-indicator .active {
    background-color: #fc2547;
    background-image: linear-gradient(to right,
            #fc2547 0%,
            #ff5a00 50%,
            #fc2547 100%);
    color: white;
}

.modal-body {
    padding: 20px;
    display: flex;
    gap: 20px;
}

.form-section,
.order-summary {
    flex: 1;
}

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

.form-section form .form-group {
    margin-bottom: 0px;
}

.form-section form label {
    color: #ccc;
    margin-bottom: 2px;
    font-weight: bold;
    font-size: 14px;
}

.form-section form input {
    padding: 5px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.form-section form select {
    padding: 5px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.form-section form .btn {
    padding: 10px;
    background-color: #fc2547;
    background-image: linear-gradient(to right,
            #fc2547 0%,
            #ff5a00 50%,
            #fc2547 100%);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 20px;
}

.form-section form .btn:hover {
    background-color: #fc2547;
    background-image: #ff5a00;
}

.order-summary {
    display: block;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 8px;
    color: #ccc;
    height: 100%;
}

.order-summary h5 {
    margin-bottom: 10px;
    font-size: 18px;
}

.order-summary ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.order-summary ul li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}

.order-summary .total {
    font-weight: bold;
    margin-top: 10px;
}

#orderForm label {
    display: block;
}

@media (max-width: 900px) {
    #orderForm label {
        display: block;
    }
}

@media (max-width: 500px) {
    .modal-body {
        display: flex;
        flex-direction: column-reverse;
    }

    .coupon-input-container {
        display: flex;
        flex-direction: column;
        border-radius: 0px;
    }

    .coupon-input {
        border-radius: 10px;
    }

    .coupon-apply-button {
        width: 50%;
        margin-top: 10px;
        border-radius: 10px;
    }

    .form-section form input {
        width: 100%;
    }
}

.modal-body {
    max-height: 70vh;
    overflow-y: auto;
    padding-right: 10px;
}

.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.modal-body {
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 18px;
    cursor: pointer;
    color: #333;
}

.close-modal:hover {
    color: red;
}

#minicart-content-check-out {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 200px;
    overflow-x: auto;
    white-space: nowrap;
}

.error-message {
    color: red;
    font-size: 12px;
    margin-top: 5px;
}

.loading-spinner p {
    font-size: 18px;
    color: #fff;
}

/* food search */
.search-container {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

#product-suggestions {
    position: absolute;
    background: #2b2b2b;
    color: #f5f5f5;
    border: 1px solid #444;
    border-radius: 5px;
    max-height: 300px;
    overflow-y: auto;
    width: 75%;
    z-index: 9999;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    margin-top: 65px;
}

#product-suggestions::-webkit-scrollbar {
    width: 8px;
}

#product-suggestions::-webkit-scrollbar-thumb {
    background-color: #555;
    border-radius: 5px;
}

#product-suggestions::-webkit-scrollbar-thumb:hover {
    background-color: #777;
}

#product-suggestions::-webkit-scrollbar-track {
    background: #333;
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #444;
}

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

.search-result-item:hover {
    background: #3a3a3a;
}

.result-thumbnail {
    width: 50px;
    height: 50px;
    object-fit: cover;
    margin-right: 10px;
    border-radius: 5px;
    border: 1px solid #555;
}

.result-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.result-title {
    font-size: 14px;
    font-weight: bold;
    color: #fff;
}

.result-price {
    font-size: 12px;
    color: #bbb;
}

#product-suggestions li {
    padding: 10px;
    text-align: center;
    color: #ccc;
}

/* end food search */

/* mobile menu icon */
.sidemenu_btn {
    display: none;
}

/* end mobile menu icon*/

/* swal alert*/
.swal2-popup {
    background: #2b2b2b !important;
    color: white !important;
}

.swal2-title, .swal2-content, .swal2-html-container {
    color: white !important;
}

.swal2-confirm {
    background-color: #ff5a00 !important;
}

.swal-progress-bar-custom {
    background: #ff5a00 !important;
}

/* end swal alert*/


/* model in coupon  */
.coupon-section {
    margin: 1rem 0;
    width: 100%;
}

.coupon-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #555;
    font-size: 0.95rem;
}

.coupon-input-container {
    display: flex;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.coupon-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-right: none;
    font-size: 0.95rem;
    outline: none;
    margin-bottom: 0px !important;
}

.coupon-input:focus {
    border-color: #fc2547;
    box-shadow: 0 0 0 2px rgba(252, 37, 71, 0.2);
}

.coupon-apply-button {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(to right, #fc2547, #ff5a00);
    color: white;
    border: none;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.3s;
}

.coupon-apply-button:hover {
    background: linear-gradient(to right, #ff5a00, #fc2547);
}

.coupon-response-message {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    padding: 0.5rem;
}

.coupon-response-message.success {
    color: #28a745;
    background: #e6ffed;
}

.coupon-response-message.error {
    color: #dc3545;
    background: #ffebee;
}

/* end model in coupon  */
