/* skeleton.css — shared skeleton loaders for the smsfeel dashboard (skeleton-all-20261121).
   One shimmer pattern for every loading state. Theme-aware via --sk-base/--sk-shine
   (:root light, .dark override — the dashboard's own dark-mode mechanism: body gets
   class `dark` from the Alpine store). Slow + subtle 1.9s transform-based sweep
   (compositor-cheap, not background-position). Shapes match the content they
   replace so nothing shifts when the real data lands. No icons — skeletons need
   none, so no icon-subset rebuild. */
:root{--sk-base:#E7EAF0;--sk-shine:rgba(255,255,255,.75);--sk-panel:#fff;--sk-line:rgba(15,23,42,.08)}
.dark{--sk-base:#24344D;--sk-shine:rgba(255,255,255,.09);--sk-panel:#1b2e4b;--sk-line:rgba(255,255,255,.08)}
.sk{position:relative;overflow:hidden;background:var(--sk-base);border-radius:6px;display:block;flex:none}
.sk::after{content:"";position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(100deg,transparent 20%,var(--sk-shine) 50%,transparent 80%);animation:sk-shimmer 1.9s ease-in-out infinite}
@keyframes sk-shimmer{55%,100%{transform:translateX(100%)}}
@media (prefers-reduced-motion: reduce){.sk::after{animation:none;transform:none}}
.sk-line{height:12px}
.sk-line-xs{height:9px}
.sk-inline{display:inline-block;vertical-align:middle}

/* ── table: header row + body rows. rowH is set inline per table to match the real rows ── */
.sk-table{padding:2px 0}
.sk-thead,.sk-trow{display:flex;align-items:center;gap:16px;padding:0 16px}
.sk-thead{height:42px;border-bottom:1px solid var(--sk-line)}
.sk-trow{border-bottom:1px solid var(--sk-line)}
.sk-trow:last-child{border-bottom:none}
.sk-tcell{flex:1 1 0;min-width:0;display:flex;align-items:center}
.sk-tcell-r{justify-content:flex-end}

/* ── filter pills (Number History): match .filter-btn (37px tall, radius 25px) ── */
.sk-pills{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.sk-pill{height:37px;border-radius:25px}

/* ── order card: shape-matched to the purchased-number card (main_2.js / premium.js):
   flag 40x30, number + service lines, textarea block, two rounded buttons ── */
.sk-order-flag{width:40px;height:30px;border-radius:3px}
.sk-order-text{width:100%;height:100px;border-radius:10px}

/* ── email card: 45px avatar circle, email + meta lines, 80px body block, badge + button ── */
.sk-email-av{width:45px;height:45px;border-radius:50%}
.sk-email-body{width:100%;min-height:80px;border-radius:8px}

/* ── sms messages (my-rentals modal): match the real message card ── */
.sk-msgs{display:flex;flex-direction:column;gap:16px}
.sk-msg{border:1px solid var(--sk-line);border-radius:12px;padding:16px;display:flex;flex-direction:column;gap:10px}
.sk-msg-top{display:flex;justify-content:space-between;align-items:flex-start}

/* ── duration rows (my-rentals renew modal): match .duration-pick ── */
.sk-durs{display:flex;flex-direction:column;gap:8px}
.sk-dur{display:flex;justify-content:space-between;align-items:center;border:1px solid var(--sk-line);border-radius:12px;padding:12px}

/* ── NiceSelect loading: the JS adds .sk-loading to the .nice-select wrapper
   (after a 200ms delay) and disables the control meanwhile. The current value
   becomes a shimmer bar; the open list's loading row shimmers too. ── */
.nice-select.sk-loading .current{display:inline-block;width:140px;height:12px;border-radius:6px;overflow:hidden;color:transparent;vertical-align:middle;position:relative;background:var(--sk-base)}
.nice-select.sk-loading .current::after{content:"";position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(100deg,transparent 20%,var(--sk-shine) 50%,transparent 80%);animation:sk-shimmer 1.9s ease-in-out infinite}
.nice-select.sk-loading .list .option.disabled{color:transparent;background:var(--sk-base);position:relative;overflow:hidden}
.nice-select.sk-loading .list .option.disabled::after{content:"";position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(100deg,transparent 20%,var(--sk-shine) 50%,transparent 80%);animation:sk-shimmer 1.9s ease-in-out infinite}

/* ── pulsing dot: waiting status inside badges (replaces fa-spin there) ── */
.sk-dot{width:8px;height:8px;border-radius:50%;background:currentColor;display:inline-block;animation:sk-pulse 1.6s ease-in-out infinite;flex:none}
@keyframes sk-pulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.45;transform:scale(.8)}}
@media (prefers-reduced-motion: reduce){.sk-dot{animation:none}}

/* ── dashboard shell (screen_loader): sidebar 260px + topbar + content panels.
   Matches the real layout: sidebar white / #0e1726, topbar the same, page bg
   #fafafa / #060818 (set by the .screen_loader classes themselves). ── */
.sk-shell{display:flex;height:100%;min-height:100vh}
.sk-shell-side{width:260px;flex:none;background:var(--sk-panel);border-right:1px solid var(--sk-line);padding:20px 16px;display:flex;flex-direction:column;gap:14px}
@media (max-width:1023px){.sk-shell-side{display:none}}
.sk-shell-logo{display:flex;align-items:center;gap:10px;margin-bottom:10px}
.sk-shell-main{flex:1;min-width:0;display:flex;flex-direction:column}
.sk-shell-top{height:57px;flex:none;background:var(--sk-panel);border-bottom:1px solid var(--sk-line);display:flex;align-items:center;gap:12px;padding:0 20px}
.sk-shell-body{flex:1;padding:24px;display:flex;flex-direction:column;gap:16px}
.sk-shell-panel{background:var(--sk-panel);border:1px solid var(--sk-line);border-radius:6px;padding:20px;display:flex;flex-direction:column;gap:12px}

/* ── auth shell (screen_loader on login/otp pages): centered 480px card ── */
.sk-auth{min-height:100vh;display:grid;place-items:center;padding:24px}
.sk-auth-card{width:100%;max-width:480px;background:var(--sk-panel);border:1px solid var(--sk-line);border-radius:6px;padding:32px 28px;display:flex;flex-direction:column;gap:16px;align-items:stretch}
.sk-auth-bar{height:48px;border-radius:8px}
