/* =========================================================
   AstiNet · Gestión de clientes — tema visual
   Se carga DESPUÉS de Bootstrap 5.3 y lo ajusta a la marca.
   ========================================================= */

:root {
  --ast-navy: #0F2A4A;
  --ast-navy-2: #16375E;
  --ast-cyan: #3CC4EE;
  --ast-accent: #0B7FAE;
  --ast-link: #0B6E97;
  --ast-bg: #F3F5F8;
  --ast-surface: #FFFFFF;
  --ast-surface-2: #F7F9FB;
  --ast-border: #E3E7EC;
  --ast-border-strong: #D5DBE2;
  --ast-divider: #EEF1F4;
  --ast-text: #16202B;
  --ast-text-2: #3B4655;
  --ast-muted: #5A6675;
  --ast-tint: #EAF1F8;
  --ast-danger: #B42318;
  --ast-danger-bg: #FEF3F2;
  --ast-success: #067647;
  --ast-radius: 10px;
  --ast-radius-lg: 14px;
  --ast-sidebar-w: 248px;

  /* Bootstrap */
  --bs-body-font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --bs-body-color: var(--ast-text);
  --bs-body-bg: var(--ast-bg);
  --bs-link-color: var(--ast-link);
  --bs-link-color-rgb: 11, 110, 151;
  --bs-link-hover-color: var(--ast-accent);
  --bs-border-color: var(--ast-border);
  --bs-primary: var(--ast-navy);
  --bs-primary-rgb: 15, 42, 74;
  --bs-secondary-color: var(--ast-muted);
}

html { -webkit-text-size-adjust: 100%; }
body.app, body.auth {
  font-family: var(--bs-body-font-family);
  font-size: 14px;
  background: var(--ast-bg);
  color: var(--ast-text);
}
a { text-decoration: none; }
.text-secondary { color: var(--ast-muted) !important; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 2000;
  background: #fff; padding: 8px 12px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }

/* ---------- Estructura ---------- */
body.app { min-height: 100vh; }

.sidebar {
  position: fixed; inset: 0 auto 0 0; width: var(--ast-sidebar-w);
  background: var(--ast-navy); color: #fff;
  display: flex; flex-direction: column; gap: 32px;
  padding: 28px 18px; z-index: 1040;
}
.main {
  margin-left: var(--ast-sidebar-w);
  padding: 32px 44px 48px;
  max-width: 1400px;
}

.brand { display: flex; align-items: center; gap: 12px; padding: 0 8px; color: #fff; }
.brand:hover { color: #fff; }
.brand .brand-mark { color: var(--ast-cyan); flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 20px; font-weight: 800; letter-spacing: -.3px; }
.brand-text small { font-size: 11px; color: #A9BCD3; font-weight: 500; }

.side-nav { display: flex; flex-direction: column; gap: 4px; }
.side-link {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 12px; border-radius: var(--ast-radius);
  color: #C6D3E3; font-weight: 500;
}
.side-link i { font-size: 17px; }
.side-link:hover { background: rgba(255,255,255,.06); color: #fff; }
.side-link.active { background: rgba(60,196,238,.16); color: #fff; font-weight: 700; }
.side-link.active i { color: var(--ast-cyan); }

.side-user {
  margin-top: auto; display: flex; align-items: center; gap: 12px;
  padding: 12px; border-radius: 12px; background: rgba(255,255,255,.06);
}
.side-user-text { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.25; }
.side-user-text strong { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-user-text small { font-size: 12px; color: #A9BCD3; }
.avatar {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: var(--ast-cyan); color: var(--ast-navy);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 13px;
}
.side-logout {
  width: 36px; height: 36px; border-radius: 8px; color: #C6D3E3;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.side-logout:hover { background: rgba(255,255,255,.1); color: #fff; }

.topbar { display: none; }
.sidebar-backdrop { display: none; }

/* ---------- Cabecera de página ---------- */
.page-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 24px;
}
.page-title { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -.5px; color: var(--ast-navy); }
.page-subtitle { margin: 4px 0 0; color: var(--ast-muted); }
.page-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.breadcrumbs { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ast-muted); margin-bottom: 6px; }
.breadcrumbs a { font-weight: 600; }
.breadcrumbs i { font-size: 11px; }

/* ---------- Botones ---------- */
.btn {
  --bs-btn-font-weight: 700;
  --bs-btn-font-size: 14px;
  --bs-btn-border-radius: var(--ast-radius);
  --bs-btn-padding-x: 20px;
  min-height: 44px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-sm { min-height: 36px; --bs-btn-padding-x: 14px; --bs-btn-font-size: 13px; --bs-btn-border-radius: 8px; }
.btn-primary {
  --bs-btn-bg: var(--ast-navy); --bs-btn-border-color: var(--ast-navy);
  --bs-btn-hover-bg: var(--ast-navy-2); --bs-btn-hover-border-color: var(--ast-navy-2);
  --bs-btn-active-bg: #0A1F38; --bs-btn-active-border-color: #0A1F38;
  --bs-btn-disabled-bg: var(--ast-navy); --bs-btn-disabled-border-color: var(--ast-navy);
  --bs-btn-focus-shadow-rgb: 11, 127, 174;
}
.btn-light, .btn-outline {
  --bs-btn-bg: #fff; --bs-btn-color: var(--ast-text-2); --bs-btn-border-color: var(--ast-border-strong);
  --bs-btn-hover-bg: var(--ast-surface-2); --bs-btn-hover-color: var(--ast-navy); --bs-btn-hover-border-color: #C3CCD6;
  --bs-btn-active-bg: var(--ast-tint); --bs-btn-active-border-color: #C3CCD6;
}
.btn-danger { --bs-btn-bg: #C4321F; --bs-btn-border-color: #C4321F; --bs-btn-hover-bg: #A62817; --bs-btn-hover-border-color: #A62817; }

.icon-btn {
  width: 36px; height: 36px; border: 0; border-radius: 8px;
  background: transparent; color: var(--ast-muted);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 17px; cursor: pointer; padding: 0;
}
.icon-btn:hover { background: #EEF2F6; color: var(--ast-navy); }
.icon-btn.danger:hover { background: var(--ast-danger-bg); color: var(--ast-danger); }
.icon-btn:focus-visible, .btn:focus-visible, .side-link:focus-visible, a:focus-visible {
  outline: 3px solid rgba(11,127,174,.45); outline-offset: 2px;
}

/* ---------- Superficies ---------- */
.surface {
  background: var(--ast-surface); border: 1px solid var(--ast-border);
  border-radius: var(--ast-radius-lg);
}
.surface-toolbar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 16px 20px; border-bottom: 1px solid var(--ast-border);
}
.surface-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 14px 20px; color: var(--ast-muted); font-size: 13px;
}

/* ---------- Formularios ---------- */
.form-control, .form-select {
  min-height: 44px; border-radius: var(--ast-radius);
  border-color: var(--ast-border-strong); font-size: 14px; font-weight: 500;
  color: var(--ast-text); padding: 0 14px; background-color: #fff;
}
textarea.form-control { padding: 12px 14px; min-height: 120px; }
.form-select { padding-right: 36px; }
.form-control::placeholder { color: #7A8594; font-weight: 500; }
.form-control:focus, .form-select:focus {
  border-color: var(--ast-accent); box-shadow: 0 0 0 3px rgba(11,127,174,.18);
}
.form-control[readonly] { background: var(--ast-surface-2); }
.form-label { font-size: 13px; font-weight: 700; color: var(--ast-text-2); margin-bottom: 6px; }
.req { color: var(--ast-danger); margin-left: 2px; }
.form-hint { font-size: 12px; color: var(--ast-muted); margin-top: 6px; font-weight: 500; }
.form-error { font-size: 12px; color: var(--ast-danger); margin-top: 6px; font-weight: 600; display: flex; gap: 6px; align-items: center; }
.form-ok { font-size: 12px; color: var(--ast-success); margin-top: 6px; font-weight: 600; }
.is-invalid, .form-control.is-invalid { border-color: #D92D20 !important; background-image: none !important; }
.is-invalid:focus { box-shadow: 0 0 0 3px rgba(217,45,32,.15) !important; }

.input-prefix { display: flex; }
.input-prefix > span {
  display: flex; align-items: center; padding: 0 12px;
  border: 1px solid var(--ast-border-strong); border-right: 0;
  border-radius: var(--ast-radius) 0 0 var(--ast-radius);
  background: var(--ast-surface-2); font-weight: 600; color: var(--ast-text-2);
}
.input-prefix > .form-control { border-radius: 0 var(--ast-radius) var(--ast-radius) 0; min-width: 0; }

.search-field { position: relative; flex: 1 1 280px; max-width: 440px; }
.search-field > i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #7A8594; pointer-events: none; }
.search-field .form-control { padding-left: 42px; padding-right: 40px; }
.search-clear {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
}

.inline-select { display: flex; align-items: center; gap: 8px; color: var(--ast-muted); font-size: 13px; margin: 0; }
.inline-select .form-select { min-height: 38px; width: auto; font-size: 13px; border-radius: 8px; }

/* Secciones de formulario */
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.form-section { padding: 24px 28px; border-bottom: 1px solid var(--ast-divider); }
.form-section:last-child { border-bottom: 0; }
.section-head { margin-bottom: 18px; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.section-head .btn { white-space: nowrap; flex-shrink: 0; }
.section-title { margin: 0; font-size: 16px; font-weight: 800; color: var(--ast-navy); }
.section-desc { margin: 4px 0 0; font-size: 13px; color: var(--ast-muted); }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.field-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field-grid .span-all { grid-column: 1 / -1; }

/* Pestañas */
.tabs {
  display: flex; gap: 4px; padding: 0 20px; border-bottom: 1px solid var(--ast-border);
  flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
  position: sticky; top: 0; background: #fff; z-index: 5;
  border-radius: var(--ast-radius-lg) var(--ast-radius-lg) 0 0;
}
.tabs .nav-link {
  border: 0; border-bottom: 2.5px solid transparent; margin-bottom: -1px; border-radius: 0;
  height: 52px; padding: 0 14px; background: transparent; white-space: nowrap;
  font-weight: 600; color: var(--ast-muted); display: flex; align-items: center; gap: 8px;
}
.tabs .nav-link:hover { color: var(--ast-navy); }
.tabs .nav-link.active { color: var(--ast-navy); font-weight: 800; border-bottom-color: var(--ast-accent); }
.tab-badge {
  font-size: 11px; font-weight: 700; min-width: 20px; height: 20px; padding: 0 6px;
  border-radius: 10px; background: var(--ast-tint); color: var(--ast-navy);
  display: inline-flex; align-items: center; justify-content: center;
}
.tabs .nav-link.has-error { color: var(--ast-danger); }
.tabs .nav-link.has-error::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #D92D20; }

/* Filas dinámicas (servicios TI) */
.repeat-list { display: flex; flex-direction: column; gap: 8px; }
.repeat-row { display: flex; gap: 8px; align-items: center; }
.repeat-row .form-control { flex: 1; }
.repeat-row .icon-btn { width: 44px; height: 44px; }

/* Tabla editable de enlaces */
.edit-table { border: 1px solid var(--ast-border); border-radius: var(--ast-radius); overflow: hidden; }
.edit-table-head, .edit-table-row {
  display: grid; grid-template-columns: 150px 1fr 1fr 1.6fr 44px; gap: 8px; align-items: center; padding: 0 12px;
}
.edit-table-head {
  height: 38px; background: var(--ast-surface-2);
  font-size: 12px; font-weight: 700; color: var(--ast-muted); text-transform: uppercase; letter-spacing: .6px;
}
.edit-table-row { padding-top: 8px; padding-bottom: 8px; border-top: 1px solid var(--ast-divider); }
.edit-table-row .form-control { min-height: 38px; font-size: 13px; padding: 0 10px; border-radius: 8px; }
.edit-table-empty { padding: 20px; text-align: center; color: var(--ast-muted); font-size: 13px; border-top: 1px solid var(--ast-divider); }

/* Barra de acciones del formulario */
.form-actions {
  display: flex; justify-content: flex-end; gap: 12px;
  padding: 18px 28px; border-top: 1px solid var(--ast-divider);
  background: #FAFBFC; border-radius: 0 0 var(--ast-radius-lg) var(--ast-radius-lg);
}

/* Columna lateral (logo) */
.side-panel { padding: 24px; display: flex; flex-direction: column; gap: 16px; position: sticky; top: 24px; }
.dropzone {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; min-height: 180px; border: 1.5px dashed #B9C6D4; border-radius: 12px;
  background: var(--ast-surface-2); text-align: center; cursor: pointer; padding: 16px;
}
.dropzone:hover, .dropzone.is-drag { border-color: var(--ast-accent); background: #F0F7FB; }
.dropzone input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone-icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--ast-tint); color: var(--ast-navy);
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.dropzone-title { font-weight: 700; }
.dropzone-title span { color: var(--ast-link); }
.dropzone-hint { font-size: 12px; color: var(--ast-muted); }
.dropzone img { max-width: 100%; max-height: 110px; object-fit: contain; }
.eyebrow { font-size: 12px; font-weight: 700; color: var(--ast-muted); text-transform: uppercase; letter-spacing: .6px; }

/* ---------- Tabla de datos ---------- */
.data-table { width: 100%; border-collapse: collapse; }
.data-table thead th {
  height: 44px; padding: 0 16px; background: var(--ast-surface-2);
  border-bottom: 1px solid var(--ast-border);
  font-size: 12px; font-weight: 700; color: var(--ast-muted);
  text-transform: uppercase; letter-spacing: .6px; text-align: left; white-space: nowrap;
  position: sticky; top: 0; z-index: 1;
}
.data-table thead th:first-child, .data-table td:first-child { padding-left: 20px; }
.data-table thead th:last-child, .data-table td:last-child { padding-right: 20px; }
.data-table td { height: 58px; padding: 6px 16px; border-bottom: 1px solid var(--ast-divider); vertical-align: middle; }
.data-table tbody tr:hover { background: #F9FAFC; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table .num { font-variant-numeric: tabular-nums; color: var(--ast-text-2); white-space: nowrap; }
.data-table .ellipsis { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.data-table .actions { text-align: right; white-space: nowrap; width: 1%; }
.data-table .actions .icon-btn { margin-left: 2px; }
.th-sort { color: inherit; display: inline-flex; align-items: center; gap: 4px; }
.th-sort:hover { color: var(--ast-navy); }

.client-cell { display: flex; align-items: center; gap: 12px; min-width: 0; }
.client-cell a { color: var(--ast-text); font-weight: 700; }
.client-cell a:hover { color: var(--ast-link); }
.client-logo {
  width: 64px; height: 40px; flex-shrink: 0; border-radius: 9px;
  background: #fff; border: 1px solid #DCE5EF;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.client-logo img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.client-logo.initials { background: var(--ast-tint); color: var(--ast-navy); font-size: 12px; font-weight: 800; }
.client-logo.lg { width: 128px; height: 72px; border-radius: 14px; font-size: 22px; }

.empty-state { padding: 56px 20px; text-align: center; color: var(--ast-muted); }
.empty-state i { font-size: 32px; color: #9AA6B4; display: block; margin-bottom: 8px; }

.pager { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.pager a, .pager span {
  min-width: 36px; height: 36px; padding: 0 8px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ast-text-2); font-weight: 600;
}
.pager a:hover { background: #EEF2F6; }
.pager .current { background: var(--ast-navy); color: #fff; }
.pager .edge { border: 1px solid var(--ast-border); background: #fff; }
.pager .disabled { color: #B3BCC7; pointer-events: none; }
.pager .gap { min-width: 20px; }

.pill {
  display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px;
  border-radius: 13px; font-size: 12px; font-weight: 700;
  background: var(--ast-tint); color: var(--ast-navy);
}
.pill.muted { background: #F0F2F5; color: var(--ast-muted); }

/* ---------- Ficha (solo lectura) ---------- */
.profile-head { display: flex; align-items: center; gap: 18px; }
.detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 24px; margin: 0; }
.detail-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.detail-grid dt { font-size: 12px; font-weight: 700; color: var(--ast-muted); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px; }
.detail-grid dd { margin: 0; font-weight: 600; word-break: break-word; }
.detail-grid dd.empty { color: #9AA6B4; font-weight: 500; }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chip-list li { padding: 6px 12px; border-radius: 8px; background: var(--ast-tint); color: var(--ast-navy); font-weight: 600; font-size: 13px; }
.rich-content { line-height: 1.6; }
.rich-content :last-child { margin-bottom: 0; }
.rich-content table { border-collapse: collapse; margin: 8px 0; }
.rich-content td, .rich-content th { border: 1px solid var(--ast-border); padding: 6px 10px; }
.simple-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.simple-table th { text-align: left; font-size: 12px; font-weight: 700; color: var(--ast-muted); text-transform: uppercase; letter-spacing: .6px; padding: 10px 12px; background: var(--ast-surface-2); }
.simple-table td { padding: 12px; border-top: 1px solid var(--ast-divider); }

/* ---------- Alertas y diálogo ---------- */
.app-alert {
  display: flex; align-items: center; gap: 10px; border-radius: 12px;
  border: 1px solid transparent; font-weight: 600; margin-bottom: 20px;
}
.alert-success { background: #ECFDF3; color: #05603A; border-color: #ABEFC6; }
.alert-danger  { background: var(--ast-danger-bg); color: #912018; border-color: #FECDCA; }
.alert-danger ul { margin: 6px 0 0; padding-left: 18px; font-weight: 500; }

.modal-content { border: 0; border-radius: 16px; }
.modal-body { padding: 28px 28px 8px; }
.modal-footer { border: 0; padding: 16px 28px 24px; gap: 8px; }
.confirm-icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--ast-danger-bg); color: var(--ast-danger);
  display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px;
}

/* TinyMCE */
.tox-tinymce { border-radius: var(--ast-radius) !important; border-color: var(--ast-border-strong) !important; }

/* ---------- Login ---------- */
body.auth {
  min-height: 100vh; display: grid; place-items: center; padding: 24px;
  background:
    radial-gradient(1200px 600px at 0% 0%, rgba(60,196,238,.12), transparent 60%),
    var(--ast-bg);
}
.auth-card {
  width: 100%; max-width: 420px; background: #fff; border: 1px solid var(--ast-border);
  border-radius: 18px; padding: 40px 36px; box-shadow: 0 12px 40px rgba(15,42,74,.08);
}
.auth-logo { display: block; height: 64px; width: auto; margin: 0 auto 24px; }
.auth-title { font-size: 22px; font-weight: 800; color: var(--ast-navy); text-align: center; margin: 0 0 4px; }
.auth-sub { text-align: center; color: var(--ast-muted); margin: 0 0 24px; }
.pass-field { position: relative; }
.pass-field .form-control { padding-right: 48px; }
.pass-field .icon-btn { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); }

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
  .form-layout { grid-template-columns: minmax(0, 1fr) !important; }
  .side-panel { position: static; }
  .detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .topbar {
    display: flex; align-items: center; gap: 8px; position: sticky; top: 0; z-index: 1030;
    height: 60px; padding: 0 12px; background: var(--ast-navy); color: #fff;
  }
  .topbar-menu {
    width: 44px; height: 44px; border: 0; background: transparent; color: #fff; font-size: 26px;
    display: flex; align-items: center; justify-content: center; border-radius: 10px;
  }
  .brand-sm { font-weight: 800; font-size: 18px; padding: 0; }
  .brand-sm .brand-mark { width: 28px; height: 28px; }
  .sidebar { transform: translateX(-100%); transition: transform .2s ease; box-shadow: 0 0 40px rgba(0,0,0,.25); }
  body.nav-open .sidebar { transform: none; }
  body.nav-open .sidebar-backdrop { display: block; position: fixed; inset: 0; background: rgba(10,20,35,.45); z-index: 1035; }
  .main { margin-left: 0; padding: 24px 16px 40px; }
  .page-title { font-size: 24px; }
}

@media (max-width: 720px) {
  .field-grid, .field-grid.cols-3, .detail-grid, .detail-grid.cols-2 { grid-template-columns: 1fr; }
  .form-section { padding: 20px 18px; }
  .form-actions { padding: 16px 18px; position: sticky; bottom: 0; }
  .form-actions .btn { flex: 1; }
  .surface-toolbar, .surface-footer { padding: 14px 16px; }
  .search-field { max-width: none; flex-basis: 100%; }
  .form-actions .btn { white-space: nowrap; padding-left: 12px; padding-right: 12px; }
  .page-header .page-actions:has(button[form]) { display: none; }

  /* Tabla de clientes como tarjetas */
  .data-table thead { display: none; }
  .data-table, .data-table tbody, .data-table tr, .data-table td { display: block; width: 100%; }
  .data-table tr { padding: 14px 16px; border-bottom: 1px solid var(--ast-divider); position: relative; }
  .data-table tbody tr:last-child { border-bottom: 0; }
  .data-table td { height: auto; padding: 2px 0 !important; border: 0; }
  .data-table td[data-label]:not(.client-td)::before {
    content: attr(data-label); display: inline-block; width: 78px; font-size: 12px; font-weight: 700; color: var(--ast-muted);
  }
  .data-table .client-td { margin-bottom: 6px; padding-right: 130px !important; }
  .data-table .ellipsis { max-width: none; }
  .data-table .actions { position: absolute; top: 14px; right: 12px; width: auto; }
  .data-table .actions .icon-btn { width: 40px; height: 40px; }

  .edit-table-head { display: none; }
  .edit-table-row { grid-template-columns: 1fr 1fr; padding: 12px; }
  .edit-table-row > :nth-child(4) { grid-column: 1 / -1; }
  .edit-table-row > :last-child { grid-column: 1 / -1; justify-self: end; }

  .auth-card { padding: 32px 22px; }
}
.avatar.soft { background: var(--ast-tint); color: var(--ast-navy); }
