.title-promotion {
    margin-top: 20px;
    text-align: center;
    font-size: var(--text-h3);
}

.duration-promotion {
    text-align: center;
}

hr {
    color: rgba(var(--default), 0.5);
    opacity: .05;
}

.recive-wrapper {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 10px;
}

section {
    margin-bottom: 150px;
}

/**************************************************** INPUT RECIVER ZONE **************************************************/
.recive-input {
    background-color: rgb(var(--white));
    display: grid;
    grid-template-columns: 40% 60%;
    border-radius: 10px;
    height: 130px;
    position: relative;
}

.recive-input label {
    color: rgb(var(--text-dark));
}

.recive-input .form-control {
    font-size: var(--text-body);
    font-weight: 300;
    padding-top: 2px;
    padding-bottom: 2px;
}

.recive-input .form-control::placeholder {
    font-size: .7rem;
}

.recive-input .left-detail {
    position: relative;
    background-color: rgb(var(--primary));
    padding: 1rem .5rem;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    border-radius: 10px 0 0 10px;
    transition: .5s;
}

.left-detail::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url(/assets/image/background.jpg);
    background-size: 200% auto;
    mix-blend-mode: multiply;
    opacity: .5;
    transition: .5s;
    border-radius: 10px;
}

.recive-input .left-detail span {
    font-weight: 500;
    display: inline-block;
    white-space: nowrap;
    font-size: large;
    line-height: 1;
}

.recive-input .left-detail .font-h1 {
    font-size: x-large;
}

.recive-input .right-detail {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: rgb(var(--text-dark));
}

.recive-input .right-detail .confirm {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    color: rgb(var(--text-dark));
    white-space: pre-wrap;
}

.recive-input .right-detail .confirm small {
    width: 60%;
    color: rgb(var(--lightgray));
    font-size: 11px;
    line-height: 1.1;
}

.recive-input.expired .left-detail,
.recive-input.expired .right-detail {
    opacity: .3;
}

.recive-input.expired {
    background-color: rgba(var(--white), 0.5);
    box-shadow: 0 2px 5px 0 rgba(var(--dark), 0.2);
}

.recive-input .expired-promotion {
    position: absolute;
    border-radius: 10px;
    text-align: center;
    color: rgb(var(--text-primary));
    background-color: rgba(var(--white), 1);
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(352deg);
    padding: 1rem;
    border: 2px solid rgb(var(--primary));
    box-shadow: 0 2px 0 rgba(var(--dark), 0.2);
    text-transform: uppercase;
    min-width: 50%;
    width: fit-content;
}

.grid-center {
    grid-column: span 6;
    grid-column-start: 4;
    grid-column-end: 10;
}

.grid-column {
    grid-column: span 6;
}

/**************************************************** NORMAL RECIVER ZONE **************************************************/

.button-dark {
    font-size: var(--text-small);
    height: fit-content;
    padding: .3rem 1rem;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.button-secondary {
    font-size: var(--text-small);
    height: fit-content;
    padding: .3rem 1rem;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.detail-promotion p {
    font-size: var(--text-h1);
    font-weight: 400;
}

/**************************************************** RESPONSIVE ZONE **************************************************/
/* TABLET */
@media (max-width:1024px) {
    .recive-input .left-detail span {
        font-size: var(--text-body);
    }

    .recive-input .left-detail .font-h1 {
        font-size: var(--text-h1);
    }
}

/* LARGE MOBILE */
@media (max-width:767px) {
    .title-promotion {
        margin-top: 15px;
    }

    .image-promotion {
        padding: 0;
    }

    .recive-wrapper {
        grid-template-columns: 1fr;
    }

    .grid-center {
        grid-column-start: 1;
        grid-column-end: 1;
    }

    .grid-column {
        grid-column: auto;
    }
}

.text-modal {
    color: rgb(var(--text-dark));
}

.text-modal-primary {
    color: rgb(var(--text-primary));
}

.btn-close-modal {
    color: rgb(var(--text-dark));
    background: rgb(var(--lightgray));
    border-color: rgb(var(--lightgray));
}

.btn-close-modal:hover {
    color: rgb(var(--text-dark)) !important;
    background: rgb(var(--white)) !important;
    border-color: rgb(var(--dark)) !important;
}

.btn-close-modal:focus {
    color: rgb(var(--text-dark)) !important;
    background: rgb(var(--lightgray)) !important;
    border-color: rgb(var(--lightgray)) !important;
}

.btn-submit-modal {
    color: rgb(var(--text-white));
    background: rgb(var(--primary));
    border-color: rgb(var(--primary));
}

.btn-submit-modal:hover {
    color: rgb(var(--text-primary)) !important;
    background: rgb(var(--white)) !important;
    border-color: rgb(var(--primary)) !important;
}

.btn-submit-modal:focus {
    color: rgb(var(--text-white)) !important;
    background: rgb(var(--primary)) !important;
    border-color: rgb(var(--primary)) !important;
}