/* css/access_log_app_phones.css — καρτέλες «Πρόσβαση» και λίστα «Εφαρμογή πελατών» (Είσοδος πελάτη 6). Ύφος docs/design/fason/ */
.acclog-tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.acclog-tab { background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 10px 2px; min-height: 44px;
  font-size: 0.92rem; color: var(--muted); cursor: pointer; white-space: nowrap; }
.acclog-tab-on { color: #1d5fd0; border-bottom-color: #1d5fd0; font-weight: 600; }

.aph-intro { font-size: 0.85rem; color: var(--muted); margin: 0 0 14px; line-height: 1.45; max-width: 820px; }
.aph-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.aph-box { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; }
.aph-box-n { font-size: 1.5rem; font-weight: 700; color: var(--text); line-height: 1.1; }
.aph-box-l { font-size: 0.78rem; color: var(--muted); margin-top: 4px; }
.aph-green { color: #2e7d32; }
.aph-orange { color: #c46a00; }

.aph-toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.aph-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.aph-chip { min-height: 44px; padding: 0 16px; border: 1px solid var(--border); border-radius: 22px; background: var(--surface);
  color: var(--text); font-size: 0.85rem; cursor: pointer; white-space: nowrap; }
.aph-chip-on { background: #1d5fd0; border-color: #1d5fd0; color: #fff; }
.aph-search { flex: 1 1 240px; min-height: 44px; padding: 0 12px; border: 1px solid var(--border); border-radius: 10px;
  background: var(--surface); color: var(--text); font-size: 0.9rem; box-sizing: border-box; }

.aph-list { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.aph-head, .aph-row { display: grid; grid-template-columns: 1.1fr 2.2fr 1.1fr 1.2fr 1fr 1.2fr; gap: 12px; align-items: center; padding: 12px 16px; }
.aph-head { font-size: 0.75rem; font-weight: 600; color: var(--muted); background: var(--surface2); border-bottom: 1px solid var(--border); }
.aph-row { border-bottom: 1px solid var(--border); font-size: 0.88rem; }
.aph-row:last-child { border-bottom: 0; }
.aph-phone a { color: var(--text); text-decoration: none; white-space: nowrap; font-weight: 600; }
.aph-name { font-weight: 600; }
.aph-sub { font-size: 0.78rem; color: var(--muted); margin-top: 2px; }
.aph-badge { display: inline-block; padding: 2px 9px; border-radius: 10px; font-size: 0.72rem; font-weight: 600; white-space: nowrap; }
.aph-badge-cust { background: #e6f4ea; color: #2e7d32; }
.aph-badge-vis { background: #fdf0e0; color: #c46a00; }
.aph-m-only { display: none; }
.aph-btn { min-height: 36px; padding: 0 14px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface);
  color: #1d5fd0; font-size: 0.84rem; cursor: pointer; white-space: nowrap; }
.aph-dash { color: var(--muted); }
.aph-state { padding: 32px 16px; text-align: center; color: var(--muted); font-size: 0.88rem; line-height: 1.5; }
.aph-state-err { color: #b3261e; }
.aph-state .aph-btn { margin-top: 10px; }
.aph-more-wrap { text-align: center; margin-top: 14px; }
.aph-more { min-height: 44px; }
.aph-foot { font-size: 0.78rem; color: var(--muted); margin: 16px 0 0; line-height: 1.45; max-width: 820px; }

@media (max-width: 600px) {
  .aph-stats { grid-template-columns: repeat(2, 1fr); }
  .aph-box-desk { display: none; }
  .aph-head { display: none; }
  .aph-row { grid-template-columns: 1fr 1fr; gap: 8px 12px; padding: 14px; }
  .aph-phone { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
  .aph-who { grid-column: 1 / -1; }
  .aph-d-only { display: none; }
  .aph-m-only { display: inline-block; }
  .aph-cell[data-label]::before { content: attr(data-label); display: block; font-size: 0.72rem; color: var(--muted); margin-bottom: 2px; }
  .aph-cell[data-label="Ραντεβού από την εφαρμογή"] { grid-column: 1 / -1; }
  .aph-act { grid-column: 1 / -1; }
  .aph-act .aph-btn { width: 100%; min-height: 44px; }
  .acclog-tabs { gap: 16px; overflow-x: auto; }
}
