/* =====================================================================
   Profil / Ayarlar sayfasi (2026-09-29 yeniden tasarim - mockup)
   ===================================================================== */
.pf-wrap { display: flex; flex-direction: column; gap: 16px; }
.pf-card { background: var(--bg-surface); border: 1px solid var(--border); border-radius: 18px; padding: 20px 22px; box-shadow: var(--shadow); }

/* Profil Bilgileri */
.pf-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.pf-head-title { font-family: var(--font-display); font-size: 18px; font-weight: 800; color: var(--text-primary); }
.pf-head-sub { font-size: 12.5px; color: var(--text-muted); margin-top: 2px; }
.pf-edit { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; color: var(--accent2); font-weight: 700; font-size: 13px; cursor: pointer; }
.pf-edit svg { width: 15px; height: 15px; }

.pf-profile { display: flex; align-items: center; gap: 26px; }
.pf-id { display: flex; align-items: center; gap: 14px; flex-shrink: 0; padding-right: 26px; border-right: 1px solid var(--border); }
.pf-avatar { position: relative; width: 76px; height: 76px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; background: linear-gradient(140deg, var(--accent), var(--accent-dim)); color: #07221b; font-weight: 800; font-size: 28px; }
.pf-avatar.has-photo { background: none; }
.pf-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.pf-avatar-cam { position: absolute; right: -2px; bottom: -2px; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #06221b; display: grid; place-items: center; cursor: pointer; border: 2px solid var(--bg-surface); }
.pf-avatar-cam svg { width: 14px; height: 14px; }
.pf-id-name { font-family: var(--font-display); font-size: 19px; font-weight: 800; color: var(--text-primary); }
.pf-id-email { font-size: 13px; color: var(--text-muted); margin: 2px 0 7px; }
.pf-role { display: inline-block; padding: 3px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 700; background: var(--accent-soft); color: var(--accent-bright); }

.pf-form { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.pf-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pf-field label { display: block; font-size: 12.5px; color: var(--text-secondary); margin-bottom: 6px; }
.pf-input { display: flex; align-items: center; gap: 9px; padding: 11px 14px; border-radius: 12px; background: var(--bg-surface-2); border: 1px solid var(--border); transition: border-color .15s; }
.pf-input:focus-within { border-color: var(--accent-dim); }
.pf-input svg { width: 17px; height: 17px; color: var(--text-muted); flex-shrink: 0; }
.pf-input input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: var(--text-primary); font-size: 14px; font-family: inherit; }
.pf-input input:disabled, .pf-input input[readonly] { color: var(--text-secondary); cursor: default; }
.pf-form-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pf-btn-ghost { display: inline-flex; align-items: center; gap: 7px; padding: 10px 16px; border-radius: 11px; background: var(--bg-surface-2); border: 1px solid var(--border); color: var(--text-secondary); font-weight: 600; font-size: 13px; cursor: pointer; }
.pf-btn-ghost:hover { border-color: var(--border-strong); color: var(--text-primary); }
.pf-btn-ghost svg { width: 16px; height: 16px; }
.pf-btn-primary { display: inline-flex; align-items: center; gap: 7px; padding: 11px 24px; border-radius: 11px; background: var(--accent); border: 0; color: #06221b; font-weight: 800; font-size: 14px; cursor: pointer; transition: filter .15s, opacity .15s; }
.pf-btn-primary:hover { filter: brightness(1.05); }
.pf-btn-primary:disabled { opacity: .5; cursor: not-allowed; }
.pf-btn-primary svg { width: 16px; height: 16px; }

/* Uclu kart satiri - kartlar esit yukseklik (Plan ve Kullanim en uzun olani belirler) */
.pf-row3 { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 16px; align-items: stretch; }
.pf-row3 > .pf-card { display: flex; flex-direction: column; }
/* Kisa kartlarda son ogeyi alta yasla (esit yukseklikte dengeli dursun) */
.pf-row3 .pf-wallet-market, .pf-row3 .pf-theme { margin-top: auto; }
.pf-row3 .pf-plan { flex: 1; }
.pf-mini-head { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.pf-mini-ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; flex-shrink: 0; }
.pf-mini-ic svg { width: 20px; height: 20px; }
.pf-mini-title { font-family: var(--font-display); font-size: 15.5px; font-weight: 800; color: var(--text-primary); }
.pf-mini-sub { font-size: 12px; color: var(--text-muted); margin-top: 1px; }

.pf-plan { background: var(--bg-surface-2); border: 1px solid var(--border); border-radius: 14px; padding: 14px; }
.pf-plan-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.pf-plan-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.pf-plan-ic svg { width: 22px; height: 22px; }
.pf-plan-txt { min-width: 0; }
.pf-plan-name { font-family: var(--font-display); font-size: 18px; font-weight: 800; color: var(--text-primary); line-height: 1.1; }
.pf-plan-price { font-size: 12.5px; color: var(--text-muted); margin-top: 2px; }
.pf-plan-link { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: var(--text-secondary); white-space: nowrap; text-decoration: none; }
.pf-plan-link:hover { color: var(--accent-bright); }
.pf-plan-link svg { width: 13px; height: 13px; }
.pf-usage { display: flex; flex-direction: column; gap: 11px; }
.pf-usage-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 5px; }
.pf-usage-lbl { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--text-secondary); }
.pf-usage-lbl svg { width: 14px; height: 14px; color: var(--accent-bright); }
.pf-usage-val { font-size: 12.5px; font-weight: 700; color: var(--text-primary); }
.pf-bar { height: 7px; border-radius: 999px; background: var(--bg-elevated); overflow: hidden; }
.pf-bar > span { display: block; height: 100%; border-radius: 999px; background: var(--accent); min-width: 5px; transition: width .5s ease; }

.pf-wallet-bal { font-family: var(--font-display); font-size: 30px; font-weight: 800; color: var(--text-primary); display: flex; align-items: center; gap: 8px; line-height: 1; }
.pf-coin { font-size: 22px; }
.pf-wallet-meta { display: flex; gap: 12px; margin: 14px 0; }
.pf-wallet-col { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.pf-wallet-col + .pf-wallet-col { border-left: 1px solid var(--border); padding-left: 12px; }
.pf-wallet-k { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--text-muted); }
.pf-wallet-k svg { width: 13px; height: 13px; }
.pf-wallet-col b { font-size: 15px; color: var(--text-primary); }
.pf-wallet-market { display: flex; align-items: center; justify-content: space-between; padding: 11px 14px; border-radius: 11px; background: var(--bg-surface-2); border: 1px solid var(--border); color: var(--text-secondary); font-weight: 600; font-size: 13px; text-decoration: none; }
.pf-wallet-market:hover { border-color: var(--border-strong); color: var(--text-primary); }
.pf-wallet-market span { display: inline-flex; align-items: center; gap: 7px; }
.pf-wallet-market svg { width: 16px; height: 16px; }

.pf-theme { display: flex; gap: 10px; }
.pf-theme-btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 13px; border-radius: 12px; background: var(--bg-surface-2); border: 1.5px solid var(--border); color: var(--text-secondary); font-weight: 700; font-size: 13.5px; cursor: pointer; transition: all .15s; }
.pf-theme-btn svg { width: 17px; height: 17px; }
.pf-theme-btn:hover { border-color: var(--border-strong); }
.pf-theme-btn.active { border-color: var(--accent); color: var(--accent-bright); background: var(--accent-soft); }

.pf-sec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pf-sec { display: flex; align-items: center; gap: 11px; padding: 13px 14px; border-radius: 13px; background: var(--bg-surface-2); border: 1px solid var(--border); text-decoration: none; text-align: left; cursor: pointer; transition: all .15s; width: 100%; font-family: inherit; }
.pf-sec:hover { transform: translateY(-2px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.pf-sec-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex-shrink: 0; }
.pf-sec-ic svg { width: 19px; height: 19px; }
.pf-sec-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pf-sec-t { font-size: 13.5px; font-weight: 700; color: var(--text-primary); display: inline-flex; align-items: center; gap: 6px; }
.pf-sec-s { font-size: 11.5px; color: var(--text-muted); line-height: 1.3; }
.pf-sec-go { width: 16px; height: 16px; color: var(--text-muted); flex-shrink: 0; }
.pf-sec-soon { cursor: default; }
.pf-sec-soon:hover { transform: none; border-color: var(--border); box-shadow: none; }
.pf-soon { font-size: 9.5px; font-weight: 700; padding: 1px 6px; border-radius: 999px; background: var(--accent2-soft); color: var(--accent2); text-transform: uppercase; letter-spacing: .3px; }
.pf-modal-note { font-size: 12.5px; color: var(--text-secondary); line-height: 1.5; margin-bottom: 12px; }

@media (max-width: 1000px) {
    .pf-row3 { grid-template-columns: 1fr; }
    .pf-sec-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
    .pf-profile { flex-direction: column; align-items: stretch; gap: 16px; }
    .pf-id { border-right: 0; border-bottom: 1px solid var(--border); padding: 0 0 16px; }
    .pf-fields { grid-template-columns: 1fr; }
    .pf-sec-grid { grid-template-columns: 1fr; }
}

