/* For This Page */
/* .header {
    position: relative !important;
    background-color: #000 !important;
} */


.header {
    position: absolute !important;
    background-color: transparent !important;
}

.offer-image-poster {
    margin-top: -300px;
}

.btn.login-btn.navbar_btn.p-2 {
    display: none;
}

.form-control.form-input.search_bar {
    display: none;
}

.form .fa-search {
    display: none;
}

.offer-card {
    border-radius: 12px;
    border: 1px solid #eaeaea;
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    max-width: 500px;
    margin: 0 auto;
}

.offer-header {
    background-color: var(--primary-color);
    color: white;
    padding: 20px;
    text-align: center;
    border-radius: 12px 12px 0 0;
}

.offer-body {
    padding: 30px;
}

.offer-title {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.date-container {
    display: flex;
    gap: 10px;
    margin: 25px 0;
    align-items: center;
}

.date-box {
    border-radius: 10px;
    background: var(--primaryLight);
    text-align: center;
    padding: 15px;
}

.divide-line-date {
    height: 50px;
    border-right: 1px dashed #ddd;
}

.offer-detail-information .percentage {
    font-size: 40px;
    font-weight: 600;
    line-height: 1;
    color: white;
}

.offer-discount .offer-detail-heading {
    color: black;

}

.offer-discount .offer-detail-information {
    color: white;

}

.offer-discount {
    background-color: var(--primary-color) !important;

}

.date-label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}

.date-value {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

.date-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.offer-description {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.offer-tag {
    display: inline-block;
    padding: 6px 15px;
    background: var(--primary-light);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}






/* New Offer Page Details */
.offer-title {
    font-size: 60px;
    font-weight: 400;
    color: black;
    margin: 20px 0;
}


.offer-detail-information {
    font-size: 20px;
}

.offer-type-badge {
    font-size: 20px;
    padding: 10px 20px;
    width: fit-content;
    border: 1.5px solid #161917;
    border-radius: 60px;
    font-weight: 400;
}

.offer-type-badge:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    cursor: pointer;
}

.offer-image {
    width: 100%;
    min-height: 350px;
    height: 100%;
}

.business-offer-information {
    border-radius: 30px;
    overflow: hidden;
    /* border: 3px solid var(--primary-color); */
    border: 2px solid #161917;
}

.offer-detail {
    /* background-color: var(--primaryLight); */
    background-color: #161917;
    /* padding: 20px; */
}

.offer-business-name {
    text-align: center;
    border-bottom: 1.5px solid;
    color: var(--primary-color);
    padding: 24px 0;
    background-color: var(--primaryLight);

}

.offer-information-heading {
    font-weight: 500;
    font-size: 20px;
    color: #FFF;
}

.offer-business-link {
    font-size: 18px;
    /* color: #000; */
    color: #FFF;
    text-decoration: none;
}

.offer-information-description {
    color: #FFF;
}

.offer-business-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.offer-description {
    font-size: 18px;
    color: #666;
    font-weight: 300;
}

.offer-detail-heading {
    font-size: 20px;
    font-weight: normal;
    color: var(--primary-color);
}

.offer-detail-card {
    padding: 20px;
    border-radius: 20px;
    background-color: var(--primaryLight);
    border: 2px solid var(--primary-color);
    background: #fff;
}

.offer-claim-button {
    padding: 10px 20px;
    background-color: var(--primary-color);
    border-radius: 30px;
    color: white;
    transition: all 0.1s ease-in-out;
    width: 100%;
    height: 60px;
    font-weight: 400;
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.online-location span {
    font-size: 18px;
    color: var(--primary-color);
}

.sale-end {
    background-color: #FFE8E8;
    color: #E91700;
    border: none;
}

.upcoming-sale {
    background-color: #FFF5E3;
    border: none;
    color: #EC8A00;
}

.on-going-offer {
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--primaryLight);
    color: var(--primary-color);
}

.online-location p {
    font-size: 22px;
    color: black !important;
}

.online-location p i {
    color: var(--primary-color);
}

.offer-claim-button:hover {
    color: var(--primary-color);
    background-color: white;
    border-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

}

.reddem-button {
    transition: all 0.1s ease-in-out;
    border: 1px solid black;
    border-radius: 30px;
    width: 100%;
    height: 60px;
    font-weight: 400;
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;

}

.reddem-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}



/* Mode list */

/* Model List  */
.offer-claim-button {
    padding: 10px 20px;
    background-color: var(--primary-color);
    border-radius: 30px;
    color: white;
    transition: all 0.1s ease-in-out;
    width: 100%;
    height: 60px;
    font-weight: 400;
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
}

.offer-model {
    box-shadow: 0 4px 4px -4px rgba(12, 12, 13, 0.5);

}

.offer-model .modal-header {
    margin-top: 20px;
}

.offer-model .modal-dialog {
    border-radius: 30px;
    overflow: hidden;
}

.modal.fade.offer-model.show {
    display: flex !important;
    justify-content: center;
    align-items: center;
}

.offer-model .modal-body {
    font-size: 20px;
    text-align: center;
    font-weight: 300;
}

.offer-fampass-title {
    font-weight: 500;
    font-size: 35px;
}

.qr-icon-container {
    padding: 10px;
    width: 200px;
    height: 200px;
    border: 0.5px solid silver;
    border-radius: 10px;
    overflow: hidden;
}

.qr-code-value {
    font-weight: 600;
}

.description {
    font-size: 16px;
    font-weight: 300;
}

.offer-model .offer-title {
    font-size: 20px;
    font-weight: 500;
}

.redeem-offer-title {
    font-size: 32px;
    font-weight: 400;
}

.thank-you-message {
    font-size: 16px;
}

.scan-qr-code-container {
    background: white;
    border: 2px dashed var(--primary-color);
    border-radius: 30px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    /* height: 100%; */
    /* height: 250px; */
    padding: 15px;
    gap: 20px;
}

.divider-text {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.divider-text::after,
.divider-text::before {
    content: "";
    width: 30%;
    height: 1px;
    background-color: #000;
}

.divider-text span {
    text-wrap: nowrap;
}

#offerModel .modal-content {
    overflow: scroll;
    width: 450px !important;
    height: 80dvh;
}

.offer-date-card {
    border-radius: 1rem;
    background-color: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.2s ease-in-out;

}

.offer-date-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.offer-date-card-header {
    border-bottom: 1px solid #f0f0f0;
    padding: 1rem 1.25rem;
}

.offer-title {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.status-badge {
    font-size: 16px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: 9999px;
    padding: 5px 10px;
    background-color: var(--primaryLight);
    color: black;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary-color);
}

.offer-title svg {
    color: var(--primary-color) !important;
}

.offer-body {
    padding: 1.25rem;
}

.offer-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.offer-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    margin: 0.25rem 0;
}

.offer-time {
    font-size: 0.75rem;
    color: #6b7280;
}

/* Color accents for labels */
.label-blue {
    color: var(--primary-color);
}

.label-purple {
    color: var(--primary-color);
}

.offer-option-button {
    border-radius: 16px;
}

.edit-button .status-dot {
    background-color: #EC8A00;
}

.delete-button .status-dot {
    background-color: #E91700;
}

/* 1400px to 1200px */
@media (min-width: 1400px) {}

@media (max-width: 1400px) and (min-width: 1201px) {}

/* 1200px to 992px */
@media (max-width: 1200px) and (min-width: 993px) {
    .offer-image {
        height: 100%;
    }
}

/* 992px to 768px */
@media (max-width: 992px) and (min-width: 769px) {
    .offer-image-poster {
        margin-top: -210px;
    }

    .offer-detail-card {
        height: 150px !important;
    }

    .offer-detail-information .percentage {
        font-size: 30px;
    }
}

/* 768px to 577px */
@media (max-width: 768px) and (min-width: 577px) {
    .offer-type-badge {
        font-size: 18px;
        padding: 10px 20px;
    }

    .offer-title {
        font-size: 30px;
    }

    .offer-description {
        font-size: 14px;
    }

    .offer-description {
        margin-bottom: 0px;
    }

    .offer-title {
        margin: 10px 0;
    }

    .offer-image-poster {
        margin-top: -180px;
    }

    .offer-detail-information .percentage {
        font-size: 30px;
    }

}

/* 576px to 481px */
@media (max-width: 576px) and (min-width: 481px) {
    .offer-type-badge {
        font-size: 14px;
    }

    .offer-type-badge {
        font-size: 12px;
        padding: 7px;
    }

    .offer-title {
        font-size: 30px;
    }

    .offer-description {
        font-size: 14px;
    }

    .offer-description {
        margin-bottom: 0px;
    }

    .offer-title {
        margin: 10px 0;
    }

    .offer-image-poster {
        margin-top: -180px;
    }

    .offer-detail-information .percentage {
        font-size: 30px;
    }

    .on-going-offer {
        padding: 20px;
        font-size: 16px;
    }

    .offer-valid-date-card {
        padding: 15px;
        width: 140px;
    }

}

/* 480px to 401px */
@media (max-width: 480px) and (min-width: 401px) {
    .offer-type-badge {
        font-size: 12px;
        padding: 7px;
    }

    .offer-title {
        font-size: 30px;
    }

    .offer-description {
        font-size: 14px;
    }

    .offer-description {
        margin-bottom: 0px;
    }

    .offer-title {
        margin: 10px 0;
    }

    .offer-image-poster {
        margin-top: -180px;
    }

    .offer-detail-information .percentage {
        font-size: 30px;
    }

    #offerModel .modal-content {
        width: 90vw !important;
    }

    .on-going-offer {
        padding: 10px;
        font-size: 14px;
    }

    .offer-valid-date-card {
        padding: 15px;
        width: 140px;
    }
}

/* 400px and below */
@media (max-width: 400px) {
    .offer-type-badge {
        font-size: 12px;
        padding: 7px;
    }

    .offer-title {
        font-size: 30px;
    }

    .offer-description {
        font-size: 14px;
    }

    .offer-description {
        margin-bottom: 0px;
    }

    .offer-title {
        margin: 10px 0;
    }

    .offer-image-poster {
        margin-top: -180px;
    }

    .offer-detail-information .percentage {
        font-size: 30px;
    }

    #offerModel .modal-content {
        width: 90vw !important;
    }

    .on-going-offer {
        padding: 5px 10px;
        font-size: 12px;
    }

    .offer-valid-date-card {
        padding: 15px;
        width: 120px;
    }

}

.hide-important {
    display: none !important;
}

.left-button {
    z-index: 998;
    /* left: -9px; */
    background: var(--primary-color);

}

.right-button {
    z-index: 998;
    right: 10px;
    background: var(--primary-color);
}