:root {
    --table-bg: rgba(255, 255, 255, 0.85);
}

#participants-view {
    display: none;
}

#participants-view.active {
    display: block;
}

.participant-controls {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.participant-controls select,
.participant-controls button {
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #d0d7de;
    font-size: 14px;
}

.participant-controls button.primary {
    background: var(--brand-primary);
    color: #fff;
    border: none;
    cursor: pointer;
}

.status-active,
.status-inactive {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
}

.status-active {
    background: #1f9c57;
}

.status-inactive {
    background: #c0392b;
}

.participants-table-wrapper {
    background: var(--table-bg);
    border-radius: 12px;
    padding: 12px;
    overflow-x: auto;
}

.participants-table-wrapper table {
    width: 100%;
    border-collapse: collapse;
}

.participants-table-wrapper th,
.participants-table-wrapper td {
    padding: 10px;
    border-bottom: 1px solid #ececec;
}

.participants-table-wrapper th {
    text-align: left;
    font-size: 13px;
    text-transform: uppercase;
    color: #5a5a5a;
}

.participants-table-wrapper tr:last-child td {
    border-bottom: none;
}

.participant-actions {
    display: flex;
    gap: 8px;
}

.participant-actions button {
    border: none;
    border-radius: 6px;
    padding: 6px 10px;
    background: #e8f0fe;
    color: #0f172a;
    cursor: pointer;
}

.participant-actions button.danger {
    background: #ffe6e0;
    color: #a30000;
}

#participant-form {
    background: var(--table-bg);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
}

#participant-form input,
#participant-form textarea,
#participant-form select {
    width: 100%;
    border: 1px solid #d0d7de;
    border-radius: 6px;
    padding: 8px;
    margin-bottom: 10px;
    font-size: 14px;
}

#participant-form label {
    font-size: 13px;
    font-weight: 600;
}

#participant-form button {
    background: var(--brand-secondary);
    color: #0f172a;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
}

.meta-snippet {
    background: #0f172a;
    color: #fff;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 12px;
    max-height: 120px;
    overflow: auto;
    margin: 0;
}
