/*!
 * Wuffi — Button & Card Design Unification v15.4
 *
 * Sorun: --wf-primary değişkeni iki dosyada farklı tanımlı:
 *   - wuffi-tokens.css       → --wf-primary: #ffb923 (ALTIN)
 *   - wuffi-design-system.css → --wf-primary: #b39ddb (MOR) ← override
 *
 * Sonuç: Bazı panellerde mobile app ShineButton altın CTA kullanılırken
 * web dashboard'larında "Yeni Hizmet Ekle", "Yeni Kampanya", "Personel Ekle",
 * "Fotoğraf Yükle", "Tümünü Okundu İşaretle" gibi butonlar MOR/lila çıkıyor.
 *
 * Bu dosya: tüm panel butonlarını mobile app'le UYUMLU altın CTA'ya çevirir.
 * + Glassmorphism modern kart sistemini tutarlı uygular.
 * + Header banner (büyük mor şerit) → subtle gradient title.
 */

/* ───────────────────────────────────────────────────────────────
   1. PRIMARY CTA — ALTIN gradient (mobile ShineButton parite)
   v46 deep-audit (28 May 2026) — Faz 1.4: aktif buton aliasları
   (.wfa-cta, .wfm-btn, .wf-auth-btn, .wfs-save) primary CTA'ya
   bağlandı; HTML class isimleri korunur, tek yer kaynak görsel tutarlılık.
   ─────────────────────────────────────────────────────────────── */
.sp-btn-primary,
.wf-btn-primary,
.wfa-cta,
.wfm-btn-primary,
.wfm-btn.is-primary,
.wf-auth-btn,
.wfs-save,
button.sp-btn-primary,
button.wf-btn-primary,
button.wfa-cta,
button.wf-auth-btn,
button.wfs-save,
a.sp-btn-primary,
a.wf-btn-primary,
a.wfa-cta,
a.wf-auth-btn,
.sp-shell-content .sp-btn-primary,
.sp-shell-content .wf-btn-primary {
    background: var(--wf-gradient-cta-gold) !important;
    color: #1a0800 !important;
    border: 1px solid var(--wf-primary) !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 14px rgba(255, 185, 35, 0.35), 0 1px 3px rgba(0,0,0,0.08) !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease !important;
}
.sp-btn-primary:hover,
.wf-btn-primary:hover,
.wfa-cta:hover,
.wfm-btn-primary:hover,
.wfm-btn.is-primary:hover,
.wf-auth-btn:hover,
.wfs-save:hover,
button.sp-btn-primary:hover,
button.wf-btn-primary:hover,
button.wfa-cta:hover,
button.wf-auth-btn:hover,
button.wfs-save:hover,
a.sp-btn-primary:hover,
a.wf-btn-primary:hover,
a.wfa-cta:hover,
a.wf-auth-btn:hover {
    background: var(--wf-gradient-cta-gold-hover) !important;
    color: #1a0800 !important;
    border-color: #ffc846 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 20px rgba(255, 185, 35, 0.45), 0 2px 6px rgba(0,0,0,0.10) !important;
    filter: brightness(1.05) !important;
}
.sp-btn-primary:active,
.wf-btn-primary:active,
.wfa-cta:active,
.wfm-btn-primary:active,
.wf-auth-btn:active,
.wfs-save:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 8px rgba(255, 185, 35, 0.30) !important;
}
.sp-btn-primary:disabled,
.wf-btn-primary:disabled,
.wfa-cta:disabled,
.wf-auth-btn:disabled,
.wfs-save:disabled,
.sp-btn-primary[disabled],
.wf-btn-primary[disabled],
.wfa-cta[disabled],
.wf-auth-btn[disabled],
.wfs-save[disabled] {
    background: var(--wf-gradient-cta-gold-disabled) !important;
    color: rgba(255, 255, 255, 0.45) !important;
    border-color: #6e520e !important;
    box-shadow: none !important;
    cursor: not-allowed;
}

/* "İlk X Ekle" empty-state CTAs → primary */
.sp-empty-cta,
.wf-empty-cta {
    background: var(--wf-gradient-cta-gold) !important;
    color: #1a0800 !important;
    border: 1px solid var(--wf-primary) !important;
    font-weight: 700 !important;
}

/* ───────────────────────────────────────────────────────────────
   2. SECONDARY — Glassmorphism mor border
   ─────────────────────────────────────────────────────────────── */
.sp-btn-secondary,
.wf-btn-secondary {
    background: rgba(255, 255, 255, 0.04) !important;
    color: var(--wf-text-primary, #f5f0ff) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.18s ease;
}
.sp-btn-secondary:hover,
.wf-btn-secondary:hover {
    background: rgba(255, 185, 35, 0.10) !important;
    border-color: rgba(255, 185, 35, 0.35) !important;
    color: #FFD78A !important;
}

/* ───────────────────────────────────────────────────────────────
   3. OUTLINE / GHOST — daha temiz
   ─────────────────────────────────────────────────────────────── */
.sp-btn-outline,
.wf-btn-outline {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    color: var(--wf-text-secondary, rgba(255,255,255,0.75)) !important;
}
.sp-btn-outline:hover,
.wf-btn-outline:hover {
    border-color: var(--wf-primary) !important;
    color: var(--wf-primary) !important;
    background: rgba(255, 185, 35, 0.06) !important;
}

/* ───────────────────────────────────────────────────────────────
   4. CARD MODERN — Glassmorphism unified
   ─────────────────────────────────────────────────────────────── */
.sp-card,
.wf-card,
.glass-panel {
    /* MOBİL sade kart — beyaz inset/glass KALDIRILDI (kullanıcı: beyaz ışıma yok). */
    background: var(--wf-bg-card, #1b1635) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 14px !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22) !important;
    transition: border-color 0.18s ease;
}
.sp-card:hover,
.wf-card:hover {
    border-color: rgba(255, 185, 35, 0.28) !important;
}

/* ───────────────────────────────────────────────────────────────
   4b. PANEL KARTLARI — mobil app kart tasarımı paritesi
   Customer (wf-oh-*), Business (biz-*), Admin (adm-*) panel kartlarına
   .wf-card ile AYNI cam(glass) + gölge reçetesi. Sadece kozmetik (bg/
   border/radius/shadow); layout/padding korunur. Renk varyantları (biz-stat
   .blue/.amber...) için 2-class selector + !important specificity güvencesi.
   ─────────────────────────────────────────────────────────────── */
.wf-oh-stat, .wf-oh-card, .wf-oh-pet, .wf-oh-action, .wf-oh-apt,
.biz-stat, .biz-stat.blue, .biz-stat.amber, .biz-stat.gold, .biz-stat.green,
.biz-quick-action, .biz-card, .adm-stat, .adm-card, .adm-welcome {
    /* MOBİL App kartı BİREBİR (components/ui/Card.tsx): bgCard + 1px
       rgba(255,255,255,0.08) border + radius 14 + hafif elevation gölgesi.
       Gradient sheen / ağır gölge YOK. Tek kaynak: var(--wf-bg-card)=#1b1635. */
    background: var(--wf-bg-card, #1b1635) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 14px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transition: border-color 0.16s ease;
}
.wf-oh-stat:hover, .wf-oh-card:hover, .wf-oh-pet:hover, .wf-oh-action:hover, .wf-oh-apt:hover,
.biz-stat:hover, .biz-quick-action:hover, .adm-stat:hover {
    border-color: rgba(255, 185, 35, 0.28) !important;
}

/* ───────────────────────────────────────────────────────────────
   4c. ADMIN STAT KUTULARI → CUSTOMER (wf-oh-stat) YATAY DÜZEN PARİTESİ
   Customer kutusu: [44px ikon | değer+etiket sütunu] yatay. Admin kutusu
   dikeydi (ikon üstte). HTML değişmeden CSS Grid ile yatayya çeviriyoruz:
   ikon sol sütun (tüm satırları kaplar), metin sağ sütunda alt alta.
   ─────────────────────────────────────────────────────────────── */
.adm-stat {
    display: grid !important;
    grid-template-columns: 44px 1fr !important;
    column-gap: 14px !important;
    align-items: center !important;
    padding: 18px 16px !important;
}
.adm-stat-icon {
    grid-column: 1 !important;
    grid-row: 1 / span 3 !important;
    align-self: center !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
    margin-bottom: 0 !important;
    font-size: 18px !important;
}
.adm-stat-val   { grid-column: 2 !important; grid-row: 1 !important; font-size: 22px !important; margin: 0 !important; }
.adm-stat-label { grid-column: 2 !important; grid-row: 2 !important; text-transform: none !important; letter-spacing: 0 !important; margin: 0 !important; }
.adm-stat-sub   { grid-column: 2 !important; grid-row: 3 !important; margin: 2px 0 0 !important; }

/* ───────────────────────────────────────────────────────────────
   5. HEADER BANNER — büyük mor şerit ("Profil Bilgileri" vb.) → sade
   ─────────────────────────────────────────────────────────────── */
.sp-section-header,
.wf-section-header,
.sp-page-header,
.wf-page-header,
[class*="profil-bilgileri-banner"],
[class*="section-title-banner"] {
    background: transparent !important;
    border: 0 !important;
    padding: 0 0 16px !important;
    color: var(--wf-text-primary, #f5f0ff) !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    text-align: left !important;
    border-bottom: 1px solid rgba(255, 185, 35, 0.18);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.sp-section-header::before,
.wf-section-header::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 20px;
    background: linear-gradient(180deg, #FFB923, #FFD78A);
    border-radius: 2px;
}

/* ───────────────────────────────────────────────────────────────
   6. NOTIFICATIONS — "Tümünü Okundu İşaretle" → modern outline
   ─────────────────────────────────────────────────────────────── */
.sp-notif-mark-all,
.wf-notif-mark-all,
button[onclick*="markAllRead"],
button[onclick*="mark_all_read"] {
    background: rgba(255, 185, 35, 0.08) !important;
    color: var(--wf-primary) !important;
    border: 1px solid rgba(255, 185, 35, 0.25) !important;
    padding: 8px 16px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    transition: all 0.18s ease;
}
.sp-notif-mark-all:hover,
.wf-notif-mark-all:hover {
    background: rgba(255, 185, 35, 0.15) !important;
    border-color: var(--wf-primary) !important;
}

/* Notification item card daha modern */
.sp-notif-item,
.wf-notif-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    padding: 14px 12px !important;
    transition: background 0.15s ease;
}
.sp-notif-item:hover,
.wf-notif-item:hover {
    background: rgba(255, 185, 35, 0.04);
}
.sp-notif-item.unread,
.wf-notif-item.unread {
    border-left: 3px solid var(--wf-primary);
    background: rgba(255, 185, 35, 0.04);
}

/* ───────────────────────────────────────────────────────────────
   7. BADGE / STATUS — modern altın accent
   ─────────────────────────────────────────────────────────────── */
.sp-badge-primary,
.wf-badge-primary,
.sp-badge-gold,
.wf-badge-gold {
    background: rgba(255, 185, 35, 0.15) !important;
    color: #FFD78A !important;
    border: 1px solid rgba(255, 185, 35, 0.30) !important;
    padding: 4px 10px !important;
    border-radius: 999px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    letter-spacing: 0.02em;
}

/* ───────────────────────────────────────────────────────────────
   8. TAB / FILTER PILL — modern look
   ─────────────────────────────────────────────────────────────── */
.sp-tab-item,
.wf-tab-item,
.sp-filter-pill,
.wf-filter-pill {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: var(--wf-text-secondary, rgba(255,255,255,0.7)) !important;
    border-radius: 999px !important;
    padding: 8px 16px !important;
    font-weight: 500 !important;
    transition: all 0.18s ease;
}
.sp-tab-item.active,
.wf-tab-item.active,
.sp-filter-pill.active,
.wf-filter-pill.active {
    background: linear-gradient(135deg, rgba(255, 185, 35, 0.18) 0%, rgba(255, 215, 138, 0.12) 100%) !important;
    color: #FFD78A !important;
    border-color: rgba(255, 185, 35, 0.40) !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 8px rgba(255, 185, 35, 0.20);
}
.sp-tab-item:hover:not(.active),
.wf-tab-item:hover:not(.active) {
    background: rgba(255, 185, 35, 0.06) !important;
    border-color: rgba(255, 185, 35, 0.20) !important;
    color: #FFD78A !important;
}

/* ───────────────────────────────────────────────────────────────
   9. INPUT FOCUS — altın accent
   ─────────────────────────────────────────────────────────────── */
input:focus,
textarea:focus,
select:focus,
.sp-input:focus,
.wf-input:focus {
    outline: none !important;
    border-color: var(--wf-primary) !important;
    box-shadow: 0 0 0 3px rgba(255, 185, 35, 0.18) !important;
}

/* ───────────────────────────────────────────────────────────────
   10. STAT KART — modern accent border
   ─────────────────────────────────────────────────────────────── */
.sp-stat-card,
.wf-stat-card {
    background: rgba(255, 255, 255, 0.025) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 14px !important;
    padding: 16px !important;
    transition: all 0.18s ease;
    position: relative;
    overflow: hidden;
}
.sp-stat-card::before,
.wf-stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--wf-gradient-gold-line);
    opacity: 0.6;
}
.sp-stat-card:hover,
.wf-stat-card:hover {
    border-color: rgba(255, 185, 35, 0.25) !important;
    transform: translateY(-2px);
}

/* ───────────────────────────────────────────────────────────────
   11. B009 — ALTIN ÜZERİ DAİMA KOYU YAZI (okunabilirlik / WCAG)
   Kullanıcı: altın buton + beyaz yazı okunmuyor. Tüm altın CTA + gold
   daireler koyu (#13102B, 12:1 kontrast). danger/success (kırmızı/yeşil)
   beyaz kalır — onlara DOKUNULMAZ.
   ─────────────────────────────────────────────────────────────── */
.wf-auth-btn,
.wf-auth-btn .wf-btn-text,
.wf-auth-btn i, .wf-auth-btn svg,
.sp-btn-primary .wf-btn-text,
.wf-btn-primary .wf-btn-text,
.sp-empty-cta .wf-btn-text,
.wf-empty-cta .wf-btn-text,
.superpet-btn,
.superpet-btn .wf-btn-text,
.wf-cta-primary,
.sp-cta-primary,
.sp-step-item.active .sp-step-circle,
.sp-add-balance-btn,
.sp-step.active {
    color: #13102B !important;
}
.sp-add-balance-btn i,
.sp-add-balance-btn svg {
    color: #13102B !important;
    fill: #13102B !important;
}
/* .superpet-btn eski mor (#a29bfe) gradient → altın parite */
.superpet-btn {
    background: var(--wf-gradient-cta-gold) !important;
    border: 1px solid var(--wf-primary) !important;
}
