/* ====================================
   BUTONLAR
   Tüm buton stilleri ve varyantları
   ==================================== */

/* ---------- BASE BUTON ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-2);
    font-weight: var(--font-medium);
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
    text-decoration: none;
}

/* ---------- BUTON BOYUTLARI ---------- */
.btn-sm {
    padding: var(--spacing-2) var(--spacing-4);
    font-size: var(--text-xs);
    border-radius: var(--radius-full);
}

.btn-md {
    padding: var(--spacing-3) var(--spacing-6);
    font-size: var(--text-sm);
    border-radius: var(--radius-full);
}

@media (min-width: 768px) {
    .btn-md {
        font-size: var(--text-base);
    }
}

.btn-lg {
    padding: var(--spacing-4) var(--spacing-8);
    font-size: var(--text-base);
    border-radius: var(--radius-full);
}

/* ---------- BUTON VARYANTLARI ---------- */
.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-light);
}

.btn-secondary {
    background: white;
    border: 1px solid #e2e8f0;
    color: var(--primary);
}

.btn-secondary:hover {
    border-color: #94a3b8;
}

.btn-ghost {
    background: transparent;
    color: var(--muted);
}

.btn-ghost:hover {
    color: var(--primary);
}

/* ---------- ÖZEL BUTONLAR ---------- */
.btn-add-price {
    background: var(--primary);
    color: white;
    padding: var(--spacing-3) var(--spacing-5);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    border: none;

}

.btn-add-price:hover {
    background: var(--primary-light);
}

.btn-copy {
    background: var(--primary);
    color: white;
    padding: var(--spacing-2) var(--spacing-5);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    margin-left: auto;
}

.btn-copy:hover {
    background: var(--primary-light);
}

/* ---------- BUTON GRUPLARI ---------- */
.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-3);
    justify-content: center;
}

/* ---------- DISABLED STATE ---------- */
.btn:disabled,
.btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}