#tsp-popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6);
}

#tsp-popup-overlay.tsp-popup-visible {
    display: flex;
}

#tsp-popup-overlay .tsp-popup-box {
    position: relative;
    background: #fff;
    border-radius: 8px;
    max-width: 480px;
    width: 100%;
    padding: 28px 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
    max-height: 90vh;
    overflow-y: auto;
}

#tsp-popup-overlay .tsp-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #e5e5e5;
    color: #555;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
}

#tsp-popup-overlay .tsp-popup-close:hover {
    background: #d5d5d5;
}

#tsp-popup-overlay .tsp-popup-content p {
    margin: 0;
    line-height: 1.4;
}

/* The ticket sales page resets `ol, ul { list-style: none; }` globally, so the
   markers have to be restored for content authored in the editor. */
#tsp-popup-overlay .tsp-popup-content ol,
#tsp-popup-overlay .tsp-popup-content ul {
    margin: 0 0 8px;
    padding-left: 24px;
}

#tsp-popup-overlay .tsp-popup-content ol {
    list-style: decimal outside;
}

#tsp-popup-overlay .tsp-popup-content ul {
    list-style: disc outside;
}

#tsp-popup-overlay .tsp-popup-content ol ol,
#tsp-popup-overlay .tsp-popup-content ul ul {
    margin-bottom: 0;
}

#tsp-popup-overlay .tsp-popup-content li {
    list-style: inherit;
    margin-left: 0;
    line-height: 1.4;
}

#tsp-popup-overlay .tsp-popup-accept {
    display: block;
    width: 100%;
    margin-top: 24px;
    padding: 12px 16px;
    border: none;
    border-radius: 6px;
    background: #4A90E2;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}
