/* ============================================================
   Faz 6 — Giriş/üyelik, kurumsal sayfalar, ortak pencereler
   Yalnızca görünüm; sekme renklerini JS satır içi verdiği için
   sekmelerde yalnızca biçim değiştirilir.
   ============================================================ */

/* ---------- 1) Giriş ve üyelik ---------- */
body .ss-auth { padding: 14px 12px 40px; }
body .ss-auth > .text-center:first-child { padding: 26px 20px; border-radius: 32px 32px 32px 10px; background: var(--ui-plum-900); color: #fff; }
body .ss-auth > .text-center:first-child h1 { color: #fff; font-size: 30px; line-height: 1.1; }
body .ss-auth > .text-center:first-child p { color: #c3d1e4 !important; font-size: 13.5px; font-weight: 500; }
body .ss-auth > .text-center:first-child img, body .ss-auth > .text-center:first-child > span { border-radius: 24px 24px 24px 8px; color: transparent; }
body .ss-auth > .text-center:first-child > span { color: #fff; }
body .ss-auth form, body .ss-auth > div.rounded-3xl { border-radius: 30px; box-shadow: none; }
body .ss-auth input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not(.bg-transparent),
body .ss-auth select { min-height: 50px; border-radius: 16px; font-size: 16px; }
body .ss-auth div.rounded-xl.border:has(> input.bg-transparent) { min-height: 50px; border-radius: 16px; }
body .ss-auth button[type="submit"], body .ss-auth form button.w-full, body .ss-auth a.w-full { min-height: 52px; border-radius: 999px; font-size: 14.5px; }
body .ss-auth div:has(> #tabLogin) { gap: 4px; padding: 5px; border-radius: 999px; }
body #tabLogin, body #tabRegister { min-height: 44px; border-radius: 999px; }
body .ss-auth label.rounded-xl, body .ss-auth .ss-avatar-choice { border-radius: 18px 18px 18px 6px; }

/* ---------- 2) Kurumsal sayfalar ---------- */
body .ss-legal { max-width: 860px; padding-top: 16px; padding-right: 12px; padding-left: 12px; }
body .ss-legal h1 { font-size: clamp(29px, 7vw, 46px); font-weight: 800; line-height: 1.06; letter-spacing: -.025em; text-wrap: balance; }
body .ss-legal h2 { font-size: 19px; }
body .ss-legal p, body .ss-legal li { overflow-wrap: anywhere; }
body .ss-legal .rounded-2xl, body .ss-legal .rounded-3xl, body .ss-legal .ss-card { border-radius: 26px 26px 26px 10px; box-shadow: none; }
body .ss-legal .uppercase { text-transform: none; letter-spacing: 0; font-size: 12.5px; }
body .ss-legal-nav { flex-wrap: nowrap; margin-right: -12px; padding-right: 12px; overflow-x: auto; scrollbar-width: none; }
body .ss-legal-nav::-webkit-scrollbar { display: none; }
body .ss-legal-nav a { flex: none; min-height: 40px; border-radius: 999px; }
body .ss-legal-nav a[aria-current="page"] { border-color: var(--ui-plum-900); background: var(--ui-plum-900); color: #fff; }
html[data-ss-mode='dark'] body .ss-legal-nav a[aria-current="page"] { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
body .ss-profile-legal .ss-legal-nav { margin-right: 0; padding-right: 0; }
body .ss-btn { min-height: 48px; border-radius: 999px; }
body .ss-steps li::before { border-radius: 10px 10px 10px 3px; }

/* ---------- 3) Ortak pencereler ve bildirimler ---------- */
body .fixed > .rounded-t-3xl { border-radius: 30px 30px 0 0; }
@media (min-width: 640px) { body .fixed > .rounded-t-3xl { border-radius: 30px; } }
body .fixed > .rounded-t-3xl input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
body .fixed > .rounded-t-3xl select, body .fixed > .rounded-t-3xl textarea { border-radius: 16px; }
body .fixed > .rounded-t-3xl button.rounded-xl, body .fixed > .rounded-t-3xl a.rounded-xl { border-radius: 999px; }
body #ssGlobalNotifReadAll, body #ssGlobalNotifClearAll { border-radius: 999px; }
@media (max-width: 400px) {
  body #ssLiveNotifModal > .rounded-t-3xl > div:first-child { flex-wrap: wrap; gap: 8px; }
}
body #ssDeleteAccountModal a[href^="mailto:"] { background: var(--accent) !important; color: var(--accent-ink) !important; }

/* ---------- 4) Satır içi kalmış eski lacivert tonlar ---------- */
body [style*="linear-gradient(135deg, #0f172a"], body [style*="linear-gradient(135deg,#0f172a"],
body [style*="linear-gradient(45deg,#0f172a"], body [style*="linear-gradient(45deg, #0f172a"] { background: linear-gradient(135deg, #15355f, #031732) !important; }

/* Keşfet'ten açılan etiket sayfası geri bağlantısı */
body .ss-explore-back { display: inline-flex; min-height: 40px; align-items: center; gap: 6px; margin-bottom: 10px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font-weight: 600; }

/* ---------- 5) Logo lacivert + amber: koyu zeminlerde seçili öğeler ---------- */
body .ss-mobile-nav .neon-nav-btn.is-active { background: #fcb140 !important; }
body .ss-mobile-nav .neon-nav-btn.is-active .neon-nav-content { color: #031732 !important; }
body .ss-side-link.is-current, body .ss-side-link.is-current > span { background: #fcb140; color: #031732; }
body .ss-mobile-nav [data-dm-badge], body .ss-site-header [data-dm-badge], body .ss-site-header [data-nt-badge], body .ss-menu-badge, body [data-general-badge], body #ssUnseenBadge { background: #e5383b !important; color: #fff !important; }
body #ssStoriesBar .story-item:not([data-seen="1"]) .ss-ig-ring:not(.is-seen),
body .ss-main-avatar-ring:not(.no-story):not(.is-seen)::before,
body .ss-emlak-avatar-ring:not(.is-seen) { background: conic-gradient(from 200deg, #fcb140, #ffd083, #1c4a86, #031732, #fcb140); }
body [data-vheart][style*="var(--accent)"], body article[data-complaint] [data-interact="like"] [data-social-icon][fill="var(--accent)"] { fill: #e5383b !important; stroke: #e5383b !important; }
html[data-ss-mode='dark'] body :is(.ss-explore-wrap > .ss-explore-head:first-child, .ss-duty-heading, #emlakApp > section[aria-label="Emlak profili"], .ss-auth > .text-center:first-child, .ss-home-sidebar-left .ss-side-panel:first-child, #openGeneralChat, #dmHead) { box-shadow: inset 0 0 0 1px #1d3253; }

/* ---------- 6) Arama, engellenenler, kendi mesajını silme ---------- */
body .ss-simple-page { width: 100%; max-width: 640px; margin: 0 auto; padding: 16px 14px 40px; }
body .ss-simple-page h1 { font-size: 28px; font-weight: 800; }
body .ss-simple-page h2 { margin: 22px 0 8px; font-size: 17px; font-weight: 800; }
body .ss-simple-note { margin: 4px 0 14px; color: var(--muted); font-size: 13px; }
body .ss-search-form { display: flex; gap: 8px; margin-top: 12px; }
body .ss-search-form input { flex: 1; min-width: 0; min-height: 48px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink); font-size: 16px; }
body .ss-search-form button { min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 14px; font-weight: 700; }
body .ss-list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
body .ss-list-row { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); color: var(--ink); }
body .ss-list-copy { display: flex; flex: 1; flex-direction: column; min-width: 0; }
body .ss-list-copy strong { overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
body .ss-list-copy small { overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
body .ss-empty-box { margin: 14px 0; padding: 18px; border: 1px dashed var(--line); border-radius: 18px; background: var(--card); color: var(--muted); font-size: 13.5px; text-align: center; }
body .ss-empty-box a { color: var(--ss-link); font-weight: 700; text-decoration: underline; }
body .ss-pill-btn { flex: none; min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink); font-size: 12.5px; font-weight: 700; }
body .ss-pill-btn.is-danger { color: #c8233c; }
html[data-ss-mode='dark'] body .ss-pill-btn.is-danger { color: #ff8a8a; }
body .ss-block-row { display: flex; justify-content: center; margin-top: 14px; }
body .ss-own-delete { min-height: 26px; padding: 0 8px; background: transparent; color: #c8233c; font-size: 11px; font-weight: 700; }
html[data-ss-mode='dark'] body .ss-own-delete { color: #ff8a8a; }
body #dmMsgs [data-dm-message].justify-end > div > .ss-own-delete { display: block; margin-left: auto; }
