/* Modal wrapper covering the whole viewport */
#high-ticket-modal {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: none; /* hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 999999 !important;
}

/* Overlay to grey out page and block clicks */
.high-ticket-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999998; /* just below modal content */
}

/* Modal content box */
.high-ticket-modal-content {
    position: relative;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    z-index: 999999; /* above overlay */
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

/* Close button */
.high-ticket-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

/* Show modal (flex + fade) */
#high-ticket-modal.show {
    display: flex;
    animation: fadeIn 0.3s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Optional: prevent scrolling when modal is open */
body.htm-modal-open {
    overflow: hidden;
}

.image_links a:hover svg .path {
  stroke: #000 !important;
}
