.giftcardbanner__wrapper {
    display: flex;
    gap: 4rem;
    background: #f1f7fb;
    padding: 4rem;
    flex-direction: row;
    align-items: center;
    border-radius: 2rem;
}

.giftcardbanner__image {
    min-height: 300px;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 4px;
    height: 587px;
    width: 50%;
}

.giftcardbanner__image img {
    width: 100%;
}

.giftcardbanner__content {
    position: relative;
    background: #fff;
    padding: 2rem;
    border-radius: .4rem;
    width: 50%;
    height: 58.7rem;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    padding: 8rem;
}

.giftcardbanner__content .loader {
    position: absolute !important;
    left: 0 !important;
}

.giftcardbanner__content .loader .loader-indicator {
    height: 4.8rem !important;
    width: 4.8rem !important;
}

#giftcard-balance-result .gc-info__title {
    font-family: Work Sans, sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    margin-top: .5rem;
    margin-bottom: 2rem;
}

#giftcard-balance-result .gc-info__grid {
    display: flex;
    gap: 2rem;
}

#giftcard-balance-result .gc-info__grid .gc-info__item {
    flex: 1 1 40%;
    background-color: #F2F6FA;
    padding: 1.6rem 1.2rem;
    border-radius: .8rem;
}

#giftcard-balance-result .gc-info__grid .gc-info__item .gc-info__value .gc-expired{
    color: #d0021b !important; /* red */
    font-weight: 600;
}

#giftcard-balance-result .gc-info__grid .gc-info__item .gc-info__value .gc-expired.gc-disabled {
    width: 200px;
    display: flex;
}

#giftcard-balance-result .gc-info__grid .gc-info__item .gc-info__label {
    font-family: Work Sans, sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
    padding-bottom: .4rem;
}

#giftcard-balance-result .gc-info__grid .gc-info__item .gc-info__value {
    font-family: Work Sans, sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
}

.giftcardbanner__content .giftcardbanner__title {
    font-family: oswald, sans-serif;
    font-size: 3.4rem;
    font-style: normal;
    font-weight: 600;
    margin-bottom: 2rem;
    text-transform: unset;
}

.giftcardbanner__content .giftcardbanner__desc {
    font-family: Work Sans, sans-serif;
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 400;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
}

.giftcardbanner__fields .form-row-half,
.giftcardbanner__fields input {
    width: 100%;
    padding: 0 1.6rem !important;
    font-size: 1.4rem !important;
    top: .2rem !important;

}
.giftcardbanner__fields .input-mimic-wrapper {
    padding-left: 0 !important;
    padding-right: 0 !important;
    height: 4rem !important;
    border: .1rem solid #888 !important;
    border-radius: .4rem !important;
}

.giftcardbanner__fields .input-mimic-wrapper label {
    top: -2.2rem !important;
    padding: 0 !important;
}

.giftcardbanner__result {display: none;}
.giftcardbanner__fields .input-mimic-wrapper label span {
    font-size: 1.4rem;
}

.giftcardbanner__fields .form-row {
    display: block;
    padding-bottom: 2rem;
    margin-top: .8rem;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.giftcardbanner__fields .form-row:last-child {
    margin-bottom: 0 !important;
}

.giftcardbanner__actions {
    height: 4.4rem;
}

.giftcardbanner__actions #check-giftcard-balance {
    font-size: 1.6rem;
    font-weight: 600;
    text-transform: uppercase;
    font-family: oswald, sans-serif;
    padding: 1.1rem 1.8rem;
    border-radius: .4rem;
}

.giftcardbanner__result {
    margin-top: 1.5rem;
}

@media (max-width: 768px) {
    .giftcardbanner__wrapper {
        flex-direction: column;
        padding: 1.6rem;
    }

    .giftcardbanner__image {
        min-height: 200px;
    }

    .giftcardbanner__content .giftcardbanner__desc {
        margin-bottom: 1.6rem;
        padding-bottom: 1.6rem;
    }

    #giftcard-balance-result .gc-info__grid .gc-info__item .gc-info__value .gc-expired.gc-disabled {
        width: 100%
    }

    .giftcardbanner__fields .form-row {
        padding-bottom: 1.6rem;
    }

    #giftcard-balance-result .gc-info__title {
        margin-bottom: 0;
        margin-top: .1rem;
    }

    .giftcardbanner__fields .form-row:last-child {
        padding-bottom: 1.6rem !important;
    }

    #giftcard-balance-result .gc-info__title {
        padding-bottom: 1.6rem;
    }

    #giftcard-balance-result .gc-info__grid {
        flex-direction: column;
        gap: 1.6rem;
    }

    .giftcardbanner__content {
        width: 100%;
        padding: 1.6rem;
        height: 100%;
        border-radius: .8rem;
    }

    .giftcardbanner__content .giftcardbanner__title {
        font-size: 2.8rem;
        text-transform: unset;
        margin-bottom: 1.6rem;
    }
}

/* Override any inherited lowercase transformation so acronym PIN remains uppercase */
.giftcardbanner__fields .giftcard-error-message,
.giftcardbanner__fields label.error {
    text-transform: none !important;
}
