/**
 * Buton Stilleri
 * 
 * ⚠️ KRİTİK KURAL: Tüm butonlar inputlar ile aynı padding değerine sahip olmalıdır (10px 12px)
 * Buton stilleri SADECE bu dosyada olmalıdır. Sayfa CSS'lerinde override YASAK!
 * 
 * ⚠️ KRİTİK KURAL: Tüm butonlarda yazı her zaman ortalanmış olmalıdır (text-align: center, justify-content: center)
 * 
 * ⚠️ KRİTİK KURAL: TÜM butonlarda (normal, hover, active durumlarında) HİÇBİR ZAMAN alt çizgi efekti olmamalıdır (text-decoration: none !important)
 */

/* Ortak Buton Standartları (Inputlarla birebir aynı ölçüler) */
.btn-primary,
.btn-secondary,
.btn-success,
.btn-danger {
    padding: 10px 12px;
    height: 38px;
    min-height: 38px;
    line-height: 1.5;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    text-align: center;
}

/* Primary Button */
.btn-primary {
    background: #2D2D2D;
    color: #FFFFFF;
    border: 1px solid #2D2D2D;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary:hover {
    background: #1A1A1A;
    border-color: #1A1A1A;
    text-decoration: none !important;
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Secondary Button */
.btn-secondary {
    background: #FFFFFF;
    color: #2D2D2D;
    border: 1px solid #E8E8E8;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: #F7F7F8;
    border-color: #D1D5DB;
    text-decoration: none !important;
}

.btn-secondary:active {
    transform: scale(0.98);
}

.btn-secondary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Success Button */
.btn-success {
    background: #10A37F;
    color: #FFFFFF;
    border: 1px solid #10A37F;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-success:hover {
    background: #0D8A6B;
    border-color: #0D8A6B;
    text-decoration: none !important;
}

.btn-success:active {
    transform: scale(0.98);
}

.btn-success:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Danger Button */
.btn-danger {
    background: #EF4444;
    color: #FFFFFF;
    border: 1px solid #EF4444;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-danger:hover {
    background: #DC2626;
    border-color: #DC2626;
    text-decoration: none !important;
}

.btn-danger:active {
    transform: scale(0.98);
}

.btn-danger:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Button Sizes */
.btn-sm {
    padding: 10px 12px;
    height: 38px;
    min-height: 38px;
    font-size: 14px;
}

.btn-md {
    padding: 10px 12px;
    height: 38px;
    min-height: 38px;
    font-size: 14px;
}

.btn-lg {
    padding: 10px 12px;
    height: 38px;
    min-height: 38px;
    font-size: 14px;
}

/* Link Button (Tablo aksiyonları vb.) */
.btn-link,
.btn-link-danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    height: 38px;
    min-height: 38px;
    line-height: 1.5;
    box-sizing: border-box;
    border-radius: 6px;
    text-decoration: none !important;
    font-size: 14px;
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-link {
    color: #2D2D2D;
}

.btn-link:hover {
    background: #F7F7F8;
    border-color: #E8E8E8;
    text-decoration: none !important;
}

.btn-link-danger {
    color: #EF4444;
}

.btn-link-danger:hover {
    background: #FEE2E2;
    border-color: #FEE2E2;
    color: #DC2626;
    text-decoration: none !important;
}

