.btn-green {
    background-color: #21A56D;
}

.pinGroup div:first-child {
    border: 1.15px solid #E4E4E4;
    border-radius: 4px;
    padding: 12px;
}

.pinGroup {
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    column-gap: 2rem;
    margin-top: 2rem;
}

.white-mma {
    margin-top: 0 !important;
}

.voucherResults {
    margin-top: 1.5rem;
    width: 45%;
    display: flex;
    flex-direction: column;
    row-gap: 2rem;
}


.voucherResult {
    display: flex;
    flex-direction: column;
    border: 1.03px solid #e4e4e4;
    padding: 20px;
    border-radius: 5px;
    background-color: white;
}

.voucherUpper {
    display: flex;
    column-gap: 1.3rem;
    position: relative;
}

.voucherHead {
    font-weight: 500;
}

.voucherAddress {
    display: flex;
    align-items: center;
    column-gap: 6px;
}

.voucherAction {
    background-color: transparent;
    color: black;
    border: 1.03px solid #e4e4e4;
}

.voucherAddress p {
    font-size: 12px;
}

.voucherAction {
    font-size: 10px;
    padding: 6px 16px;
    position: absolute;
    top: 100%;
    transform: translateY(-100%);
}

.voucherAmount {
    font-size: 20px;
    font-weight: 500;
    color: #21A56D;
}

.voucherStatus {
    font-size: 14px;
    color: #21A56D;
    font-weight: 500;
}

.btn-redeem {
    font-size: 16px;
    color: #21A56D;
    background-color: transparent;
    border: 1.03px solid #21A56D;
    position: absolute;
    top: 100%;
    left: 100%;
    transform: translate(-100%, -100%);
    width: max-content;
    padding: 6px 16px;
}

.btn-redeem:hover {
    font-size: 16px;
    color: white;
    background-color: #21A56D;
}

.voucherLower p {
    font-size: 14px;
    font-weight: 500;
}

.priceAbsolute {
    position: absolute;
    top: 0;
    left: 100%;
    transform: translateX(-100%);
}


.voucherDetails {
    position: absolute;
    background-color: white;
    padding: 15px;
    border: 1.03px solid #2493Ea;
    border-radius: 5px;
    background-color: white;
    z-index: 1;
    top: 100%;
    display: none;
}

.voucherDetails>img {
    position: absolute;
    top: 0;
    left: 100%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    display: none;
}

.voucherDetails p {
    font-weight: 500;
}

.voucherDetails ul li {
    font-size: 14px;
    font-weight: 500;
}

.voucherDetails>div div {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    border-bottom: 1px solid #e4e4e4;
}

.voucherDetails>div {
    border: 0.01px solid #E4E4E4;
    border-radius: 4px;
}

.voucherDetails>div div:last-child {
    display: flex;
    flex-direction: column;
    color: #2493Ea;
    padding: 10px;
}

.voucherDetails>div div:last-child div {
    display: flex;
    flex-direction: row;
    border-bottom: none;
    padding: 0;
}

.btn-primary {
    font-weight: 500 !important;
}

#securityPopup {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    row-gap: 1rem;
    width: 25%;
    border-radius: 8px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    z-index: 9999;
    background-color: white;
}

#securityPopup p:first-child {
    text-align: center;
    font-size: 16px;
    font-weight: 500;
}

#securityPopup p:last-child {
    text-align: center;
    font-size: 14px;
}

#securityPopup>div {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 1rem;
}

@media (max-width: 1440px) {
    .voucherResults {
        width: 60%;
    }
}

@media (max-width: 1024px) {
    .voucherResults {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .voucherUpper {
        flex-direction: column;
        align-items: flex-start;
    }

    .voucherUpperFirst {
        display: flex;
        flex-direction: column;
        row-gap: 15px;
        width: 70%;
        margin-top: 10px;
    }

    .voucherAction {
        position: unset;
        top: unset;
        transform: unset;
        width: max-content;
    }

    .voucherAddress {
        align-items: flex-start;
    }

    .voucherAddress p {
        line-height: 1;
    }

    .voucherDetails {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 9999;
    }

    .voucherDetails img {
        display: unset;
    }

    #securityPopup {
        width: 90%;
    }

    #securityPopup button {
        font-size: 14px !important;
        padding: 10px 25px !important;
    }

    #securityPopup>div {
        align-items: stretch;
    }
}

@media (max-width: 590px) {
    .voucherDetails {
        width: 80%;
    }
}

@media (max-width: 430px) {
    .pinGroup {
        column-gap: 10px;
        align-items: flex-start;
        width: 100%;
    }

    .btn-green {
        width: max-content;
        padding: 10px 15px;
    }

    .btn-primary {
        font-size: 16px !important;
    }

    .voucherAction {
        font-size: 10px !important;
    }

    .voucherResults {
        row-gap: 1rem;
    }
}

@media (max-width: 320px) {


    .btn-green {
        font-size: 16px !important;
    }
}