/* ============================================
   buttons.css
   BOUTONS & ELEMENTS INTERACTIFS
   ============================================ */

/* Base Button */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Variantes */
.btn--primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.btn--ghost {
    background: transparent;
    border-color: var(--border);
    color: var(--text-secondary);
}

.btn--ghost:hover {
    background: var(--surface);
    border-color: var(--border);
    color: var(--text-primary);
}

/* Bouton Lien (Texte seul) */
.btn-link {
    background: none;
    border: none;
    color: var(--accent-primary);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s;
    padding: 0;
}

.btn-link:hover {
    color: var(--accent-light);
}

/* Bouton Switch (Icone ronde) */
.btn-switch {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--surface-light);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-switch svg {
    width: 18px;
    height: 18px;
    fill: var(--text-secondary);
}

.establishment-widget:hover .btn-switch {
    background: var(--accent-primary);
}

.establishment-widget:hover .btn-switch svg {
    fill: white;
}

/* Bouton Manage (Dashed) */
.btn-manage {
    width: 100%;
    padding: 8px;
    background: transparent;
    border: 1px dashed var(--border);
    color: var(--text-secondary);
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
}

.btn-manage:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

/* Bouton Activate (Petit module) */
.btn-activate {
    padding: 0.625rem 1.25rem;
    border: none;
    border-radius: var(--radius-sm);
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-activate:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}