/* ============================================
   BUTTONS - Sistema de Botões Padronizados
   Galinheiro Pinheiro
   ============================================ */

/* Botão Base com Gradiente e Arredondamento */
.btn-gradient {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-gradient:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: scale(1.05);
}

.btn-gradient svg {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
}

/* Variantes de Cores */
.btn-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.btn-green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.btn-purple {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
}

.btn-red {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.btn-orange {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

/* Botão de Ação (Editar, Deletar, etc.) */
.btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
    margin-right: 0.5rem;
}

.btn-action:last-child {
    margin-right: 0;
}

.btn-action svg {
    width: 1rem;
    height: 1rem;
}

.btn-action:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Ações Específicas */
.btn-edit {
    background-color: #3b82f6;
    color: #ffffff;
}

.btn-edit:hover {
    background-color: #2563eb;
}

.btn-delete {
    background-color: #ef4444;
    color: #ffffff;
}

.btn-delete:hover {
    background-color: #dc2626;
}

.btn-view {
    background-color: #6b7280;
    color: #ffffff;
}

.btn-view:hover {
    background-color: #4b5563;
}

/* Botão Primário (Legacy - para compatibilidade) */
.btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    color: #ffffff;
    font-weight: 700;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
}

/* Botão Secundário */
.btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background-color: #6b7280;
    color: #ffffff;
    font-weight: 600;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: #4b5563;
    transform: translateY(-1px);
    color: #ffffff;
}

/* Botões com Ícones */
.btn-with-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

/* Responsividade */
@media (max-width: 640px) {
    .btn-gradient,
    .btn-primary,
    .btn-secondary {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .btn-gradient svg,
    .btn-primary svg,
    .btn-secondary svg {
        width: 1rem;
        height: 1rem;
        margin-right: 0.5rem;
    }
}

