/* Padronização de Cores dos Botões - SEVO */

/* === BOTÕES DE EDIÇÃO (VERDE) === */
.btn-edit-event,
.btn-edit-org,
.btn-edit-tipo-evento,
.sevo-button-edit,
.sevo-edit-evento,
.sevo-edit-evento-modal,
.edit-inscricao-btn {
    background-color: #22c55e !important;
    color: white !important;
    border: 1px solid #22c55e !important;
    padding: 8px !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
}

.btn-edit-event:hover,
.btn-edit-org:hover,
.btn-edit-tipo-evento:hover,
.sevo-button-edit:hover,
.sevo-edit-evento:hover,
.sevo-edit-evento-modal:hover,
.edit-inscricao-btn:hover {
    background-color: #16a34a !important;
    border-color: #16a34a !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3) !important;
}

.btn-edit-event .dashicons,
.btn-edit-org .dashicons,
.btn-edit-tipo-evento .dashicons,
.sevo-button-edit .dashicons,
.edit-inscricao-btn .dashicons {
    font-size: 16px !important;
    width: 16px !important;
    height: 16px !important;
}

/* === BOTÕES DE VISUALIZAÇÃO (AZUL) === */
.btn-view-event,
.btn-view-org,
.btn-view-tipo-evento,
.sevo-view-evento,
.view-event-btn,
.sevo-button-view {
    background-color: #3b82f6 !important;
    color: white !important;
    border: 1px solid #3b82f6 !important;
    padding: 8px !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    margin-right: 8px !important;
}

.btn-view-event:hover,
.btn-view-org:hover,
.btn-view-tipo-evento:hover,
.sevo-view-evento:hover,
.view-event-btn:hover,
.sevo-button-view:hover {
    background-color: #2563eb !important;
    border-color: #2563eb !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3) !important;
}

.btn-view-event .dashicons,
.btn-view-org .dashicons,
.btn-view-tipo-evento .dashicons,
.sevo-button-view .dashicons,
.view-event-btn .dashicons {
    font-size: 16px !important;
    width: 16px !important;
    height: 16px !important;
}

/* === BOTÕES DE INSCRIÇÃO (AZUL) === */
.sevo-inscribe-evento,
.sevo-button-success,
.approve-btn,
.sevo-btn-success {
    background-color: #3b82f6 !important;
    color: white !important;
    border: 1px solid #3b82f6 !important;
}

.sevo-inscribe-evento:hover,
.sevo-button-success:hover,
.approve-btn:hover,
.sevo-btn-success:hover {
    background-color: #2563eb !important;
    border-color: #2563eb !important;
}

/* === BOTÕES DE CANCELAMENTO (VERMELHO) === */
.sevo-cancel-inscricao,
.sevo-button-warning,
.reject-btn,
.sevo-btn-danger,
.sevo-button-danger {
    background-color: #ef4444 !important;
    color: white !important;
    border: 1px solid #ef4444 !important;
}

.sevo-cancel-inscricao:hover,
.sevo-button-warning:hover,
.reject-btn:hover,
.sevo-btn-danger:hover,
.sevo-button-danger:hover {
    background-color: #dc2626 !important;
    border-color: #dc2626 !important;
}

/* === ESTILOS CONSOLIDADOS DE BOTÕES === */

/* Botões primários, secundários e de perigo */
.sevo-button-primary {
    background-color: #3b82f6;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s ease;
    text-decoration: none;
}

.sevo-button-primary:hover {
    background-color: #2563eb;
}

.sevo-button-primary:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

.sevo-button-primary .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.sevo-button-secondary {
    background-color: #f3f5f6;
    color: #1d2327;
    border: 1px solid #dcdcde;
    padding: 10px 20px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.sevo-button-secondary:hover {
    background-color: #e9eaec;
    border-color: #c4c5c7;
}

.sevo-button-danger {
    background-color: #d63638;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s ease;
    text-decoration: none;
}

.sevo-button-danger:hover {
    background-color: #b92e30;
}

/* === ESTILOS GERAIS PARA TODOS OS BOTÕES === */
.btn-view-event,
.btn-edit-event,
.sevo-inscribe-evento,
.sevo-cancel-inscricao,
.sevo-button-edit,
.sevo-button-view,
.sevo-button-success,
.sevo-button-warning,
.sevo-button-danger {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

/* Botões de ação dos cards - padrão do dashboard de eventos */
.card-actions {
    display: flex;
    gap: 8px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.btn-view-event,
.btn-edit-event,
.btn-view-org,
.btn-edit-org,
.btn-view-tipo-evento,
.btn-edit-tipo-evento {
    flex: 1;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-decoration: none;
}

/* Botões de Ação com Ícones */
.btn-view-event,
.btn-edit-event,
.btn-inscribe-event,
.btn-cancel-inscription,
.btn-inscribed,
.btn-view-org,
.btn-edit-org,
.btn-view-tipo-evento,
.btn-edit-tipo-evento {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.btn-view-event:hover,
.btn-inscribe-event:hover,
.btn-cancel-inscription:hover,
.btn-view-org:hover,
.btn-view-tipo-evento:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-edit-event:hover,
.btn-edit-org:hover,
.btn-edit-tipo-evento:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Botões de Visualização - Azul */
.btn-view-event,
.btn-view-org,
.btn-view-tipo-evento {
    background-color: #3b82f6;
    color: white;
}

.btn-view-event:hover,
.btn-view-org:hover,
.btn-view-tipo-evento:hover {
    background-color: #2563eb;
}

/* Botões de Edição - Verde */
.btn-edit-event,
.btn-edit-org,
.btn-edit-tipo-evento {
    background-color: #10b981;
    color: white;
}

.btn-edit-event:hover,
.btn-edit-org:hover,
.btn-edit-tipo-evento:hover {
    background-color: #059669;
}

/* Botão de Inscrição - Azul Claro */
.btn-inscribe-event {
    background-color: #06b6d4;
    color: white;
}

.btn-inscribe-event:hover {
    background-color: #0891b2;
}

/* Botão de Cancelar Inscrição - Laranja */
.btn-cancel-inscription {
    background-color: #f59e0b;
    color: white;
}

.btn-cancel-inscription:hover {
    background-color: #d97706;
}

/* Botão de Inscrito - Verde Claro (Desabilitado) */
.btn-inscribed {
    background-color: #22c55e;
    color: white;
    cursor: not-allowed;
    opacity: 0.8;
}

.btn-inscribed:hover {
    transform: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Botão de Inscrição Rejeitada - Vermelho (Desabilitado) */
.btn-rejected {
    background-color: #ef4444;
    color: white;
    cursor: not-allowed;
    opacity: 0.8;
}

.btn-rejected:hover {
    transform: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Botão Bloqueado - Cinza Escuro (Desabilitado) */
.btn-blocked {
    background-color: #6b7280;
    color: white;
    cursor: not-allowed;
    opacity: 0.8;
}

.btn-blocked:hover {
    transform: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Botão Período Encerrado - Cinza (Desabilitado) */
.btn-period-closed {
    background-color: #9ca3af;
    color: white;
    cursor: not-allowed;
    opacity: 0.8;
}

.btn-period-closed:hover {
    transform: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Botão Login Necessário - Azul Acinzentado (Desabilitado) */
.btn-login-required {
    background-color: #64748b;
    color: white;
    cursor: not-allowed;
    opacity: 0.8;
}

.btn-login-required:hover {
    transform: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Ícones dos botões */
.btn-view-event i,
.btn-edit-event i,
.btn-view-org i,
.btn-edit-org i,
.btn-view-tipo-evento i,
.btn-edit-tipo-evento i {
    font-size: 14px;
}

/* === RESPONSIVIDADE === */
@media (max-width: 768px) {
    .btn-view-event,
    .btn-edit-event,
    .sevo-inscribe-evento,
    .sevo-cancel-inscricao {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .sevo-button-primary,
    .sevo-button-secondary,
    .sevo-button-danger {
        padding: 8px 12px;
        font-size: 14px;
        justify-content: center;
    }
    
    .card-actions {
        flex-direction: column;
        gap: 6px;
    }
    
    .btn-view-event,
    .btn-edit-event,
    .btn-view-org,
    .btn-edit-org,
    .btn-view-tipo-evento,
    .btn-edit-tipo-evento {
        padding: 10px 12px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .btn-view-event,
    .btn-edit-event {
        flex: 1;
        min-width: 0;
    }
    
    .card-actions {
        gap: 4px;
    }
}