.tribe-tickets__tickets-waitlist-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tribe-tickets__tickets-waitlist-modal.active {
    display: flex;
}

.tribe-tickets__tickets-waitlist-modal-content {
    background: #fff;
    padding: 2rem;
    border-radius: 4px;
    max-width: 500px;
    width: 90%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    margin: auto;
}

.tribe-tickets__tickets-waitlist-modal-close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
}

.tribe-tickets__tickets-waitlist-modal-title {
    margin: 0 0 1rem;
    font-size: 1.5rem;
}

.tribe-tickets__tickets-waitlist-modal-subtitle {
    margin-bottom: 1.5rem;
}

.tribe-tickets__tickets-item-waitlist-fields {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.tribe-tickets__form-field {
    position: relative;
}

.tribe-common-form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.tribe-tickets__form-field-error {
    color: #dc3232;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.tribe-tickets__tickets-item-waitlist-message {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 4px;
    display: none;
}

.tribe-tickets__tickets-item-waitlist-message.success {
    background: #ecf7ed;
    color: #1e4620;
}

.tribe-tickets__tickets-item-waitlist-message.error {
    background: #fbeaea;
    color: #dc3232;
}

.tribe-tickets__tickets-item-waitlist-actions {
    text-align: center;
}

/* Button Styles */
.tribe-tickets__tickets-item-waitlist-trigger,
.tribe-tickets__tickets-item-waitlist-submit {
    min-width: 120px;
    padding: 0.75rem 1.5rem;
}

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

.waitlist-modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    width: 90%;
    max-width: 500px;
    border-radius: 5px;
    position: relative;
}

.waitlist-close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 24px;
    cursor: pointer;
}

.waitlist-button {
    margin: 10px 0;
    background: #2271b1;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
}

.waitlist-button:hover {
    background: #135e96;
}