/* F-17 Part B (v2): cart attendee-confirmation "View attendees" link + modal. */

.ajcwt-view-attendees-link {
    display: inline-block;
    margin-top: 6px;
    font-size: 0.85em;
    color: #d7ad6d;
    text-decoration: underline;
    cursor: pointer;
}

.ajcwt-attendees-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 100010;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.ajcwt-attendees-modal-overlay.is-open {
    display: flex;
}

.ajcwt-attendees-modal {
    background: #1c1c1c;
    color: #f5f5f5;
    border: 1px solid #d7ad6d;
    border-radius: 6px;
    max-width: 420px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 24px;
    position: relative;
}

.ajcwt-attendees-modal h3 {
    color: #d7ad6d;
    margin-top: 0;
}

.ajcwt-attendees-modal ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ajcwt-attendees-modal li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(215, 173, 109, 0.25);
}
.ajcwt-attendees-modal li:last-child {
    border-bottom: none;
}

.ajcwt-attendees-modal .ajcwt-attendee-email {
    color: #c9c9c9;
    font-size: 0.9em;
}

.ajcwt-attendees-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    color: #d7ad6d;
    cursor: pointer;
    font-size: 20px;
    background: none;
    border: none;
}

@media (max-width: 480px) {
    .ajcwt-attendees-modal {
        max-height: 90vh;
        padding: 20px;
    }
}
