/* ==========================================================================
   JundaSoft Unified Login — Tek Tip Simsiyah Giriş Ekranı
   JundaHub • J Mail • J Chat • J Pass • J Meet • J Me
   Üst: Marka + Uygulama | Sol: Giriş/Kayıt + Google | Sağ: QR | Alt: Yasal Onay
   Tema bağımsızdır: açık temada da giriş ekranı her zaman siyahtır.
   ========================================================================== */

/* Ev sahibi giriş ekranlarını simsiyaha sabitle */
html #auth-screen,
html.light #auth-screen,
html .auth-screen,
html.light .auth-screen {
  background: #000 !important;
  background-image: none !important;
  align-items: safe center !important;
  overflow-y: auto !important;
  padding: 24px 14px !important;
}

#hub-auth-guest {
  background: #000;
  border-radius: 22px;
}

.j-uauth-host {
  max-width: 920px !important;
}

.j-uauth-stage {
  --ua-bg: #000;
  --ua-card: #0a0a0c;
  --ua-panel: #111114;
  --ua-line: rgba(255, 255, 255, 0.08);
  --ua-line-2: rgba(255, 255, 255, 0.14);
  --ua-text: #f4f4f6;
  --ua-muted: #8b8b95;
  --ua-faint: #5c5c66;
  --ua-accent: #9040ff;
  --ua-accent-2: #a866ff;
  width: 100%;
  background: var(--ua-bg);
  color: var(--ua-text);
  color-scheme: dark;
  font-family: 'Plus Jakarta Sans', 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  box-sizing: border-box;
}

.j-uauth-stage *,
.j-uauth-stage *::before,
.j-uauth-stage *::after {
  box-sizing: border-box;
}

.j-uauth-card {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  background: var(--ua-card);
  border: 1px solid var(--ua-line);
  border-radius: 28px;
  padding: 34px 34px 22px;
  box-shadow: 0 40px 120px rgba(144, 64, 255, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  color: var(--ua-text);
  position: relative;
  overflow: hidden;
  animation: uaRise 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.j-uauth-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  width: 60%;
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(168, 102, 255, 0.7), transparent);
}

@keyframes uaRise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── ÜST: Marka + Uygulama + Kısa Açıklama ── */
.j-uauth-hero {
  text-align: center;
  margin-bottom: 26px;
}

.j-uauth-brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px 5px 8px;
  border-radius: 999px;
  border: 1px solid var(--ua-line);
  background: rgba(255, 255, 255, 0.02);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #d4d4da;
  margin-bottom: 18px;
}

.j-uauth-brand svg {
  width: 16px;
  height: 16px;
  display: block;
}

.j-uauth-brand b {
  color: var(--ua-accent-2);
  font-weight: 800;
}

.j-uauth-app {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.j-uauth-logo {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
  background: #17171b;
  border: 1px solid rgba(144, 64, 255, 0.35);
  box-shadow: 0 10px 30px rgba(144, 64, 255, 0.22);
}

.j-uauth-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.j-uauth-app h2 {
  margin: 0;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1;
  color: #fff;
}

.j-uauth-app h2 span {
  color: var(--ua-accent-2);
}

.j-uauth-tagline {
  margin: 12px auto 0;
  max-width: 440px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ua-muted);
}

/* ── ORTA: Sol giriş / Sağ QR ── */
.j-uauth-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: stretch;
}

.j-uauth-col-left {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.j-uauth-col-right {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: var(--ua-panel);
  border: 1px solid var(--ua-line);
  border-radius: 22px;
  padding: 22px 18px;
  position: relative;
}

.j-uauth-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  background: var(--ua-panel);
  border: 1px solid var(--ua-line);
  padding: 4px;
  border-radius: 14px;
  margin-bottom: 16px;
}

.j-uauth-tab {
  border: none;
  background: transparent;
  color: var(--ua-muted);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 6px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.18s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-family: inherit;
}

.j-uauth-tab:hover { color: #fff; }

.j-uauth-tab.active {
  background: #fff;
  color: #000;
}

.j-uauth-field {
  margin-bottom: 12px;
  text-align: left;
}

.j-uauth-field label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ua-muted);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.j-uauth-inp {
  width: 100%;
  padding: 12px 14px;
  border-radius: 13px;
  border: 1px solid var(--ua-line-2);
  background: #050506;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.j-uauth-inp::placeholder { color: var(--ua-faint); }

.j-uauth-inp:focus {
  border-color: var(--ua-accent);
  box-shadow: 0 0 0 4px rgba(144, 64, 255, 0.16);
}

.j-uauth-btn-primary {
  width: 100%;
  padding: 13px 16px;
  border-radius: 13px;
  border: none;
  background: linear-gradient(135deg, #9040ff, #7a2cf0);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 10px 28px rgba(144, 64, 255, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  margin-top: 6px;
}

.j-uauth-btn-primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 14px 34px rgba(144, 64, 255, 0.42);
}

.j-uauth-btn-primary:active { transform: scale(0.99); }

.j-uauth-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 12px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ua-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.j-uauth-divider::before,
.j-uauth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--ua-line);
}

.j-uauth-oauth-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.j-uauth-oauth-btn {
  width: 100%;
  padding: 12px 14px;
  border-radius: 13px;
  border: 1px solid var(--ua-line-2);
  background: #050506;
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.j-uauth-oauth-btn:hover {
  background: #121216;
  border-color: rgba(255, 255, 255, 0.24);
}

.j-uauth-link-btn {
  border: none;
  background: transparent;
  color: var(--ua-muted);
  font-size: 12px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 9px;
  transition: color 0.15s ease, background 0.15s ease;
}

.j-uauth-link-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.j-uauth-msg {
  font-size: 12.5px;
  padding: 10px 12px;
  border-radius: 12px;
  margin: 0 0 14px;
  display: none;
  line-height: 1.45;
}

.j-uauth-msg.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.32);
  color: #fca5a5;
}

.j-uauth-msg.ok {
  display: block;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.32);
  color: #6ee7b7;
}

/* ── SAĞ: QR ── */
.j-uauth-qr-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(144, 64, 255, 0.12);
  border: 1px solid rgba(144, 64, 255, 0.3);
  color: #c9a8ff;
  font-size: 10.5px;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: 0.08em;
}

.j-uauth-qr-title {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}

.j-uauth-qr-stack {
  position: relative;
  margin: 0 auto 12px;
}

.j-uauth-qr-box {
  text-align: center;
  width: 100%;
}

.j-uauth-qr-frame {
  width: 184px;
  height: 184px;
  margin: 0 auto;
  padding: 10px;
  background: #fff;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: filter 0.25s ease, opacity 0.25s ease;
}

.j-uauth-qr-frame svg {
  width: 100%;
  height: 100%;
  display: block;
}

.j-uauth-qr-lock {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  border: 1px dashed rgba(168, 102, 255, 0.45);
  background: rgba(5, 5, 7, 0.96);
  color: var(--ua-muted);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  font-family: inherit;
  cursor: pointer;
}

.j-uauth-qr-lock i {
  font-size: 22px;
  color: var(--ua-accent-2);
}

.j-uauth-col-right.is-locked .j-uauth-qr-lock { display: flex; }
.j-uauth-col-right.is-locked .j-uauth-qr-frame { filter: blur(14px); opacity: 0.15; }
.j-uauth-col-right.is-locked .j-uauth-pair-pill { filter: blur(6px); user-select: none; }

.j-uauth-qr-sub {
  font-size: 11px;
  color: var(--ua-faint);
  margin-bottom: 6px;
}

.j-uauth-pair-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 15px;
  border-radius: 999px;
  background: #050506;
  border: 1px solid var(--ua-line-2);
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 3px;
  color: #fff;
  margin-bottom: 10px;
  transition: filter 0.25s ease;
}

.j-uauth-qr-help {
  font-size: 11.5px;
  color: var(--ua-muted);
  margin: 2px 0 8px;
  line-height: 1.5;
}

.j-uauth-qr-help strong { color: #d4d4da; }

/* ── 2FA ── */
.j-uauth-2fa-box {
  padding: 8px 4px;
  text-align: center;
}

.j-uauth-2fa-code-inp {
  width: 100%;
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 6px;
  padding: 12px;
  border-radius: 13px;
  border: 1px solid rgba(144, 64, 255, 0.45);
  background: #050506;
  color: #fff;
  margin: 10px 0;
}

.j-uauth-antifake-badge {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.07);
  border: 1px solid rgba(16, 185, 129, 0.25);
  font-size: 11.5px;
  color: #a7f3d0;
  margin-bottom: 12px;
  line-height: 1.4;
  text-align: left;
}

/* ── ALT: Yasal onay ── */
.j-uauth-legal {
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--ua-panel);
  border: 1px solid var(--ua-line);
  display: grid;
  gap: 12px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.j-uauth-legal.is-ok {
  border-color: rgba(144, 64, 255, 0.35);
  background: rgba(144, 64, 255, 0.04);
}

.j-uauth-legal.shake {
  animation: uaShake 0.42s ease;
  border-color: rgba(239, 68, 68, 0.55);
}

@keyframes uaShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

.j-uauth-check {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  cursor: pointer;
  text-align: left;
}

.j-uauth-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.j-uauth-check-box {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  background: #050506;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  transition: all 0.15s ease;
}

.j-uauth-check-box i {
  font-size: 11px;
  color: #fff;
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.15s ease;
}

.j-uauth-check input:checked + .j-uauth-check-box {
  background: var(--ua-accent);
  border-color: var(--ua-accent);
  box-shadow: 0 0 0 4px rgba(144, 64, 255, 0.15);
}

.j-uauth-check input:checked + .j-uauth-check-box i {
  opacity: 1;
  transform: scale(1);
}

.j-uauth-check input:focus-visible + .j-uauth-check-box {
  box-shadow: 0 0 0 4px rgba(144, 64, 255, 0.3);
}

.j-uauth-check-txt {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ua-muted);
}

.j-uauth-check-txt a,
.j-uauth-footer a {
  color: #d9c2ff;
  text-decoration: none;
  font-weight: 700;
  border-bottom: 1px solid rgba(217, 194, 255, 0.25);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.j-uauth-check-txt a:hover,
.j-uauth-footer a:hover {
  color: #fff;
  border-color: #fff;
}

.j-uauth-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-top: 18px;
  font-size: 11.5px;
  color: var(--ua-faint);
}

.j-uauth-footer a {
  color: var(--ua-muted);
  border-bottom: none;
  font-weight: 600;
}

@media (max-width: 760px) {
  .j-uauth-card {
    padding: 26px 18px 18px;
    border-radius: 24px;
  }
  .j-uauth-app h2 { font-size: 26px; }
  .j-uauth-logo { width: 46px; height: 46px; border-radius: 14px; }
  .j-uauth-tagline { font-size: 13px; }
  .j-uauth-split {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .j-uauth-legal { padding: 14px; }
}

/* ── Yasal Metin Okuma Penceresi (junda-legal.js) ── */
.jl-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: jlFade 0.18s ease;
}

@keyframes jlFade { from { opacity: 0; } to { opacity: 1; } }

.jl-modal {
  width: 100%;
  max-width: 760px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  background: #0a0a0c;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  color: #e8e8ec;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7);
  font-family: 'Plus Jakarta Sans', 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow: hidden;
  animation: uaRise 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.jl-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 14px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.jl-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1;
}

.jl-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  color: #8b8b95;
  font-size: 12px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.15s ease;
}

.jl-tab:hover { color: #fff; }

.jl-tab.active {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.jl-close {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
}

.jl-body {
  overflow-y: auto;
  padding: 22px 26px 26px;
}

.jl-title {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.3px;
}

.jl-content { font-size: 13.5px; line-height: 1.7; color: #b4b4bd; }
.jl-content h4 { margin: 20px 0 6px; font-size: 14px; color: #fff; font-weight: 800; }
.jl-content p { margin: 0 0 10px; }
.jl-content ul { margin: 0 0 10px; padding-left: 18px; }
.jl-content li { margin-bottom: 5px; }
.jl-content strong { color: #fff; }
.jl-content em { color: #d9c2ff; font-style: normal; }
.jl-meta { font-size: 11.5px; color: #6b6b75; font-family: 'JetBrains Mono', monospace; margin-bottom: 14px !important; }
.jl-note {
  font-size: 12px;
  color: #8b8b95;
  padding: 10px 12px;
  border-left: 2px solid rgba(144, 64, 255, 0.5);
  background: rgba(144, 64, 255, 0.05);
  border-radius: 0 10px 10px 0;
}

.jl-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 11.5px;
  color: #6b6b75;
}

.jl-accept {
  padding: 10px 16px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #9040ff, #7a2cf0);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.jl-accept.jl-ghost {
  background: #fff;
  color: #000;
}

@media (max-width: 600px) {
  .jl-tab span { display: none; }
  .jl-tab { padding: 9px 11px; font-size: 14px; }
  .jl-body { padding: 18px; }
  .jl-foot span { display: none; }
  .jl-accept { width: 100%; justify-content: center; }
}

/* ==========================================================================
   JundaSoft Web Uygulama Başlatıcı (9-Nokta Uygulamalar Arası Hızlı Geçiş)
   ========================================================================== */
.j-app-launcher-pop {
  position: fixed;
  z-index: 99990;
  width: 318px;
  max-width: calc(100vw - 24px);
  background: rgba(16, 18, 28, 0.98);
  border: 1px solid rgba(144, 64, 255, 0.35);
  border-radius: 20px;
  padding: 14px;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  backdrop-filter: blur(18px);
  color: #f4f5f8;
  font-family: 'Plus Jakarta Sans', 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  box-sizing: border-box;
  animation: jAppPopIn 0.16s cubic-bezier(0.16, 1, 0.3, 1);
}

html.light .j-app-launcher-pop {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(144, 64, 255, 0.28);
  color: #0f172a;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
}

@keyframes jAppPopIn {
  from { opacity: 0; transform: scale(0.95) translateY(4px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.j-app-launcher-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding: 0 4px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 800;
  color: #cbd5e1;
}

html.light .j-app-launcher-head {
  color: #334155;
  border-bottom-color: #e2e8f0;
}

.j-app-launcher-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.j-app-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  padding: 11px 6px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.16s ease;
  position: relative;
}

html.light .j-app-tile {
  background: #f8fafc;
  border-color: #e2e8f0;
}

.j-app-tile:hover {
  background: rgba(144, 64, 255, 0.14);
  border-color: rgba(144, 64, 255, 0.42);
  transform: translateY(-2px);
}

.j-app-tile.active {
  background: rgba(144, 64, 255, 0.16);
  border-color: var(--primary, #9040ff);
  box-shadow: 0 6px 18px rgba(144, 64, 255, 0.22);
}

.j-app-tile img {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.j-app-tile-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: linear-gradient(135deg, var(--primary, #9040ff), #6d28d9);
  color: #fff;
  box-shadow: 0 4px 12px rgba(144, 64, 255, 0.35);
}

.j-app-tile strong {
  font-size: 12px;
  font-weight: 800;
  line-height: 1.15;
}

.j-app-tile small {
  font-size: 10px;
  color: #94a3b8;
  line-height: 1.1;
}

.j-app-tile-dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.j-app-launcher-foot {
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  gap: 6px;
}

html.light .j-app-launcher-foot {
  border-top-color: #e2e8f0;
}

.j-app-launcher-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 11px;
  font-size: 11.5px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid rgba(144, 64, 255, 0.35);
  background: rgba(144, 64, 255, 0.14);
  color: #e9d5ff;
  transition: all 0.15s ease;
}

html.light .j-app-launcher-btn {
  color: #6d28d9;
  background: rgba(144, 64, 255, 0.09);
}

.j-app-launcher-btn:hover {
  background: var(--primary, #9040ff);
  color: #ffffff;
}

/* ==========================================================================
   Web Profil & Hesap Düzenleme Modalı (J Mail & J Chat & Web Ortak)
   ========================================================================== */
.j-web-prof-overlay {
  position: fixed;
  inset: 0;
  z-index: 99995;
  background: rgba(5, 7, 13, 0.76);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.j-web-prof-card {
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  background: #121521;
  border: 1px solid rgba(144, 64, 255, 0.35);
  border-radius: 22px;
  padding: 20px 22px;
  color: #f4f5f8;
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.7);
  font-family: 'Plus Jakarta Sans', 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  box-sizing: border-box;
}

html.light .j-web-prof-card {
  background: #ffffff;
  color: #0f172a;
  border-color: rgba(144, 64, 255, 0.25);
}

.j-web-prof-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

html.light .j-web-prof-head {
  border-bottom-color: #e2e8f0;
}

.j-web-prof-head h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.j-web-prof-close {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobil arayüzlerde ve yerel Android uygulamalarında "Uygulamalar" (App Switcher) butonunu tamamen gizle */
html.is-mobile-or-native .web-only-app-launcher,
html.is-mobile-or-native [onclick*="openAppLauncher"],
html.is-mobile-or-native [onclick*="openJMailAppLauncher"] {
  display: none !important;
}

@media (max-width: 1024px) {
  .web-only-app-launcher,
  [onclick*="openAppLauncher"],
  [onclick*="openJMailAppLauncher"],
  .j-app-launcher-pop {
    display: none !important;
  }
}


