/*
Theme Name:       TrungNguyen - Bootstrap 4 Template
Author:           trungnguyen
Author URI:       https://profile.trungnb.tk
Text Domain:      trungnguyen
Domain Path:      /
*/
/* ==========================================================================
   IMPORT GOOGLE FONTS
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,600;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

/* ==========================================================================
   GENERAL
   ========================================================================== */
body {
    font-family: 'Montserrat', sans-serif;
    color: #a0a6ad;
    font-size: 14px;
    font-weight: 400;
    background: #e8ddcb;
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
}

p {
    font-size: 14px;
    color: #5e629c;
    line-height: 26px;
    margin-bottom: 0;
}

a {
    color: #151948;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

h1, h2, h3, h4, h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: #151948;
}

ul {
    margin: 0;
    padding: 0;
}

ul li {
    list-style: none;
}

a:hover,
a:focus {
    text-decoration: none;
    outline: none;
}

a:not([href]):not([tabindex]) {
    color: #fff;
}

a:not([href]):not([tabindex]):focus, a:not([href]):not([tabindex]):hover {
    color: #fff;
}

.bg-transparent {
    background: transparent !important;
}

.bg-default {
    background: #3c9cfd !important;
}

/* ==========================================================================
   Section Title
   ========================================================================== */
.section {
    padding: 50px 0;
}

.form-control:focus {
    outline: none;
    box-shadow: none;
}

.section-header {
    color: #fff;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.section-header .section-title {
    font-size: 34px;
    margin-bottom: 12px;
    font-weight: 600;
    position: relative;
    line-height: 30px;
}

.section-header .desc-text p {
    font-size: 18px;
    color: #5e629c;
    line-height: 26px;
    margin-bottom: 0;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    font-size: 14px;
    padding: 10px 30px;
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
    letter-spacing: 1px;
    font-weight: 500;
    color: #fff;
    border: none;
    text-transform: uppercase;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    display: inline-block;
}

.btn:focus,
.btn:active {
    box-shadow: none;
    outline: none;
}

.btn-common {
    background-color: #f19c3e;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 9px 0 rgba(96, 94, 94, 0.17);
    width: 160px;
    height: 40px;
}

.btn-common:hover {
    color: #fff;
    transform: translateY(-2px);
}

.btn-border-filled {
    cursor: pointer;
    background-color: #f19c3e;
    border: 1px solid #f19c3e;
    color: #fff;
    box-shadow: 0 8px 9px 0 rgba(96, 94, 94, 0.17);
    width: 180px;
    height: 50px;
    padding: 15px 15px;
}

.form__desc {
    margin-top: 5px;
    font-size: 11px;
    color: #5e629c;
    line-height: 19px;
    margin-bottom: 0;
}

.btn-border-filled:hover {
    color: #fff;
    background-color: transparent;
    border-color: #fff;
    transform: translateY(-2px);
}

button:focus {
    outline: none !important;
}

.clear {
    clear: both;
}

.mt {
    margin-top: 80px;
}

.mt-30 {
    margin-top: 30px;
}

.mb-30 {
    margin-bottom: 30px;
}

.pt-30 {
    padding-top: 30px;
}

.pb-30 {
    padding-bottom: 30px;
}

.pt-60 {
    padding-top: 60px;
}

.pt-80 {
    padding-top: 80px;
}

.mb-50 {
    margin-bottom: 50px;
}

.padding-0 {
    padding: 0;
}

.pr-20 {
    padding-right: 20px;
}

.pl-20 {
    padding-left: 20px;
}

.pl-70 {
    padding-left: 70px;
}

.pr-70 {
    padding-right: 70px;
}

.owl-carousel .owl-item {
    opacity: 0.2;
    transition: opacity 0.3s ease;
}

.owl-carousel .owl-item.center {
    opacity: 1;
}

.fit {
    object-fit: cover;
}

.owl-carousel {
    overflow: hidden;
}

.owl-stage {
    display: flex !important;
    align-items: center;
}

.owl-item {
    display: flex;
    justify-content: center;
    align-items: center;
}

.owl-carousel .item {
    display: inline-block;
    width: fit-content;
    white-space: nowrap;
}

.owl-carousel .item img {
    display: block;
    width: 100%;
    /*height: auto;*/
}

.btn-circle {
    border-radius: 20px;
}

@media (min-width: 320px) {

    .uudai_header {
        width: 100%;
    }

    #barcode {
        color: rgb(178, 41, 46);
        position: absolute;
        top: 100px;
        left: 130px;
        font-size: small;
    }

    #coupon {
        color: rgb(178, 41, 46);
        position: absolute;
        top: 118px;
        left: 130px;
        font-size: small;
    }

    #barcode1 {
        color: rgb(178, 41, 46);
        position: absolute;
        top: 100px;
        left: 132px;
        font-size: small;
    }

    #coupon1 {
        color: rgb(178, 41, 46);
        position: absolute;
        top: 118px;
        left: 132px;
        font-size: small;
    }


    #contentOwl img {
        height: unset;
    }

    #headerOwl img {
        height: unset;
    }

    .voucher {
        width: 100%;
    }

    #coupon_x {
        color: rgb(178, 41, 46);
        position: absolute;
        top: 128px;
        left: 134px;
        font-size: small;
    }

    #barcode_x {
        color: rgb(178, 41, 46);
        position: absolute;
        top: 110px;
        left: 134px;
        font-size: small;
    }

    #coupon4 {
        color: rgb(178, 41, 46);
        position: absolute;
        top: 128px;
        left: 130px;
        font-size: small;
    }

    #barcode4 {
        color: rgb(178, 41, 46);
        position: absolute;
        top: 110px;
        left: 130px;
        font-size: small;
    }

    .img_qr {
        width: 65px;
        bottom: 20px;
        left: 20px;
    }
}

@media (min-width: 375px) {
    #barcode {
        color: rgb(178, 41, 46);
        position: absolute;
        top: 118px;
        left: 159px;
        font-size: small;
    }

    #coupon {
        color: rgb(178, 41, 46);
        position: absolute;
        top: 139px;
        left: 159px;
        font-size: small;
    }

    #barcode1 {
        color: rgb(178, 41, 46);
        position: absolute;
        top: 118px;
        left: 162px;
        font-size: small;
    }

    #coupon1 {
        color: rgb(178, 41, 46);
        position: absolute;
        top: 139px;
        left: 162px;
        font-size: small;
    }

    #barcode3 {
        color: rgb(178, 41, 46);
        position: absolute;
        top: 119px;
        left: 161px;
        font-size: small;
    }

    #barcode4 {
        color: rgb(178, 41, 46);
        position: absolute;
        top: 130px;
        left: 161px;
        font-size: small;
    }

    #coupon4 {
        color: rgb(178, 41, 46);
        position: absolute;
        top: 150px;
        left: 161px;
        font-size: small;
    }

    #coupon_x {
        color: rgb(178, 41, 46);
        position: absolute;
        top: 151px;
        left: 161px;
        font-size: small;
    }

    #barcode_x {
        color: rgb(178, 41, 46);
        position: absolute;
        top: 131px;
        left: 161px;
        font-size: small;
    }

    .img_qr {
        width: 75px;
        bottom: 25px;
        left: 25px;
    }
}

@media (min-width: 425px) {



    .img_qr {
        width: 85px;
        bottom: 25px;
        left: 25px;
    }
}


@media (min-width: 1200px) {

    .uudai_header {
        width: unset;
    }

    #barcode {
        color: rgb(178, 41, 46);
        position: absolute;
        top: 154px;
        left: 439px;
        font-size: larger;
    }

    #coupon {
        color: rgb(178, 41, 46);
        position: absolute;
        top: 182px;
        left: 439px;
        font-size: larger;
    }

    #barcode1 {
        color: rgb(178, 41, 46);
        position: absolute;
        top: 154px;
        left: 446px;
        font-size: larger;
    }

    #coupon1 {
        color: rgb(178, 41, 46);
        position: absolute;
        top: 182px;
        left: 446px;
        font-size: larger;
    }

    #barcode3 {
        color: rgb(178, 41, 46);
        position: absolute;
        top: 155px;
        left: 443px;
        font-size: medium;
    }

    #barcode4 {
        color: rgb(178, 41, 46);
        position: absolute;
        top: 170px;
        left: 443px;
        font-size: medium;
    }

    #coupon4 {
        color: rgb(178, 41, 46);
        position: absolute;
        top: 198px;
        left: 443px;
        font-size: medium;
    }

    #barcode_x {
        color: rgb(178, 41, 46);
        position: absolute;
        top: 172px;
        left: 443px;
        font-size: medium;
    }

    #coupon_x {
        color: rgb(178, 41, 46);
        position: absolute;
        top: 198px;
        left: 443px;
        font-size: larger;
    }

    #contentOwl img {
        height: 702px;
    }

    #headerOwl img {
        height: 152px;
    }

    .voucher {
        width: 50%;
    }

    .img_qr {
        bottom: 28px;
        left: 260px;
    }
}

.pointer {
    cursor: pointer;
}

#loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.5);
    z-index: 9999;
}

body.loading {
    pointer-events: none;
    cursor: wait;
}

.img_qr {
    position: absolute;
}

.voucher-modal .modal-content {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.voucher-header {
    background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    padding: 18px;
}

.voucher-body {
    padding: 24px;
    display: flex;
    gap: 18px;
    align-items: center;
    flex-wrap: wrap;
}

.voucher-left {
    flex: 0 0 160px;
    text-align: center;
}

.voucher-right {
    flex: 1 1 220px;
    min-width: 220px;
}

.voucher-code {
    font-family: 'Courier New', monospace;
    font-size: 20px;
    letter-spacing: 2px;
    background: #f7f9fc;
    padding: 10px 14px;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 8px;
}

.voucher-meta {
    color: #6b7280;
    font-size: 14px;
}

.voucher-footer {
    padding: 16px 24px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.qr-box {
    width: 150px;
    height: 150px;
    display: inline-block;
    padding: 6px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

@media (max-width: 576px) {
    .voucher-body {
        flex-direction: column;
        align-items: center;
    }

    .voucher-left, .voucher-right {
        flex: 1 1 auto;
        text-align: center;
    }
}
#voucherPolicy {
    font-size: 11px;
    font-style: italic;

}

.voucherPolicy li {
    list-style: none;
    padding-left: 0;
}

.voucherPolicy li::before {
    content: "– ";
}

