.floatingButton,
.floatingButtonProfile,
.floatingButtonProduct {
    z-index: 1000;
    height: 50px;
    cursor: pointer;
}

.floatingButtonProfile {
    bottom: 102px;
}

.floatingButton {
    bottom: 70px;
}

.floatingButton img,
.floatingButtonProfile img {
    position: absolute;
    height: 100%;
    width: auto;
    right: 0;
    background-color: transparent !important;
}

.overlay {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6);
    font-family: var(--neuzeit-reg-font);
}

@keyframes overlayFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes overlayFadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes modalScaleIn {
    from {
        opacity: 0;
        transform: scale(0.92);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes modalScaleOut {
    from {
        opacity: 1;
        transform: scale(1);
    }

    to {
        opacity: 0;
        transform: scale(0.92);
    }
}

.overlayOpening {
    animation: overlayFadeIn 0.3s ease-out forwards;
}

.overlayClosing {
    animation: overlayFadeOut 0.3s ease-in forwards;
}

.modalOpening {
    animation: modalScaleIn 0.3s ease-out forwards;
}

.modalClosing {
    animation: modalScaleOut 0.3s ease-in forwards;
}

.modal {
    background-color: #fff;
    background-image: url("https://res.cloudinary.com/aurumlab/image/upload/f_auto,q_auto:best,w_1200,c_limit/v1785373816/aurumlab/banner/popup_campaign/POP-UP-RESELL-BG_xn5jbf.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 30px;
}

.modal_wrapper,
.modal_content {
    display: flex;
    flex-direction: column;
}

.modal_wrapper {
    justify-content: flex-start;
    height: 100%;
}

.modal_header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.title,
.timestamp {
    line-height: 1.2;
}

.title {
    font-family: var(--neuzeit-bol-font);
    line-height: 1em;
}

.timestamp {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.time,
.lastUpdate {
    font-weight: 600;
    display: flex;
}

.time {
    flex-direction: column;
    align-items: flex-end;
}

.lastUpdate {
    flex-direction: row;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 10px;
    letter-spacing: -0.4px;
}

.loadError {
    margin: 8px 0 0;
    color: #c0392b;
    font-size: 12px;
    text-align: right;
}

.modal_content_item {
    display: flex;
    flex-direction: row;
    border-bottom: 1px solid black;
}

.lastUpdate_value,
.modal_content_item_value {
    color: #b585c5;
    font-family: var(--neuzeit-bol-font);
}

.modal_content_item_value {
    text-align: right;
}

.modal_tnc {
    margin-bottom: 20px;
}

.modal_tnc_title {
    margin-left: 15px;
}

.modal_tnc_item {
    margin-top: 10px;
}

.item_list {
    display: flex;
    flex-direction: column;
    gap: 5px;
    list-style-type: "-  ";
    padding: 0;
    margin-left: 15px;
}

.call_cs a {
    color: #a171b1;
    text-decoration: underline;
    cursor: pointer;
}

.icon {
    height: 50px;
    width: auto;
    max-width: 100%;
    cursor: pointer;
    display: block;
}

/* Mobile (< 767px) */
@media only screen and (max-width: 766px) {

    .floatingButtonProfile,
    .floatingButton,
    .floatingButtonProduct {
        position: fixed;
        height: 50px;
        width: 80px;
        right: 10px;
    }

    .floatingButtonProfile {
        bottom: 115px;
    }

    .floatingButton {
        bottom: 74px;
    }

    .floatingButtonProduct {
        bottom: 110px;
    }

    .floatingButton img,
    .floatingButtonProfile img,
    .floatingButtonProduct img {
        position: absolute;
        height: 100%;
        width: auto;
        right: 0;
    }

    .modal {
        padding: 20px 20px;
        width: 100%;
        height: 400px;
    }

    .modal_header {
        height: 50px;
        margin-bottom: 20px;
    }

    .title,
    .timestamp {
        max-height: 50px;
    }

    .title {
        width: 40%;
        font-size: 22px;
        letter-spacing: -1.5px;
        height: 100%;
    }

    .timestamp {
        width: 60%;
        height: 100%;
    }

    .time,
    .lastUpdate {
        font-size: 12px;
    }

    .time {
        margin-bottom: 0px;
    }

    .modal_content {
        gap: 15px;
    }

    .modal_content_item {
        gap: 0;
        margin-bottom: 0;
    }

    .modal_content_item_title,
    .modal_content_item_value {
        font-size: 12px;
    }

    .modal_content_item_title {
        width: 70%;
    }

    .modal_content_item_value {
        width: 50%;
    }

    .modal_tnc_title,
    .item_list {
        font-size: 11px;
    }

    .modal_tnc_item {
        margin-top: 5px;
    }

    .item_list {
        gap: 0px;
    }

    .modal_tnc {
        margin-top: 0px;
    }

    .call_cs {
        font-size: 11px;
        margin: auto;
        padding: 0 15px;

    }

}

/* Tablet (767px - 1023px) */
@media only screen and (min-width: 767px) and (max-width: 1023px) {

    .floatingButtonProfile,
    .floatingButton,
    .floatingButtonProduct {
        position: fixed;
        height: 55px;
        width: 80px;
        right: 10px;
    }

    .floatingButtonProfile {
        bottom: 115px;
    }

    .floatingButton {
        bottom: 75px;
    }

    .floatingButtonProduct {
        bottom: 140px;
    }

    .floatingButton img,
    .floatingButtonProfile img,
    .floatingButtonProduct img {
        position: absolute;
        height: 100%;
        width: auto;
        right: 0;
    }

    .modal {
        padding: 40px;
        width: 650px;
        height: 600px;
    }

    .modal_header {
        height: 90px;
        margin-bottom: 50px;
    }

    .title,
    .timestamp {
        max-height: 90px;
    }

    .title {
        width: 50%;
        font-size: 48px;
        letter-spacing: -2.5px;
        height: 100%;
    }

    .timestamp {
        width: 50%;
        height: 100%;
        justify-content: space-between;
    }

    .time,
    .lastUpdate {
        font-size: 20px;
    }

    .modal_content {
        gap: 25px;
    }

    .modal_content_item {
        gap: 0;
        margin-bottom: 0;
    }

    .modal_content_item_title,
    .modal_content_item_value {
        font-size: 20px;
    }

    .modal_content_item_title {
        width: 70%;
    }

    .modal_content_item_value {
        width: 30%;
    }

    .modal_tnc_title,
    .item_list {
        font-size: 18px;
    }

    .modal_tnc {
        margin-top: 10px;
    }

    .call_cs {
        margin: auto 0;
        font-size: 18px;
    }
}

/* Desktop (>= 1024px) */
@media only screen and (min-width: 1024px) {

    .floatingButtonProfile,
    .floatingButton,
    .floatingButtonProduct {
        position: fixed;
        height: 65px;
        width: 80px;
        right: 10px;
    }

    .floatingButtonProfile {
        bottom: 102px;
    }

    .floatingButton,
    .floatingButtonProduct {
        bottom: 80px;
    }


    .floatingButton img,
    .floatingButtonProfile img,
    .floatingButtonProduct img {
        position: absolute;
        height: 100%;
        width: auto;
        right: 0;
    }

    .modal {
        padding: 25px 40px;
        width: 100%;
        max-width: 600px;
        height: 100%;
        max-height: 550px;
    }

    .modal_header {
        height: 80px;
    }

    .title,
    .timestamp {
        width: 50%;
        max-height: 100px;
    }

    .title {
        font-size: 45px;
        letter-spacing: -2.5px;
        height: 100%;
    }

    .timestamp {
        height: 100%;
        justify-content: space-between;
    }

    .time,
    .lastUpdate {
        font-size: 18px;
    }

    .time {
        margin-bottom: 20px;
    }

    .modal_content {
        gap: 25px;
    }

    .modal_content_item {
        gap: 10px;
    }

    .modal_content_item_title,
    .modal_content_item_value {
        font-size: 18px;
    }

    .modal_content_item_title {
        width: 80%;
    }

    .modal_content_item_value {
        width: 70%;
    }

    .modal_tnc {
        margin-top: 20px;
    }

    .modal_tnc_title {
        font-size: 18px;
    }

    .call_cs {
        margin: auto 0;
        font-size: 16px;
    }
}