﻿:root {
    --UA-Colours-Dark-blue: #002447;
}

.popup-overlay {
    display: flex !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

    .popup-overlay.active {
        display: flex !important;
        opacity: 1 !important;
    }


.popup-container {
    display: flex !important;
    position: relative;
    flex-direction: column;
    align-items: center;
    padding: 40px 30px;
    background: #FFFFFF !important;
    border-radius: 20px;
    max-width: 450px;
    width: 100%;
    height: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.3s ease-out;
    z-index: 90000 !important;
}


@keyframes slideIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.icon-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 96.589px;
    height: 47.483px;
    margin-bottom: 16px;
}

.popup-icon {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .popup-icon svg {
        width: 100%;
        height: 100%;
    }

.popup-title {
    align-self: stretch;
    color: var(--UA-Colours-Dark-blue);
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 30.922px;
    font-style: normal;
    font-weight: 600;
    line-height: 120%;
    margin: 0;
    margin-bottom: 4px !important;
}

.popup-subtitle {
    align-self: stretch;
    color: var(--UA-Colours-Dark-blue);
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 25.3px;
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
    margin: 0;
    white-space: nowrap;
    margin-bottom: 18px;
}

.discount-box {
    display: flex;
    width: 351.391px;
    max-width: 100%;
    justify-content: center;
    align-items: center;
    border-radius: 10.674px;
    background: rgba(0, 90, 239, 0.10);
    padding: 20px 15px;
    margin-bottom: 20px;
}

.discount-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.discount-number {
    display: flex;
    align-items: flex-start;
    gap: 5px;
}

    .discount-number .number {
        display: flex;
        width: 47.789px;
        height: 59.034px;
        flex-direction: column;
        justify-content: center;
        color: var(--UA-Colours-Dark-blue);
        text-align: center;
        font-family: 'Poppins', sans-serif;
        font-size: 68.092px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
    }

.off-text {
    display: flex;
    width: 40.761px;
    height: 49.195px;
    flex-direction: column;
    justify-content: center;
    color: var(--UA-Colours-Dark-blue);
    font-family: 'Poppins', sans-serif;
    font-size: 20.265px;
    font-style: normal;
    font-weight: 700;
    line-height: 84%;
}

.discount-text {
    display: flex;
    flex-direction: column;
    color: var(--UA-Colours-Dark-blue);
    font-family: 'Poppins', sans-serif;
    font-size: 22.697px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    justify-content: center;
    text-align: left !important;
}

.apply-btn {
    display: flex;
    height: 48.034px;
    padding: 5.337px 21.349px;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    border-radius: 35.439px;
    background: #005AEF;
    border: none;
    cursor: pointer;
    color: #FFFFFF;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;
    transition: background 0.3s ease;
    margin-top: 0;
    cursor: pointer;
}

    .apply-btn:hover {
        background: #0047CC;
    }

    .apply-btn:active {
        background: #003BA3;
    }

.discount-number {
    display: flex;
    align-items: center;
    column-gap: 6px;
}

    .discount-number .number {
        display: flex;
        width: auto !important;
        height: auto !important;
        flex-direction: column;
        justify-content: center;
        color: var(--UA-Colours-Dark-blue, #002447);
        text-align: center;
        font-family: Poppins, sans-serif;
        font-size: 68.092px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
    }

.percent-off {
    display: flex;
    width: 40.761px;
    height: 49.195px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    line-height: 0.84;
}

.percent-symbol {
    color: var(--UA-Colours-Dark-blue, #002447);
    font-family: Poppins, sans-serif;
    font-size: 45.394px;
    font-style: normal;
    font-weight: 700;
    line-height: 0.84;
}

.off-text {
    color: var(--UA-Colours-Dark-blue, #002447);
    font-family: Poppins, sans-serif;
    font-size: 20.265px;
    font-style: normal;
    font-weight: 700;
    line-height: 0.84;
    margin-top: -2px;
}

.discount-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.discount-icon img {
    width: 32px;
    height: 32px;
    opacity: 0.9;
}

.discount-content {
    display: flex;
    align-items: center;
    gap: 20px;
}


.discount-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--UA-Colours-Dark-blue);
    font-family: 'Poppins', sans-serif;
    font-size: 22.697px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    text-align: left !important;
}


.discount-box {
    position: relative;
}


.discount-icon {
    position: absolute;
    top: 75%;
    right: -12px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

    .discount-icon img {
        width: 32px;
        height: 32px;
        opacity: 0.9;
    }


@media (max-width: 480px) {

    .popup-title {
        font-size: 24px;
    }

    .popup-subtitle {
        white-space: normal;
        font-size: 18px;
    }

    .popup-container {
        padding: 30px 20px;
        cursor: default;
    }
}
