/**
 * Styles du modal des participants
 */

.bpee-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

.bpee-modal-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.bpee-modal {
    position: relative;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 40px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

.bpee-modal-header {
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bpee-modal-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: #333;
}

.bpee-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    transition: color 0.2s;
}

.bpee-modal-close:hover {
    color: #333;
}

.bpee-modal-tabs {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
}

.bpee-modal-tab {
    flex: 1;
    padding: 15px 20px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
}

.bpee-modal-tab.active {
    color: #007cba;
    border-bottom-color: #007cba;
}

.bpee-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.bpee-subscribers-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bpee-subscriber-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    margin-bottom: 10px;
}

.bpee-subscriber-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.bpee-subscriber-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bpee-subscriber-info {
    flex: 1;
}

.bpee-subscriber-name {
    font-weight: 600;
    color: #333;
    margin: 0 0 4px;
    font-size: 14px;
}

.bpee-subscriber-date {
    font-size: 12px;
    color: #999;
    margin: 0;
}

.bpee-subscriber-link {
    color: #007cba;
    text-decoration: none;
}

.bpee-subscriber-link:hover {
    text-decoration: underline;
}

.bpee-modal-footer {
    padding: 15px 20px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.bpee-modal-btn {
    padding: 10px 20px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
}

.bpee-modal-loading {
    text-align: center;
    padding: 40px;
    color: #999;
}

.bpee-modal-empty {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}