/* ToutRechaj — paj koneksyon + tablobò yo */

/* ───────── Koneksyon ───────── */
.auth-body { background: #fff; }
.auth { display: grid; grid-template-columns: minmax(380px, 44%) 1fr; min-height: 100vh; }
.auth-side { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 40px 48px; color: #fff; background: var(--navy); }
.auth-blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .45; animation: drift 12s ease-in-out infinite alternate; }
.a1 { width: 340px; height: 340px; background: var(--green-2); bottom: -120px; right: -100px; }
.a2 { width: 260px; height: 260px; background: var(--gold); top: 30%; left: -140px; animation-delay: -6s; }
@keyframes drift { to { transform: translate(40px, 40px) scale(1.15); } }
.auth-logo { position: relative; display: inline-block; align-self: flex-start; background: #fff; padding: 10px 18px; border-radius: 18px; box-shadow: var(--shadow-lg); transition: transform .3s; }
.auth-logo:hover { transform: scale(1.04); }
.auth-logo img { height: 56px; width: auto; }
.auth-pitch { position: relative; animation: rise .8s .1s both; }
.auth-pitch h1 { font-size: clamp(30px, 3.4vw, 46px); font-weight: 800; }
.auth-pitch h1 em { font-style: normal; color: var(--gold); }
.auth-pitch p { margin: 16px 0 26px; color: #c8d1ef; font-size: 17px; max-width: 420px; }
.auth-pitch ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; font-weight: 600; }
.auth-pitch li { animation: rise .6s both; }
.auth-pitch li:nth-child(1) { animation-delay: .35s; } .auth-pitch li:nth-child(2) { animation-delay: .5s; } .auth-pitch li:nth-child(3) { animation-delay: .65s; }
.auth-pitch li span { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--green-2); font-size: 12px; margin-right: 10px; }
.auth-foot { position: relative; color: #94a0c8; font-size: 13px; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }

.auth-main { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 20px; background: var(--bg); }
.auth-logo-mobile { display: none; margin-bottom: 22px; }
.auth-logo-mobile img { height: 60px; width: auto; }
.auth-card { width: min(460px, 100%); background: #fff; border-radius: 26px; padding: 30px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); animation: rise .6s both; }
.tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; background: var(--bg); border-radius: 14px; padding: 5px; margin-bottom: 24px; }
.tab { position: relative; z-index: 1; border: 0; background: none; padding: 11px; font-weight: 700; color: var(--muted); border-radius: 10px; transition: color .3s; }
.tab.active { color: var(--navy); }
.tab-ink { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); background: #fff; border-radius: 10px; box-shadow: 0 2px 10px rgba(10,22,64,.1); transition: transform .35s cubic-bezier(.3,1.3,.5,1); }
.pane { animation: paneIn .4s ease; }
@keyframes paneIn { from { opacity: 0; transform: translateX(14px); } }
.pane h2 { font-size: 25px; color: var(--navy); }
.pane-sub { color: var(--muted); margin: 6px 0 22px; font-size: 15px; }
.pw { position: relative; display: block; }
.pw input { padding-right: 78px; }
.pw-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: none; padding: 6px 10px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--green); }
.pw-eye:hover { background: var(--bg); }
.meter { display: block; height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; border-radius: 6px; transition: width .3s, background .3s; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); margin-bottom: 16px; }
.check input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--green); flex: none; }
.form-err { color: var(--red); font-weight: 600; font-size: 14px; min-height: 0; margin-bottom: 12px; }
.form-err:empty { display: none; }
.form-err:not(:empty) { animation: shake .4s; padding: 10px 14px; background: var(--red-soft); border-radius: 10px; }
@keyframes shake { 25% { transform: translateX(-6px); } 50% { transform: translateX(6px); } 75% { transform: translateX(-3px); } }
.link { display: block; margin: 14px auto 0; border: 0; background: none; color: var(--green); font-weight: 700; font-size: 14px; }
.link:hover { text-decoration: underline; }
.demo-box { margin-top: 20px; padding: 14px; border-radius: 14px; background: var(--gold-soft); font-size: 13.5px; color: var(--navy); }
.demo-box div { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.back-home { margin-top: 22px; color: var(--muted); font-weight: 600; font-size: 14px; }
.back-home:hover { color: var(--navy); }
.legal-links { margin-top: 12px; font-size: 13px; color: var(--muted); }
.legal-links a { color: var(--muted); text-decoration: underline; }
.check a { color: var(--green); text-decoration: underline; }

/* ───────── Tablobò ───────── */
.app { display: grid; grid-template-columns: 264px 1fr; min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; background: var(--navy); color: #c5cdea; padding: 20px 16px; z-index: 60; }
.side-logo { display: block; background: #fff; border-radius: 16px; padding: 10px 14px; margin-bottom: 8px; transition: transform .3s; }
.side-logo:hover { transform: scale(1.03); }
.side-logo img { height: 46px; width: auto; margin: 0 auto; }
.side-role { text-align: center; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 20px; }
.side-nav { display: grid; gap: 4px; }
.side-nav a { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; font-weight: 600; font-size: 14.5px; transition: background .2s, color .2s, transform .2s; }
.side-nav a:hover { background: rgba(255,255,255,.07); color: #fff; transform: translateX(3px); }
.side-nav a.active { background: var(--green); color: #fff; }
.side-nav .ico { display: inline-grid; place-items: center; width: 22px; }
.side-nav .count { margin-left: auto; background: var(--gold); color: var(--navy); font-size: 11.5px; font-weight: 800; padding: 1px 8px; border-radius: 999px; }
.side-bottom { margin-top: auto; display: grid; gap: 10px; }
.side-user { display: flex; align-items: center; gap: 11px; padding: 12px; border-radius: 14px; background: rgba(255,255,255,.07); }
.avatar { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gold) center / cover no-repeat; color: var(--navy); font-weight: 800; font-family: var(--display); }
.side-user b { display: block; color: #fff; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px; }
.side-user small { display: block; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px; }
.side-out { border: 1px solid rgba(255,255,255,.18); background: none; color: #fff; border-radius: 12px; padding: 11px; font-weight: 700; font-size: 14px; transition: background .2s; }
.side-out:hover { background: rgba(217,45,32,.85); border-color: transparent; }

.main { min-width: 0; display: flex; flex-direction: column; }
.top { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 14px; padding: 16px 28px; background: rgba(246,248,252,.88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top h1 { font-size: 22px; color: var(--navy); }
.top p { color: var(--muted); font-size: 13.5px; }
.top .grow { flex: 1; min-width: 0; }
.menu-btn { display: none; place-items: center; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--navy); }
.top-logo { display: none; height: 36px; width: auto; }
.content { padding: 26px 28px 60px; }
.view { animation: viewIn .45s cubic-bezier(.2,.8,.2,1); }
@keyframes viewIn { from { opacity: 0; transform: translateY(16px); } }

.notice { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 14px; background: var(--gold-soft); border: 1px solid #ffe2a0; color: #7a5200; font-size: 14.5px; margin-bottom: 20px; animation: rise .5s both; }
.notice .grow { flex: 1; min-width: 200px; }
.notice.red { background: var(--red-soft); border-color: #f7c6c1; color: #912018; }

.welcome { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 28px; border-radius: 22px; color: #fff; background: var(--navy); margin-bottom: 22px; }
@keyframes gradient { 50% { background-position: 100% 100%; } }

.welcome h2 { font-size: 26px; position: relative; }
.welcome p { color: #d5dcf5; margin-top: 6px; position: relative; }
.welcome .btn { position: relative; z-index: 1; }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 22px; }
.kpi { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; transition: transform .25s, box-shadow .25s; animation: rise .5s both; }
.kpi:nth-child(2) { animation-delay: .07s; } .kpi:nth-child(3) { animation-delay: .14s; } .kpi:nth-child(4) { animation-delay: .21s; }
.kpi:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.kpi-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; font-size: 19px; margin-bottom: 14px; }
.kpi-ico.g { background: var(--green-soft); color: var(--green); } .kpi-ico.y { background: var(--gold-soft); color: #9a6a00; } .kpi-ico.b { background: var(--blue-soft); color: #2747c7; } .kpi-ico.r { background: var(--red-soft); color: var(--red); }
.kpi span { color: var(--muted); font-size: 13.5px; font-weight: 600; }
.kpi b { display: block; font-family: var(--display); font-size: 27px; color: var(--navy); margin-top: 2px; }

.grid-2 { display: grid; grid-template-columns: 1.5fr 1fr; gap: 18px; margin-bottom: 22px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; min-width: 0; animation: rise .5s .1s both; }
.panel-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.panel-head h3 { font-size: 18px; color: var(--navy); }
.panel-head p { color: var(--muted); font-size: 13.5px; }

/* Grafik */
.chart { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; align-items: end; height: 220px; padding-top: 24px; }
.bar-col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 8px; }
.bar { position: relative; width: 100%; max-width: 46px; min-height: 4px; border-radius: 10px 10px 4px 4px; background: var(--green); height: 0; transition: height 1s cubic-bezier(.2,.9,.2,1), filter .2s; }
.bar:hover { filter: brightness(1.15); }
.bar::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); font-size: 11.5px; font-weight: 700; color: var(--navy); white-space: nowrap; }
.bar-col small { color: var(--muted); font-size: 12px; font-weight: 600; }
.hbars { display: grid; gap: 14px; }
.hbar-top { display: flex; justify-content: space-between; font-size: 13.5px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.hbar-top span:last-child { color: var(--muted); }
.hbar-track { height: 9px; border-radius: 9px; background: var(--bg); overflow: hidden; }
.hbar-fill { height: 100%; width: 0; border-radius: 9px; transition: width 1s cubic-bezier(.2,.9,.2,1); }

/* Tablo */
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.toolbar .input { width: auto; padding: 10px 13px; font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 700; color: var(--muted); transition: all .2s; }
.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.tbl-wrap { overflow-x: auto; margin: 0 -22px -22px; padding: 0 22px 12px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 640px; }
.tbl th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 10px 12px; border-bottom: 1.5px solid var(--line); white-space: nowrap; }
.tbl td { padding: 13px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; white-space: nowrap; }
.tbl tbody tr { transition: background .15s; animation: rowIn .4s both; }
.tbl tbody tr:hover { background: #f8fafe; }
.tbl tbody tr.click { cursor: pointer; }
@keyframes rowIn { from { opacity: 0; transform: translateY(8px); } }
.cell-svc { display: flex; align-items: center; gap: 11px; font-weight: 700; color: var(--navy); }
.cell-svc small { display: block; font-weight: 500; color: var(--muted); font-size: 12.5px; }
.svc-ico { flex: none; display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: #fff; font-family: var(--display); font-weight: 800; font-size: 15px; }
.mono { font-family: ui-monospace, Consolas, monospace; font-size: 13px; }
.strong { font-weight: 700; color: var(--navy); }
.muted { color: var(--muted); }
.empty { text-align: center; padding: 44px 20px; color: var(--muted); }
.empty .big { display: inline-block; margin-bottom: 10px; color: #a3abc2; }
@keyframes floatY { 50% { transform: translateY(-8px); } }

/* Nouvo rechaj */
.wizard { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; align-items: start; }
.wz-steps { display: flex; gap: 8px; margin-bottom: 22px; }
.wz-steps span { flex: 1; height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.wz-steps span::after { content: ""; display: block; height: 100%; width: 0; background: var(--green); transition: width .4s ease; }
.wz-steps span.on::after { width: 100%; }
.wz-title { font-size: 19px; color: var(--navy); margin-bottom: 4px; }
.wz-sub { color: var(--muted); font-size: 14.5px; margin-bottom: 18px; }
.pick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.pick button { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 6px; text-align: center; border-radius: 16px; border: 2px solid var(--line); background: #fff; font-weight: 700; color: var(--navy); font-size: 14px; transition: transform .2s, border-color .2s, box-shadow .2s; }
.pick button:hover { transform: translateY(-3px); border-color: #b9c3de; }
.pick button.on { border-color: var(--green); box-shadow: 0 0 0 4px rgba(10,138,10,.12); animation: pop .3s; }
@keyframes pop { 50% { transform: scale(1.05); } }
.pick.two { grid-template-columns: 1fr 1fr; }
.pick .mth { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; font-size: 20px; }
.mth.mc { background: #fde8e8; color: #c81e1e; } .mth.nc { background: #fff0db; color: #c05600; }
.wz-actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 8px; }
.paybox { padding: 18px; border-radius: 16px; background: var(--green-soft); border: 1.5px dashed var(--green); margin-bottom: 18px; }
.paybox p { font-size: 14.5px; color: var(--navy); }
.paybox .num { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 10px 0; padding: 12px 14px; background: #fff; border-radius: 12px; font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--navy); }
.summary { position: sticky; top: 96px; background: var(--navy); color: #fff; border-radius: var(--radius); padding: 24px; }
.summary h3 { font-size: 17px; margin-bottom: 16px; }
.summary .row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; font-size: 14.5px; color: #c5cdea; border-bottom: 1px dashed rgba(255,255,255,.14); }
.summary .row b { color: #fff; text-align: right; word-break: break-word; }
.summary .total { margin-top: 16px; padding: 16px; border-radius: 14px; background: rgba(255,255,255,.08); }
.summary .total span { font-size: 13px; color: #c5cdea; }
.summary .total b { display: block; font-family: var(--display); font-size: 30px; color: var(--gold); }
.success { text-align: center; padding: 30px 10px; }
.success .tick { display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%; background: var(--green); color: #fff; font-size: 40px; animation: tick .6s cubic-bezier(.3,1.6,.5,1) both; box-shadow: 0 0 0 0 rgba(10,138,10,.5); }
@keyframes tick { from { transform: scale(0) rotate(-40deg); } to { transform: none; box-shadow: 0 0 0 22px rgba(10,138,10,0); } }
.success h3 { font-size: 22px; color: var(--navy); }
.success p { color: var(--muted); margin: 8px 0 20px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-grid .full { grid-column: 1 / -1; }
.sect-title { font-size: 15px; color: var(--navy); margin: 8px 0 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.sect-title:first-child { border: 0; padding-top: 0; margin-top: 0; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: 18px; background: rgba(7,15,46,.55); backdrop-filter: blur(4px); animation: fade .25s; }
@keyframes fade { from { opacity: 0; } }
.modal-card { width: min(540px, 100%); max-height: 92vh; overflow: auto; background: #fff; border-radius: 22px; padding: 26px; box-shadow: var(--shadow-lg); animation: modalIn .35s cubic-bezier(.3,1.3,.5,1); }
@keyframes modalIn { from { opacity: 0; transform: translateY(30px) scale(.95); } }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.modal-head h3 { font-size: 20px; color: var(--navy); }
.x { border: 0; background: var(--bg); width: 36px; height: 36px; border-radius: 50%; font-size: 16px; transition: transform .2s, background .2s; }
.x:hover { transform: rotate(90deg); background: var(--line); }
.dl { display: grid; grid-template-columns: auto 1fr; gap: 9px 18px; font-size: 14.5px; margin-bottom: 18px; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; font-weight: 600; color: var(--navy); word-break: break-word; }
.timeline { display: flex; gap: 6px; margin: 4px 0 20px; }
.timeline div { flex: 1; text-align: center; font-size: 12px; font-weight: 700; color: var(--muted); }
.timeline div::before { content: ""; display: block; height: 6px; border-radius: 6px; background: var(--line); margin-bottom: 7px; }
.timeline div.on { color: var(--green); }
.timeline div.on::before { background: var(--green); }
.timeline div.bad { color: var(--red); }
.timeline div.bad::before { background: var(--red); }
.note-box { padding: 12px 14px; border-radius: 12px; background: var(--bg); font-size: 14px; margin-bottom: 16px; }
.modal-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.log { display: grid; gap: 0; }
.log div { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.log small { color: var(--muted); white-space: nowrap; }
.scrim { display: none; }

@media (max-width: 1100px) {
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .grid-2, .wizard { grid-template-columns: 1fr; }
  .summary { position: static; }
}
@media (max-width: 860px) {
  .auth { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .auth-logo-mobile { display: block; }
  .app { grid-template-columns: 1fr; }
  .side { position: fixed; left: 0; top: 0; width: 270px; transform: translateX(-100%); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
  .side.open { transform: none; box-shadow: 30px 0 60px rgba(0,0,0,.3); }
  .scrim.open { display: block; position: fixed; inset: 0; z-index: 55; background: rgba(7,15,46,.5); animation: fade .25s; }
  .menu-btn { display: grid; }
  .top-logo { display: block; }
  .top { padding: 12px 16px; }
  .top p { display: none; }
  .top h1 { font-size: 18px; }
  .content { padding: 18px 16px 50px; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .kpis { gap: 10px; }
  .kpi { padding: 15px; }
  .kpi b { font-size: 21px; }
  .pick { grid-template-columns: repeat(2, 1fr); }
  .auth-card { padding: 22px; }
  .welcome { padding: 22px; }
  .welcome h2 { font-size: 21px; }
  .chart { gap: 6px; }
}

/* ───────── Logo sèvis ───────── */
.svc-ico.has-logo { background: #fff; border: 1px solid var(--line); padding: 6px; }
.svc-ico.has-logo img { width: 100%; height: 100%; object-fit: contain; }

/* ───────── Pwofil ───────── */
.pf-head { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.pf-photo { position: relative; flex: none; width: 104px; height: 104px; }
.pf-photo .avatar { width: 104px; height: 104px; font-size: 40px; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.pf-photo label { position: absolute; right: -4px; bottom: -4px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; border: 3px solid #fff; cursor: pointer; }
.pf-photo label:hover { background: var(--green); }
.pf-photo input, .upload input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.pf-id h2 { font-size: 24px; color: var(--navy); }
.pf-id p { color: var(--muted); font-size: 14.5px; }
.pf-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 6px; font-size: 12.5px; font-weight: 600; background: var(--bg); color: var(--muted); border: 1px solid var(--line); }
.tag.ok { background: var(--green-soft); color: var(--green); border-color: #cbe8cf; }
.tag.warn { background: var(--gold-soft); color: #8a5e00; border-color: #ffe2a0; }
.tag.bad { background: var(--red-soft); color: var(--red); border-color: #f7c6c1; }
.pf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; align-items: start; }
.setting { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.setting:last-child { border-bottom: 0; padding-bottom: 0; }
.setting:first-of-type { padding-top: 0; }
.setting .s-ico { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--bg); color: var(--navy); }
.setting .s-text { flex: 1; min-width: 0; }
.setting b { display: block; color: var(--navy); font-size: 15px; }
.setting small { color: var(--muted); font-size: 13.5px; }
.upload { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px; border: 1.5px dashed #c3cadc; border-radius: 10px; background: #fbfcfe; cursor: pointer; color: var(--muted); font-size: 14px; }
.upload:hover { border-color: var(--green); }
.upload.done { border-style: solid; border-color: var(--green); color: var(--navy); }
.upload img { width: 54px; height: 40px; object-fit: cover; border-radius: 6px; }
.kyc-state { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 10px; background: var(--bg); }
.kyc-state.ok { background: var(--green-soft); } .kyc-state.bad { background: var(--red-soft); } .kyc-state.warn { background: var(--gold-soft); }
.kyc-state b { display: block; color: var(--navy); }
.kyc-state p { font-size: 14.5px; color: #3d4560; }
.secret { font-family: ui-monospace, Consolas, monospace; font-size: 15px; letter-spacing: .06em; padding: 12px 14px; background: var(--bg); border-radius: 10px; word-break: break-all; margin: 8px 0 14px; }
.steps-list { margin: 0 0 16px; padding-left: 20px; color: #3d4560; font-size: 14.5px; }
.steps-list li { margin-bottom: 6px; }
.kyc-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.kyc-imgs figure { margin: 0; }
.kyc-imgs img { width: 100%; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); min-height: 80px; }
.kyc-imgs figcaption { font-size: 12.5px; color: var(--muted); margin-top: 4px; }

/* ───────── Ekran PIN ───────── */
.pinlock { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; padding: 20px; background: var(--navy); }
.pin-card { width: min(360px, 100%); background: #fff; border-radius: 16px; padding: 28px; text-align: center; }
.pin-card img { height: 54px; width: auto; margin: 0 auto 18px; }
.pin-card h2 { font-size: 21px; color: var(--navy); }
.pin-card p { color: var(--muted); font-size: 14.5px; margin: 6px 0 18px; }
.pin-input { width: 100%; text-align: center; font-size: 28px; letter-spacing: .5em; padding: 12px; border: 1.5px solid var(--line); border-radius: 10px; font-family: var(--display); }
.pin-input:focus { outline: 0; border-color: var(--green); box-shadow: 0 0 0 4px rgba(10,138,10,.12); }
.pin-card .btn { margin-top: 14px; }

@media (max-width: 1100px) { .pf-grid { grid-template-columns: 1fr; } }
