/*
 * TweetLife – Offices Module UI
 * Shared styles for:
 * - /offices (index)
 * - /offices/{slug} (office profile)
 * - account office manage related UI blocks
 *
 * Notes:
 * - Uses brand palette variables defined in layouts/site.blade.php
 * - Scoped under .tl-office-page where possible to avoid bleed.
 */

.tl-office-hero{
  background:
    radial-gradient(1200px 520px at 12% 10%, rgba(37,188,207,.34), transparent 58%),
    radial-gradient(900px 420px at 90% 20%, rgba(225,186,65,.28), transparent 55%),
    linear-gradient(135deg, #0F172A 0%, #222F75 56%, #25BCCF 145%);
}

.tl-office-glass{
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 18px 46px rgba(2,6,23,.18);
  backdrop-filter: blur(10px);
}

.tl-office-card{ box-shadow: 0 10px 26px rgba(2,6,23,.08); }
.tl-office-card:hover{ box-shadow: 0 18px 46px rgba(2,6,23,.12); }

.tl-office-btn{
  background: linear-gradient(135deg, #0F172A 0%, #222F75 52%, #25BCCF 130%);
}

.tl-office-btn-gold{
  background: linear-gradient(135deg, rgba(225,186,65,.98), rgba(37,188,207,.85));
  color:#0F172A;
  border: 1px solid rgba(255,255,255,.55);
}

.tl-office-btn-wa{
  background: linear-gradient(135deg, #075E54, #25D366);
  color:#fff;
  border: 1px solid rgba(255,255,255,.28);
}

.tl-office-badge{
  background: linear-gradient(135deg, rgba(225,186,65,.95), rgba(37,188,207,.88));
  color:#0F172A;
  border: 1px solid rgba(255,255,255,.45);
}

.tl-office-chip{
  border: 1px solid rgba(15,23,42,.12);
  background: rgba(248,250,252,.92);
}

.tl-office-kpi{
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
}

/* Mobile sticky action bar (Office profile) */
.tl-office-page{ padding-bottom: calc(84px + var(--tl-safe-bottom, 0px)); }

.tl-office-mobilebar{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 12px calc(10px + var(--tl-safe-bottom, 0px));
  z-index: 60;
  background: rgba(255,255,255,.92);
  border-top: 1px solid rgba(15,23,42,.10);
  backdrop-filter: blur(10px);
}

.tl-office-mobilebar__wrap{
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 10px;
}

.tl-office-mobilebar__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 18px;
  font-weight: 900;
  text-decoration: none;
  border: 1px solid rgba(15,23,42,.12);
  background: #fff;
  color: #0F172A;
}

.tl-office-mobilebar__btn--wa{
  border-color: rgba(7,94,84,.25);
  background: linear-gradient(135deg, #075E54, #25D366);
  color: #fff;
}

@media ((min-width: 1024px) and (hover: hover) and (pointer: fine)), (min-width: 1367px){
  .tl-office-page{ padding-bottom: 0; }
  .tl-office-mobilebar{ display:none; }
}
