/* Vzhled karet služeb řeší sjednocená .addon-card v assets/css/style.css
   (sekce "=== ADDON CARDS ==="). .myexchange / .myexchange-inner jsou už jen
   JS hooky a wrapper; validační rámeček .myexchange-inner.not-chosen je
   definovaný společně s .addon-card.not-chosen ve style.css. */

.myexchange {
    margin: 0;
}

.clickable-tooltip {
    cursor: pointer;
}

/* OVERLAY */

.myexchange-overlay {
    display: none;
    position: fixed;
    z-index: 999999999999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.myexchange-popup {
    width: 600px;
    max-width: 90vw;
    max-height: 90vh;
    overflow: auto;
    padding: 20px;
    position: relative;

    background: #fff;
}

.myexchange-popup-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.myexchange-popup h2,
.myexchange-popup h3 {
    color: var(--color-secondary);
}

.myexchange-popup h2 {
    margin-block: 0 20px;
}

.myexchange-popup h3 {
    margin-block: 10px 15px;
}

.myexchange-popup h4 {
    margin-block: 5px 10px;
}

.myexchange-popup h5 {
    margin-block: 5px;
}

.myexchange-popup .another-questions {
    margin-top: 20px;
    padding-top: 20px;

    border-top: 1px solid #e0e0e0;
    font-size: 14px;
}

.myexchange-popup .another-questions a {
    color: var(--color-secondary);
    text-decoration: underline;
}

.myexchange-popup .another-questions a:hover {
    text-decoration: none;
}

.myexchange-popup-close {
    display: flex;
    align-items: center;
    justify-content: center;

    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    cursor: pointer;

    border-radius: 50%;
    background-color: #fff;
}

.myexchange-popup-close::before {
    content: "\e912";
    font-size: 14px;
    font-family: shoptet;
}
