/* TenPlus CRM — design upgrade layer ("solvik"-style shapes and polish, colour-neutral).
   Active with class "ui2", in BOTH the ivory and dark looks: all colours come from the theme variables.
   Loaded last in index.html. Remove its <link> to undo just this layer. */

/* ---- menu: pill-shaped items like the reference video ---- */
html.ui2 .nav-button { border-radius: 999px; min-height: 42px; padding: 10px 16px; }
html.ui2 .nav-button.active,
html.ui2.dark-glass .nav-button.active { border-radius: 999px; box-shadow: none; }
html.ui2 .crm-order-link { border-radius: 999px; }

/* ---- cards: bigger radius, soft lift on hover ---- */
html.ui2 .metric-card {
  border-radius: 18px;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
html.ui2 .metric-card:hover { transform: translateY(-2px); box-shadow: var(--v2-shadow-lg); }
html.ui2 .metric-card::before { display: none; }
html.ui2 .metric-card strong { font-variant-numeric: tabular-nums; }
html.ui2 .panel { border-radius: 18px; overflow: hidden; }
html.ui2 .mini-item { border-radius: 14px; }
html.ui2 .empty-state { border-radius: 14px; }
html.ui2 .att-card { border-radius: 16px; }

/* ---- tables: rounded container, calmer rows ---- */
html.ui2 .table-wrap { border-radius: 16px; }
html.ui2 th { font-size: 11px; letter-spacing: 0.07em; }
html.ui2 .customer-id { border-radius: 999px; }

/* ---- buttons and chips: full pills ---- */
html.ui2 .btn-primary,
html.ui2 .btn-secondary { border-radius: 999px; }
html.ui2 .btn-primary { transition: transform 0.12s, box-shadow 0.12s; }
html.ui2 .btn-primary:hover { transform: translateY(-1px); }
html.ui2 .status-chip,
html.ui2 .payment-chip { border-radius: 999px; }

/* ---- forms ---- */
html.ui2 .search-input,
html.ui2 input:not([type='checkbox']):not([type='radio']):not([type='range']):not([type='file']),
html.ui2 select,
html.ui2 textarea { border-radius: 12px; }

/* ---- pop-ups, dialer, scrollbars ---- */
html.ui2 .modal { border-radius: 20px; }
html.ui2 .voip-softphone-panel,
html.ui2 .amber-live-dialer { border-radius: 18px; overflow: hidden; }
html.ui2 ::-webkit-scrollbar { width: 10px; height: 10px; }
html.ui2 ::-webkit-scrollbar-thumb { border-radius: 999px; }

/* ---- login card ---- */
html.ui2 .login-card { border-radius: 20px; }
html.ui2 .login-card .btn-primary { width: 100%; }
