/* Styles pour les toasts de notification */
.pop-toast {
    position: fixed;
    bottom: 100px;
    right: 20px;
    background: #fff;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    max-width: 300px;
}

.pop-toast-show {
    opacity: 1;
    transform: translateY(0);
}

.pop-toast-success {
    border-left: 4px solid #10b981;
    color: #065f46;
}

.pop-toast-error {
    border-left: 4px solid #ef4444;
    color: #991b1b;
}

/* Styles pour les boutons d'action */
.pop-actions {
    display: flex !important;
    gap: 4px;
    align-items: center;
}

/* Boutons ronds (Accepter/Refuser) */
.pop-btn-round {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pop-btn-round:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.pop-btn-round.loading {
    position: relative;
}

.pop-btn-round.loading::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Bouton Accepter (vert) */
.pop-btn-accept {
    background: #10b981;
    color: white;
}

.pop-btn-accept:hover:not(:disabled) {
    background: #059669;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.3);
}

/* Bouton Refuser (rouge) */
.pop-btn-reject {
    background: white;
    color: #ef4444;
    border: 1px solid #fecaca;
}

.pop-btn-reject:hover:not(:disabled) {
    background: #fef2f2;
    border-color: #ef4444;
    transform: scale(1.05);
}

/* Bouton Message (gris) */
.pop-btn-message {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #d1d5db;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pop-btn-message:hover {
    color: #3b82f6;
    transform: scale(1.1);
}

.pop-btn-message i {
    width: 20px;
    height: 20px;
}

/* Badge de notification */
.notification-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #ff5906;
    color: white;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

/* Message "Aucun participant" */
.pop-no-participants {
    text-align: center;
    padding: 60px 20px;
    color: #9ca3af;
    font-style: italic;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 640px) {
    .pop-toast {
        right: 10px;
        left: 10px;
        max-width: none;
    }

    .pop-actions {
        gap: 4px;
    }

    .pop-btn-round {
        width: 28px;
        height: 28px;
    }
}
