/**
 * Waitlist Frontend CSS
 * Styles for waitlist functionality on the frontend
 */

/* Frontend styles */
.event-waitlist-container {
    margin: 20px 0;
}

.event-waitlist-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.event-waitlist-table th,
.event-waitlist-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.event-waitlist-table th {
    background-color: #f5f5f5;
    font-weight: bold;
}

.event-waitlist-table a {
    text-decoration: none;
}

/* Button styles */
.btn-join-waitlist {
    display: inline-block;
    background-color: #0073aa;
    color: white;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 3px;
    font-size: 14px;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-leave-waitlist {
    display: inline-block;
    background-color: #aa0000;
    color: white;
    padding: 6px 12px;
    text-decoration: none;
    border-radius: 3px;
    font-size: 13px;
    border: none;
    cursor: pointer;
    text-align: center;
}

/* Message styles */
.bp-feedback p {
    align-content: center;
}


/* Responsive styles */
@media (max-width: 768px) {
    .event-waitlist-table th:nth-child(3),
    .event-waitlist-table td:nth-child(3) {
        display: none;
    }
    
    .btn-join-waitlist,
    .btn-leave-waitlist {
        display: block;
        width: 100%;
        margin-bottom: 5px;
    }
}