/*
* client frontend.css
* File includes custom css only
******************************************************************************/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

:root {
    --tblr-border-color: transparent;
}

.page-wrapper {
    background: linear-gradient(to bottom, #97a9ff, #fff);
}

/*Header*/
.navbar {
    background: transparent;
    border: 0;
    padding: 0;
    position: absolute;
    width: 100%;
    z-index: 99;
}
.navbar-brand {
    padding: 0;
}
.front-logo {
    background-color: #011f7c;
    padding: 15px 40px;
    border-radius: 0 0 25px 25px;
}

/*Swal*/
.swal2-icon.swal2-warning.redeem-warning {
    border-color: #011f7c;
    color: #fff;
    background: #011f7c;
}
.redeem-btn-cancel {
    order: 1;
}
.redeem-btn-confirm {
    order: 2;
}

/*Components*/
.card-transparent {
    background: transparent;
    border: 0;
}

/*Verification Page*/
.ivc-promo {
    box-shadow: 0 1px 30px 0px rgba(85, 85, 85, 0.1);
    border-radius: 30px;
    overflow: auto;
}
.ivc-promo.verify {
    height: calc(100vh - 84px);
    width: 420px;
    background: url("../images/ivc-promo-bg.png") no-repeat top center;
    background-size: cover;
    padding: 40px 65px;
}
.ivc-promo.redeem {
    width: 430px;
    background: url("../images/redeem-bg.png") no-repeat top center;
    background-size: cover;
    padding: 35px;
}
.form-verify {
    margin-top: 210px;
}
.form-verify input[type="text"] {
    height: 80px;
    padding: 0 25px;
    text-align: center;
    line-height: 60px;
    font-size: 1.5rem;
    font-family: "Poppins";
    font-weight: 700;
    box-sizing: border-box;
    border: 1px solid #bebebd;
    border-radius: 8px;
}
.form-verify input[type="text"]::placeholder {
    color: #bebebd;
    font-size: 1.125rem;
    font-weight: 400;
    letter-spacing: 2px;
}
.form-verify button,
.form-redeem button,
.form-redeem a.btn,
.mechanics a.btn {
    font-size: 1.125rem;
    font-family: "Poppins";
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    height: 58px;
    border-radius: 8px;
}
.form-verify button,
.form-redeem button {
    background-color: #011f7c;
}
.verify-container {
    text-align: center;
    font-weight: 600;
}
.form-verify .form-control.is-invalid {
    background-image: none;
}
.form-verify .invalid-feedback {
    text-align: center;
    font-weight: 600;
}

/*Redeem*/
.gc {
    margin-top: 50px;
    text-align: center;
    position: relative;
}
.gc img {
    box-shadow: 0 17px 29px 0 rgba(0, 0, 0, 0.38);
    width: 360px;
    height: 100%;
    object-fit: contain;
    margin: 0 auto;
}
.gc-amount {
    font-family: "Poppins";
    font-size: 0.8rem;
    font-weight: 700;
    position: absolute;
    right: 45px;
    bottom: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
}
/* .coupon-code {
    font-size: 0.9rem;
    text-transform: uppercase;
} */
.validity {
    margin-top: 0.2rem;
    font-size: 7px;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
}
.gc-amount .currency {
    font-family: "Arial";
}
.mechanics {
    margin-top: 30px;
    font-family: "Poppins";
}
.mechanics p,
.msg-redeemed {
    letter-spacing: 2px;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
}
.mechanics ol {
    font-size: 0.895rem;
}
.msg-redeemed {
    max-width: 300px;
    margin: 0 auto;
    color: #011f7c;
}
.checked {
    margin-top: 60px;
}
.checked + .gc {
    margin-top: 30px;
}

.form-group {
    margin-bottom: -1rem;
}

.form-group select {
    width: 100%;
    padding: 10px 12px;
    font-size: 18px !important;
    color: #000000;
    background: #f8f9fa;
    border: 1px solid #ced4da;
    border-radius: 8px;
    transition: all 0.3s ease;
    appearance: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-group select:focus {
    border-color: #011f7c;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.form-group option {
    padding: 10px;
}

.form-group .select2-container .select2-selection--single {
    height: 55px;
    padding: 10px 12px;
    border-radius: 8px;
    border: 2px solid #011f7c;
    font-size: 18px;
}

.form-group
    .select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    height: 53px;
}

.select2-container--default
    .select2-selection--single
    .select2-selection__arrow
    b {
    border-color: #011f7c transparent transparent transparent;
}

.invalid-feedback {
    font-size: 16px;
    font-weight: 600;
}

/*** MEDIA QUERIES ***/
@media (max-height: 768px) {
    .ivc-promo.verify {
        justify-content: flex-end !important;
    }
    .form-verify {
        margin-top: 0;
        margin-bottom: 10px;
    }
}
@media (max-height: 730px) {
    .form-verify {
        margin-bottom: 0;
    }
}
@media (max-width: 991px) {
    .ivc-promo.verify {
        height: calc(100vh - 100px);
    }
}
@media (max-width: 640px) {
    .container-sm {
        --tblr-gutter-x: 0;
    }
}
@media (max-width: 420px) {
    .gc-amount {
        font-size: 0.8rem;
        bottom: 50px;
    }
}
@media (max-width: 408px) {
    .ivc-promo.verify {
        height: calc(100vh - 120px);
    }
}
@media (max-width: 400px) {
    .gc-amount {
        right: 40px;
        font-size: 0.7rem;
    }
}
@media (max-width: 390px) {
    .gc-amount {
        font-size: 0.7rem;
        right: 40px;
        bottom: 45px;
    }
}
@media (max-width: 375px) {
    .gc-amount {
        font-size: 0.6rem;
        right: 40px;
        bottom: 46px;
    }
    .validity {
        font-size: 6px;
    }
}
@media (max-width: 360px) {
    .gc-amount {
        right: 28px;
        bottom: 43px;
    }
}
