@charset "UTF-8";

/* AteşNet 2026 · modern, büyük ekran dostu arayüz katmanı */
body.theme-2026 {
  --ink: #142033;
  --ink-2: #33415a;
  --muted: #75839b;
  --muted-2: #9aa8bd;
  --bg: #f2f5fa;
  --paper: #ffffff;
  --paper-2: #f8fafc;
  --line: #e4e9f2;
  --line-strong: #d5ddea;
  --purple: #6558e8;
  --purple-dark: #5144d4;
  --blue: #3978ed;
  --teal: #0f9f88;
  --amber: #c88722;
  --red: #cf5268;
  --shadow: 0 18px 50px rgba(22, 35, 61, .07);
  --shadow-lg: 0 28px 80px rgba(17, 28, 48, .16);
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 12px;
  --font: "Segoe UI Variable Display", "Segoe UI", Inter, system-ui, -apple-system, Arial, sans-serif;
  background:
    radial-gradient(1100px 520px at 92% -8%, rgba(101, 88, 232, .10), transparent 62%),
    radial-gradient(900px 500px at 4% 8%, rgba(15, 159, 136, .08), transparent 60%),
    var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
}

body.theme-2026 .app-shell { grid-template-columns: 292px minmax(0, 1fr); }
body.theme-2026 .sidebar { padding: 24px 18px 18px; background: radial-gradient(ellipse at 0 0, rgba(107, 96, 246, .24), transparent 44%), linear-gradient(180deg, #111a2d 0%, #0d1524 100%); }
body.theme-2026 .brand { min-height: 62px; gap: 13px; padding: 0 8px 18px; }
body.theme-2026 .brand-mark { width: 48px; height: 48px; flex-basis: 48px; border-radius: 16px; }
body.theme-2026 .brand-copy b { font-size: 21px; letter-spacing: -.7px; }
body.theme-2026 .brand-copy small { margin-top: 5px; font-size: 9px; letter-spacing: 1.6px; }
body.theme-2026 .brand-version { padding: 4px 7px; border-radius: 8px; font-size: 9px; }
body.theme-2026 .workspace-chip { margin: 2px 0 24px; padding: 13px 12px; border-radius: 15px; }
body.theme-2026 .workspace-chip b { max-width: 205px; font-size: 12px; }
body.theme-2026 .workspace-chip small { font-size: 11px; }
body.theme-2026 .side-nav { gap: 5px; }
body.theme-2026 .nav-caption { padding: 4px 13px 8px; font-size: 9px; letter-spacing: 1.7px; }
body.theme-2026 .nav-link { min-height: 48px; gap: 13px; padding: 0 14px; border-radius: 14px; font-size: 13px; }
body.theme-2026 .nav-link > .icon { width: 19px; height: 19px; }
body.theme-2026 .nav-link.active { box-shadow: 0 12px 26px rgba(81, 68, 212, .38); }
body.theme-2026 .support-card { padding: 13px 12px; border-radius: 14px; }
body.theme-2026 .support-card b { font-size: 11px; }
body.theme-2026 .support-card small { font-size: 10px; line-height: 1.5; }
body.theme-2026 .account-row { padding-top: 15px; }
body.theme-2026 .avatar { width: 40px; height: 40px; flex-basis: 40px; border-radius: 14px; font-size: 15px; }
body.theme-2026 .account-copy b { font-size: 12px; }
body.theme-2026 .account-copy small { font-size: 10px; }

body.theme-2026 .topbar { min-height: 84px; padding: 0 clamp(24px, 3.4vw, 62px); background: rgba(255, 255, 255, .82); border-bottom-color: rgba(217, 225, 237, .8); backdrop-filter: blur(22px) saturate(130%); }
body.theme-2026 .breadcrumbs { gap: 10px; font-size: 12px; }
body.theme-2026 .breadcrumbs b { font-size: 13px; }
body.theme-2026 .breadcrumbs .icon { width: 14px; height: 14px; }
body.theme-2026 .topbar-context { font-size: 11px; }
body.theme-2026 .user-chip b { max-width: 190px; font-size: 12px; }
body.theme-2026 .user-chip small { max-width: 190px; font-size: 10px; }
body.theme-2026 .topbar-avatar { width: 38px; height: 38px; flex-basis: 38px; border-radius: 13px; font-size: 13px; }
body.theme-2026 .page-content { max-width: 1900px; padding: 34px clamp(24px, 3.4vw, 62px) 30px; }
body.theme-2026 .page-heading { margin: 2px 0 28px; gap: 22px; }
body.theme-2026 .page-heading h1 { margin: 9px 0 8px; font-size: clamp(30px, 2.6vw, 42px); letter-spacing: -1.5px; font-weight: 760; }
body.theme-2026 .page-heading > div > p:last-child { max-width: 760px; font-size: 14px; color: #718098; }
body.theme-2026 .eyebrow { font-size: 10px; letter-spacing: 1.5px; }
body.theme-2026 .eyebrow-line { width: 24px; height: 2px; }
body.theme-2026 .date-pill,
body.theme-2026 .heading-counter { padding: 11px 15px; border-radius: 13px; font-size: 12px; }
body.theme-2026 .heading-counter b { font-size: 16px; }
body.theme-2026 .permission-flow { padding: 12px 16px; border-radius: 14px; font-size: 11px; }
body.theme-2026 .page-footer { margin-top: 34px; padding-top: 16px; font-size: 11px; }

body.theme-2026 .content-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 20px; align-items: start; }
body.theme-2026 .full-span { grid-column: 1 / -1; }
body.theme-2026 .surface-card { border: 1px solid rgba(220, 228, 240, .9); border-radius: 24px; background: rgba(255, 255, 255, .92); box-shadow: 0 16px 45px rgba(23, 37, 63, .055); padding: 24px; }
body.theme-2026 .surface-card:hover { border-color: rgba(196, 205, 222, .95); box-shadow: 0 22px 60px rgba(23, 37, 63, .08); }
body.theme-2026 .section-title-row { gap: 16px; margin-bottom: 18px; }
body.theme-2026 .section-title-row h2 { margin: 5px 0 4px; font-size: 20px; letter-spacing: -.5px; }
body.theme-2026 .section-title-row h3 { margin: 4px 0; font-size: 16px; letter-spacing: -.3px; }
body.theme-2026 .section-subtitle { max-width: 620px; margin: 0; font-size: 12.5px; line-height: 1.6; color: var(--muted); }
body.theme-2026 .title-icon { width: 44px; height: 44px; border-radius: 14px; }
body.theme-2026 .title-icon .icon { width: 20px; height: 20px; }

body.theme-2026 .field { gap: 7px; }
body.theme-2026 .field label { font-size: 12.5px; font-weight: 700; color: #3a4860; }
body.theme-2026 .field input,
body.theme-2026 .field select,
body.theme-2026 .field textarea { min-height: 46px; padding: 12px 14px; border: 1px solid #dfe5ef; border-radius: 13px; background: #fbfcfe; color: var(--ink); font-size: 14px; transition: border-color .18s, box-shadow .18s, background .18s; }
body.theme-2026 .field input:focus,
body.theme-2026 .field select:focus,
body.theme-2026 .field textarea:focus { outline: 0; border-color: rgba(101, 88, 232, .55); background: #fff; box-shadow: 0 0 0 4px rgba(101, 88, 232, .10); }
body.theme-2026 .field small,
body.theme-2026 .field-note { font-size: 11.5px; line-height: 1.55; }
body.theme-2026 .form-stack { gap: 16px; }
body.theme-2026 .form-actions { gap: 10px; padding-top: 4px; }
body.theme-2026 .form-section-divider { display: flex; align-items: center; gap: 12px; margin: 6px 0 2px; color: #8794aa; font-size: 10px; font-weight: 800; letter-spacing: 1.4px; }
body.theme-2026 .form-section-divider::after { content: ""; height: 1px; flex: 1; background: #e8edf5; }
body.theme-2026 .btn { min-height: 42px; padding: 10px 17px; border-radius: 12px; font-size: 13px; font-weight: 700; transition: transform .16s, box-shadow .16s, background .16s; }
body.theme-2026 .btn:hover { transform: translateY(-1px); }
body.theme-2026 .btn-primary { background: linear-gradient(120deg, #6d60ef, #5246d8); box-shadow: 0 9px 20px rgba(82, 70, 216, .22); }
body.theme-2026 .btn-xs { min-height: 34px; padding: 7px 11px; border-radius: 10px; font-size: 11.5px; }
body.theme-2026 .btn-danger-soft { border: 1px solid #f0ccd4; background: #fff5f7; color: #b94158; }
body.theme-2026 .icon-button { width: 40px; height: 40px; border-radius: 12px; }
body.theme-2026 .switch-row { padding: 12px 13px; border: 1px solid #e6ebf3; border-radius: 14px; background: #fbfcfe; }
body.theme-2026 .switch-row b { font-size: 12.5px; }
body.theme-2026 .switch-row small { font-size: 11px; }

body.theme-2026 table { font-size: 13px; }
body.theme-2026 th { padding: 12px 14px; font-size: 10.5px; letter-spacing: .8px; }
body.theme-2026 td { padding: 14px; }
body.theme-2026 .table-scroll { border: 1px solid #e8edf4; border-radius: 16px; }
body.theme-2026 .table-toolbar { gap: 10px; }
body.theme-2026 .table-search input { min-height: 40px; border-radius: 11px; font-size: 12.5px; }
body.theme-2026 .entity-cell b { font-size: 13px; }
body.theme-2026 .entity-cell small { font-size: 11px; }
body.theme-2026 .role-pill,
body.theme-2026 .status-tag { font-size: 10.5px; }
body.theme-2026 .inline-note { padding: 12px 13px; border-radius: 13px; font-size: 12px; line-height: 1.55; }
body.theme-2026 .empty-row { font-size: 12.5px; }

/* Profil */
body.theme-2026 .profile-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(320px, .8fr); gap: 20px; align-items: start; }
body.theme-2026 .profile-identity-card { grid-column: 1 / -1; display: flex; align-items: center; gap: 22px; background: linear-gradient(120deg, rgba(255,255,255,.98), rgba(246,248,255,.95)), radial-gradient(600px 240px at 100% 0, rgba(101,88,232,.12), transparent); }
body.theme-2026 .profile-avatar { width: 88px; height: 88px; flex: 0 0 88px; display: grid; place-items: center; border-radius: 26px; background: linear-gradient(145deg, #7b70f2, #4e43ce); color: #fff; font-size: 32px; font-weight: 800; box-shadow: 0 16px 35px rgba(82, 70, 216, .24); }
body.theme-2026 .profile-identity-copy h2 { margin: 4px 0 5px; font-size: 28px; letter-spacing: -.8px; }
body.theme-2026 .profile-identity-copy p { margin: 0; color: var(--muted); font-size: 13px; }
body.theme-2026 .profile-contact-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 14px; }
body.theme-2026 .profile-contact-chips span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border: 1px solid #e7ecf4; border-radius: 999px; background: #fbfcfe; color: #53617a; font-size: 11.5px; }
body.theme-2026 .profile-contact-chips .icon { width: 15px; height: 15px; color: var(--purple); }
body.theme-2026 .profile-details { border: 1px solid #e7ecf4; border-radius: 16px; background: #fcfdff; overflow: hidden; }
body.theme-2026 .profile-details + .profile-details { margin-top: 12px; }
body.theme-2026 .profile-details > summary { display: flex; align-items: center; gap: 12px; padding: 15px 16px; cursor: pointer; list-style: none; }
body.theme-2026 .profile-details > summary::-webkit-details-marker { display: none; }
body.theme-2026 .profile-details > summary > .icon:first-child { color: var(--purple); }
body.theme-2026 .profile-details > summary > span { min-width: 0; flex: 1; }
body.theme-2026 .profile-details > summary b { display: block; font-size: 13.5px; }
body.theme-2026 .profile-details > summary small { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; }
body.theme-2026 .profile-details > summary > .icon:last-child { transition: transform .2s; }
body.theme-2026 .profile-details[open] > summary > .icon:last-child { transform: rotate(90deg); }
body.theme-2026 .profile-details > form,
body.theme-2026 .profile-details > .inline-note,
body.theme-2026 .profile-details > .muted,
body.theme-2026 .profile-details > .totp-qr-card { margin: 0 16px 16px; }
body.theme-2026 .profile-advanced-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; padding: 0 16px 16px; }
body.theme-2026 .profile-subcard { padding: 16px; border: 1px solid #e8edf5; border-radius: 16px; background: #fff; }
body.theme-2026 .profile-subcard .section-title-row { margin-bottom: 12px; }
body.theme-2026 .profile-subcard .title-icon { width: 36px; height: 36px; border-radius: 11px; }
body.theme-2026 .profile-advanced-card { padding-bottom: 16px; }

/* Zengin mesaj editörü */
body.theme-2026 .rich-editor { overflow: hidden; border: 1px solid #dfe5ef; border-radius: 15px; background: #fff; transition: border-color .18s, box-shadow .18s; }
body.theme-2026 .rich-editor:focus-within { border-color: rgba(101, 88, 232, .55); box-shadow: 0 0 0 4px rgba(101, 88, 232, .10); }
body.theme-2026 .rich-toolbar { display: flex; align-items: center; gap: 5px; min-height: 46px; padding: 7px 9px; border-bottom: 1px solid #edf1f6; background: #fbfcfe; }
body.theme-2026 .rich-tool { width: 32px; height: 32px; display: inline-grid; place-items: center; border: 1px solid transparent; border-radius: 9px; background: transparent; color: #526079; font-size: 13px; cursor: pointer; }
body.theme-2026 .rich-tool:hover { border-color: #e1e6f0; background: #fff; color: var(--purple); }
body.theme-2026 .rich-tool .icon { width: 16px; height: 16px; }
body.theme-2026 .rich-separator { width: 1px; height: 20px; margin: 0 4px; background: #e5eaf2; }
body.theme-2026 .rich-image-button { cursor: pointer; }
body.theme-2026 .rich-status { margin-left: auto; color: var(--muted); font-size: 10.5px; }
body.theme-2026 .rich-surface { min-height: 150px; padding: 14px 15px; color: var(--ink); font-size: 14px; line-height: 1.65; outline: 0; overflow-wrap: anywhere; }
body.theme-2026 .rich-surface:empty::before { content: attr(data-placeholder); color: #a3adbf; pointer-events: none; }
body.theme-2026 .rich-surface img { max-width: 100%; height: auto; border-radius: 14px; margin: 8px 0; }
body.theme-2026 .rich-editor-ready [data-rich-source] { display: none; }
body.theme-2026 .message-preview { margin-top: 8px; padding: 12px 14px; border: 1px solid #e8edf4; border-radius: 12px; background: #fbfcfe; color: #43516a; font-size: 13px; line-height: 1.65; overflow-wrap: anywhere; }
body.theme-2026 .message-preview img { max-width: 100%; height: auto; border-radius: 12px; margin: 8px 0; }

/* Aktif oturumlar */
body.theme-2026 .bulk-session-bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 16px; padding: 16px 20px; border-radius: 18px; }
body.theme-2026 .bulk-session-bar b { display: block; font-size: 14px; }
body.theme-2026 .bulk-session-bar small { display: block; margin-top: 3px; color: var(--muted); font-size: 11.5px; }
body.theme-2026 .bulk-session-bar form { flex: 0 0 auto; }

/* Giriş */
body.theme-2026.login-page { background: radial-gradient(900px 600px at 8% 10%, rgba(101, 88, 232, .18), transparent 62%), radial-gradient(900px 600px at 100% 100%, rgba(15, 159, 136, .14), transparent 58%), #f2f5fa; }
body.theme-2026 .login-shell { max-width: 1180px; min-height: 680px; border-radius: 32px; box-shadow: 0 30px 90px rgba(22, 35, 61, .16); }
body.theme-2026 .login-art { padding: 46px; background: radial-gradient(600px 320px at 0 0, rgba(124, 111, 255, .30), transparent 64%), linear-gradient(150deg, #111a2d, #0d1524); }
body.theme-2026 .login-brand span { font-size: 22px; }
body.theme-2026 .login-message h1 { font-size: clamp(32px, 4vw, 48px); letter-spacing: -1.6px; line-height: 1.12; }
body.theme-2026 .login-message p { max-width: 520px; font-size: 14px; line-height: 1.7; }
body.theme-2026 .login-feature-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
body.theme-2026 .login-feature-list span { padding: 8px 11px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: rgba(255,255,255,.06); color: #dce4f7; font-size: 11px; }
body.theme-2026 .login-card-wrap { padding: 38px; background: rgba(255,255,255,.92); }
body.theme-2026 .login-card { max-width: 390px; padding: 28px; border-radius: 24px; background: #fff; box-shadow: 0 20px 60px rgba(22, 35, 61, .08); }
body.theme-2026 .login-card h2 { margin: 8px 0 6px; font-size: 27px; letter-spacing: -.8px; }
body.theme-2026 .login-card label { font-size: 12.5px; }
body.theme-2026 .login-card input { min-height: 48px; border-radius: 13px; font-size: 14px; }
body.theme-2026 .login-submit { min-height: 48px; border-radius: 13px; font-size: 14px; }
body.theme-2026 .login-2fa-hint { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; padding: 12px; border: 1px solid #e8edf5; border-radius: 13px; background: #fbfcfe; }
body.theme-2026 .login-2fa-icon { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 34px; border-radius: 10px; background: #efedff; color: var(--purple); }
body.theme-2026 .login-2fa-hint b { display: block; font-size: 12px; }
body.theme-2026 .login-2fa-hint small { display: block; margin-top: 2px; color: var(--muted); font-size: 10.5px; line-height: 1.45; }
body.theme-2026 .login-step { display: flex; align-items: center; gap: 7px; margin: 14px 0 18px; color: var(--muted); font-size: 10.5px; }
body.theme-2026 .login-step-dot { width: 8px; height: 8px; border-radius: 50%; background: #d6dce8; }
body.theme-2026 .login-step-dot.is-done { background: var(--teal); }
body.theme-2026 .login-step-dot.is-active { background: var(--purple); box-shadow: 0 0 0 4px rgba(101, 88, 232, .13); }
body.theme-2026 .login-step-line { width: 24px; height: 1px; background: #dde3ee; }
body.theme-2026 .login-back { display: inline-block; margin-top: 16px; color: var(--purple); font-size: 12px; font-weight: 650; }
body.theme-2026 .notice { margin: 14px 0; padding: 11px 13px; border: 1px solid #d9e9e4; border-radius: 12px; background: #f3fbf8; color: #267463; font-size: 12px; }

/* Hareket */
body.theme-2026 .reveal-2026 { opacity: 0; transform: translateY(10px); transition: opacity .42s ease, transform .42s ease; }
body.theme-2026 .reveal-2026.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  body.theme-2026 *, body.theme-2026 *::before, body.theme-2026 *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

@media (min-width: 1600px) {
  body.theme-2026 { font-size: 16px; }
  body.theme-2026 .page-content { padding-left: 72px; padding-right: 72px; }
  body.theme-2026 .content-grid { grid-template-columns: repeat(auto-fit, minmax(410px, 1fr)); gap: 24px; }
  body.theme-2026 .surface-card { padding: 28px; }
  body.theme-2026 .section-title-row h2 { font-size: 22px; }
}

@media (max-width: 1180px) {
  body.theme-2026 .app-shell { grid-template-columns: 260px minmax(0, 1fr); }
  body.theme-2026 .profile-layout { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  body.theme-2026 { font-size: 14px; }
  body.theme-2026 .app-shell { display: block; }
  body.theme-2026 .sidebar { position: fixed; inset: 0 auto 0 0; width: min(88vw, 320px); z-index: 60; transform: translateX(-105%); transition: transform .24s ease; }
  body.theme-2026 .sidebar.is-open { transform: none; }
  body.theme-2026 .topbar { min-height: 70px; padding: 0 18px; }
  body.theme-2026 .mobile-menu { display: inline-grid; }
  body.theme-2026 .page-content { padding: 22px 18px 26px; }
  body.theme-2026 .page-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  body.theme-2026 .page-heading h1 { font-size: 30px; }
  body.theme-2026 .content-grid { grid-template-columns: 1fr; }
  body.theme-2026 .profile-identity-card { align-items: flex-start; flex-direction: column; gap: 14px; }
  body.theme-2026 .profile-avatar { width: 70px; height: 70px; flex-basis: 70px; font-size: 25px; border-radius: 20px; }
  body.theme-2026 .profile-identity-copy h2 { font-size: 23px; }
  body.theme-2026 .bulk-session-bar { align-items: stretch; flex-direction: column; }
  body.theme-2026 .login-shell { min-height: auto; margin: 14px; border-radius: 24px; }
  body.theme-2026 .login-art { padding: 28px; }
  body.theme-2026 .login-message h1 { font-size: 32px; }
  body.theme-2026 .login-card-wrap { padding: 18px; }
  body.theme-2026 .login-card { padding: 22px; }
}

/* Mobil şirket erişimleri: tabloları kart düzenine çevir */
@media (max-width: 720px) {
  body.page-companies .table-scroll {
    overflow: visible;
  }

  body.page-companies .table-scroll table {
    display: block;
    width: 100%;
    min-width: 0;
    border: 0;
    border-collapse: separate;
    border-spacing: 0;
    background: transparent;
  }

  body.page-companies .table-scroll thead {
    display: none;
  }

  body.page-companies .table-scroll tbody {
    display: block;
  }

  body.page-companies .table-scroll tr[data-table-row] {
    display: block;
    margin: 0 0 12px;
    overflow: hidden;
    border: 1px solid #dfe7ee;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(26, 62, 88, .05);
  }

  body.page-companies .table-scroll tr[data-table-row] > td {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 9px 12px;
    border: 0;
    border-bottom: 1px solid #f0f4f7;
    text-align: left;
    white-space: normal;
  }

  body.page-companies .table-scroll tr[data-table-row] > td:last-child {
    border-bottom: 0;
  }

  body.page-companies .table-scroll tr[data-table-row] > td::before {
    color: #6f8292;
    font-size: 10.5px;
    font-weight: 750;
    line-height: 1.35;
    text-align: left;
    content: attr(data-label);
  }

  body.page-companies .table-scroll tr[data-table-row] > td.align-right {
    text-align: left;
  }

  body.page-companies .table-scroll .row-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 7px;
  }

  body.page-companies .table-scroll .row-actions .btn {
    min-height: 38px;
  }

  body.page-companies .table-scroll .url-link {
    overflow-wrap: anywhere;
  }

  body.page-companies .table-scroll .empty-row {
    display: block;
    width: 100%;
    padding: 16px;
    border: 1px dashed #d7e1ea;
    border-radius: 12px;
    background: #f8fbfd;
  }

  body.page-companies .table-scroll .empty-row::before {
    display: none;
  }
}

/* Mobil partaj şirket ayarları: yatay tablo yerine kart düzeni */
@media (max-width: 720px) {
  .portfolio-company-scroll {
    width: 100%;
    max-width: 100%;
    overflow: visible;
  }

  .portfolio-company-table {
    display: block;
    width: 100%;
    min-width: 0;
    border: 0;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13px;
  }

  .portfolio-company-table thead {
    display: none;
  }

  .portfolio-company-table tbody,
  .portfolio-company-table tr,
  .portfolio-company-table td {
    display: block;
    width: 100%;
  }

  .portfolio-company-table tbody tr.company-setting-row {
    margin: 0 0 12px;
    overflow: hidden;
    border: 1px solid #dfe7ee;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(26, 62, 88, .05);
  }

  .portfolio-company-table tbody tr.company-setting-row:nth-child(even) {
    background: #fff;
  }

  .portfolio-company-table .company-setting-number {
    display: none;
  }

  .portfolio-company-table .company-setting-name {
    display: block;
    min-width: 0;
    padding: 12px 14px;
    border: 0;
    border-bottom: 1px solid #eef3f7;
    background: #f6fafc;
    color: #173a52;
    font-size: 14px;
    text-align: left;
  }

  .portfolio-company-table .company-setting-name b {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .portfolio-company-table tbody tr.company-setting-row > td:not(.company-setting-name):not(.company-setting-number) {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-height: 54px;
    padding: 9px 14px;
    border: 0;
    border-bottom: 1px solid #f0f4f7;
    text-align: left;
  }

  .portfolio-company-table tbody tr.company-setting-row > td:not(.company-setting-name):not(.company-setting-number)::before {
    color: #6f8292;
    font-size: 11px;
    font-weight: 750;
    line-height: 1.35;
    text-align: left;
  }

  .portfolio-company-table tbody tr.company-setting-row > td:nth-child(3)::before { content: "Kullanıcı adı"; }
  .portfolio-company-table tbody tr.company-setting-row > td:nth-child(4)::before { content: "Parola"; }
  .portfolio-company-table tbody tr.company-setting-row > td:nth-child(5)::before { content: "Proxy"; }
  .portfolio-company-table tbody tr.company-setting-row > td:nth-child(6)::before { content: "QR / Authenticator"; }
  .portfolio-company-table tbody tr.company-setting-row > td:nth-child(7)::before { content: "Cep telefonu"; }
  .portfolio-company-table tbody tr.company-setting-row > td:nth-child(8)::before { content: "Otomatik açılış"; }
  .portfolio-company-table tbody tr.company-setting-row > td:nth-child(9)::before { content: "Şirket durumu"; }
  .portfolio-company-table tbody tr.company-setting-row > td:nth-child(10)::before { content: "Kayıt"; }

  .portfolio-company-table tbody tr.company-setting-row > td:last-child {
    border-bottom: 0;
  }

  .portfolio-company-table .company-field,
  .portfolio-company-table .company-proxy-field,
  .portfolio-company-table .company-phone-field {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 8px 10px;
    font-size: 16px;
  }

  .portfolio-company-table .company-secret-field {
    width: 100%;
    min-width: 0;
  }

  .portfolio-company-table .company-secret-input {
    padding-right: 38px;
  }

  .portfolio-company-table .secret-reveal {
    right: 4px;
    width: 30px;
    height: 30px;
  }

  .portfolio-company-table .company-switch-form,
  .portfolio-company-table .company-save-form {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    text-align: right;
  }

  .portfolio-company-table .company-switch {
    width: 52px;
    height: 30px;
    min-height: 30px;
  }

  .portfolio-company-table .company-switch span {
    top: 3px;
    width: 24px;
    height: 24px;
  }

  .portfolio-company-table .company-switch.is-on span {
    transform: translateX(22px);
  }

  .portfolio-company-table .company-save-status {
    font-size: 11px;
  }

  .portfolio-company-editor {
    padding: 10px;
    border-radius: 12px;
  }

  .portfolio-company-heading {
    gap: 8px;
    margin-bottom: 10px;
  }

  .portfolio-company-heading small {
    font-size: 11px;
    line-height: 1.55;
  }

  .portfolio-company-count {
    align-self: flex-start;
  }
}

@media (max-width: 420px) {
  body.page-companies .table-scroll tr[data-table-row] > td {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 8px;
    padding: 9px 11px;
  }

  .portfolio-company-table tbody tr.company-setting-row > td:not(.company-setting-name):not(.company-setting-number) {
    grid-template-columns: 102px minmax(0, 1fr);
    gap: 8px;
    padding: 9px 11px;
  }

  .portfolio-company-table tbody tr.company-setting-row > td:not(.company-setting-name):not(.company-setting-number)::before {
    font-size: 10.5px;
  }
}

@media (max-width: 720px) {
  body.page-messages .table-scroll { overflow: visible; }
  body.page-messages .table-scroll table {
    display: block;
    width: 100%;
    min-width: 0;
    border: 0;
    background: transparent;
  }
  body.page-messages .table-scroll thead { display: none; }
  body.page-messages .table-scroll tbody { display: block; }
  body.page-messages .table-scroll tr[data-table-row] {
    display: block;
    margin: 0 0 12px;
    overflow: hidden;
    border: 1px solid #dfe7ee;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(26, 62, 88, .05);
  }
  body.page-messages .table-scroll tr[data-table-row] > td {
    display: grid;
    grid-template-columns: 94px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    min-height: 44px;
    padding: 9px 12px;
    border: 0;
    border-bottom: 1px solid #f0f4f7;
    text-align: left;
    white-space: normal;
  }
  body.page-messages .table-scroll tr[data-table-row] > td:last-child { border-bottom: 0; }
  body.page-messages .table-scroll tr[data-table-row] > td::before {
    padding-top: 2px;
    color: #6f8292;
    font-size: 10.5px;
    font-weight: 750;
    line-height: 1.35;
    content: attr(data-label);
  }
  body.page-messages .table-scroll .row-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 7px;
  }
  body.page-messages .table-scroll .row-actions .btn { min-height: 38px; }
  body.page-messages .table-scroll .message-preview { max-width: 100%; overflow-wrap: anywhere; }
  body.page-messages .table-scroll .empty-row {
    display: block;
    width: 100%;
    padding: 16px;
    border: 1px dashed #d7e1ea;
    border-radius: 12px;
    background: #f8fbfd;
  }
  body.page-messages .table-scroll .empty-row::before { display: none; }
}
