/* Müşteri uygulamasına özel küçük eklemeler. Ortak tasarım sistemi: _content/AnonimB2B.Web.Shared/ab.css */
.valid.modified:not([type=checkbox]) { outline: none; }
.invalid { outline: none; }

/* ---- Bildirimler (zil menüsü ve /bildirimler) ---- */
.bn-bell-wrap { position: relative; }
.bn-bell { position: relative; width: 40px; height: 40px; border: 1px solid #DDE1E6; border-radius: 4px; background: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.bn-badge { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #B42318; color: #FFFFFF; font: 700 11px/18px Inter, system-ui, sans-serif; text-align: center; }
.bn-backdrop { position: fixed; inset: 0; z-index: 40; }
.bn-menu { position: absolute; right: 0; top: 48px; z-index: 41; width: 420px; max-width: calc(100vw - 32px); background: #FFFFFF; border: 1px solid #DDE1E6; border-radius: 8px; box-shadow: 0 8px 24px rgba(27, 33, 41, .16); display: flex; flex-direction: column; max-height: min(560px, calc(100vh - 96px)); }
.bn-menu-head { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid #DDE1E6; }
.bn-menu > .ab-empty, .bn-menu > [aria-busy] { padding: 16px; }
.bn-menu .bn-list { overflow-y: auto; }
.bn-menu-foot { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-top: 1px solid #DDE1E6; font-size: 13px; }
.bn-list { list-style: none; margin: 0; padding: 0; }
.bn-item { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-bottom: 1px solid #DDE1E6; background: #FFFFFF; }
.bn-item:last-child { border-bottom: 0; }
.bn-unread { box-shadow: inset 3px 0 0 #1F4F8F; background: #FAFBFD; }
.bn-compact { padding: 12px 16px; }
.bn-ico { flex: none; width: 32px; height: 32px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; background: #E8EEF7; color: #163C6E; }
.bn-ico-approval { background: #E5F3F8; color: #0D6488; }
.bn-ico-wallet, .bn-ico-account { background: #EEF1F4; color: #3D4652; }
.bn-ico-amendment { background: #FFF3DC; color: #8A5300; }
.bn-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.bn-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12px; color: #5B6471; }
.bn-type { font-weight: 600; color: #3D4652; }
.bn-flag-unread { color: #1F4F8F; font-weight: 600; }
.bn-flag-action { color: #8A5300; font-weight: 600; }
.bn-time { margin-left: auto; }
.bn-text { font-size: 14px; line-height: 20px; overflow-wrap: anywhere; }
.bn-compact .bn-text { font-size: 13px; }
.bn-link { font-size: 13px; font-weight: 500; align-self: flex-start; }
.bn-read { flex: none; }
.bn-group { margin: 0; padding: 10px 16px; font-size: 12px; font-weight: 600; color: #5B6471; text-transform: uppercase; letter-spacing: .04em; background: #F6F7F9; border-bottom: 1px solid #DDE1E6; }
.bn-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bn-prefs td, .bn-prefs th { vertical-align: middle; }
.bn-lock { display: inline-flex; gap: 4px; align-items: center; font-size: 12px; color: #5B6471; }
@media (max-width: 640px) {
    .bn-menu { position: fixed; left: 16px; right: 16px; top: 72px; width: auto; }
    .bn-item { flex-wrap: wrap; }
    .bn-time { margin-left: 0; }
}

/* ---- Soru-cevap ve zeyilname ---- */
.qa-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.qa-item { border: 1px solid #DDE1E6; border-radius: 8px; padding: 14px 16px; background: #FFFFFF; display: flex; flex-direction: column; gap: 8px; }
.qa-q, .qa-a { display: flex; gap: 8px; font-size: 14px; line-height: 20px; overflow-wrap: anywhere; }
.qa-q > b, .qa-a > b { flex: none; width: 20px; color: #163C6E; }
.qa-a > b { color: #16703F; }
.qa-meta { font-size: 12px; color: #5B6471; }
.zy-card { border: 1px solid #DDE1E6; border-radius: 8px; background: #FFFFFF; }
.zy-card > header { padding: 14px 16px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; border-bottom: 1px solid #DDE1E6; }
.zy-card > div { padding: 14px 16px; }
.zy-new { display: inline-block; margin-right: 6px; padding: 0 6px; border-radius: 4px; background: #FFF3DC; color: #8A5300; font-size: 11px; font-weight: 700; }
.zy-old { color: #5B6471; text-decoration: line-through; }
.zy-banner { border: 1px solid #F0C36D; background: #FFF8EA; border-radius: 8px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.zy-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.zy-choice { border: 1px solid #DDE1E6; border-radius: 8px; background: #FFFFFF; padding: 14px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
/* Bağlantıyla kaydırılıp odaklanan bölümler çerçeve göstermez (klavye odağı içteki öğelerde görünür). */
#soru-cevap:focus, #kayitli-aramalar:focus { outline: none !important; }

/* Onaylar (docs/design/musteri-ui/Onaylar.dc.html) */
.on-head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: flex-end; }
.on-tabs { display: inline-flex; border: 1px solid #7A8290; border-radius: 4px; overflow: hidden; }
.on-tabs > button { min-height: 40px; padding: 0 16px; border: 0; background: #FFFFFF; color: #3D4652; font: 500 14px Inter, system-ui, sans-serif; cursor: pointer; }
.on-tabs > button + button { border-left: 1px solid #7A8290; }
.on-tabs > button[aria-selected="true"] { background: #E8EEF7; color: #163C6E; font-weight: 600; }
.on-split { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.on-list { flex: 1 1 380px; min-width: 0; background: #FFFFFF; border: 1px solid #DDE1E6; border-radius: 8px; overflow: hidden; }
.on-list-title { margin: 0; padding: 12px 16px; font-size: 14px; font-weight: 600; border-bottom: 1px solid #EEF1F4; color: #3D4652; }
.on-items { list-style: none; margin: 0; padding: 0; }
.on-items > li { border-bottom: 1px solid #EEF1F4; }
.on-item { width: 100%; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; padding: 12px 16px; border: 0; border-left: 4px solid transparent; background: #FFFFFF; color: #1B2129; font: 400 14px/20px Inter, system-ui, sans-serif; cursor: pointer; text-align: left; }
.on-item:hover { background: #F6F7F9; }
.on-item.on-cur { background: #E8EEF7; border-left-color: #1F4F8F; }
.on-item-row { display: flex; justify-content: space-between; gap: 8px; align-items: center; width: 100%; }
.on-type { display: inline-flex; align-items: center; padding: 0 8px; min-height: 22px; border-radius: 11px; font-size: 12px; font-weight: 600; background: #E8EEF7; color: #163C6E; }
.on-type-submit_quote { background: #E3F1F7; color: #0D6488; }
.on-type-award { background: #E7F4EC; color: #16703F; }
.on-flag { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; font-weight: 600; color: #3D4652; }
.on-flag-info { color: #1F4F8F; }
.on-flag-warn { color: #8A5300; }
.on-flag-ok { color: #16703F; }
.on-detail { flex: 999 1 560px; min-width: 0; background: #FFFFFF; border: 1px solid #DDE1E6; border-radius: 8px; display: flex; flex-direction: column; }
.on-d-head { padding: 16px 20px; border-bottom: 1px solid #EEF1F4; display: flex; flex-direction: column; gap: 8px; }
.on-d-title { margin: 0; font-size: 22px; line-height: 30px; font-weight: 700; }
.on-amount { font-size: 22px; line-height: 30px; font-weight: 700; }
.on-col { display: flex; flex-direction: column; }
.on-risk { margin: 16px 20px 0; padding: 10px 12px; border-radius: 6px; background: #FFF3DC; border-left: 4px solid #C77700; color: #1B2129; font-size: 13px; line-height: 18px; display: flex; gap: 8px; }
.on-d-body { padding: 16px 20px; display: flex; gap: 24px; flex-wrap: wrap; }
.on-d-col { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.on-h3 { margin: 0; font-size: 14px; font-weight: 600; }
.on-facts { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: 13px; }
.on-facts dt { color: #5B6471; }
.on-facts dd { margin: 0; font-weight: 600; }
.on-chain { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.on-chain > li { display: flex; gap: 10px; align-items: flex-start; }
.on-dot { flex: none; width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; background: #E8EEF7; color: #1F4F8F; }
.on-dot-done { background: #E7F4EC; color: #16703F; }
.on-dot-rej { background: #FDECEA; color: #B42318; }
.on-d-foot { padding: 16px 20px; border-top: 1px solid #EEF1F4; }
.on-rej { background: #FFFFFF; color: #B42318; border-color: #B42318; }
.on-rej:hover { background: #FDECEA; }

/* Güven kartı (docs/design/musteri-ui/TrustCard.dc.html) */
.tc-card { box-sizing: border-box; width: 100%; background: #FFFFFF; border: 1px solid #DDE1E6; border-radius: 8px; padding: 16px; display: flex; flex-direction: column; gap: 14px; font-variant-numeric: tabular-nums; }
.tc-head { display: flex; gap: 12px; align-items: center; }
.tc-mono { flex: none; width: 44px; height: 44px; border-radius: 8px; background: #E8EEF7; color: #163C6E; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; }
.tc-name { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tc-alias { font-size: 16px; line-height: 22px; font-weight: 700; }
.tc-verified { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; font-size: 12px; line-height: 16px; font-weight: 600; background: #E7F4EC; color: #16703F; }
.tc-sub { font-size: 12px; line-height: 16px; color: #5B6471; }
.tc-grid { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; }
.tc-grid > div { display: flex; flex-direction: column; gap: 2px; }
.tc-grid dt { font-size: 12px; line-height: 16px; color: #5B6471; }
.tc-grid dd { margin: 0; font-size: 13px; line-height: 18px; font-weight: 600; }
.tc-rate { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; line-height: 16px; }
.tc-bar { height: 6px; border-radius: 3px; background: #E3E7EC; overflow: hidden; }
.tc-bar > div { height: 6px; background: #1F4F8F; }
.tc-foot { display: flex; gap: 8px; align-items: flex-start; padding-top: 10px; border-top: 1px solid #EEF1F4; font-size: 12px; line-height: 16px; color: #5B6471; }

/* Değerlendirmeler (docs/design/musteri-ui/Degerlendirme.dc.html) */
.dg-received { padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; background: #F6F7F9; border-top: 1px solid #EEF1F4; }
.dg-received dl { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; font-size: 13px; }
.dg-received dt { color: #5B6471; }
.dg-received dd { margin: 0; font-weight: 600; }
.dg-error { margin: 16px 20px 0; padding: 10px 12px; border-radius: 6px; background: #FDECEA; color: #B42318; font-size: 13px; font-weight: 600; }
.dg-fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.dg-fieldset legend { font-size: 14px; margin-bottom: 4px; padding: 0; }
.dg-rate { display: flex; gap: 8px; flex-wrap: wrap; }
.dg-opt { position: relative; cursor: pointer; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; width: 72px; min-height: 52px; border-radius: 6px; border: 1px solid #7A8290; background: #FFFFFF; color: #1B2129; box-sizing: border-box; }
.dg-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.dg-opt:hover { background: #F6F7F9; }
.dg-opt:focus-within { outline: 2px solid #1F4F8F; outline-offset: 2px; }
.dg-on { border: 2px solid #1F4F8F; background: #E8EEF7; color: #163C6E; }
.dg-on:hover { background: #E8EEF7; }
.dg-miss { border: 2px solid #B42318; background: #FFF5F4; }
.dg-n { font-size: 16px; font-weight: 700; }
.dg-l { font-size: 11px; }
.dg-done { flex: 999 1 560px; background: #FFFFFF; border: 1px solid #A7D3B8; border-radius: 8px; padding: 32px 20px; display: flex; flex-direction: column; gap: 8px; align-items: center; text-align: center; }
.on-item:disabled { color: #1B2129; }
