/* Uygulama kabuğu: üst çubuk, sol çekmece, Anlaşmalı Kurumlar */
:root { --brand: #6f0aa6; --brand-dark: #2d0845; --ink: #2b1230; --muted: #6d6177; --line: #e8d9ec; }
html, body { margin: 0; padding: 0; background: #faf6fb; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-tap-highlight-color: transparent; }
body { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
html.dr-lock, html.k-lock { overflow: hidden; }
[hidden] { display: none !important; }
button { font-family: inherit; }

/* üst çubuk */
.top { position: sticky; top: 0; z-index: 50; background: var(--brand); box-shadow: 0 2px 10px rgba(45, 8, 69, .25); }
.app-bar { color: #fff; padding: calc(8px + env(safe-area-inset-top)) 12px 8px; display: flex; align-items: center; gap: 12px; }
.menu-btn { flex: none; width: 46px; height: 46px; border: 0; border-radius: 14px; background: rgba(255, 255, 255, .14); color: #fff; display: grid; place-items: center; cursor: pointer; }
.menu-btn:active { background: rgba(255, 255, 255, .28); }
.app-bar .brand { height: 40px; border-radius: 8px; display: block; }
.app-bar b { font-size: 16px; font-weight: 600; margin-left: 2px; }
.app-bar #bar-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-user { margin-left: auto; flex: none; display: flex; align-items: center; gap: 8px; min-width: 0; }
.bar-user[hidden] { display: none; }
.bu-name { max-width: 26vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13.5px; font-weight: 700; }
.bu-av { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #5a0890; font-size: 13px; font-weight: 800; }
.bu-out { flex: none; width: 34px; height: 34px; padding: 0; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; display: grid; place-items: center; cursor: pointer; }
.bu-out:active { background: rgba(255,255,255,.28); }
#vzo-app { min-height: 60vh; }

/* sol çekmece */
.scrim { position: fixed; inset: 0; z-index: 90; background: rgba(20, 4, 32, .5); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s; }
.scrim.open { opacity: 1; visibility: visible; }
.drawer { position: fixed; z-index: 100; top: 0; bottom: 0; left: 0; width: min(310px, 86vw); background: #fff; box-shadow: 8px 0 32px rgba(20, 4, 32, .3); transform: translateX(-104%); transition: transform .26s cubic-bezier(.2, .8, .2, 1); display: flex; flex-direction: column; visibility: hidden; }
.drawer.open { transform: none; visibility: visible; }
.dr-head { background: var(--brand); padding: calc(14px + env(safe-area-inset-top)) 14px 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dr-head img { height: 54px; border-radius: 8px; display: block; }
.dr-close { width: 42px; height: 42px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .16); color: #fff; display: grid; place-items: center; cursor: pointer; }
.dr-nav { padding: 14px 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; overflow-y: auto; }
.dr-nav button { display: flex; align-items: center; gap: 14px; width: 100%; border: 0; background: transparent; color: var(--ink); font-size: 16px; font-weight: 600; text-align: left; padding: 15px 16px; border-radius: 14px; cursor: pointer; }
.dr-nav button svg { flex: none; color: var(--brand); }
.dr-nav button:active { background: #f3e9f7; }
.dr-nav button.on { background: var(--brand); color: #fff; }
.dr-nav button.on svg { color: #fff; }
.dr-foot { padding: 14px 18px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; color: var(--muted); }
.dr-foot a { color: var(--brand); font-weight: 700; font-size: 15px; text-decoration: none; }

/* Anlaşmalı Kurumlar */
#kurum-app { color: var(--ink); }
.k-wrap { max-width: 1200px; margin: 0 auto; padding: 16px 16px 8px; }
.k-hero { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; border-radius: 22px; padding: 24px 22px 20px; text-align: center; }
.k-badge { display: inline-block; font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .16); }
.k-hero h2 { margin: 12px 0 6px; font-size: 28px; font-weight: 800; color: #fff; text-transform: none; letter-spacing: 0; }
.k-hero p { margin: 0 auto; max-width: 560px; font-size: 14.5px; line-height: 1.5; opacity: .9; }
.k-stats { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }
.k-stats > div { flex: 1 1 0; max-width: 170px; background: rgba(255, 255, 255, .12); border-radius: 14px; padding: 12px 6px; }
.k-stats b { display: block; font-size: 26px; font-weight: 800; line-height: 1.1; }
.k-stats span { display: block; margin-top: 3px; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; opacity: .85; }
.k-bar { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.k-search { flex: 1 1 240px; display: flex; align-items: center; gap: 10px; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 0 14px; height: 48px; color: #a08aa6; }
.k-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 16px; color: var(--ink); height: 100%; font-family: inherit; }
.k-search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(111, 10, 166, .12); }
.k-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; max-width: 100%; padding: 2px 0; }
.k-chips::-webkit-scrollbar { display: none; }
.k-chip { flex: none; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; padding: 10px 16px; border-radius: 999px; cursor: pointer; }
.k-chip.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.k-count { margin: 14px 2px 10px; font-size: 13px; color: var(--muted); }
.k-count b { color: var(--brand); }
.k-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 12px; }
.k-card { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; cursor: pointer; color: inherit; box-shadow: 0 1px 3px rgba(111, 10, 166, .06); }
.k-card:active { transform: scale(.985); border-color: var(--brand); background: #fbf6fc; }
.k-logo { flex: none; width: 60px; height: 60px; object-fit: contain; border-radius: 12px; background: #f4f4f5; padding: 6px; box-sizing: border-box; }
.k-logo.ph { display: grid; place-items: center; font-weight: 800; font-size: 22px; color: var(--brand); background: #f3e9f7; }
.k-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.k-meta b { font-size: 15.5px; line-height: 1.25; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.k-go { flex: none; color: #a98aa9; }
.k-cat { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; }
.k-cat.lg { font-size: 12px; padding: 5px 12px; }
.c-sigorta { background: #e8f0fe; color: #1a56c4; }
.c-kamu { background: #e6f4ea; color: #137333; }
.c-sendika { background: #fef3e0; color: #b25e09; }
.c-oda { background: #f3e8fd; color: #7b2cbf; }
.c-egitim { background: #fde7ef; color: #b0245f; }
.c-diger { background: #eceff1; color: #455a64; }
.k-empty { grid-column: 1 / -1; text-align: center; padding: 40px 12px; color: var(--muted); }
.k-empty h4 { margin: 10px 0 6px; font-size: 18px; color: var(--ink); text-transform: none; }
.k-empty a { color: var(--brand); font-weight: 700; }

/* detay penceresi */
.k-modal { position: fixed; inset: 0; z-index: 120; background: rgba(20, 4, 32, .55); display: flex; align-items: center; justify-content: center; padding: calc(14px + env(safe-area-inset-top)) 14px calc(14px + env(safe-area-inset-bottom)); opacity: 0; visibility: hidden; transition: opacity .22s ease, visibility .22s; overflow-y: auto; }
.k-modal.open { opacity: 1; visibility: visible; }
.k-sheet { position: relative; width: min(880px, 100%); max-height: 100%; overflow-y: auto; background: #fff; border-radius: 24px; display: grid; grid-template-columns: 250px 1fr; box-shadow: 0 24px 60px rgba(20, 4, 32, .4); transform: translateY(14px) scale(.98); transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
.k-modal.open .k-sheet { transform: none; }
.k-x { position: absolute; top: 12px; right: 12px; z-index: 2; width: 42px; height: 42px; border: 0; border-radius: 50%; background: #f3e9f7; color: var(--brand); display: grid; place-items: center; cursor: pointer; }
.k-side { background: linear-gradient(160deg, var(--brand), var(--brand-dark)); color: #fff; padding: 28px 22px; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; min-height: 260px; }
.k-plogo { width: 84px; height: 84px; object-fit: contain; background: #fff; border-radius: 20px; padding: 8px; box-sizing: border-box; box-shadow: 0 6px 18px rgba(0, 0, 0, .2); }
.k-side h3 { margin: 0; font-size: 22px; line-height: 1.25; font-weight: 800; color: #fff; text-transform: none; letter-spacing: 0; }
.k-side .k-cat { align-self: flex-start; background: rgba(255, 255, 255, .2); color: #fff; }
.k-body { padding: 26px 24px 22px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.k-desc { margin: 0 44px 0 0; font-size: 15.5px; line-height: 1.6; color: #4a3a4e; }
.k-acts { display: flex; gap: 10px; flex-wrap: wrap; }
.k-btn { flex: 1 1 180px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; color: var(--brand); font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer; }
.k-btn.pri { background: var(--brand); border-color: var(--brand); color: #fff; }

/* teminat sorgusu */
.k-az { padding: 20px; border-radius: 20px; border: 1px solid #ead9ee; background: linear-gradient(145deg, #fbf6fc, #f3e9f7); }
.k-az * { box-sizing: border-box; }
.az-hd { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.az-ic { flex: none; width: 50px; height: 50px; border-radius: 15px; background: linear-gradient(135deg, var(--brand), #9b3fd0); display: grid; place-items: center; color: #fff; box-shadow: 0 4px 12px rgba(111, 10, 166, .3); }
.az-hd h4 { margin: 0; font-size: 18px; font-weight: 700; color: var(--ink); text-transform: none; letter-spacing: 0; line-height: 1.25; }
.az-hd p { margin: 4px 0 0; font-size: 13px; color: #6c5a70; line-height: 1.4; }
.az-f { position: relative; margin-bottom: 10px; }
.az-f > svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #a08aa6; pointer-events: none; }
.az-f input { width: 100%; height: 54px; padding: 0 14px 0 48px; border: 1.5px solid #dcc9e1; border-radius: 14px; background: #fff; font-size: 18px; font-weight: 600; letter-spacing: 2px; color: var(--ink); outline: none; font-family: inherit; }
.az-f.nod input { padding-left: 14px; letter-spacing: 0; font-weight: 500; font-size: 16px; }
.az-f input::placeholder { letter-spacing: 0; font-weight: 400; font-size: 14px; color: #a08aa6; }
.az-f input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(111, 10, 166, .12); }
.az-f input.bad { border-color: #d93025; box-shadow: 0 0 0 4px rgba(217, 48, 37, .1); }
.az-l { display: block; margin: 4px 0 6px; font-size: 12.5px; font-weight: 600; color: #6c5a70; }
.k-az .hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.az-ok { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0 14px; font-size: 12.5px; line-height: 1.45; color: #4a3a4e; cursor: pointer; }
.az-ok input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--brand); }
.az-go { width: 100%; height: 54px; border: 0; border-radius: 14px; background: linear-gradient(135deg, var(--brand), #9b3fd0); color: #fff; font-size: 16px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; box-shadow: 0 4px 14px rgba(111, 10, 166, .3); }
.az-go:disabled { opacity: .6; }
.az-out { margin-top: 14px; }
.az-load { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 12px; background: #fff; border: 1px solid #ead9ee; font-size: 13.5px; color: #4a3a4e; }
.az-load .spin { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 3px solid #ead9ee; border-top-color: var(--brand); animation: vzspin .8s linear infinite; }
@keyframes vzspin { to { transform: rotate(360deg); } }
.az-load .bar { height: 3px; border-radius: 3px; background: #ead9ee; overflow: hidden; margin-top: 8px; }
.az-load .bar i { display: block; height: 100%; width: 40%; background: linear-gradient(90deg, var(--brand), #9b3fd0); animation: vzbar 1.4s ease-in-out infinite; }
@keyframes vzbar { 0% { margin-left: -40%; } 100% { margin-left: 100%; } }
.az-okh { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 14px; font-weight: 700; color: #137333; }
.az-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; margin-bottom: 8px; border-radius: 12px; background: #fff; border: 1px solid #ead9ee; animation: vzin .3s ease both; }
@keyframes vzin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.az-row b { font-size: 14px; color: var(--ink); font-weight: 600; }
.az-row small { display: block; margin-top: 2px; font-size: 11.5px; color: #7c6a80; }
.pill { flex: none; padding: 5px 11px; border-radius: 99px; font-size: 12.5px; font-weight: 700; background: #e6f4ea; color: #137333; white-space: nowrap; }
.pill.n { background: #f1e6f5; color: var(--brand); }
.pill.w { background: #fef3e0; color: #b25e09; }
.az-msg { display: flex; gap: 10px; align-items: flex-start; padding: 13px 14px; border-radius: 12px; font-size: 13.5px; line-height: 1.45; }
.az-msg > svg { flex: none; margin-top: 1px; }
.az-msg.err { background: #fdecea; color: #8c1d18; }
.az-msg.inf { background: #fff; border: 1px solid #ead9ee; color: #4a3a4e; }
.az-msg a { color: inherit; font-weight: 700; }
.az-kv { display: flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 12px; color: #7c6a80; }

@media (max-width: 720px) {
  .k-sheet { grid-template-columns: 1fr; border-radius: 22px; }
  .k-side { min-height: 0; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px; padding: 22px 64px 18px 18px; }
  .k-plogo { width: 64px; height: 64px; border-radius: 16px; }
  .k-side h3 { flex: 1 1 100%; font-size: 20px; }
  .k-side .k-cat { align-self: center; }
  .k-desc { margin-right: 0; }
  .k-x { background: rgba(255, 255, 255, .22); color: #fff; }
  .k-hero h2 { font-size: 24px; }
}
@media (max-width: 520px) {
  .k-grid { grid-template-columns: 1fr; }
  .k-body { padding: 20px 16px 18px; }
}

/* Görüntüler */
#goruntu-app { color: var(--ink); }
.g-wrap { max-width: 980px; margin: 0 auto; padding: 16px 16px 8px; }
.g-hero { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; border-radius: 22px; padding: 24px 22px; text-align: center; }
.g-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.16); }
.g-hero h2 { margin: 12px 0 6px; font-size: 27px; font-weight: 800; color: #fff; text-transform: none; letter-spacing: 0; }
.g-hero p { margin: 0 auto; max-width: 560px; font-size: 14.5px; line-height: 1.5; opacity: .92; }
.g-card { max-width: 560px; margin: 16px auto 0; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: 0 6px 24px rgba(111,10,166,.07); }
.g-f { position: relative; margin-bottom: 10px; }
.g-f > svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #a08aa6; pointer-events: none; }
.g-f input { width: 100%; box-sizing: border-box; height: 54px; padding: 0 14px 0 48px; border: 1.5px solid #dcc9e1; border-radius: 14px; background: #fff; font-size: 18px; font-weight: 600; letter-spacing: 2px; color: var(--ink); outline: none; font-family: inherit; }
.g-f.nod input { padding-left: 14px; letter-spacing: 0; font-weight: 500; font-size: 16px; }
.g-f input.code { text-align: center; letter-spacing: 12px; font-size: 26px; font-weight: 700; height: 62px; padding-left: 14px; }
.g-f input::placeholder { letter-spacing: 0; font-weight: 400; font-size: 14px; color: #a08aa6; }
.g-f input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(111,10,166,.12); }
.g-l { display: block; margin: 4px 0 6px; font-size: 12.5px; font-weight: 600; color: #6c5a70; }
.g-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.g-ok { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0 14px; font-size: 12.5px; line-height: 1.45; color: #4a3a4e; cursor: pointer; }
.g-ok input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--brand); }
.g-go { width: 100%; height: 54px; border: 0; border-radius: 14px; background: linear-gradient(135deg, var(--brand), #9b3fd0); color: #fff; font-size: 16px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; box-shadow: 0 4px 14px rgba(111,10,166,.3); }
.g-go:disabled { opacity: .6; }
.g-kv { display: flex; align-items: flex-start; gap: 6px; margin-top: 14px; font-size: 12px; color: #7c6a80; line-height: 1.4; }
.g-kv svg { flex: none; margin-top: 1px; }
.g-note { margin-top: 14px; font-size: 13px; color: #6c5a70; line-height: 1.5; text-align: center; }
.g-note a, .g-link { color: var(--brand); font-weight: 700; background: none; border: 0; padding: 8px; cursor: pointer; font-size: 14px; text-decoration: none; }
.g-row { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 8px; }
.g-msg { display: flex; gap: 10px; align-items: flex-start; padding: 13px 14px; border-radius: 12px; font-size: 13.5px; line-height: 1.45; margin-bottom: 14px; }
.g-msg > svg { flex: none; margin-top: 1px; }
.g-msg.err { background: #fdecea; color: #8c1d18; }
.g-msg.inf { background: #f3e9f7; color: #4a3a4e; }
.g-load { display: flex; align-items: center; gap: 14px; padding: 18px 6px; color: #4a3a4e; }
.g-load .spin, .gv-load .spin { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 3px solid #ead9ee; border-top-color: var(--brand); animation: vzspin .8s linear infinite; }
.g-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; }
.g-top b { display: block; font-size: 17px; }
.g-top small { color: var(--muted); font-size: 12.5px; }
.g-out { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--line); background: #fff; color: var(--brand); font-weight: 700; font-size: 14px; border-radius: 12px; padding: 10px 14px; cursor: pointer; }
.g-warn { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0 0; padding: 12px 14px; border-radius: 14px; background: #fff7e6; color: #7a4a06; font-size: 13px; line-height: 1.45; }
.g-warn svg { flex: none; margin-top: 1px; }
.g-empty { text-align: center; color: var(--muted); padding: 20px 8px; }
.g-sec { margin-top: 22px; }
.g-sh { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.g-sh h3 { margin: 0; font-size: 18px; font-weight: 700; color: var(--brand); text-transform: none; letter-spacing: 0; }
.g-sh span { font-size: 12.5px; color: var(--muted); }
.g-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.g-th { position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #111; cursor: pointer; aspect-ratio: 4 / 3; }
.g-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.g-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 8px 6px; color: #fff; font-size: 11.5px; font-weight: 600; text-align: left; background: linear-gradient(transparent, rgba(0,0,0,.72)); display: flex; justify-content: space-between; gap: 6px; }
.g-cap i { font-style: normal; opacity: .85; }
.g-lock, html.g-lock body { overflow: hidden; }
.g-view { position: fixed; inset: 0; z-index: 140; background: #000; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.g-view.open { opacity: 1; visibility: visible; }
.gv-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: calc(10px + env(safe-area-inset-top)) 14px 10px; color: #fff; background: rgba(0,0,0,.55); }
.gv-t b { display: block; font-size: 16px; }
.gv-t small { font-size: 12.5px; opacity: .8; }
.gv-b { display: flex; gap: 8px; }
.gv-b button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.16); color: #fff; display: grid; place-items: center; cursor: pointer; }
.gv-stage { position: relative; flex: 1; min-height: 0; overflow: hidden; touch-action: none; display: flex; align-items: center; justify-content: center; }
.gv-stage img { width: 100%; height: 100%; object-fit: contain; transform-origin: center; transition: opacity .15s; user-select: none; -webkit-user-drag: none; }
.gv-load { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.gv-err { position: absolute; color: #fff; text-align: center; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.gv-err button { border: 0; border-radius: 12px; background: #fff; color: var(--brand); font-weight: 700; padding: 10px 18px; cursor: pointer; }
.gv-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 64px; border: 0; background: rgba(0,0,0,.35); color: #fff; display: grid; place-items: center; cursor: pointer; }
.gv-nav.l { left: 0; border-radius: 0 14px 14px 0; } .gv-nav.r { right: 0; border-radius: 14px 0 0 14px; }
@media (max-width: 520px) { .g-grid { grid-template-columns: repeat(2, 1fr); } .g-hero h2 { font-size: 23px; } .g-card { padding: 18px; } }

/* menü ayırıcı */
.dr-sep { margin: 10px 8px 2px; padding: 10px 8px 4px; border-top: 1px solid var(--line); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.dr-sep small { font-weight: 600; letter-spacing: 0; text-transform: none; opacity: .8; margin-left: 4px; }
.g-tb { display: flex; gap: 8px; }
.g-tb .g-out { padding: 10px 12px; }

/* Randevularım */
.rv-card { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; margin-bottom: 10px; box-shadow: 0 1px 3px rgba(111,10,166,.06); }
.rv-card.past { opacity: .82; }
.rv-date { flex: none; width: 66px; text-align: center; background: linear-gradient(135deg, var(--brand), #9b3fd0); color: #fff; border-radius: 14px; padding: 8px 4px; }
.rv-card.past .rv-date { background: #c9bdd0; }
.rv-date b { display: block; font-size: 26px; line-height: 1.05; font-weight: 800; }
.rv-date span { display: block; font-size: 11px; font-weight: 600; opacity: .9; }
.rv-info { flex: 1; min-width: 0; }
.rv-info b { display: block; font-size: 15.5px; line-height: 1.3; color: var(--ink); overflow-wrap: anywhere; }
.rv-info small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--muted); }
.rv-st { flex: none; font-size: 11.5px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: #f3e9f7; color: var(--brand); }
.rv-st.ok { background: #e6f4ea; color: #137333; }
.rv-st.x { background: #fdecea; color: #8c1d18; }

/* Reçetelerim */
.rc-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; margin-bottom: 12px; box-shadow: 0 1px 3px rgba(111,10,166,.06); }
.rc-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.rc-h b { font-size: 16px; color: var(--ink); }
.rc-h span { font-size: 12.5px; color: var(--muted); }
.rc-eno { font-size: 13px; color: #4a3a4e; margin-bottom: 8px; }
.rc-scroll { overflow-x: auto; }
.rc-tb { width: 100%; border-collapse: collapse; font-size: 14px; text-align: center; min-width: 420px; }
.rc-tb th { background: #f3e9f7; color: var(--brand); font-weight: 700; padding: 8px 6px; border: 1px solid #ead9ee; font-size: 12.5px; }
.rc-tb td { padding: 10px 6px; border: 1px solid #ead9ee; font-weight: 600; color: var(--ink); }
.rc-tb td.rc-l { text-align: left; background: #faf6fb; color: var(--brand); }
.rc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.rc-chips span { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: #e8f0fe; color: #1a56c4; }
.rc-list { list-style: none; margin: 0; padding: 0; }
.rc-list li { padding: 10px 0; border-top: 1px solid #f0e6f3; }
.rc-list li:first-child { border-top: 0; }
.rc-list b { display: block; font-size: 15px; color: var(--ink); }
.rc-list small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }

/* Ana sayfa */
.g-skip { text-align: center; }
.g-skip p { margin: 0 0 4px; font-size: 13.5px; color: var(--muted); }
.g-hero.ah { margin-top: 14px; }
.ah-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin-top: 14px; }
.ah-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px; cursor: pointer; box-shadow: 0 1px 3px rgba(111,10,166,.06); color: var(--ink); }
.ah-tile:active { background: #fbf6fc; border-color: var(--brand); transform: scale(.985); }
.ah-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), #9b3fd0); color: #fff; margin-bottom: 4px; }
.ah-tile b { font-size: 16px; }
.ah-tile small { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
@media (max-width: 520px) { .ah-grid { grid-template-columns: repeat(2, 1fr); } }

/* ===================== Giriş sahnesi (animasyonlu) ===================== */
.lg-stage { position: relative; overflow: hidden; min-height: calc(100vh - 66px); display: flex; justify-content: center; align-items: flex-start; padding: 26px 16px 46px; background: radial-gradient(120% 90% at 50% 0%, #8a1bd0 0%, #6e09a6 40%, #2d0845 100%); }
.lg-bg { position: absolute; inset: 0; pointer-events: none; }
.lg-bg .o { position: absolute; display: block; border-radius: 50%; filter: blur(46px); opacity: .5; animation: lg-drift 16s ease-in-out infinite alternate; will-change: transform; }
.lg-bg .o1 { width: 340px; height: 340px; left: -90px; top: -70px; background: #b44bff; }
.lg-bg .o2 { width: 300px; height: 300px; right: -100px; top: 32%; background: #5b2bd9; animation-duration: 21s; }
.lg-bg .o3 { width: 380px; height: 380px; left: 18%; bottom: -170px; background: #e062ff; opacity: .38; animation-duration: 25s; }
@keyframes lg-drift { to { transform: translate3d(46px, -34px, 0) scale(1.15); } }
.lg-bg .b { position: absolute; bottom: -40px; display: block; border-radius: 50%; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); animation: lg-rise linear infinite; will-change: transform; }
@keyframes lg-rise { 0% { transform: translate3d(0, 0, 0) scale(.6); opacity: 0; } 12% { opacity: 1; } 100% { transform: translate3d(var(--dx, 20px), -115vh, 0) scale(1.05); opacity: 0; } }
.lg-content { position: relative; z-index: 1; width: 100%; max-width: 470px; }

/* amblem */
.lg-head { text-align: center; color: #fff; margin-bottom: 18px; }
.lg-head h1 { margin: 6px 0 6px; font-size: 27px; line-height: 1.15; font-weight: 800; color: #fff; text-transform: none; letter-spacing: -.2px; text-shadow: 0 2px 14px rgba(20, 0, 40, .4); }
.lg-head p { margin: 0 auto; max-width: 340px; font-size: 14.5px; line-height: 1.5; color: rgba(255, 255, 255, .88); }
.lg-emblem { position: relative; width: 112px; height: 112px; margin: 0 auto 12px; display: grid; place-items: center; }
.lg-iris { width: 100%; height: 100%; filter: drop-shadow(0 10px 24px rgba(20, 0, 40, .5)); animation: lg-bob 5.5s ease-in-out infinite; }
.lg-pupil { transform-origin: 60px 60px; animation: lg-pupil 4.8s ease-in-out infinite; }
.lg-ringline { transform-origin: 60px 60px; animation: lg-spin 26s linear infinite; }
.lg-rp { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .55); opacity: 0; animation: lg-ripple 3.6s ease-out infinite; }
.lg-rp.r2 { animation-delay: 1.2s; } .lg-rp.r3 { animation-delay: 2.4s; }
@keyframes lg-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes lg-pupil { 0%, 100% { transform: scale(1); } 45% { transform: scale(.72); } 62% { transform: scale(1.08); } }
@keyframes lg-spin { to { transform: rotate(360deg); } }
@keyframes lg-ripple { 0% { transform: scale(.8); opacity: .7; } 100% { transform: scale(1.9); opacity: 0; } }

/* kart ve alanlar */
.lg-card { width: 100%; box-sizing: border-box; background: rgba(255, 255, 255, .95); border-radius: 26px; padding: 22px 20px 18px; box-shadow: 0 26px 64px rgba(20, 0, 40, .5), inset 0 0 0 1px rgba(255, 255, 255, .5); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.lg-card.shake { animation: lg-shake .45s; }
@keyframes lg-shake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-9px); } 40% { transform: translateX(8px); } 60% { transform: translateX(-6px); } 80% { transform: translateX(4px); } }
.lg-f { position: relative; margin-bottom: 12px; }
.lg-f input { width: 100%; box-sizing: border-box; height: 60px; padding: 24px 14px 6px 48px; border: 1.5px solid #dcc9e1; border-radius: 16px; background: #fff; font-size: 18px; font-weight: 600; letter-spacing: 1.2px; color: #2b1230; outline: none; font-family: inherit; transition: border-color .2s, box-shadow .2s; }
.lg-f label { position: absolute; left: 48px; top: 19px; font-size: 15px; font-weight: 500; letter-spacing: 0; color: #a08aa6; pointer-events: none; transition: top .18s ease, font-size .18s ease, color .18s ease; }
.lg-f input:focus + label, .lg-f input:not(:placeholder-shown) + label { top: 8px; font-size: 11.5px; font-weight: 700; color: var(--brand); }
.lg-f > svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #a08aa6; transition: color .2s; pointer-events: none; }
.lg-f input:focus ~ svg { color: var(--brand); }
.lg-f input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(111, 10, 166, .14); }
.lg-ok { position: relative; display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 14px; font-size: 12.5px; line-height: 1.45; color: #4a3a4e; cursor: pointer; }
.lg-ok input { position: absolute; opacity: 0; width: 0; height: 0; }
.lg-ok .bx { flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 7px; border: 2px solid #cdb6d6; background: #fff; display: grid; place-items: center; transition: all .18s; }
.lg-ok input:checked + .bx { background: linear-gradient(135deg, #6e09a6, #a24be0); border-color: transparent; }
.lg-ok .bx svg { width: 14px; height: 14px; stroke: #fff; stroke-width: 3.2; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 22; stroke-dashoffset: 22; transition: stroke-dashoffset .25s .05s; }
.lg-ok input:checked + .bx svg { stroke-dashoffset: 0; }
.lg-go { position: relative; overflow: hidden; width: 100%; height: 56px; border: 0; border-radius: 16px; background: linear-gradient(135deg, #6e09a6, #a24be0); color: #fff; font-size: 17px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; box-shadow: 0 10px 24px rgba(111, 10, 166, .42); transition: transform .15s, box-shadow .15s; text-decoration: none; }
.lg-go::after { content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .38), transparent); transform: skewX(-20deg); animation: lg-shine 3.4s ease-in-out infinite; }
@keyframes lg-shine { 0%, 55% { left: -60%; } 100% { left: 135%; } }
.lg-go:active { transform: scale(.98); }
.lg-go:disabled { opacity: .8; }
.lg-go .sp { width: 20px; height: 20px; border: 3px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: vzspin .8s linear infinite; }
.lg-kv { display: flex; align-items: flex-start; gap: 6px; margin-top: 13px; font-size: 12px; line-height: 1.4; color: #7c6a80; }
.lg-kv svg { flex: none; margin-top: 1px; }
.lg-msg { display: flex; gap: 8px; align-items: flex-start; padding: 11px 13px; border-radius: 12px; font-size: 13.5px; line-height: 1.45; margin-bottom: 12px; animation: lg-up .3s both; }
.lg-msg > svg { flex: none; margin-top: 1px; }
.lg-msg.err { background: #fdecea; color: #8c1d18; } .lg-msg.inf { background: #f3e9f7; color: #4a3a4e; }
.lg-skip { display: block; margin: 18px auto 0; padding: 13px 22px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .14); color: #fff; font-size: 15px; font-weight: 600; cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .2s; }
.lg-skip:active { background: rgba(255, 255, 255, .26); }
.lg-below { text-align: center; margin-top: 10px; font-size: 13px; color: rgba(255, 255, 255, .8); }
.lg-links { display: flex; justify-content: space-between; gap: 10px; margin-top: 12px; }
.lg-links a, .lg-links button { background: none; border: 0; padding: 8px 4px; color: var(--brand); font-weight: 700; font-size: 14px; text-decoration: none; cursor: pointer; }

/* SMS kodu kutuları */
.lg-otp { position: relative; display: flex; gap: 8px; justify-content: center; margin: 4px 0 14px; }
.lg-otp .lg-d { flex: 1 1 0; max-width: 54px; height: 62px; border-radius: 14px; border: 1.5px solid #dcc9e1; background: #fff; display: grid; place-items: center; font-size: 28px; font-weight: 800; color: #2b1230; transition: border-color .15s, box-shadow .15s, background .15s; }
.lg-otp .lg-d.on { border-color: var(--brand); background: #fbf6fc; animation: lg-pop .25s cubic-bezier(.2, 1.6, .4, 1); }
.lg-otp .lg-d.cur { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(111, 10, 166, .14); }
.lg-otp .lg-d.cur::after { content: ''; width: 2px; height: 28px; background: var(--brand); animation: lg-blink 1s steps(2) infinite; }
.lg-otp-in { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; font-size: 16px; border: 0; background: transparent; }
@keyframes lg-pop { 0% { transform: scale(.7); } 100% { transform: scale(1); } }
@keyframes lg-blink { 50% { opacity: 0; } }
.lg-timer { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 14px; font-size: 13px; color: #6c5a70; }
.lg-ring { width: 34px; height: 34px; transform: rotate(-90deg); }
.lg-ring circle { fill: none; stroke-width: 4; }
.lg-ring .bg { stroke: #ead9ee; } .lg-ring .fg { stroke: var(--brand); stroke-linecap: round; transition: stroke-dashoffset 1s linear; }

/* hoş geldiniz (giriş sonrası) */
.lg-welcome { text-align: center; color: #fff; padding-top: 36px; }
.lg-check { width: 104px; height: 104px; margin: 0 auto 16px; display: block; filter: drop-shadow(0 8px 22px rgba(20, 0, 40, .4)); }
.lg-check .c { fill: rgba(255, 255, 255, .14); stroke: #fff; stroke-width: 2.5; stroke-dasharray: 152; stroke-dashoffset: 152; animation: lg-draw .6s .1s forwards; }
.lg-check .p { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: lg-draw .4s .6s forwards; }
@keyframes lg-draw { to { stroke-dashoffset: 0; } }
.lg-welcome h2 { margin: 0 0 6px; font-size: 27px; font-weight: 800; color: #fff; animation: lg-up .5s .55s both; }
.lg-welcome p { margin: 0; font-size: 19px; opacity: .92; animation: lg-up .5s .75s both; }

/* giriş animasyonları (yalnız ekran değişince) */
@keyframes lg-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.lg-enter .lg-head { animation: lg-up .6s cubic-bezier(.2, .8, .2, 1) both; }
.lg-enter .lg-card { animation: lg-up .6s .12s cubic-bezier(.2, .8, .2, 1) both; }
.lg-enter .lg-skip, .lg-enter .lg-below { animation: lg-up .6s .3s cubic-bezier(.2, .8, .2, 1) both; }
.lg-enter .lg-f:nth-of-type(1) { animation: lg-up .5s .2s both; } .lg-enter .lg-f:nth-of-type(2) { animation: lg-up .5s .28s both; } .lg-enter .lg-f:nth-of-type(3) { animation: lg-up .5s .36s both; }

/* ana sayfa panel hareketi */
.ah-tile { animation: lg-up .5s both; }
.ah-tile:nth-child(1) { animation-delay: .05s; } .ah-tile:nth-child(2) { animation-delay: .12s; } .ah-tile:nth-child(3) { animation-delay: .19s; } .ah-tile:nth-child(4) { animation-delay: .26s; } .ah-tile:nth-child(5) { animation-delay: .33s; }
@media (max-width: 380px) { .lg-otp .lg-d { height: 54px; font-size: 24px; } .lg-head h1 { font-size: 24px; } }
@media (prefers-reduced-motion: reduce) { .lg-bg *, .lg-emblem *, .lg-iris, .lg-go::after, .lg-enter *, .ah-tile, .lg-msg { animation: none !important; } }

.rc-act { margin-top: 10px; }
.rc-pdf { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border: 1.5px solid var(--brand); border-radius: 12px; background: #fff; color: var(--brand); font-size: 14px; font-weight: 700; cursor: pointer; }
.rc-pdf:active { background: #f3e8fb; }
.rc-pdf:disabled { opacity: .55; }

/* ===== Yeni ana sayfa (giriş sonrası) ===== */
.hm-hero { position: relative; overflow: hidden; margin-top: 14px; border-radius: 26px; padding: 22px 20px 20px; color: #fff; background: linear-gradient(140deg, #4b0680 0%, #6f0aa6 45%, #a63fdc 100%); box-shadow: 0 14px 34px rgba(75, 6, 128, .32); }
.hm-orb { position: absolute; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.28), rgba(255,255,255,0) 70%); pointer-events: none; }
.hm-orb.o1 { width: 220px; height: 220px; right: -70px; top: -80px; animation: hm-float 9s ease-in-out infinite; }
.hm-orb.o2 { width: 130px; height: 130px; left: -40px; bottom: -50px; animation: hm-float 11s ease-in-out infinite reverse; }
.hm-orb.o3 { width: 60px; height: 60px; right: 90px; bottom: 30px; opacity: .6; animation: hm-float 7s ease-in-out infinite; }
@keyframes hm-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.hm-top { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.hm-hi small { display: block; font-size: 13.5px; opacity: .85; }
.hm-hi h2 { margin: 2px 0 0; font-size: 24px; line-height: 1.2; font-weight: 800; color: #fff; text-transform: none; letter-spacing: 0; word-break: break-word; }
.hm-out { background: rgba(255,255,255,.16) !important; color: #fff !important; border: 1px solid rgba(255,255,255,.28) !important; }
.hm-hero p { position: relative; margin: 10px 0 16px; font-size: 14px; line-height: 1.45; opacity: .9; }
.hm-cta { position: relative; width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; height: 54px; border: 0; border-radius: 16px; background: #fff; color: #5a0890; font-size: 16.5px; font-weight: 800; cursor: pointer; box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.hm-cta:active { transform: scale(.985); }
.hm-next { display: flex; align-items: center; gap: 12px; margin-top: 14px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 12px 14px; box-shadow: 0 4px 14px rgba(111, 10, 166, .08); animation: lg-up .5s both; }
.hm-next .rv-date { flex: none; }
.hm-ninfo { flex: 1; min-width: 0; }
.hm-ninfo b { display: block; font-size: 15px; line-height: 1.3; }
.hm-ninfo small { color: var(--muted); font-size: 12.5px; }
.hm-lab { display: block; color: #6f0aa6 !important; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 10.5px !important; margin-bottom: 2px; }
.hm-mini { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 13px; border-radius: 12px; border: 1px solid #e3d0f0; background: #f7eefc; color: #6f0aa6; font-size: 13px; font-weight: 700; text-decoration: none; cursor: pointer; }
.hm-next.none b { display: block; font-size: 15px; }
.hm-next.none small { color: var(--muted); font-size: 12.5px; display: block; margin-top: 2px; }
.hm-next.none > div { flex: 1; min-width: 0; }
.hm-nic { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #f1e3fa; color: #6f0aa6; }
.hm-next.sk { min-height: 74px; }
.hm-next.sk i { width: 52px; height: 56px; border-radius: 12px; background: #efe6f5; }
.hm-next.sk b, .hm-next.sk small { display: block; height: 12px; border-radius: 6px; background: #efe6f5; margin: 6px 0; width: 70%; }
.hm-next.sk small { width: 45%; }
.hm-next.sk > div { flex: 1; }
.hm-next.sk i, .hm-next.sk b, .hm-next.sk small { animation: hm-sk 1.2s ease-in-out infinite; }
@keyframes hm-sk { 50% { opacity: .45; } }
.hm-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 14px; }
@media (min-width: 700px) { .hm-grid { grid-template-columns: repeat(3, 1fr); } }
.hm-tile { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 15px 14px 14px; cursor: pointer; box-shadow: 0 4px 14px rgba(40, 20, 60, .07); animation: lg-up .5s both; }
.hm-tile::after { content: ""; position: absolute; right: -26px; top: -26px; width: 84px; height: 84px; border-radius: 50%; background: linear-gradient(135deg, var(--a), var(--b)); opacity: .12; }
.hm-tile:active { transform: scale(.975); }
.hm-ic { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; color: #fff; margin-bottom: 8px; background: linear-gradient(135deg, var(--a), var(--b)); box-shadow: 0 6px 14px color-mix(in srgb, var(--a) 40%, transparent); }
.hm-tile b { font-size: 15.5px; line-height: 1.25; color: #2a1138; }
.hm-tile small { font-size: 12.3px; color: var(--muted); line-height: 1.3; }
/* kart düzeni: ikon üstte, yazı altta (telefon); tablette ikon solda, yazı sağda, daha alçak kart */
.hm-tx { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.hm-sec { margin: 22px 4px 0; font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #6f0aa6; }
.hm-sec + .hm-grid { margin-top: 10px; }
@media (min-width: 700px) {
  .hm-grid { grid-template-columns: repeat(2, 1fr); }
  .hm-tile { flex-direction: row; align-items: center; gap: 14px; padding: 16px 18px; }
  .hm-ic { margin-bottom: 0; flex: none; }
}
@media (min-width: 1000px) { .hm-grid { grid-template-columns: repeat(4, 1fr); } .hm-tile { flex-direction: column; align-items: flex-start; gap: 4px; } .hm-ic { margin-bottom: 8px; } }
.hm-tile:nth-child(1) { animation-delay: .05s; } .hm-tile:nth-child(2) { animation-delay: .1s; } .hm-tile:nth-child(3) { animation-delay: .15s; } .hm-tile:nth-child(4) { animation-delay: .2s; } .hm-tile:nth-child(5) { animation-delay: .25s; } .hm-tile:nth-child(6) { animation-delay: .3s; }
.hm-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.hm-quick a { display: flex; align-items: center; gap: 10px; padding: 13px 14px; border-radius: 18px; background: #2a1138; color: #fff; text-decoration: none; font-weight: 700; font-size: 14.5px; }
.hm-quick a:last-child { background: #f1e3fa; color: #4b0680; }
.hm-quick small { display: block; font-weight: 500; font-size: 12px; opacity: .78; margin-top: 1px; }
.hm-foot { text-align: center; color: var(--muted); font-size: 12px; line-height: 1.55; margin: 18px 0 6px; }
@media (prefers-reduced-motion: reduce) { .hm-orb, .hm-tile, .hm-next, .hm-next.sk * { animation: none !important; } }

/* ===== Memnuniyet anketi ===== */
.an-hero { border-radius: 22px; padding: 20px; color: #fff; background: linear-gradient(135deg, #15803d, #2fa564); margin-top: 14px; box-shadow: 0 10px 26px rgba(21, 128, 61, .25); }
.an-hero h2 { margin: 0 0 6px; font-size: 21px; font-weight: 800; color: #fff; text-transform: none; letter-spacing: 0; }
.an-hero p { margin: 0; font-size: 13.8px; line-height: 1.5; opacity: .93; }
.an-q { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px; margin-top: 12px; }
.an-q h3 { margin: 0 0 10px; font-size: 14.8px; line-height: 1.4; font-weight: 700; color: #2a1138; text-transform: none; letter-spacing: 0; }
.an-q h3 i { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 8px; border-radius: 50%; background: #f1e3fa; color: #6f0aa6; font-size: 12px; font-weight: 700; font-style: normal; vertical-align: 1px; }
.an-q h3 small { color: var(--muted); font-weight: 500; }
.an-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.an-chip { border: 1px solid #ddd0e8; background: #faf6fd; color: #2a1138; border-radius: 999px; padding: 9px 14px; font-size: 14px; font-weight: 600; cursor: pointer; }
.an-chip.on { background: #6f0aa6; border-color: #6f0aa6; color: #fff; }
.an-scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.an-s { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 2px 7px; border: 1.5px solid #e8dff0; border-radius: 14px; background: #fff; color: #9a8aa8; cursor: pointer; transition: transform .12s, background .12s; }
.an-s small { font-size: 10.5px; font-weight: 600; line-height: 1.1; text-align: center; }
.an-s.on { color: #fff; background: var(--c); border-color: var(--c); transform: translateY(-2px); box-shadow: 0 6px 14px color-mix(in srgb, var(--c) 40%, transparent); }
.an-not { width: 100%; box-sizing: border-box; margin-top: 10px; border: 1px solid #ddd0e8; border-radius: 12px; padding: 10px 12px; font: inherit; font-size: 14px; resize: vertical; background: #fdfbff; }
.an-err { margin-top: 12px; }
.an-done { text-align: center; padding: 34px 18px; }
.an-check { width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #15803d, #4ade80); box-shadow: 0 10px 24px rgba(21, 128, 61, .3); }
.an-done h2 { margin: 0 0 8px; font-size: 22px; }
.an-done p { margin: 0 auto 16px; max-width: 420px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }

/* ana sayfa: kompakt kart + avatar */
.hm-hero { padding: 14px 16px 14px !important; border-radius: 22px !important; }
.hm-hi small { font-size: 12.5px; }
.hm-hi h2 { font-size: 19px !important; margin-top: 1px !important; }
.hm-top { align-items: center; margin-bottom: 12px; }
.hm-who { display: flex; align-items: center; gap: 8px; flex: none; }
.hm-av { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #5a0890; font-size: 16px; font-weight: 800; letter-spacing: .02em; box-shadow: 0 4px 12px rgba(0,0,0,.22); border: 2px solid rgba(255,255,255,.55); }
.hm-out { width: 36px; height: 36px; padding: 0 !important; border-radius: 50% !important; display: grid !important; place-items: center; cursor: pointer; }
.hm-cta { height: 48px !important; font-size: 15.5px !important; border-radius: 14px !important; }

/* alt not: sayfaların üstünü kaplamasın */
.g-note { margin: 16px 4px 4px; color: var(--muted); font-size: 12px; line-height: 1.5; text-align: center; }
.g-note a { color: #6f0aa6; font-weight: 700; text-decoration: none; }
.g-note.an-top { margin: 10px 4px 0; text-align: left; }
.g-top { padding: 10px 14px !important; border-radius: 16px !important; }
.g-top b { font-size: 15px !important; }
.g-top small { font-size: 11.5px !important; }
.an-q:first-of-type { margin-top: 10px; }

/* giriş: Vizzi maskotu (sprite 7x5) */
.lg-emblem { width: 170px !important; height: 170px !important; margin-bottom: 6px !important; }
.lg-glow { position: absolute; inset: 10px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.5), rgba(255,255,255,0) 70%); }
.lg-vizzi { position: relative; display: block; width: 150px; height: 150px; background: url(vizzi-sprite.webp) no-repeat; background-size: 700% 500%; filter: drop-shadow(0 12px 16px rgba(20, 0, 40, .4)); animation: lg-bob 4.5s ease-in-out infinite; }
.lg-vizzi.pop { animation: lg-bob 4.5s ease-in-out infinite, vz-pop .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes vz-pop { 0% { transform: scale(.88); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .lg-vizzi, .lg-vizzi.pop { animation: none !important; } }

/* kaydırma: altta beyaz şerit kalmasın, üstte maskot başlığın altında kalmasın */
html { overscroll-behavior-y: none; background: #faf6fb; }
body.on-stage { padding-bottom: 0 !important; background: #2a0a45; }
html:has(body.on-stage) { background: #2a0a45; }
.lg-stage { min-height: calc(100vh - 66px); min-height: calc(100dvh - 66px); padding-top: 44px !important; padding-bottom: calc(40px + env(safe-area-inset-bottom)) !important; }
.lg-emblem { margin-top: 6px; }

/* Tahlillerim */
.tl-list { list-style: none; margin: 0; padding: 0; }
.tl-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid #f0e6f3; }
.tl-list li:first-child { border-top: 0; }
.tl-ad { min-width: 0; }
.tl-ad b { display: block; font-size: 15px; color: var(--ink); }
.tl-ad small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.tl-val { flex: none; text-align: right; font-size: 15.5px; font-weight: 800; color: var(--ink); white-space: nowrap; }
.tl-val small { font-size: 12px; font-weight: 600; color: var(--muted); }
.tl-val.hi { color: #c2410c; }
.tl-val.lo { color: #1d4ed8; }
@media (max-width: 699px) { .hm-grid > .hm-tile:last-child:nth-child(odd) { grid-column: 1 / -1; } }
.g-empty a { color: #6f0aa6; font-weight: 700; text-decoration: none; }

/* Hasta rehberi + Acil durum */
#rehber-app, #acil-app { padding: 0 16px calc(28px + env(safe-area-inset-bottom)); max-width: 760px; margin: 0 auto; }
.rh-wrap { padding-top: 18px; }
.rh-t { margin: 0; font-size: 22px; font-weight: 800; color: var(--ink); }
.rh-s { margin: 4px 0 14px; color: var(--muted); font-size: 14px; }
.rh-acc { background: #fff; border: 1px solid var(--line); border-radius: 18px; margin-bottom: 10px; box-shadow: 0 1px 3px rgba(111,10,166,.06); overflow: hidden; }
.rh-acc summary { list-style: none; cursor: pointer; padding: 15px 44px 15px 16px; font-size: 15.5px; font-weight: 700; color: var(--ink); position: relative; }
.rh-acc summary::-webkit-details-marker { display: none; }
.rh-acc summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; border-right: 2.2px solid #6f0aa6; border-bottom: 2.2px solid #6f0aa6; transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.rh-acc[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.rh-b { padding: 0 16px 12px; }
.rh-b h4 { margin: 6px 0 4px; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: #6f0aa6; }
.rh-ul { margin: 0 0 8px; padding-left: 18px; }
.rh-ul li { margin: 6px 0; font-size: 14.2px; line-height: 1.45; color: #3b2a47; }
.rh-not { margin: 16px 4px 0; font-size: 12.8px; line-height: 1.5; color: var(--muted); text-align: center; }
.rh-not a { color: #6f0aa6; font-weight: 700; text-decoration: none; }
.rh-acil-link { width: 100%; margin-top: 6px; padding: 14px 16px; border: 1px solid #fecaca; border-radius: 16px; background: #fef2f2; color: #b91c1c; font-size: 14.5px; font-weight: 700; text-align: left; cursor: pointer; }
.rh-mini { margin-top: 10px; }
.rh-mini summary { font-size: 14.5px; padding-top: 13px; padding-bottom: 13px; color: #6f0aa6; }
.ac-hero { border-radius: 22px; padding: 20px 18px 18px; color: #fff; background: linear-gradient(140deg, #991b1b, #dc2626); box-shadow: 0 12px 28px rgba(153,27,27,.28); margin-bottom: 14px; }
.ac-hero h2 { margin: 0; font-size: 22px; font-weight: 800; color: #fff; }
.ac-hero p { margin: 4px 0 14px; opacity: .92; font-size: 14px; }
.ac-call, .ac-112 { display: flex; align-items: center; gap: 12px; text-decoration: none; border-radius: 14px; padding: 12px 14px; font-weight: 800; }
.ac-call { background: #fff; color: #b91c1c; font-size: 16px; }
.ac-call small { display: block; font-size: 13px; font-weight: 600; color: #7f1d1d; }
.ac-112 { margin-top: 8px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); color: #fff; font-size: 15px; }
.ac-item { background: #fff; border: 1px solid var(--line); border-left: 4px solid #dc2626; border-radius: 14px; padding: 12px 14px; margin-bottom: 10px; }
.ac-item b { display: block; font-size: 15px; color: var(--ink); line-height: 1.35; }
.ac-item p { margin: 4px 0 0; font-size: 14px; color: #4b3b56; line-height: 1.45; }
.hm-acil { width: 100%; margin-top: 12px; display: flex; align-items: center; gap: 10px; padding: 14px 16px; border: 1px solid #fecaca; border-radius: 16px; background: #fef2f2; color: #b91c1c; font-size: 15px; font-weight: 700; cursor: pointer; }
.hm-acil span { flex: 1; text-align: left; }
.dr-nav .dr-acil { color: #b91c1c; }
.dr-nav .dr-acil svg { color: #b91c1c; stroke: #b91c1c; }

#sec-warn { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 9000; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: #fff7ed; border: 1px solid #fdba74; color: #9a3412; font-size: 13.5px; line-height: 1.4; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
#sec-warn span { flex: 1; }
#sec-warn button { flex: none; border: 0; border-radius: 10px; padding: 9px 14px; background: #9a3412; color: #fff; font-weight: 700; font-size: 13px; cursor: pointer; }

/* ---- Personel girişi ---- */
.pr-wrap { max-width: 560px; margin: 0 auto; padding: 8px 4px 28px; }
.pr-head { text-align: center; margin: 22px 8px 14px; }
.pr-head h2 { margin: 0 0 6px; font-size: 22px; color: #2a1138; }
.pr-head p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.pr-form .lg-msg.ok { background: #ecfdf3; border-color: #a7e3c0; color: #14532d; }
.pr-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px; margin-top: 10px; }
.pr-note { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.pr-foot { text-align: center; margin-top: 18px; font-size: 12px; }
.pr-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 12px 14px; }
.pr-top b { display: block; font-size: 16px; color: #2a1138; }
.pr-rol { display: inline-block; margin-top: 3px; padding: 2px 10px; border-radius: 999px; background: #f1e3fa; color: #5a0890; font-size: 11.5px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.pr-acts { display: flex; gap: 8px; }
.pr-btn { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 13px; border-radius: 12px; border: 1px solid #e3d0f0; background: #f7eefc; color: #6f0aa6; font-size: 13px; font-weight: 700; cursor: pointer; }
.pr-sec { display: flex; align-items: center; gap: 8px; margin: 20px 4px 6px; font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #6f0aa6; }
.pr-ann { background: #fff; border: 1px solid var(--line); border-left: 4px solid #6f0aa6; border-radius: 14px; padding: 12px 14px; margin-top: 10px; }
.pr-annh { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.pr-annh b { font-size: 15px; color: #2a1138; }
.pr-annh small { color: var(--muted); font-size: 12px; }
.pr-ann p { margin: 6px 0 0; font-size: 14px; line-height: 1.5; color: #3a2a45; }

.dr-nav [hidden] { display: none !important; }
.pr-quicks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 4px; }
@media (min-width: 700px) { .pr-quicks { grid-template-columns: repeat(4, 1fr); } }
.pr-quick { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 10px; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: #5a0890; font-size: 14px; font-weight: 700; cursor: pointer; box-shadow: 0 3px 10px rgba(40,20,60,.06); }
.pr-quick:active { transform: scale(.975); }

/* ---- Bölünmüş giriş: Hasta | Personel (ekran\default.php tasarımından uyarlandı) ---- */
.sp-box { position: relative; width: 100%; max-width: 860px; min-height: 640px; margin: 0 auto; background: #fff; border-radius: 26px; box-shadow: 0 26px 64px rgba(20, 0, 40, .5); overflow: hidden; text-align: left; }
.sp-fc { position: absolute; top: 0; left: 0; width: 50%; height: 100%; transition: transform .6s ease-in-out, opacity .6s ease-in-out; }
.sp-fh { z-index: 2; }
.sp-fp { z-index: 1; opacity: 0; pointer-events: none; }
.sp-box.sp-per .sp-fh { transform: translateX(100%); opacity: 0; pointer-events: none; }
.sp-box.sp-per .sp-fp { transform: translateX(100%); opacity: 1; z-index: 5; pointer-events: auto; }
.sp-form { height: 100%; box-sizing: border-box; padding: 26px 32px; display: flex; flex-direction: column; justify-content: center; overflow-y: auto; background: #fff; }
.sp-form h2 { margin: 0 0 4px; font-size: 24px; font-weight: 800; color: #2a1138; text-align: center; }
.sp-sub { margin: 0 0 16px; font-size: 13.5px; line-height: 1.45; color: var(--muted); text-align: center; }
.sp-ov { position: absolute; top: 0; left: 50%; width: 50%; height: 100%; overflow: hidden; z-index: 100; transition: transform .6s ease-in-out; }
.sp-box.sp-per .sp-ov { transform: translateX(-100%); }
.sp-ovi { position: relative; left: -100%; width: 200%; height: 100%; background: linear-gradient(135deg, #5a0890, #6e0ba6 45%, #a63fdc); color: #fff; transition: transform .6s ease-in-out; }
.sp-box.sp-per .sp-ovi { transform: translateX(50%); }
.sp-op { position: absolute; top: 0; width: 50%; height: 100%; box-sizing: border-box; padding: 0 36px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; transition: transform .6s ease-in-out; }
.sp-ol { transform: translateX(-20%); }
.sp-box.sp-per .sp-ol { transform: translateX(0); }
.sp-or { right: 0; }
.sp-box.sp-per .sp-or { transform: translateX(20%); }
.sp-op h2 { margin: 0 0 8px; font-size: 25px; font-weight: 800; color: #fff; }
.sp-op p { margin: 0 0 22px; font-size: 14.5px; line-height: 1.55; color: rgba(255, 255, 255, .92); }
.sp-ghost { border: 2px solid #fff; background: transparent; color: #fff; border-radius: 999px; padding: 12px 34px; font-size: 14px; font-weight: 800; letter-spacing: .02em; cursor: pointer; }
.sp-ghost:active { transform: scale(.97); }
.sp-seg { display: none; }
/* telefon / dar ekran: yan yana kayan panel yerine üstte iki sekme */
@media (max-width: 719px) {
  .sp-box { min-height: 0; border-radius: 22px; }
  .sp-seg { display: flex; gap: 6px; padding: 10px; background: #f3e9f7; }
  .sp-seg button { flex: 1; height: 44px; border: 0; border-radius: 12px; background: transparent; color: #5a0890; font-size: 15px; font-weight: 800; cursor: pointer; }
  .sp-box:not(.sp-per) .sp-seg .s-h, .sp-box.sp-per .sp-seg .s-p { background: linear-gradient(135deg, #6e09a6, #a24be0); color: #fff; box-shadow: 0 4px 12px rgba(111, 10, 166, .35); }
  .sp-ov { display: none; }
  .sp-fc { position: static; width: 100%; height: auto; transform: none !important; opacity: 1 !important; transition: none; }
  .sp-fp, .sp-box.sp-per .sp-fh { display: none; }
  .sp-box.sp-per .sp-fp { display: block; pointer-events: auto; }
  .sp-form { height: auto; padding: 20px 18px 18px; overflow: visible; }
}
/* bölünmüş giriş geniş alan ister (varsayılan giriş sütunu 470px) */
.lg-content:has(.sp-box) { max-width: 900px; }
/* geniş ekranda bölünmüş giriş tek ekrana sığsın: büyük maskot gizlenir, kutu alçalır */
@media (min-width: 720px) {
  .lg-content:has(.sp-box) .lg-emblem { display: none; }
  .lg-content:has(.sp-box) .lg-head { margin-bottom: 14px; }
  .lg-content:has(.sp-box) .lg-head h1 { margin-top: 0; }
  .sp-box { min-height: 580px; }
}

/* ---- Personel: hasta arama / kayıt ---- */
.pr-form-ara { display: block; }
.pr-hit { display: block; width: 100%; text-align: left; margin-top: 8px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: #2a1138; cursor: pointer; }
.pr-hit:active { transform: scale(.985); }
.pr-hit-ad { display: block; font-size: 16px; font-weight: 800; }
.pr-hit small { display: block; margin-top: 3px; color: var(--muted); font-size: 12.5px; }
.pr-gz { margin-left: 8px; padding: 1px 8px; border-radius: 999px; background: #fde8e8; color: #9b1c1c; font-size: 11px; font-style: normal; font-weight: 800; text-transform: uppercase; }
.pr-h4 { margin: 14px 2px 8px; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #6f0aa6; }
.pr-notbox { margin: 0 0 10px; padding: 10px 12px; border-radius: 12px; background: #f7eefc; color: #3a2a45; font: 13.5px/1.5 inherit; white-space: pre-wrap; word-break: break-word; max-height: 160px; overflow: auto; }
.pr-ta { width: 100%; box-sizing: border-box; min-height: 92px; padding: 26px 14px 8px; border: 1.5px solid #dcc9e1; border-radius: 16px; background: #fff; font: 600 15px/1.4 inherit; color: #2b1230; outline: none; resize: vertical; }
.pr-ta:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(111, 10, 166, .14); }
.pr-ta-l { position: absolute; left: 14px; top: 9px; font-size: 11.5px; font-weight: 700; color: var(--brand); pointer-events: none; }

/* ---- Personel: belge yükleme ---- */
.pr-up { display: inline-flex; width: 100%; box-sizing: border-box; justify-content: center; height: 48px; font-size: 14.5px; cursor: pointer; }
.pr-up.dis { opacity: .6; pointer-events: none; }
.pr-doc { margin-top: 8px; padding: 10px 12px; border-radius: 12px; background: #f7eefc; }
.pr-doc b { display: block; font-size: 14px; color: #2a1138; word-break: break-word; }
.pr-doc small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; }

/* ---- Belgelerim (hasta) ---- */
.bg-item { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: #2a1138; text-align: left; cursor: pointer; box-shadow: 0 3px 10px rgba(40, 20, 60, .06); }
.bg-item:active { transform: scale(.985); }
.bg-ic { flex: none; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #b45309, #fbbf24); }
.bg-tx { flex: 1; min-width: 0; }
.bg-tx b { display: block; font-size: 15px; word-break: break-word; }
.bg-tx small { display: block; margin-top: 2px; color: var(--muted); font-size: 12.5px; }
.bg-go { flex: none; color: #a08aa6; }
.bg-view { position: fixed; inset: 0; z-index: 9500; display: flex; flex-direction: column; background: rgba(20, 5, 32, .96); }
.bg-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; color: #fff; }
.bg-bar b { font-size: 15px; word-break: break-word; }
.bg-x { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .16); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.bg-body { flex: 1; min-height: 0; overflow: auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 8px 14px 20px; color: #fff; }
.bg-body .g-empty { color: rgba(255, 255, 255, .85); max-width: 460px; text-align: center; }
.bg-img { max-width: 100%; max-height: calc(100vh - 190px); object-fit: contain; border-radius: 10px; background: #fff; }
.bg-share { max-width: 360px; }

/* ---- Personel: Hastaya göster, belge eylemleri, önizleme ---- */
.pr-chk { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 10px; font-size: 14px; font-weight: 700; color: #2a1138; cursor: pointer; }
.pr-chk input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: #6f0aa6; }
.pr-chk small { display: block; margin-top: 2px; font-weight: 500; font-size: 12px; color: var(--muted); }
.pr-vis { margin-left: 8px; padding: 1px 8px; border-radius: 999px; background: #e6f6ec; color: #14532d; font-size: 11px; font-style: normal; font-weight: 800; }
.pr-vis.gz { background: #efe6f5; color: #5a0890; }
.pr-doc-act { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.pr-mini { height: 34px; padding: 0 12px; border-radius: 10px; border: 1px solid #e3d0f0; background: #fff; color: #6f0aa6; font-size: 13px; font-weight: 700; cursor: pointer; }
.pr-modal { position: fixed; inset: 0; z-index: 9500; display: flex; flex-direction: column; background: rgba(20, 5, 32, .96); }
.pr-modal-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; color: #fff; }
.pr-modal-bar b { font-size: 15px; word-break: break-word; }
.pr-x { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .16); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.pr-modal-body { flex: 1; min-height: 0; overflow: auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 8px 14px 20px; color: #fff; }
.pr-img { max-width: 100%; max-height: calc(100vh - 190px); object-fit: contain; border-radius: 10px; background: #fff; }

/* reçete numarası bölümü */
.pr-cnt { margin-left: auto; font-style: normal; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 11px; background: #6f0aa6; color: #fff; font-size: 12px; font-weight: 800; letter-spacing: 0; display: inline-flex; align-items: center; justify-content: center; }
.rx-card { border-color: #e3d0f0; background: linear-gradient(180deg, #fbf5fe 0, #fff 120px); }
.rx-lead { margin: 0 2px 14px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.rx-lead b { color: #6f0aa6; }
.rx-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 520px) { .rx-2 { grid-template-columns: 1fr; gap: 0; } }
.rx-card .lg-f input { height: 56px; font-size: 16px; }
.rx-card #p-rno { font-size: 20px; letter-spacing: .06em; font-weight: 800; }
.rx-empty { margin-top: 14px; padding: 14px; border-radius: 14px; border: 1.5px dashed #dcc9e1; text-align: center; font-size: 13px; color: var(--muted); }
.rx-list { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.rx-item { padding: 12px 14px; border-radius: 16px; background: #fff; border: 1px solid #ecdcf3; border-left: 4px solid #6f0aa6; box-shadow: 0 1px 3px rgba(111,10,166,.06); }
.rx-main { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.rx-no { font-size: 17px; font-weight: 800; letter-spacing: .06em; color: #2a1138; word-break: break-all; }
.rx-date { flex: none; font-size: 12.5px; font-weight: 700; color: #6f0aa6; }
.rx-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.rx-meta span { padding: 3px 10px; border-radius: 999px; background: #f7eefc; font-size: 12.5px; color: #4a2a5c; }
.rx-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.rx-foot small { color: var(--muted); font-size: 11.5px; }
.rx-del { height: 30px; color: #b42318; border-color: #f3c7c2; }

/* fotoğraftan reçete numarası */
.pr-cam { margin-top: 8px; width: 100%; justify-content: center; background: #6f0aa6; border-color: #6f0aa6; color: #fff; }
.pr-cam span { display: inline-flex; align-items: center; gap: 8px; }
.rx-ocr { display: flex; flex-direction: column; gap: 8px; margin: 0 0 12px; padding: 11px 13px; border-radius: 14px; background: #f7eefc; color: #4a2a5c; font-size: 13px; line-height: 1.4; }
.rx-ocr.ok { background: #ecf8ef; color: #1d5c33; }
.rx-ocr.err { background: #fdf0ee; color: #8a2a1f; }
.rx-ocr:has(.rx-sp) { flex-direction: row; align-items: center; gap: 10px; }
.rx-sp { flex: none; width: 16px; height: 16px; border: 2.5px solid #d9bfe8; border-top-color: #6f0aa6; border-radius: 50%; animation: rxspin .8s linear infinite; }
@keyframes rxspin { to { transform: rotate(360deg); } }
.rx-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rx-chip { height: 40px; padding: 0 16px; border-radius: 12px; border: 1.5px solid #2f8f55; background: #fff; color: #14502b; font-size: 17px; font-weight: 800; letter-spacing: .08em; cursor: pointer; }

/* yönetici durum paneli */
.pr-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; margin: 6px 0 12px; }
.pr-stat { padding: 10px 12px; border-radius: 12px; background: #f6f1fa; display: flex; flex-direction: column; gap: 2px; }
.pr-stat b { font-size: 22px; color: #3f0a63; line-height: 1.1; }
.pr-stat span { font-size: 12px; color: #6a5a78; line-height: 1.25; }
.pr-stat.warn { background: #fdf0ee; } .pr-stat.warn b { color: #a32c1f; }
.pr-mod { font-style: normal; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: #eee; color: #555; margin-left: 6px; vertical-align: middle; }
.pr-mod.on { background: #dff3e6; color: #14502b; }

/* e-reçete karekodu */
.rc-qr { margin: 6px 0 4px; }
.rc-qr summary { cursor: pointer; font-weight: 700; font-size: 14px; color: #6f0aa6; padding: 8px 0; list-style: none; }
.rc-qr summary::-webkit-details-marker { display: none; }
.rc-qr summary::before { content: '▸ '; } .rc-qr[open] summary::before { content: '▾ '; }
.rc-qrbox { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px; background: #fff; border-radius: 14px; border: 1px solid #e6dcef; }
.rc-qrbox svg { width: min(240px, 70vw); height: auto; }
.rc-qrbox b { font-size: 20px; letter-spacing: .08em; }
.rc-qrbox small { color: #6a5a78; text-align: center; }

/* tedavi planı + belge talebi */
.td-alarm { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.td-alarm small { display: block; color: #6a5a78; font-size: 13px; margin-top: 2px; }
.td-btn { width: auto; min-width: 84px; padding: 0 18px; } .td-btn.off { background: #8b7a99; }
.td-msg { font-size: 14px; color: #14502b; background: #ecf8ef; }
.td-card .td-durum { font-size: 13px; color: #6a5a78; margin: 2px 0 8px; }
.td-saat { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.td-saat span { padding: 7px 12px; border-radius: 10px; background: #f3ecf9; font-weight: 700; color: #3f0a63; }
.td-saat span.next { background: #0f766e; color: #fff; }
.td-card.tal { border-left: 4px solid #0f766e; } .td-metin { font-size: 15px; line-height: 1.5; margin: 6px 0; }
.tl-h { margin: 0 0 8px; font-size: 17px; } .tl-l { display: block; font-size: 13px; font-weight: 700; color: #4a2a5c; margin: 10px 0 4px; }
.tl-sel, .tl-ta { width: 100%; border: 1.5px solid #d9c7e8; border-radius: 12px; padding: 11px 12px; font: inherit; background: #fff; box-sizing: border-box; }
.tl-b { font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 99px; } .tl-b.wait { background: #fff3d6; color: #8a5a00; } .tl-b.ok { background: #dff3e6; color: #14502b; } .tl-b.no { background: #fdf0ee; color: #8a2a1f; }
.tl-d { color: #6a5a78; } .tl-cv { margin: 6px 0; padding: 8px 10px; border-radius: 10px; background: #f6f1fa; font-size: 14px; }
.tp-item { padding: 10px 0; border-top: 1px solid #eadff3; } .tp-item:first-of-type { border-top: 0; }
.tp-top { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; } .tp-top span { color: #6f0aa6; font-weight: 700; font-size: 14px; }
.tp-not { margin: 4px 0; font-size: 14px; } .tp-act { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; align-items: center; } .tp-gz { font-size: 12px; color: #8a2a1f; }
.pr-mini.ok { background: #dff3e6; color: #14502b; border-color: #9bd6b0; }

/* parmak izi / yüz girişi */
.bio-btn { width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; border: 0; border-radius: 14px; background: linear-gradient(135deg, #6f0aa6, #b05ae6); color: #fff; font: inherit; font-size: 17px; font-weight: 800; cursor: pointer; margin: 4px 0 6px; }
.bio-btn[disabled] { opacity: .6; }
.bio-or { display: flex; align-items: center; gap: 10px; color: #8b7a99; font-size: 12px; margin: 6px 0 10px; }
.bio-or::before, .bio-or::after { content: ''; flex: 1; height: 1px; background: #e2d6ee; }
.bio-card { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.bio-card > div:first-of-type { flex: 1 1 200px; } .bio-card small { display: block; color: #6a5a78; font-size: 13px; margin-top: 2px; }
.bio-act { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; } .bio-act .g-go { width: auto; padding: 0 22px; }
.bio-no, .bio-link { background: none; border: 0; color: #6f0aa6; font: inherit; font-weight: 700; cursor: pointer; padding: 8px 4px; }
.bio-link { display: block; margin: 10px auto 0; font-size: 13px; color: #8b7a99; }

/* personel yüz / parmak izi girişi */
.pb-card b { display: block; }
.pb-act { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; } .pb-act .lg-go { width: auto; padding: 0 26px; }
.pb-no, .pb-link { background: none; border: 0; color: #6f0aa6; font: inherit; font-weight: 700; cursor: pointer; padding: 8px 4px; }
.pb-link { display: block; margin: 10px auto 0; font-size: 13px; color: #8b7a99; }

/* Vizzi sohbeti (sade) + yüzen düğme + nöbetçi eczane */
.vz-av { display: inline-block; flex: none; width: 36px; height: 36px; border-radius: 50%; background: #f3ecf9 url(vizzi-sprite.webp) no-repeat; background-size: 700% 500%; background-position: 0 0; }
.vz-av.big { width: 58px; height: 58px; }
#vz-fab { position: fixed; right: 16px; bottom: 18px; z-index: 40; width: 62px; height: 62px; padding: 0; border: 0; border-radius: 50%; background: linear-gradient(135deg, #6f0aa6, #b05ae6); box-shadow: 0 8px 22px rgba(70, 10, 110, .45); display: flex; align-items: center; justify-content: center; cursor: pointer; }
#vz-fab[hidden] { display: none; } #vz-fab .vz-av { background-color: transparent; }
.vz-wrap { display: flex; flex-direction: column; height: calc(100vh - 72px); height: calc(100dvh - 72px); max-width: 760px; margin: 0 auto; background: #faf8fc; }
.vz-head { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #fff; border-bottom: 1px solid #ebe4f2; }
.vz-ht { flex: 1; min-width: 0; } .vz-ht b { display: block; font-size: 17px; color: #2d0845; } .vz-ht small { color: #655a72; font-size: 12px; }
.vz-ib { width: 38px; height: 38px; border: 0; border-radius: 12px; background: #f3ecf8; color: #6a1a8a; font: inherit; font-weight: 800; font-size: 14px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.vz-list { flex: 1; overflow-y: auto; padding: 14px 12px; display: flex; flex-direction: column; gap: 10px; -webkit-overflow-scrolling: touch; }
.vz-row { display: flex; gap: 8px; align-items: flex-end; max-width: 100%; } .vz-row.usr { justify-content: flex-end; }
.vz-b { max-width: 82%; padding: 10px 13px; border-radius: 16px; font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.vz-row.bot .vz-b { background: #fff; color: #21132c; border: 1px solid #ebe4f2; border-bottom-left-radius: 5px; }
.vz-row.usr .vz-b { background: linear-gradient(135deg, #6f0aa6, #8b2bb5); color: #fff; border-bottom-right-radius: 5px; }
.vz-b p { margin: 0 0 6px; } .vz-b p:last-child { margin-bottom: 0; } .vz-b ul { margin: 4px 0 6px 18px; padding: 0; } .vz-b.err { background: #fdf0ee; border-color: #f1c4bd; color: #8a2a1f; }
.vz-pimg { display: block; max-width: 100%; max-height: 180px; border-radius: 10px; margin-bottom: 6px; }
.vz-det summary { cursor: pointer; font-size: 12px; opacity: .9; margin-top: 6px; } .vz-det pre { white-space: pre-wrap; font: inherit; font-size: 12px; margin: 4px 0 0; }
.vz-uyari { margin-top: 10px; padding: 8px 10px; border-radius: 10px; background: #fff6df; color: #7a5200; font-size: 12.5px; line-height: 1.45; }
.vz-typing { display: flex; gap: 5px; padding: 14px 16px !important; } .vz-typing i { width: 7px; height: 7px; border-radius: 50%; background: #b9a4cc; animation: vzdot 1s infinite ease-in-out; } .vz-typing i:nth-child(2) { animation-delay: .15s; } .vz-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes vzdot { 0%, 80%, 100% { transform: translateY(0); opacity: .5; } 40% { transform: translateY(-5px); opacity: 1; } }
.vz-card { align-self: center; width: min(92%, 440px); padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid #ebe4f2; font-size: 14px; } .vz-card p { margin: 6px 0 10px; color: #4a2a5c; }
.vz-act { display: flex; gap: 8px; flex-wrap: wrap; } .vz-go { border: 0; border-radius: 12px; background: #6a1a8a; color: #fff; padding: 10px 18px; font: inherit; font-weight: 700; cursor: pointer; } .vz-no { border: 0; background: none; color: #6a1a8a; font: inherit; font-weight: 700; cursor: pointer; padding: 10px 8px; }
.vz-sys { align-self: center; font-size: 12px; color: #8a2a1f; }
.vz-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 12px 8px; } .vz-chip { border: 1.5px solid #d9c7e8; background: #fff; color: #4a2a5c; border-radius: 99px; padding: 9px 14px; font: inherit; font-size: 14px; cursor: pointer; } .vz-chip.dan { border-color: #2f8f55; color: #14502b; background: #f0faf3; }
.vz-bar { background: #fff; border-top: 1px solid #ebe4f2; padding: 8px 10px 6px; } .vz-in { display: flex; gap: 8px; align-items: center; }
.vz-in input[type=text] { flex: 1; min-width: 0; height: 44px; border: 1.5px solid #d9c7e8; border-radius: 22px; padding: 0 16px; font: inherit; font-size: 16px; background: #faf8fc; }
.vz-send { width: 44px; height: 44px; border: 0; border-radius: 50%; background: linear-gradient(135deg, #6f0aa6, #b05ae6); color: #fff; font-size: 18px; cursor: pointer; } .vz-send[disabled], .vz-in input[disabled] { opacity: .55; }
.vz-foot { text-align: center; font-size: 11px; color: #8b7a99; padding: 6px 4px 2px; }
.vz-prev { position: relative; display: inline-block; margin: 0 0 8px 4px; } .vz-prev img { height: 70px; border-radius: 10px; display: block; } .vz-prev button { position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; border: 0; border-radius: 50%; background: #2d0845; color: #fff; cursor: pointer; }
.vz-ask { margin-top: 6px; } .gv-ai { font-size: 18px; }
.ec-wrap { max-width: 720px; margin: 0 auto; padding: 12px; } .ec-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; } .ec-head > div { flex: 1; } .ec-head b { display: block; font-size: 18px; color: #2d0845; } .ec-head small { color: #655a72; }
.ec-ref { width: 40px; height: 40px; border: 0; border-radius: 12px; background: #f3ecf8; color: #6a1a8a; font-size: 18px; cursor: pointer; }
.ec-chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 10px; } .ec-chip { flex: none; border: 1.5px solid #d9c7e8; background: #fff; color: #4a2a5c; border-radius: 99px; padding: 8px 14px; font: inherit; cursor: pointer; } .ec-chip.on { background: #0f766e; border-color: #0f766e; color: #fff; }
.ec-card { background: #fff; border: 1px solid #ebe4f2; border-radius: 16px; padding: 12px 14px; margin-bottom: 10px; } .ec-card p { margin: 6px 0; font-size: 14px; }
.ec-top { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; } .ec-top b { font-size: 16px; color: #21132c; } .ec-top span { color: #0f766e; font-weight: 700; font-size: 13px; }
.ec-ozel { display: inline-block; margin-top: 4px; padding: 2px 10px; border-radius: 99px; background: #fff3d6; color: #8a5a00; font-size: 12px; font-weight: 700; } .ec-tarif { color: #655a72; } .ec-saat { color: #0f766e; font-weight: 600; }
.ec-act { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; } .ec-btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border: 0; border-radius: 12px; background: #0f766e; color: #fff; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; } .ec-btn.alt { background: #f3ecf8; color: #4a2a5c; }
.ec-not { font-size: 12px; color: #8b7a99; text-align: center; margin: 12px 0 24px; }

/* hareketli Vizzi maskotu */
#vz-fab { width: 88px; height: 88px; background: none; box-shadow: none; right: 8px; bottom: 10px; -webkit-tap-highlight-color: transparent; }
#vz-fab .vz-av.big { width: 88px; height: 88px; border-radius: 0; background-color: transparent; filter: drop-shadow(0 8px 10px rgba(45, 8, 69, .35)); animation: lg-bob 3.4s ease-in-out infinite; }
.vz-av.hero { width: 150px; height: 150px; border-radius: 0; background-color: transparent; filter: drop-shadow(0 10px 14px rgba(45, 8, 69, .25)); animation: lg-bob 3.8s ease-in-out infinite; }
.vz-av.mi { width: 30px; height: 30px; border-radius: 0; background-color: transparent; vertical-align: middle; }
.vz-av.mi.tile { width: 42px; height: 42px; filter: drop-shadow(0 3px 4px rgba(20, 0, 40, .3)); }
[data-tab="vizzi"] .vz-av.mi { margin-right: 2px; }
.vz-hero { align-self: center; display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 4px 0 6px; max-width: 94%; }
.vz-hb { background: #fff; border: 1px solid #ebe4f2; border-radius: 18px; padding: 11px 15px; font-size: 15px; line-height: 1.5; color: #21132c; text-align: center; box-shadow: 0 4px 14px rgba(45, 8, 69, .07); position: relative; }
.vz-hb::before { content: ''; position: absolute; top: -7px; left: 50%; margin-left: -7px; width: 14px; height: 14px; background: #fff; border-left: 1px solid #ebe4f2; border-top: 1px solid #ebe4f2; transform: rotate(45deg); }
.vz-hb p { margin: 0; }
#vz-bub { position: fixed; right: 92px; bottom: 44px; z-index: 41; max-width: min(240px, 62vw); background: #fff; color: #21132c; border: 1px solid #ebe4f2; border-radius: 16px; border-bottom-right-radius: 4px; padding: 9px 13px; font-size: 13.5px; line-height: 1.4; box-shadow: 0 8px 22px rgba(45, 8, 69, .22); cursor: pointer; animation: vzin .25s ease-out; }
#vz-bub[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { #vz-fab .vz-av.big, .vz-av.hero { animation: none; } }

/* menüde Vizzi: büyük maskot simgesi */
[data-tab="vizzi"] .vz-av.mi { width: 34px; height: 34px; margin: -6px 0 -6px -4px; }
[data-tab="vizzi"][aria-selected="true"] .vz-av.mi { background-color: rgba(255,255,255,.92); border-radius: 50%; }

/* ===== kart yenileme (hastane mor kimliği) ===== */
:root { --p900: #2d0845; --p800: #4b0680; --p700: #5a0890; --p600: #6f0aa6; --p500: #8b2bb5; --p400: #a63fdc; --p200: #e3d0f0; --p100: #f3e9f7; --p50: #faf5fd; --sh1: 0 10px 28px rgba(75, 6, 128, .11); --sh2: 0 4px 14px rgba(75, 6, 128, .08); }
.hm2-hero { position: relative; overflow: hidden; margin-top: 12px; border-radius: 28px; padding: 22px 18px 16px; color: #fff; background: linear-gradient(135deg, #3a0564 0%, #5a0890 42%, #8b2bb5 100%); box-shadow: 0 16px 34px rgba(75, 6, 128, .32); }
.hm2-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(110% 80% at 100% 0%, rgba(255, 255, 255, .20), transparent 60%), radial-gradient(70% 60% at 0% 100%, rgba(166, 63, 220, .5), transparent 70%); }
.hm2-hi { position: relative; max-width: 60%; min-height: 104px; } .hm2-hi small { display: block; font-size: 12.5px; opacity: .8; letter-spacing: .04em; text-transform: uppercase; font-weight: 700; }
.hm2-hi h2 { margin: 4px 0 6px; font-size: 25px; line-height: 1.15; font-weight: 800; color: #fff; text-transform: none; letter-spacing: 0; word-break: break-word; } .hm2-hi p { margin: 0; font-size: 13.5px; line-height: 1.4; opacity: .92; }
.hm2-owl { position: absolute; right: 2px; top: 6px; width: 142px; height: 142px; padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.vz-av.hero2 { display: block; width: 142px; height: 142px; border-radius: 0; background-color: transparent; filter: drop-shadow(0 10px 14px rgba(20, 0, 40, .45)); animation: lg-bob 3.6s ease-in-out infinite; }
.hm2-cta { position: relative; display: flex; gap: 10px; margin-top: 16px; }
.hm2-b1, .hm2-b2 { flex: 1; height: 48px; border-radius: 15px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-size: 14.5px; font-weight: 800; cursor: pointer; border: 0; }
.hm2-b1 { background: #fff; color: var(--p700); box-shadow: 0 6px 16px rgba(20, 0, 40, .22); } .hm2-b1:active, .hm2-b2:active { transform: scale(.98); }
.hm2-b2 { background: rgba(255, 255, 255, .16); color: #fff; border: 1px solid rgba(255, 255, 255, .34); backdrop-filter: blur(6px); } .hm2-b2 .vz-av.mi { width: 28px; height: 28px; margin: -4px 0; }
.hm2-ticket { display: flex; align-items: stretch; margin-top: 14px; background: #fff; border-radius: 22px; box-shadow: var(--sh1); border: 1px solid #efe4f6; overflow: hidden; }
.hm2-date { flex: none; width: 82px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 14px 6px; color: #fff; background: linear-gradient(160deg, #4b0680, #8b2bb5); }
.hm2-date b { font-size: 32px; line-height: 1; font-weight: 800; } .hm2-date span { margin-top: 4px; font-size: 11.5px; font-weight: 700; opacity: .92; } .hm2-date i { margin-top: 5px; font-style: normal; font-size: 10.5px; opacity: .75; }
.hm2-tinfo { flex: 1; min-width: 0; padding: 13px 12px; } .hm2-tinfo b { display: block; font-size: 15.5px; line-height: 1.3; color: #21132c; } .hm2-tinfo .hm-lab { margin-bottom: 4px; }
.hm2-chip { display: inline-block; margin-top: 7px; padding: 3px 11px; border-radius: 99px; background: var(--p100); color: var(--p600); font-size: 12px; font-weight: 700; } .hm2-sub { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.hm2-map { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0 14px; border: 0; border-left: 2px dashed var(--p200); background: var(--p50); color: var(--p600); font: inherit; font-size: 11.5px; font-weight: 800; text-decoration: none; cursor: pointer; }
.hm2-ticket.none { padding: 12px 0 12px 12px; } .hm2-nic { flex: none; width: 48px; height: 48px; margin: auto 0; border-radius: 16px; display: grid; place-items: center; background: var(--p100); color: var(--p600); }
.hm2-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 16px; background: #fff; border-radius: 22px; padding: 14px 4px 12px; box-shadow: var(--sh1); border: 1px solid #efe4f6; }
.hm2-q { background: none; border: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 2px; cursor: pointer; font: inherit; -webkit-tap-highlight-color: transparent; } .hm2-q:active .hm2-qi { transform: scale(.93); }
.hm2-qi { width: 54px; height: 54px; border-radius: 19px; display: grid; place-items: center; color: var(--p600); background: linear-gradient(145deg, var(--p50), #ecdcf7); box-shadow: inset 0 0 0 1px var(--p200); transition: transform .15s; } .hm2-q small { font-size: 11.5px; font-weight: 700; color: #3b1356; text-align: center; line-height: 1.15; }
.hm2-sec { margin: 24px 4px 10px; } .hm2-sec h3 { margin: 0; font-size: 17px; font-weight: 800; color: var(--p900); text-transform: none; letter-spacing: 0; }
.hm2-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.hm2-card { position: relative; overflow: hidden; text-align: left; border: 0; border-radius: 22px; padding: 16px 14px 14px; min-height: 138px; color: #fff; display: flex; flex-direction: column; gap: 3px; cursor: pointer; box-shadow: 0 12px 24px rgba(75, 6, 128, .24); -webkit-tap-highlight-color: transparent; } .hm2-card:active { transform: scale(.975); }
.hm2-card.c1 { background: linear-gradient(145deg, #3d0568, #7a1fb0); } .hm2-card.c2 { background: linear-gradient(145deg, #5a0890, #a63fdc); } .hm2-card.c3 { background: linear-gradient(145deg, #4b0680, #8b2bb5); }
.hm2-card::after { content: ''; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, .28), rgba(255, 255, 255, 0) 70%); }
.hm2-card:last-child:nth-child(odd) { grid-column: 1 / -1; min-height: 104px; }
.hm2-ci { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; background: rgba(255, 255, 255, .2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); } .hm2-card b { margin-top: 10px; font-size: 15.5px; line-height: 1.2; } .hm2-card small { font-size: 12px; opacity: .85; line-height: 1.3; max-width: 82%; }
.hm2-go { position: absolute; right: 12px; bottom: 12px; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .22); display: grid; place-items: center; font-style: normal; }
.hm2-list { background: #fff; border-radius: 22px; border: 1px solid #efe4f6; box-shadow: var(--sh1); overflow: hidden; }
.hm2-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; background: none; border: 0; border-bottom: 1px solid #f3eaf8; text-align: left; cursor: pointer; font: inherit; -webkit-tap-highlight-color: transparent; } .hm2-row:last-child { border-bottom: 0; } .hm2-row:active { background: var(--p50); }
.hm2-row.vz { background: linear-gradient(90deg, #f6ecfc, #fff); } .hm2-ri { flex: none; width: 44px; height: 44px; border-radius: 15px; display: grid; place-items: center; background: var(--p100); color: var(--p600); } .hm2-row.vz .hm2-ri { background: #fff; box-shadow: inset 0 0 0 1px var(--p200); }
.vz-av.mi.row { width: 38px; height: 38px; } .hm2-rt { flex: 1; min-width: 0; } .hm2-rt b { display: block; font-size: 15px; color: #2a1138; } .hm2-rt small { display: block; margin-top: 1px; font-size: 12.3px; color: #7a6a88; } .hm2-rc { flex: none; color: #b79ccb; }
/* iç sayfalardaki kartlar */
.g-top { border-radius: 20px; border-color: #efe4f6; box-shadow: var(--sh2); background: linear-gradient(135deg, #fff, var(--p50)); }
.rc-card, .rv-card, .bg-item, .g-card { border-radius: 20px; border-color: #efe4f6; box-shadow: var(--sh2); }
.rc-card { border-left: 4px solid var(--p500); padding-left: 14px; } .rc-h b { color: var(--p700); } .g-sh h3 { color: var(--p900); font-weight: 800; }
.rv-date { background: linear-gradient(160deg, #4b0680, #8b2bb5) !important; border-radius: 16px; box-shadow: 0 6px 14px rgba(75, 6, 128, .25); } .rv-card.past .rv-date { background: #c9bdd0 !important; box-shadow: none; }
.hm-quick a, .hm-acil { border-radius: 18px; box-shadow: var(--sh2); }

/* ---- v2.9 görünüm: renkli menü simgeleri + kırmızı eczane teması ---- */
.dr-nav button svg { width: 38px; height: 38px; padding: 8px; box-sizing: border-box; border-radius: 12px; color: #fff; background: linear-gradient(135deg, var(--a, #5a0890), var(--b, #a63fdc)); box-shadow: 0 4px 10px color-mix(in srgb, var(--a, #5a0890) 32%, transparent); }
.dr-nav button.on svg { color: #fff; box-shadow: 0 0 0 2px rgba(255, 255, 255, .55); }
.dr-nav button[data-tab="randevularim"] { --a: #6f0aa6; --b: #b05ae6; }
.dr-nav button[data-tab="goruntuler"] { --a: #1d4ed8; --b: #6ea8fe; }
.dr-nav button[data-tab="receteler"] { --a: #a21caf; --b: #e879f9; }
.dr-nav button[data-tab="tahliller"] { --a: #0e7490; --b: #2dc4dc; }
.dr-nav button[data-tab="belgelerim"] { --a: #b45309; --b: #fbbf24; }
.dr-nav button[data-tab="tedavim"] { --a: #0f766e; --b: #5eead4; }
.dr-nav button[data-tab="taleplerim"] { --a: #9a3412; --b: #fdba74; }
.dr-nav button[data-tab="anket"] { --a: #ca8a04; --b: #fde047; }
.dr-nav button[data-tab="personel"] { --a: #334155; --b: #64748b; }
.dr-nav button.dr-acil { --a: #b91c1c; --b: #f87171; }
.dr-nav .dr-acil svg { color: #fff; stroke: currentColor; }
.dr-nav button[data-tab="eczane"] svg { background: #fff; color: #a6192e; border: 2px solid #ecc3cb; padding: 5px; box-shadow: 0 4px 10px rgba(166, 25, 46, .25); }
.dr-nav button[data-tab="eczane"].on svg { border-color: #fff; }
.hm-tile[data-t="eczane"] .hm-ic { background: #fff; color: #a6192e; border: 2px solid #ecc3cb; box-shadow: 0 6px 14px rgba(166, 25, 46, .28); }
/* nöbetçi eczane */
.ec-head { padding: 12px 12px 12px 10px; background: linear-gradient(135deg, #fdf3f5, #fff); border: 1px solid #ecc3cb; border-radius: 18px; }
.ec-logo { flex: none; width: 54px; height: 54px; filter: drop-shadow(0 4px 8px rgba(166, 25, 46, .3)); }
.ec-head b { color: #7a0f22; }
.ec-ref { background: #f9e6ea; color: #a6192e; }
.ec-chip { border-color: #ecc3cb; color: #6b2030; } .ec-chip.on { background: #a6192e; border-color: #a6192e; color: #fff; box-shadow: 0 4px 10px rgba(166, 25, 46, .3); }
.ec-card { position: relative; padding-left: 58px; border-left: 4px solid #a6192e; border-radius: 16px; box-shadow: 0 4px 14px rgba(110, 15, 30, .07); }
.ec-mini { position: absolute; left: 12px; top: 12px; width: 34px; height: 34px; }
.ec-top span { color: #a6192e; } .ec-saat { color: #7a0f22; }
.ec-btn { background: #a6192e; box-shadow: 0 4px 10px rgba(166, 25, 46, .28); } .ec-btn.alt { background: #f9e6ea; color: #7a0f22; box-shadow: none; }

/* ======== v3.0 modern sağlık uygulaması katmanı ======== */
body { background: radial-gradient(900px 420px at 100% -80px, rgba(139, 43, 181, .16), transparent 70%), radial-gradient(700px 380px at -10% 30%, rgba(111, 10, 166, .08), transparent 70%), #f8f3fb; background-attachment: fixed; }
/* üst çubuk: gradyan + yumuşak alt köşe */
.top { background: linear-gradient(120deg, #4b0680 0%, #6f0aa6 55%, #8b2bb5 100%); border-radius: 0 0 24px 24px; box-shadow: 0 10px 28px rgba(75, 6, 128, .28); }
.app-bar { padding-bottom: 10px; }
.menu-btn { background: rgba(255, 255, 255, .18); backdrop-filter: blur(6px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.app-bar #bar-title { font-size: 17px; font-weight: 700; letter-spacing: .01em; padding-left: 12px; margin-left: 4px; border-left: 1px solid rgba(255, 255, 255, .3); }
.bu-av { background: linear-gradient(135deg, #fff, #f1e3fa); box-shadow: 0 2px 8px rgba(20, 0, 40, .25); }

/* ana sayfa: iki sütun (yatay tablet), tek sütun (dikey/telefon) */
.hm3 { display: grid; grid-template-columns: 1fr; gap: 0 28px; align-items: start; }
.hm3-l, .hm3-r, .hm3-c { min-width: 0; }
@media (min-width: 900px) {
  #goruntu-app .g-wrap:has(.hm3), .g-wrap:has(.hm3) { max-width: 1480px; }
  .hm3 { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); grid-template-areas: "l r" "c r"; }
  .hm3-l { grid-area: l; } .hm3-r { grid-area: r; } .hm3-c { grid-area: c; }
  .hm3-r > .hm2-sec:first-child { margin-top: 12px; }
  .hm2-hero { padding: 30px 28px 22px; border-radius: 32px; }
  .hm2-hi h2 { font-size: 34px; } .hm2-hi p { font-size: 15.5px; } .hm2-owl { width: 190px; height: 190px; right: 12px; top: 8px; }
  .hm2-b1, .hm2-b2 { height: 56px; font-size: 16px; border-radius: 17px; }
  .hm2-qi { width: 64px; height: 64px; border-radius: 22px; }
}
/* renkli hızlı erişim */
.hm2-qi { background: linear-gradient(145deg, var(--a, #6f0aa6), var(--b, #b05ae6)); color: #fff; box-shadow: 0 8px 18px color-mix(in srgb, var(--a, #6f0aa6) 35%, transparent); }
.hm2-q small { font-weight: 700; }
.hm2-quick { border-radius: 24px; padding: 18px 6px 14px; }
/* Sağlığım kartları: her kartın kendi rengi */
.hm2-card.c1, .hm2-card.c2, .hm2-card.c3 { background: linear-gradient(145deg, var(--a, #5a0890), var(--b, #a63fdc)); box-shadow: 0 14px 26px color-mix(in srgb, var(--a, #5a0890) 30%, transparent); }
.hm2-card { min-height: 150px; border-radius: 24px; }
.hm2-card::after { width: 140px; height: 140px; right: -34px; top: -34px; }
/* Hastane listesi: renkli rozetler */
.hm2-row .hm2-ri { background: color-mix(in srgb, var(--a, #6f0aa6) 11%, #fff); color: var(--a, #6f0aa6); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--a, #6f0aa6) 18%, transparent); }
.hm2-row[data-t="eczane"] .hm2-ri { background: #fdecef; color: #a6192e; box-shadow: inset 0 0 0 1.5px #ecc3cb; }
.hm2-row:active { background: #faf3fd; }
.hm2-list, .hm2-ticket, .hm2-quick { border-color: #ede1f5; }
.hm2-sec h3 { font-size: 19px; display: flex; align-items: center; gap: 10px; } .hm2-sec h3::before { content: ''; width: 5px; height: 20px; border-radius: 4px; background: linear-gradient(#6f0aa6, #b05ae6); }
/* iç sayfalar: kartlara daha yumuşak yüzey */
.g-card, .k-card, .rx-card { border-radius: 22px; box-shadow: 0 8px 24px rgba(75, 6, 128, .08); border: 1px solid #efe4f6; }
.g-wrap { max-width: 1180px; }
/* çekmece: daha derli toplu */
.drawer { border-radius: 0 28px 28px 0; }
.dr-head { background: linear-gradient(135deg, #4b0680, #6f0aa6 60%, #8b2bb5); border-radius: 0 28px 0 0; }
.dr-nav { gap: 2px; } .dr-nav button { padding: 10px 14px; font-size: 15.5px; }
.dr-nav button.on { background: linear-gradient(135deg, #5a0890, #8b2bb5); box-shadow: 0 8px 18px rgba(90, 8, 144, .3); }
.dr-sep { letter-spacing: .08em; }
[data-tab="vizzi"] .vz-av.mi { margin: -4px 0 -4px -2px; }

/* ======== v3.1 kutucuk (kart ızgarası) tasarımı ======== */
.hm3 { display: block; }
.hm3-top { display: block; }
.hm3-tk .hm2-ticket { margin-top: 14px; }
@media (min-width: 900px) {
  .hm3 { display: block; grid-template-columns: none; grid-template-areas: none; }
  .hm3-top { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
  .hm3-top .hm2-hero { margin-top: 12px; }
  .hm3-tk { margin-top: 12px; display: flex; flex-direction: column; gap: 14px; }
  .hm3-tk .hm2-ticket { margin-top: 0; flex: 1; }
  .hm2-sec { margin: 28px 4px 12px; }
}
.hm4-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 700px) { .hm4-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 1000px) { .hm4-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.hm4-t { position: relative; overflow: hidden; text-align: left; font: inherit; cursor: pointer; display: flex; flex-direction: column; gap: 2px; min-height: 152px; padding: 16px 14px 14px; background: #fff; border: 1px solid #ede1f5; border-radius: 26px; box-shadow: 0 8px 22px rgba(75, 6, 128, .08); -webkit-tap-highlight-color: transparent; transition: transform .15s, box-shadow .15s; }
.hm4-t::before { content: ''; position: absolute; right: -38px; bottom: -38px; width: 128px; height: 128px; border-radius: 50%; background: radial-gradient(circle at 40% 40%, color-mix(in srgb, var(--a) 16%, transparent), transparent 70%); pointer-events: none; }
.hm4-t:active { transform: scale(.97); box-shadow: 0 4px 12px rgba(75, 6, 128, .1); }
.hm4-ic { width: 58px; height: 58px; margin-bottom: 12px; border-radius: 20px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, var(--a), var(--b)); box-shadow: 0 10px 18px color-mix(in srgb, var(--a) 34%, transparent); }
.hm4-t b { font-size: 16px; line-height: 1.2; color: #2a1138; }
.hm4-t small { font-size: 12.5px; line-height: 1.3; color: #7a6a88; }
.hm4-go { position: absolute; right: 12px; top: 14px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-style: normal; background: color-mix(in srgb, var(--a) 10%, #fff); color: var(--a); }
.hm4-t.vz .hm4-ic { background: linear-gradient(145deg, #f6ecfc, #e8d3f6); box-shadow: 0 10px 18px rgba(111, 10, 166, .18); }
.hm4-t.vz .vz-av.mi.tile { width: 50px; height: 50px; filter: drop-shadow(0 3px 4px rgba(20, 0, 40, .25)); }
@media (min-width: 900px) { .hm4-t { min-height: 168px; padding: 20px 18px 16px; } .hm4-ic { width: 64px; height: 64px; border-radius: 22px; } .hm4-t b { font-size: 17px; } }
.hm2-ticket.none { align-items: center; padding: 14px 0 14px 14px; } .hm2-ticket.none .hm2-tinfo { align-self: center; }
.hm3-c { margin-top: 18px; } .hm4-t { text-decoration: none; }

/* ======== v3.3 hasta portalı (hazır tasarım: Vizyon-Mobil-Detay) ======== */
.pt { display: block; }
.pt-banner { display: block; width: 100%; height: auto; margin-top: 12px; border-radius: 26px; box-shadow: 0 14px 30px rgba(75, 6, 128, .28); }
.pt-hi { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 14px 4px 4px; }
.pt-hi small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #8a6aa0; }
.pt-hi b { font-size: 22px; color: #2d0845; }
.pt-vz { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px 0 8px; border: 1.5px solid #d9c3ee; border-radius: 99px; background: #fff; color: #5a0890; font: inherit; font-weight: 800; font-size: 14px; cursor: pointer; box-shadow: 0 4px 12px rgba(75, 6, 128, .1); }
.pt-vz .vz-av.mi { width: 32px; height: 32px; margin: 0; }
.pt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.pt-card { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px 10px 10px; text-align: left; font: inherit; cursor: pointer; color: #3a0f5c; background: linear-gradient(90deg, #fff 0%, #f1e8fa 100%); border: 1.5px solid #d9c3ee; border-radius: 22px; box-shadow: 0 6px 16px rgba(75, 6, 128, .08); -webkit-tap-highlight-color: transparent; transition: transform .12s, filter .12s; }
.pt-card:active { transform: scale(.98); filter: brightness(.96); }
.pt-ico { flex: none; width: 64px; height: 64px; border-radius: 18px; background: #fff; display: grid; place-items: center; overflow: hidden; box-shadow: inset 0 0 0 1px #efe4f6; }
.pt-ico img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pt-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pt-tx b { font-size: 16.5px; line-height: 1.2; font-weight: 800; color: #3a0f5c; }
.pt-tx small { font-size: 12.5px; line-height: 1.3; color: #6b5a7c; }
.pt-chev { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #e5d3f3; color: #5a0890; }
.pt-big { margin-top: 12px; padding: 14px 18px 14px 14px; border-radius: 28px; background: linear-gradient(90deg, #fff 0%, #ead9f8 100%); border-color: #cbaee6; box-shadow: 0 12px 26px rgba(111, 10, 166, .16); }
.pt-big .pt-ico { width: 92px; height: 92px; border-radius: 24px; }
.pt-big .pt-tx b { font-size: 26px; } .pt-big .pt-tx small { font-size: 16px; }
.pt-chev.big { width: 48px; height: 48px; background: #6f0aa6; color: #fff; box-shadow: 0 6px 14px rgba(111, 10, 166, .35); }
.pt-minis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 700px) { .pt-minis { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; } }
.pt-mini { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 6px 12px; text-align: center; text-decoration: none; font: inherit; cursor: pointer; background: #fff; border: 1.5px solid #e6d8f2; border-radius: 22px; box-shadow: 0 6px 16px rgba(75, 6, 128, .07); }
.pt-mini:active { transform: scale(.97); }
.pt-mi { width: 52px; height: 52px; border-radius: 18px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, var(--a), var(--b)); box-shadow: 0 8px 16px color-mix(in srgb, var(--a) 32%, transparent); }
.pt-mini b { font-size: 14px; color: #2a1138; }
.pt-mini .vz-av.mi.tile { width: 44px; height: 44px; } .pt-mini:has(.vz-av) .pt-mi { background: linear-gradient(145deg, #f6ecfc, #e8d3f6); }
@media (min-width: 900px) {
  .pt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 24px; align-items: start; }
  .pt-grid { margin-top: 12px; gap: 12px; }
  .pt-card { padding: 12px 14px 12px 12px; } .pt-ico { width: 72px; height: 72px; } .pt-tx b { font-size: 17.5px; } .pt-tx small { font-size: 13px; }
}
@media (max-width: 380px) { .pt-grid { grid-template-columns: 1fr; } }

/* ======== v3.4 Hızlı erişim kartları (lavanta, büyük 3D simge) ======== */
.qa-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .qa-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } .qa-acil { grid-column: 1 / -1; } }
.qa { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; min-height: 104px; padding: 10px 16px 10px 12px; text-align: left; text-decoration: none; font: inherit; cursor: pointer; color: #2d0845; background: linear-gradient(135deg, #fbf8ff 0%, #ede4fb 100%); border: 1px solid rgba(255, 255, 255, .9); border-radius: 28px; box-shadow: 0 10px 24px rgba(111, 70, 170, .16), inset 0 2px 3px rgba(255, 255, 255, .95), inset 0 -3px 6px rgba(160, 130, 215, .12); -webkit-tap-highlight-color: transparent; transition: transform .12s; }
.qa:active { transform: scale(.98); }
.qa-acil { background: linear-gradient(135deg, #fff6f8 0%, #fbe4ea 100%); box-shadow: 0 10px 24px rgba(200, 70, 100, .15), inset 0 2px 3px rgba(255, 255, 255, .95), inset 0 -3px 6px rgba(230, 110, 140, .1); }
.qa-ic { flex: none; width: 88px; height: 88px; display: grid; place-items: center; }
.qa-ic img { width: 100%; height: 100%; object-fit: contain; display: block; filter: drop-shadow(0 6px 8px rgba(70, 20, 120, .16)); }
.qa-ic .vz-av.mi.tile { width: 76px; height: 76px; }
.qa-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.qa-tx b { font-size: 21px; line-height: 1.15; font-weight: 800; color: #31084d; letter-spacing: -.01em; }
.qa-tx small { font-size: 14px; line-height: 1.3; color: #5a4670; }
.qa-ch { flex: none; color: #4b2070; display: grid; place-items: center; }
@media (min-width: 900px) { .qa { min-height: 118px; } .qa-ic { width: 100px; height: 100px; } .qa-tx b { font-size: 23px; } }

/* ======== v3.4 açılır menü (Hasta Portalı menüsü tasarımı) ======== */
.drawer { width: min(372px, 88vw); background: #fff; }
.dr-head2 { position: relative; flex: none; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: calc(18px + env(safe-area-inset-top)) 16px 18px 20px; color: #fff; background: linear-gradient(90deg, #4b0680 0%, #4b0680 38%, rgba(75, 6, 128, 0) 78%), url(img/portal-art.webp) right center / auto 100% no-repeat, #5a0890; border-radius: 0 28px 0 0; }
.dr-ht { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.dr-ht b { font-size: 22px; line-height: 1.15; font-weight: 800; letter-spacing: -.01em; }
.dr-ht span { font-size: 16px; opacity: .92; }
.dr-head2 .dr-close { flex: none; width: 40px; height: 40px; background: transparent; color: #fff; }
.dr-nav2 { padding: 14px 14px 10px; gap: 2px; }
.dr-nav2 button { gap: 14px; }
.dr-nav2 .dr-ic { flex: none; width: 46px; height: 46px; object-fit: contain; display: block; border-radius: 12px; }
.dr-cta { display: flex; align-items: center; justify-content: center; gap: 14px; width: 100%; margin-bottom: 10px; padding: 8px 14px !important; border: 0; border-radius: 22px !important; color: #fff !important; font-size: 22px !important; font-weight: 800 !important; background: linear-gradient(90deg, #5a0890 0%, #7e1fb6 100%) !important; box-shadow: 0 10px 22px rgba(90, 8, 144, .32) !important; }
.dr-cta .dr-ic { width: 54px; height: 54px; background: transparent; filter: drop-shadow(0 3px 4px rgba(20, 0, 40, .3)); }
.dr-cta span { text-align: left; }
.dr-nav2 .dr-it { padding: 6px 12px 6px 8px; font-size: 17px; font-weight: 700; color: #2d0845; border-radius: 18px; background: transparent; }
.dr-nav2 .dr-it span { flex: 1; text-align: left; }
.dr-nav2 .dr-it:active { background: #f3ecfb; }
.dr-nav2 .dr-it.on { background: linear-gradient(90deg, #e6dafa, #efe7fc); color: #3a0f5c; box-shadow: inset 0 0 0 1px #d9c9f3; }
.dr-nav2 .dr-it.dr-home { padding: 8px 12px 8px 8px; margin-bottom: 4px; background: #f0e9fc; }
.dr-nav2 .dr-it.dr-home.on { background: linear-gradient(90deg, #e2d5f8, #ece3fb); }
.dr-nav2 .dr-it.dr-acil { color: #b3203d; }
.dr-nav2 .dr-it .vz-av.mi.dr-vz { flex: none; width: 46px; height: 46px; margin: 0; }
.dr-nav2 .dr-sep { display: flex; align-items: center; gap: 12px; margin: 14px 2px 6px; padding: 0 6px; font-size: 16px; font-weight: 700; letter-spacing: 0; text-transform: none; color: #7a3fb0; }
.dr-nav2 .dr-sep::after { content: ''; flex: 1; height: 1.5px; background: linear-gradient(90deg, #cdb4ec, rgba(205, 180, 236, 0)); }
.dr-nav2 .dr-sep small { display: none; }
.dr-nav2 button#dr-tab-p svg { width: 46px; height: 46px; padding: 11px; }
.qa { box-sizing: border-box; } .qa-acil { min-height: 128px; } .qa-acil .qa-ic { width: 104px; height: 104px; }

/* ======== v3.5 tüm sayfalar: ortak yeni tasarım ======== */
/* Hızlı erişim: 5'li yan yana */
.qa-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .qa-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; } .qa-acil { grid-column: auto; } }
.qa, .qa-acil { flex-direction: column; justify-content: flex-start; text-align: center; gap: 6px; min-height: 0; padding: 16px 8px 14px; border-radius: 26px; }
.qa-ic, .qa-acil .qa-ic { width: 84px; height: 84px; }
.qa-ic .vz-av.mi.tile { width: 72px; height: 72px; }
.qa-tx { align-items: center; gap: 2px; }
.qa-tx b { font-size: 16px; } .qa-tx small { font-size: 12.5px; }
.qa-ch { display: none; }
@media (max-width: 639px) { .qa-ic, .qa-acil .qa-ic { width: 64px; height: 64px; } .qa-tx b { font-size: 14px; } .qa-tx small { display: none; } .qa-ic .vz-av.mi.tile { width: 56px; height: 56px; } }

/* sayfa başlığı (banner) */
.pg-head { width: calc(100% - 32px); max-width: 1148px; margin: 14px auto 0; }
.pg-in { display: flex; align-items: center; gap: 18px; padding: 16px 22px 16px 16px; color: #fff; border-radius: 28px; background: linear-gradient(90deg, #4b0680 0%, #5a0890 42%, rgba(90, 8, 144, 0) 82%), url(img/portal-art.webp) right center / auto 100% no-repeat, #5a0890; box-shadow: 0 14px 30px rgba(75, 6, 128, .26); }
.pg-in.red { background: linear-gradient(90deg, #8c1230 0%, #b3203d 45%, rgba(179, 32, 61, 0) 85%), url(img/portal-art.webp) right center / auto 100% no-repeat, #b3203d; box-shadow: 0 14px 30px rgba(160, 25, 55, .28); }
.pg-ic { flex: none; width: 84px; height: 84px; border-radius: 24px; background: #fff; display: grid; place-items: center; overflow: hidden; box-shadow: 0 8px 18px rgba(20, 0, 40, .25); }
.pg-ic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pg-tx b { display: block; font-size: 28px; line-height: 1.15; font-weight: 800; letter-spacing: -.01em; }
.pg-tx small { display: block; margin-top: 4px; font-size: 15px; opacity: .92; }
@media (max-width: 640px) { .pg-in { gap: 12px; padding: 12px 14px 12px 12px; border-radius: 22px; } .pg-ic { width: 60px; height: 60px; border-radius: 18px; } .pg-tx b { font-size: 21px; } .pg-tx small { font-size: 13px; } }
#rehber-app, #acil-app { max-width: 1148px; padding-left: 16px; padding-right: 16px; }
.g-wrap { padding-top: 12px; }

/* ortak kartlar: lavanta, yumuşak kenar, 3D his */
.g-card, .rc-card, .rv-card, .bg-item, .an-q, .rh-acc, .k-card, .g-top, .ec-card, .ac-item {
  background: linear-gradient(135deg, #fff 0%, #f6effd 100%); border: 1.5px solid #dcc9ef; border-radius: 24px;
  box-shadow: 0 8px 20px rgba(75, 6, 128, .08), inset 0 2px 3px rgba(255, 255, 255, .9);
}
.g-card { max-width: 820px; padding: 26px; }
.g-top { padding: 12px 16px !important; border-radius: 22px !important; background: linear-gradient(90deg, #fff, #f1e8fa); }
.g-top b { color: #3a0f5c; }
.g-out { border-color: #d9c3ee; border-radius: 14px; background: #fff; box-shadow: 0 3px 8px rgba(75, 6, 128, .08); }
.g-go, .k-btn.pri, .rc-pdf { border-radius: 18px; background: linear-gradient(90deg, #5a0890, #7e1fb6); box-shadow: 0 10px 20px rgba(90, 8, 144, .28); }
.g-sh h3 { display: flex; align-items: center; gap: 10px; font-size: 19px; }
.g-sh h3::before { content: ''; width: 5px; height: 20px; border-radius: 4px; background: linear-gradient(#6f0aa6, #b05ae6); }
.rc-card { border-left: 1.5px solid #dcc9ef; border-left-width: 6px; border-left-color: #8b2bb5; }
.rv-card { padding: 14px 16px; }
.rv-date { background: linear-gradient(145deg, #5a0890, #a63fdc) !important; color: #fff; box-shadow: 0 6px 14px rgba(90, 8, 144, .28); }
.rv-card.past .rv-date { background: linear-gradient(145deg, #a99bb8, #c9bdd6) !important; box-shadow: none; }
.rh-acc summary { color: #3a0f5c; font-weight: 800; }
.an-q h3 i { background: linear-gradient(145deg, #5a0890, #a63fdc); color: #fff; }
.k-hero { background: linear-gradient(90deg, #4b0680 0%, #5a0890 50%, rgba(90, 8, 144, .2) 100%), url(img/portal-art.webp) right center / auto 100% no-repeat, #5a0890; border-radius: 28px; box-shadow: 0 14px 30px rgba(75, 6, 128, .26); }
.k-card:active { background: #f1e8fa; }
.k-chip.on, .ec-chip.on { box-shadow: 0 6px 14px rgba(90, 8, 144, .25); }
.ac-hero { border-radius: 28px; background: linear-gradient(140deg, #8c1230, #d12a4a); }
.ac-item { border-left: 6px solid #d12a4a; background: linear-gradient(135deg, #fff, #fdeef2); border-color: #f2cdd6; }
/* boş durum: sayfaya özel 3D simge */
.g-empty::before { content: ''; display: block; width: 96px; height: 96px; margin: 0 auto 12px; background: center / contain no-repeat; filter: drop-shadow(0 8px 10px rgba(70, 20, 120, .18)); }
.g-empty { font-size: 16px; line-height: 1.5; color: #5a4670; }
body[data-tab="randevularim"] .g-empty::before { background-image: url(img/pi-randevularim.webp); }
body[data-tab="receteler"] .g-empty::before { background-image: url(img/pi-recetelerim.webp); }
body[data-tab="tahliller"] .g-empty::before { background-image: url(img/pi-tahlillerim.webp); }
body[data-tab="goruntuler"] .g-empty::before { background-image: url(img/pi-goruntulerim.webp); }
body[data-tab="belgelerim"] .g-empty::before { background-image: url(img/pi-belgelerim.webp); }
body[data-tab="tedavim"] .g-empty::before { background-image: url(img/pi-tedavi-plani.webp); }
body[data-tab="taleplerim"] .g-empty::before { background-image: url(img/pi-belge-takip.webp); }
body[data-tab="anket"] .g-empty::before { background-image: url(img/pi-memnuniyet-anketi.webp); }
body[data-tab="ana"] .g-empty::before, body[data-tab="personel"] .g-empty::before { display: none; }
/* form alanları */
.g-card input, .g-card select, .g-card textarea, .tl-sel, .tl-ta { border-radius: 16px; border: 1.5px solid #d9c3ee; background: #fff; }
.g-card input:focus, .g-card select:focus, .g-card textarea:focus { outline: 0; border-color: #7e1fb6; box-shadow: 0 0 0 4px rgba(111, 10, 166, .12); }
/* v3.5.1 düzeltmeler */
.rc-pdf, .rc-pdf svg, .k-btn.pri { color: #fff !important; }
.rc-pdf { border: 0 !important; font-weight: 800; }
.pg-in { background-color: #5a0890; }
.pg-in::after { content: none; }
.rh-t, .rh-s { display: none; }
.dr-head2 { background-color: #5a0890; }
.pg-in.red { background: linear-gradient(100deg, #8c1230 0%, #c4284a 100%) !important; }

/* v3.7 personel paneli: yeni tasarım */
.pr-card, .pr-top, .rx-item, .tp-item, .pr-stats > *, .pb-card {
  background: linear-gradient(135deg, #fff 0%, #f6effd 100%); border: 1.5px solid #dcc9ef; border-radius: 24px;
  box-shadow: 0 8px 20px rgba(75, 6, 128, .08), inset 0 2px 3px rgba(255, 255, 255, .9);
}
.pr-card { padding: 20px; }
.pr-top { padding: 12px 16px; border-radius: 22px; background: linear-gradient(90deg, #fff, #f1e8fa); }
.pr-top b { color: #3a0f5c; font-size: 17px; }
.pr-rol { background: linear-gradient(145deg, #5a0890, #a63fdc); color: #fff; }
.pr-btn, .pr-mini { border: 1.5px solid #d9c3ee; border-radius: 14px; background: #fff; box-shadow: 0 3px 8px rgba(75, 6, 128, .08); }
.pr-sec, .pr-h4 { display: flex; align-items: center; gap: 10px; color: #4b0680; }
.pr-sec::before, .pr-h4::before { content: ''; width: 5px; height: 18px; border-radius: 4px; background: linear-gradient(#6f0aa6, #b05ae6); flex: none; }
.rx-item { border-left: 6px solid #8b2bb5; }
.rx-card { background: linear-gradient(135deg, #fff, #f6effd); }
.tp-item { padding: 12px 14px; margin-top: 10px; border-top: 1.5px solid #dcc9ef; }
.tp-item:first-of-type { border-top: 1.5px solid #dcc9ef; }
.pr-mini.ok { background: #dff3e6; border-color: #9bd6b0; }
.pr-mod.on { background: #dff3e6; }
body[data-tab="personel"] .g-empty::before { display: none; }
