@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

:root {
  --ups-store-blue:  #00388C;
  --ups-store-gold:  #FFC20E;
  --bg-dark:         #0d0f18;
  --container-dark:  #151722;
  --text-light:      #D4D4DC;
  --text-muted:      #9A9AA8;
  --transition:      all .3s ease;
  --font-primary:    'Poppins', sans-serif;

  --sidebar-bg:      #0e0e18;
  --sidebar-hover:   #1a1a28;
  --sidebar-active:  #142040;
  --sidebar-width:   240px;
  --card-border:     #1e1e2e;

  --glass-bg:        rgba(255, 255, 255, 0.03);
  --glass-border:    rgba(255, 255, 255, 0.05);
  --glass-blur:      12px;
  --glow-gold:       rgba(255, 194, 14, 0.08);
  --glow-blue:       rgba(0, 56, 140, 0.2);
  --radius-lg:       16px;
  --glow-gold-box:   0 0 30px rgba(255, 194, 14, 0.03);
  --glow-gold-hover: 0 0 40px rgba(255, 194, 14, 0.06), 0 8px 32px rgba(0, 0, 0, 0.2);

  /* Scrollbars — dark track, gold thumb (used on admin & optional site-wide) */
  --scrollbar-track:         rgba(18, 19, 28, 0.92);
  --scrollbar-thumb:         rgba(255, 194, 14, 0.32);
  --scrollbar-thumb-hover:   rgba(255, 194, 14, 0.5);
  --scrollbar-thumb-active:  rgba(255, 194, 14, 0.65);

  /* ── Rebrand 2026 — "The Counter" public marketing system ─────────────── */
  --kraft:#EDE6D8; --kraft-2:#E5DAC7; --paper:#F6F1E7; --parcel:#C9B79A;
  --ink:#211C15; --ink-soft:#6A5F50; --brown:#33200F;
  --accent:#E29E00; --accent-solid:#FFB500; --stamp:#C0341F;
  --board-bg:#17140F; --board-amber:#FFC20E; --board-text:#F4ECDD; --board-muted:#ab9e88;
  --board-green:#43c479; --board-red:#EE6E4B;
  --hair:rgba(33,28,21,.18); --hair-2:rgba(33,28,21,.10);
  --display:'Archivo',system-ui,sans-serif; --mono:'Space Mono',ui-monospace,monospace;
  --num-fill:var(--accent-solid); --sun-op:0; --page-bg:var(--kraft);
}

/* Summer seasonal skin — token overlay (same structure, swapped tokens) */
html[data-season="summer"]{
  --page-bg:#F6ECD9; --accent:#E8722F; --num-fill:transparent; --sun-op:1;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background: var(--bg-dark);
  color: var(--text-light);
  text-align: center;
  line-height: 1.7;
  letter-spacing: 0.01em;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Themed document scrollbar (public pages; admin uses inner regions) */
body:not(.login-page):not(.admin-page) {
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

body:not(.login-page):not(.admin-page)::-webkit-scrollbar {
  width: 10px;
}

body:not(.login-page):not(.admin-page)::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
}

body:not(.login-page):not(.admin-page)::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    var(--scrollbar-thumb-hover),
    var(--scrollbar-thumb)
  );
  border-radius: 8px;
  border: 2px solid var(--scrollbar-track);
  background-clip: padding-box;
}

body:not(.login-page):not(.admin-page)::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(
    180deg,
    var(--scrollbar-thumb-active),
    var(--scrollbar-thumb-hover)
  );
}

.shader-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.55;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

/* ── Accessibility ─────────────────────────────────────────────────────── */

:focus-visible {
  outline: 2px solid var(--ups-store-gold);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Navbar ────────────────────────────────────────────────────────────── */

/* ── Floating pill navbar ────────────────────────────────────────────────── */

.navbar-outer {
  position: sticky;
  top: 0;
  z-index: 200;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 1.25rem 1.5rem;
  pointer-events: none;
}

.navbar-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 960px;
  background: rgba(18, 20, 26, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  padding: 0.6rem 0.75rem 0.6rem 1.5rem;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  pointer-events: all;
}

.navbar-pill.scrolled {
  background: rgba(12, 13, 16, 0.92);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.4);
}

/* Brand */
.navbar-pill .brand {
  color: var(--text-light);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.navbar-pill .brand:hover {
  color: var(--teal-text, #3ECFCA);
}

/* Centre links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  color: var(--text-secondary, #8a8f9c);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.4rem 0.75rem;
  border-radius: 9999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover {
  color: var(--text-light, #f0f1f3);
  background: rgba(255, 255, 255, 0.06);
}

/* Right side — CTA + hamburger */
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1.1rem;
  background: var(--text-light, #f0f1f3);
  color: #0c0d10;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: 9999px;
  text-decoration: none;
  transition: opacity 0.2s ease, background 0.2s ease;
}

.nav-cta:hover {
  opacity: 0.88;
}

/* Hamburger — hidden on desktop */
.hamburger {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  cursor: pointer;
  padding: 0.45rem 0.6rem;
  gap: 4px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 210;
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-light, #f0f1f3);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ── Full-screen mobile overlay ─────────────────────────────────────────── */

.nav-overlay {
  position: fixed;
  inset: 0;
  background: #0c0d10;
  z-index: 300;
  display: flex;
  flex-direction: column;
  padding: 5rem 2rem 2rem;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-overlay.open {
  transform: translateX(0);
}

.nav-overlay-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  color: var(--text-light, #f0f1f3);
  cursor: pointer;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.nav-overlay-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nav-overlay-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 1rem;
}

.overlay-link {
  color: var(--text-secondary, #8a8f9c);
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: color 0.2s ease;
}

.overlay-link:hover {
  color: var(--text-light, #f0f1f3);
}

.overlay-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
  width: 100%;
  padding: 0.9rem 1.5rem;
  background: var(--text-light, #f0f1f3);
  color: #0c0d10;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: 9999px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.overlay-cta:hover {
  opacity: 0.88;
}

/* ── Hero ──────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  background: transparent;
  padding: 6rem 2rem;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 120%, rgba(255, 194, 14, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 0.75rem;
  line-height: 1.15;
  text-shadow: 0 0 24px rgba(255, 194, 14, 0.06);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--text-muted);
  line-height: 1.8;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.15s ease forwards;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.3s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn-primary {
  display: inline-block;
  background: var(--ups-store-gold);
  color: var(--ups-store-blue);
  padding: 0.85rem 2rem;
  border: 2px solid var(--ups-store-gold);
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 14px rgba(255, 194, 14, 0.15), 0 6px 16px rgba(255, 194, 14, 0.08);
}

.btn-outline {
  display: inline-block;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-light);
  padding: 0.85rem 2rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(255, 255, 255, 0.04);
}

/* ── Store Status Badge ───────────────────────────────────────────────── */

.store-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 1.25rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards;
}

.store-status::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.store-status.open {
  background: rgba(46, 125, 50, 0.25);
  color: #A5D6A7;
  border: 1px solid rgba(46, 125, 50, 0.3);
}

.store-status.open::before {
  background: #66BB6A;
  box-shadow: 0 0 8px rgba(102, 187, 106, 0.6);
  animation: statusPulse 2s ease-in-out infinite;
}

.store-status.closed {
  background: rgba(176, 0, 32, 0.25);
  color: #EF9A9A;
  border: 1px solid rgba(176, 0, 32, 0.3);
}

.store-status.closed::before {
  background: #EF5350;
  box-shadow: 0 0 8px rgba(239, 83, 80, 0.4);
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.6; transform: scale(1.3); }
}

/* ── Home: Services Preview ───────────────────────────────────────────── */

.home-services {
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.home-services h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.home-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.home-service-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  transition: var(--transition);
  text-align: center;
}

.home-service-card:hover {
  border-color: rgba(255, 194, 14, 0.2);
  transform: translateY(-4px);
  box-shadow: var(--glow-gold-hover);
}

.home-service-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  width: 60px;
  height: 60px;
  line-height: 60px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 50%;
  background: rgba(255, 194, 14, 0.06);
  transition: var(--transition);
}

.home-service-card:hover .home-service-icon {
  background: rgba(255, 194, 14, 0.1);
  box-shadow: 0 0 14px rgba(255, 194, 14, 0.06);
}

.home-service-card h3 {
  color: var(--ups-store-gold);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.home-service-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.home-services-link {
  display: inline-block;
  margin-top: 2rem;
  color: var(--ups-store-gold);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.home-services-link:hover {
  color: var(--text-light);
}

/* ── Home: How It Works ───────────────────────────────────────────────── */

.how-it-works {
  background: rgba(255, 255, 255, 0.015);
  padding: 4rem 2rem;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.how-it-works h2 {
  font-size: 2rem;
  margin-bottom: 2.5rem;
  color: var(--text-light);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.step-card {
  text-align: center;
  padding: 1.5rem;
}

.step-number {
  width: 56px;
  height: 56px;
  line-height: 56px;
  border-radius: 50%;
  background: var(--ups-store-gold);
  color: var(--ups-store-blue);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.25rem;
  box-shadow: 0 0 16px rgba(255, 194, 14, 0.12);
  transition: var(--transition);
}

.step-card:hover .step-number {
  box-shadow: 0 0 24px rgba(255, 194, 14, 0.2);
  transform: scale(1.05);
}

.step-card h3 {
  color: var(--text-light);
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ── Home: Info Grid ──────────────────────────────────────────────────── */

.home-info {
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.home-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.home-info-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  text-align: left;
  transition: var(--transition);
}

.home-info-card:hover {
  border-color: rgba(255, 194, 14, 0.15);
  box-shadow: var(--glow-gold-box);
}

.home-info-card h3 {
  color: var(--ups-store-gold);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.home-info-card p {
  color: var(--text-light);
  line-height: 1.8;
}

.home-info-card a {
  color: var(--ups-store-gold);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.home-info-card a:hover {
  color: var(--text-light);
}

/* ── Home: CTA Banner ─────────────────────────────────────────────────── */

.home-cta {
  position: relative;
  background: linear-gradient(160deg, #020818 0%, #001030 40%, #00184a 100%);
  padding: 5rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.home-cta::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 194, 14, 0.04) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.home-cta h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  color: var(--text-light);
}

.home-cta p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.home-cta .btn-primary {
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
}

/* ── Containers (legacy, keep for admin) ─────────────────────────────── */

.container {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  max-width: 800px;
  width: 90%;
  margin: 2rem auto;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
  align-self: center;
}

/* ── Form Elements (global, keep for auth pages) ─────────────────────── */

label {
  display: block;
  margin-top: 1rem;
  font-weight: 500;
  color: var(--text-light);
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  margin: 0.5rem auto 0;
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-light);
  transition: var(--transition);
  font-family: var(--font-primary);
  font-size: 0.95rem;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: rgba(10, 173, 168, 0.45);
  box-shadow: 0 0 0 3px rgba(10, 173, 168, 0.08);
  background: rgba(255, 255, 255, 0.06);
}

/* ── Upload page ─────────────────────────────────────────────────────── */

.upload-wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 1.5rem 5rem;
}

/* Success panel */
.upload-success {
  background: var(--surface, #13151a);
  border: 1px solid var(--border, rgba(255,255,255,0.07));
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.upload-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(10, 173, 168, 0.12);
  border: 1px solid rgba(10, 173, 168, 0.25);
  color: var(--teal-text, #3ECFCA);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.25rem;
}

.upload-success-title {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-light, #f0f1f3);
  margin: 0;
}

.upload-success-body {
  font-size: 0.925rem;
  color: var(--text-secondary, #8a8f9c);
  margin: 0;
}

.upload-success-note {
  font-size: 0.85rem;
  color: var(--text-muted, #5a5f6e);
  margin: 0;
}

/* Upload form */
.upload-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.upload-form-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary, #8a8f9c);
  margin: 0;
}

.field-required {
  color: var(--teal-text, #3ECFCA);
}

.form-field input {
  margin: 0;
  border-radius: 10px;
  font-size: 0.925rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--border, rgba(255,255,255,0.07));
  background: var(--surface, #13151a);
  color: var(--text-light, #f0f1f3);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus {
  border-color: rgba(10, 173, 168, 0.45);
  box-shadow: 0 0 0 3px rgba(10, 173, 168, 0.08);
  background: var(--surface, #13151a);
  outline: none;
}

.form-field input::placeholder {
  color: var(--text-muted, #5a5f6e);
}

/* Drop zone */
.drop-zone {
  border: 1.5px dashed var(--border, rgba(255,255,255,0.1));
  border-radius: 14px;
  background: var(--surface, #13151a);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
  text-align: center;
  user-select: none;
  -webkit-user-select: none;
}

.drop-zone:hover,
.drop-zone.hover {
  border-color: rgba(10, 173, 168, 0.4);
  background: rgba(10, 173, 168, 0.04);
}

.drop-zone.has-files {
  padding: 1.25rem 2rem;
}

.drop-zone-icon {
  color: var(--text-muted, #5a5f6e);
  transition: color 0.2s ease, transform 0.2s ease;
}

.drop-zone:hover .drop-zone-icon,
.drop-zone.hover .drop-zone-icon {
  color: var(--teal-text, #3ECFCA);
  transform: translateY(-2px);
}

.drop-hint {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-light, #f0f1f3);
}

.drop-meta {
  font-size: 0.8rem;
  color: var(--text-muted, #5a5f6e);
}

/* File list */
.upload-file-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.upload-file-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--surface, #13151a);
  border: 1px solid var(--border, rgba(255,255,255,0.07));
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  animation: slideInFile 0.2s ease forwards;
}

@keyframes slideInFile {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.upload-file-icon {
  color: var(--teal-text, #3ECFCA);
  flex-shrink: 0;
  display: flex;
}

.upload-file-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.upload-file-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-light, #f0f1f3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.upload-file-size {
  font-size: 0.75rem;
  color: var(--text-muted, #5a5f6e);
}

.upload-file-remove {
  flex-shrink: 0;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  color: var(--text-muted, #5a5f6e);
  padding: 0.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  line-height: 1;
}

.upload-file-remove:hover {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.3);
  color: #f87171;
  transform: none;
  box-shadow: none;
}

/* Progress */
.progress-container {
  position: relative;
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  overflow: hidden;
  display: none;
}

#progressBar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--teal, #0AADA8), var(--teal-text, #3ECFCA));
  transition: width 0.15s ease;
  border-radius: 3px;
}

.progress-text {
  position: absolute;
  right: 0;
  top: 10px;
  font-size: 0.72rem;
  color: var(--text-muted, #5a5f6e);
}

/* Submit button */
.upload-submit {
  width: 100%;
  padding: 0.85rem;
  font-size: 0.95rem;
  margin: 0;
}

.upload-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Disclaimer */
.upload-disclaimer {
  font-size: 0.78rem;
  color: var(--text-muted, #5a5f6e);
  text-align: center;
  line-height: 1.6;
  margin: 0;
}

/* Alerts */
.alert {
  padding: 0.85rem 1rem;
  margin: 0;
  border-radius: 10px;
  font-size: 0.9rem;
  border: 1px solid transparent;
  animation: fadeIn 0.3s ease forwards;
  opacity: 0;
}

.alert.error   { background: rgba(239,68,68,0.1);   color: #fca5a5; border-color: rgba(239,68,68,0.25); }
.alert.success { background: rgba(10,173,168,0.1);  color: var(--teal-text,#3ECFCA); border-color: rgba(10,173,168,0.25); }
.alert.info    { background: rgba(99,102,241,0.1);  color: #a5b4fc; border-color: rgba(99,102,241,0.25); }

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 400;
  padding: 1.5rem;
}

.modal {
  background: var(--surface, #13151a);
  border: 1px solid var(--border, rgba(255,255,255,0.07));
  padding: 2rem;
  border-radius: 16px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.modal-title {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-light, #f0f1f3);
  margin: 0 0 0.75rem;
}

.modal-body {
  font-size: 0.9rem;
  color: var(--text-secondary, #8a8f9c);
  line-height: 1.7;
  margin: 0 0 1.5rem;
}

.modal-buttons {
  display: flex;
  gap: 0.75rem;
}

.modal-buttons button {
  flex: 1;
  margin: 0;
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
  touch-action: manipulation;
}

.hidden { display: none !important; }

/* ── Buttons (global) ────────────────────────────────────────────────── */

button {
  background: var(--ups-store-blue);
  color: var(--text-light);
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 1rem;
  font-family: var(--font-primary);
}

button:hover {
  background: var(--ups-store-gold);
  color: var(--ups-store-blue);
  transform: translateY(-2px);
  box-shadow: 0 0 12px rgba(255, 194, 14, 0.1), 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* ── Responsive ──────────────────────────────────────────────────────── */

@media (max-width: 600px) {
  .upload-wrap {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .upload-form-fields {
    grid-template-columns: 1fr;
  }
  .drop-zone {
    padding: 2rem 1.25rem;
  }
  .upload-file-name {
    white-space: normal;
    word-break: break-word;
  }
}

/* ── Admin: Layout ─────────────────────────────────────────────────────── */

.admin-layout {
  display: flex;
  align-items: stretch;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  overflow: hidden;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* ── Admin: Sidebar ───────────────────────────────────────────────────── */

/* New design tokens for the sidebar — lighter, cleaner */
:root {
  --admin-sidebar-bg:      #111318;
  --admin-sidebar-border:  rgba(255, 255, 255, 0.07);
  --admin-sidebar-hover:   rgba(255, 255, 255, 0.05);
  --admin-sidebar-active-bg: rgba(10, 173, 168, 0.12);
  --admin-sidebar-active-color: #3ECFCA;
  --admin-sidebar-section: rgba(255, 255, 255, 0.25);
  --admin-content-bg:      #0d0f14;
  --admin-header-bg:       #111318;
  --admin-header-border:   rgba(255, 255, 255, 0.07);
}

.admin-sidebar {
  width: var(--sidebar-width);
  min-width: var(--sidebar-width);
  background: var(--admin-sidebar-bg);
  border-right: 1px solid var(--admin-sidebar-border);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 50;
}

/* ── Brand / logo row ───────────────────────────────────────────────── */

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1.25rem 1.1rem 1.1rem;
  border-bottom: 1px solid var(--admin-sidebar-border);
  flex-shrink: 0;
}

.sidebar-brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(10, 173, 168, 0.14);
  border: 1px solid rgba(10, 173, 168, 0.25);
  color: #3ECFCA;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sidebar-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* ── Nav ────────────────────────────────────────────────────────────── */

.sidebar-nav {
  flex: 1;
  padding: 1rem 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 1px;
  overflow-y: auto;
}

.sidebar-section-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--admin-sidebar-section);
  padding: 0.85rem 0.65rem 0.35rem;
}

.sidebar-section-label:first-child {
  padding-top: 0;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  padding: 0.58rem 0.75rem;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
  text-align: left;
  border-radius: 8px;
  margin: 0;
  position: relative;
  font-family: var(--font-primary);
}

.sidebar-item:hover {
  background: var(--admin-sidebar-hover);
  color: rgba(255, 255, 255, 0.78);
  transform: none;
  box-shadow: none;
}

.sidebar-item.active {
  background: var(--admin-sidebar-active-bg);
  color: var(--admin-sidebar-active-color);
  font-weight: 600;
  transform: none;
  box-shadow: none;
}

.sidebar-item.active::before {
  display: none; /* pill bg replaces the left bar */
}

.sidebar-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0.85;
}

.sidebar-item.active .sidebar-icon {
  opacity: 1;
  color: var(--admin-sidebar-active-color);
}

.sidebar-label {
  flex: 1;
  white-space: nowrap;
}

.sidebar-badge {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.12rem 0.5rem;
  border-radius: 50px;
  min-width: 22px;
  text-align: center;
  letter-spacing: 0;
}

.sidebar-item.active .sidebar-badge {
  background: rgba(10, 173, 168, 0.2);
  color: var(--admin-sidebar-active-color);
}

/* ── Footer (avatar + profile popover + back/logout) ────────────────── */

.sidebar-footer {
  padding: 0.75rem 0.65rem;
  border-top: 1px solid var(--admin-sidebar-border);
  flex-shrink: 0;
}

.sidebar-profile-btn {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.55rem 0.65rem;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-primary);
  border-radius: 8px;
  transition: background 0.18s ease, color 0.18s ease;
  text-align: left;
}

.sidebar-profile-btn:hover,
.sidebar-profile-btn[aria-expanded="true"] {
  background: var(--admin-sidebar-hover);
  color: var(--text-light);
  transform: none;
  box-shadow: none;
}

.sidebar-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(10, 173, 168, 0.2);
  border: 1px solid rgba(10, 173, 168, 0.35);
  color: #3ECFCA;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0;
}

.sidebar-profile-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.sidebar-profile-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.sidebar-profile-role {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.35);
  white-space: nowrap;
  text-transform: capitalize;
  display: block;
}

.sidebar-profile-caret {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.3);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.sidebar-profile-btn[aria-expanded="true"] .sidebar-profile-caret {
  transform: rotate(180deg);
}

/* back to site / logout rows */
.sidebar-back {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.5rem 0.65rem;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  border-radius: 8px;
  transition: background 0.18s ease, color 0.18s ease;
  font-family: var(--font-primary);
}

.sidebar-back:hover {
  background: var(--admin-sidebar-hover);
  color: rgba(255, 255, 255, 0.75);
}

.sidebar-logout {
  color: rgba(248, 113, 113, 0.6) !important;
}

.sidebar-logout:hover {
  background: rgba(239, 68, 68, 0.08) !important;
  color: #f87171 !important;
}

/* ── Admin: Mobile Sidebar Toggle ──────────────────────────────────────── */

.admin-sidebar-toggle {
  display: none;
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 60;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--admin-sidebar-bg);
  border: 1px solid var(--admin-sidebar-border);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  margin: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.admin-sidebar-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 1px;
  transition: var(--transition);
}

.admin-sidebar-toggle:hover {
  transform: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  background: rgba(10, 173, 168, 0.15);
}

.admin-sidebar-toggle:hover span {
  background: #3ECFCA;
}

/* ── Admin: Content header bar ──────────────────────────────────────────── */

.admin-content-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 0 1.25rem;
  margin-bottom: 0.25rem;
  border-bottom: 1px solid var(--admin-sidebar-border);
  flex-shrink: 0;
}

.admin-page-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: -0.02em;
  margin: 0;
}

.admin-header-store-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ── Admin: Content Area ──────────────────────────────────────────────── */

.admin-content {
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 1.5rem 1.75rem 1.5rem;
  background: var(--admin-content-bg);
  text-align: left;
}

/*
 * Single scroll region: fills space below stat cards; body does not scroll on admin.
 */
.admin-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
  padding-top: 1rem;
}

/* ── Admin: themed scrollbars (Firefox + WebKit) ─────────────────────── */
body.admin-page .admin-scroll,
body.admin-page .admin-sidebar,
body.admin-page .ot-table-wrap {
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.08) transparent;
}

body.admin-page .admin-scroll::-webkit-scrollbar,
body.admin-page .admin-sidebar::-webkit-scrollbar,
body.admin-page .ot-table-wrap::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

body.admin-page .admin-scroll::-webkit-scrollbar-track,
body.admin-page .admin-sidebar::-webkit-scrollbar-track,
body.admin-page .ot-table-wrap::-webkit-scrollbar-track {
  background: transparent;
}

body.admin-page .admin-scroll::-webkit-scrollbar-thumb,
body.admin-page .admin-sidebar::-webkit-scrollbar-thumb,
body.admin-page .ot-table-wrap::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
}

body.admin-page .admin-scroll::-webkit-scrollbar-thumb:hover,
body.admin-page .admin-sidebar::-webkit-scrollbar-thumb:hover,
body.admin-page .ot-table-wrap::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.18);
}

body.admin-page .admin-scroll::-webkit-scrollbar-corner,
body.admin-page .admin-sidebar::-webkit-scrollbar-corner,
body.admin-page .ot-table-wrap::-webkit-scrollbar-corner {
  background: transparent;
}
/* ── Admin: Stat Cards ────────────────────────────────────────────────── */

.stat-cards {
  flex-shrink: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.stat-card {
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  overflow: hidden;
  transition: var(--transition);
}

.stat-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.stat-card-body {
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.stat-card--gold .stat-number  { color: var(--ups-store-gold); }
.stat-card--blue .stat-number  { color: #64B5F6; }
.stat-card--green .stat-number { color: #81C784; }

.stat-card--gold  { border-left: 3px solid var(--ups-store-gold); }
.stat-card--blue  { border-left: 3px solid #64B5F6; }
.stat-card--green { border-left: 3px solid #81C784; }

.stat-card-footer {
  padding: 0.6rem 1.5rem;
  border-top: 1px solid var(--card-border);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.stat-export-link {
  color: var(--ups-store-gold);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.stat-export-link:hover {
  color: var(--text-light);
}

.stat-card-muted {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.metrics-restricted-note {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 36rem;
}

/* ── Admin: Metrics tab ───────────────────────────────────────────────── */

.metrics-intro {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.metrics-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.metrics-card .stat-card-body {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.metrics-table-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: var(--text-light);
}

/* ── Admin: Panel Toolbar ─────────────────────────────────────────────── */

.panel-toolbar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.toolbar-search {
  flex: 1;
  min-width: 200px;
  position: relative;
}

.search-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  pointer-events: none;
  opacity: 0.5;
}

.toolbar-search-input {
  width: 100%;
  padding: 0.65rem 0.75rem 0.65rem 2.5rem;
  background: var(--container-dark);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  color: var(--text-light);
  font-size: 0.9rem;
  font-family: var(--font-primary);
  transition: border-color 0.2s ease;
  max-width: none;
  margin: 0;
}

.toolbar-search-input:focus {
  outline: none;
  border-color: var(--ups-store-gold);
}

.toolbar-search-input::placeholder {
  color: var(--text-muted);
}

.toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  flex-shrink: 0;
  align-items: center;
}

/* ── Admin: Action Buttons (shared) ───────────────────────────────────── */

.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid #444;
  border-radius: 6px;
  background: var(--container-dark);
  color: var(--text-light);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  margin: 0;
  white-space: nowrap;
  font-family: var(--font-primary);
}

.action-btn:hover {
  transform: none;
  box-shadow: none;
}

.action-btn--download:hover {
  background: var(--ups-store-gold);
  color: var(--ups-store-blue);
  border-color: var(--ups-store-gold);
}

.action-btn--keep:hover {
  background: #1565C0;
  border-color: #1565C0;
  color: #fff;
}

.action-btn--release {
  border-color: #FFA726;
  color: #FFA726;
}

.action-btn--release:hover {
  background: #FFA726;
  color: var(--bg-dark);
  border-color: #FFA726;
}

.action-btn--delete {
  border-color: #E53935;
  color: #E53935;
}

.action-btn--delete:hover {
  background: #E53935;
  color: #fff;
  border-color: #E53935;
}

.action-btn--export {
  background: var(--ups-store-gold);
  color: var(--ups-store-blue);
  border-color: var(--ups-store-gold);
  font-weight: 600;
}

.action-btn--export:hover {
  background: transparent;
  color: var(--ups-store-gold);
}

.action-btn--import {
  cursor: pointer;
  border-style: dashed;
}

.action-btn--import:hover {
  border-color: var(--ups-store-gold);
  color: var(--ups-store-gold);
}


.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.inline-form {
  display: inline;
}

/* ── Admin: Empty State ───────────────────────────────────────────────── */

.empty-state {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--text-muted);
}

.empty-icon {
  display: block;
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  opacity: 0.4;
}

.empty-state p {
  font-size: 1rem;
}

.empty-table-cell {
  text-align: left;
  padding: 2rem !important;
  color: var(--text-muted);
}

/* ── Admin: Data Table Wrapper ────────────────────────────────────────── */

.data-table-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ── Admin: Session Rows ──────────────────────────────────────────────── */

.session-row {
  background: var(--container-dark);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  margin-bottom: 0.5rem;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.session-row:hover {
  border-color: #444;
}

.session-row-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  cursor: default;
}

.session-expand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: transparent;
  border: 1px solid #444;
  border-radius: 4px;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0;
  margin: 0;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
  font-size: 0.7rem;
}

.session-expand:hover {
  background: var(--sidebar-hover);
  color: var(--text-light);
  transform: none;
  box-shadow: none;
}

.session-expand .expand-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.session-row.expanded .session-expand .expand-arrow {
  transform: rotate(90deg);
}

.session-row-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  min-width: 0;
}

.session-row-name {
  font-weight: 600;
  color: var(--ups-store-gold);
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.session-row-email {
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.session-row-count {
  font-size: 0.8rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.2rem 0.6rem;
  border-radius: 10px;
  white-space: nowrap;
  flex-shrink: 0;
}

.session-row-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

/* ── Admin: Session Files Panel (expandable) ──────────────────────────── */

.session-files-panel {
  display: none;
  border-top: 1px solid var(--card-border);
  background: rgba(0, 0, 0, 0.15);
}

.session-row.expanded .session-files-panel {
  display: block;
}

.files-subtable {
  width: 100%;
  border-collapse: collapse;
}

.files-subtable thead {
  background: rgba(0, 0, 0, 0.2);
}

.files-subtable th {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: left;
  border-bottom: 1px solid var(--card-border);
}

.files-subtable td {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  color: var(--text-light);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  text-align: left;
}

.files-subtable tr:last-child td {
  border-bottom: none;
}

.files-subtable tr:hover {
  background: rgba(255, 194, 14, 0.04);
}

.cell-filename {
  word-break: break-all;
  max-width: 400px;
}

.cell-timestamp {
  white-space: nowrap;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.cell-actions {
  white-space: nowrap;
  text-align: right; /* actions column stays right-aligned in file rows */
}

.files-subtable td.cell-actions {
  text-align: right;
}

.file-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s ease, color 0.2s ease;
  text-decoration: none;
  padding: 0;
  margin: 0;
  vertical-align: middle;
}

.file-action--download {
  color: var(--ups-store-gold);
}

.file-action--download:hover {
  background: rgba(255, 194, 14, 0.15);
  color: var(--ups-store-gold);
}

.file-action--delete {
  color: #E53935;
}

.file-action--delete:hover {
  background: rgba(229, 57, 53, 0.15);
  color: #E53935;
  transform: none;
  box-shadow: none;
}

/* ── Admin: Project Group Rows ────────────────────────────────────────── */

.project-group-row {
  background: var(--container-dark);
  border: 1px solid var(--card-border);
  border-left: 3px solid #64B5F6;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.project-group-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--card-border);
  flex-wrap: wrap;
}

.project-group-name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--ups-store-gold);
}

.project-group-email {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.session-row--project {
  border: none;
  border-radius: 0;
  margin-bottom: 0;
  border-bottom: 1px solid var(--card-border);
}

.session-row--project:last-child {
  border-bottom: none;
}

.session-row--project:hover {
  border-color: var(--card-border);
  background: rgba(255, 255, 255, 0.02);
}

/* ── Admin: Data Table (emails) ───────────────────────────────────────── */

.admin-data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--container-dark);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--card-border);
}

.admin-data-table thead {
  position: sticky;
  top: 0;
  z-index: 5;
}

.admin-data-table th {
  background: var(--sidebar-bg);
  color: var(--text-muted);
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--card-border);
}

.admin-data-table td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-light);
  font-size: 0.9rem;
  text-align: left;
  vertical-align: middle;
}

.admin-data-table tr:last-child td {
  border-bottom: none;
}

.admin-data-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

.admin-data-table tbody tr:hover {
  background: rgba(255, 194, 14, 0.06);
}

.admin-data-table a {
  color: #64B5F6;
  text-decoration: none;
  transition: color 0.2s ease;
}

.admin-data-table a:hover {
  color: var(--ups-store-gold);
}

.col-actions {
  width: 60px;
  text-align: left;
  white-space: nowrap;
}

.col-actions.marketing-actions {
  width: auto;
  min-width: 140px;
}

.marketing-actions .inline-marketing-action,
.marketing-actions .inline-delete-email {
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.15rem;
}

.inline-reconcile-brevo {
  display: inline-block;
  margin-right: 0.5rem;
}

.inline-reconcile-brevo button {
  cursor: pointer;
}

.cell-muted {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.35;
}

.mkt-status {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: capitalize;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.12));
}

.mkt-status--subscribed {
  color: #81c784;
}

.mkt-status--unsubscribed {
  color: #ffb74d;
}

.mkt-status--suppressed,
.mkt-status--invalid,
.mkt-status--archived {
  color: #e57373;
}

.mkt-status--unknown {
  color: var(--text-muted);
}

.inline-delete-email button {
  background: transparent;
  border: none;
  color: #E53935;
  cursor: pointer;
  font-size: 1rem;
  padding: 0.25rem;
  margin: 0;
}

.inline-delete-email button:hover {
  transform: none;
  box-shadow: none;
}

/* ── Links ─────────────────────────────────────────────────────────────── */

.file-list a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.file-list a:hover {
  color: var(--ups-store-gold);
}

/* ── Hero Label ────────────────────────────────────────────────────────── */

.hero-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ups-store-gold);
  background: rgba(255, 194, 14, 0.08);
  border: 1px solid rgba(255, 194, 14, 0.15);
  padding: 0.3rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards;
}

/* ── Services ──────────────────────────────────────────────────────────── */

.services-intro {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

/* (services-grid removed — replaced by .svc-* in public redesign) */

/* (services-cta, contact hero/body/cards/map removed — replaced by pg-hero, svc-*, ct-* below) */

/* ── Footer ────────────────────────────────────────────────────────────── */

.site-footer {
  background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(0, 56, 140, 0.3) 100%);
  padding: 2.5rem 2rem 1.5rem;
  margin-top: auto;
  position: relative;
  z-index: 1;
  border-top: 1px solid transparent;
  border-image: linear-gradient(to right, transparent, rgba(255, 194, 14, 0.12), transparent) 1;
}

.footer-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: left;
}

.footer-section h3 {
  color: var(--ups-store-gold);
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.footer-section p,
.footer-section a {
  color: var(--text-muted);
  text-decoration: none;
  line-height: 1.9;
  display: block;
}

.footer-section a {
  position: relative;
  display: inline-block;
  transition: color 0.3s ease;
}

.footer-section a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--ups-store-gold);
  transition: width 0.3s ease;
}

.footer-section a:hover {
  color: var(--ups-store-gold);
}

.footer-section a:hover::after {
  width: 100%;
}

.hours-list {
  list-style: none;
  padding: 0;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  padding: 0.25rem 0;
  gap: 1rem;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(160, 160, 180, 0.5);
  font-size: 0.8rem;
}

/* ── Admin-page body: hide footer ──────────────────────────────────────── */

html:has(body.admin-page) {
  height: 100%;
  overflow: hidden;
}

body.admin-page .site-footer {
  display: none;
}

body.admin-page .navbar-outer {
  display: none;
}

body.admin-page {
  overflow: hidden;
  height: 100dvh;
  max-height: 100dvh;
  min-height: 0;
}

body.admin-page main {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Keep nav visible while tall content scrolls (desktop) */
@media (min-width: 769px) {
  body.admin-page .admin-sidebar {
    position: sticky;
    top: 0;
    align-self: flex-start;
    max-height: 100vh;
    overflow-y: auto;
  }
}

/* ── Staff login (no public nav/footer) ───────────────────────────────── */

body.login-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  text-align: left;
}

body.login-page main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.login-wrap {
  width: 100%;
  max-width: 420px;
}

.login-card.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem 2rem 1.75rem;
  box-shadow: var(--glow-gold-box), 0 24px 48px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.login-brand-mark {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ups-store-gold);
  border: 1px solid rgba(255, 194, 14, 0.35);
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.login-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 0.35rem;
}

.login-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.login-flash {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  text-align: left;
}

.login-flash-msg {
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.login-flash-msg--error {
  background: rgba(180, 60, 60, 0.2);
  border: 1px solid rgba(220, 100, 100, 0.35);
  color: #f0b0b0;
}

.login-flash-msg--success {
  background: rgba(60, 140, 90, 0.2);
  border: 1px solid rgba(100, 180, 120, 0.35);
  color: #b8e0c8;
}

.login-flash-msg--info {
  background: rgba(60, 100, 160, 0.18);
  border: 1px solid rgba(100, 140, 200, 0.35);
  color: #c8d8f0;
}

.login-flash-msg--warning {
  background: rgba(200, 150, 40, 0.15);
  border: 1px solid rgba(220, 180, 80, 0.4);
  color: #f0e0a8;
}

.login-form {
  text-align: left;
}

.login-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.login-input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  margin-bottom: 1rem;
  border-radius: 10px;
  border: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text-light);
  font-family: inherit;
  font-size: 1rem;
}

.login-input:focus {
  outline: none;
  border-color: rgba(255, 194, 14, 0.35);
  box-shadow: 0 0 0 2px rgba(255, 194, 14, 0.12);
}

.login-submit {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(135deg, var(--ups-store-gold), #e6a800);
  color: #0d0f18;
  transition: var(--transition);
}

.login-submit:hover {
  filter: brightness(1.05);
  box-shadow: 0 4px 20px rgba(255, 194, 14, 0.25);
}

.login-hint {
  margin-top: 1.25rem;
  font-size: 0.75rem;
  color: rgba(160, 160, 180, 0.45);
}

.login-actions {
  margin: 0.4rem 0 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.login-actions a {
  color: var(--ups-store-gold);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
}

.login-actions a:hover,
.login-actions a:focus-visible {
  text-decoration: underline;
}

/* ── Admin: merged Time & OT tab ───────────────────────────────────────── */

/* ── Toolbar: period picker + section tabs ─────────────────────────────── */

.time-tab-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1.75rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
}

.time-toolbar-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.1rem;
}

.time-period-meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.time-period-meta-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.time-period-meta-dates {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: -0.01em;
}

/* ── Section tab pills ─────────────────────────────────────────────────── */

.time-section-tabs {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 0.2rem;
  flex-shrink: 0;
}

.time-section-tab {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  border-radius: 7px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.time-section-tab:hover {
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.06);
}

.time-section-tab.is-active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

/* Focused time view: hide every subsection, then show only the selected one.
   Generic so new sections (team, activity, …) need no new hide rules. */
#tab-time .time-subpanel { display: none !important; }
#tab-time.time-focus--worked   #time-section-worked,
#tab-time.time-focus--overtime #time-section-overtime,
#tab-time.time-focus--team     #time-section-team,
#tab-time.time-focus--payroll  #time-section-payroll,
#tab-time.time-focus--activity #time-section-activity,
#tab-time.time-focus--admin    #time-section-admin {
  display: block !important;
}

.time-jump-nav-sep {
  color: rgba(160, 160, 180, 0.5);
  user-select: none;
}

/* ── Sub-panel sections ────────────────────────────────────────────────── */

.time-subpanel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

#tab-time .time-subpanel-heading {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.2rem;
  color: var(--text-light);
  letter-spacing: -0.01em;
}

.time-subpanel-tagline {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

.time-info-banner {
  margin: 0 0 1.5rem;
  padding: 0.7rem 0.9rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  font-size: 0.83rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.time-info-banner strong {
  color: var(--text-light);
  font-weight: 600;
}

.wh-compliance-intro {
  margin-bottom: 1.25rem;
}

.payroll-summary-intro {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

#tab-time .time-subpanel {
  margin-bottom: 0.5rem;
}

.time-subpanel--overtime {
  margin-bottom: 2rem;
}

.time-subpanel--worked {
  margin-bottom: 2rem;
}

.time-subpanel--payroll {
  margin-bottom: 1rem;
}

.time-subpanel--focused {
  outline: 2px solid rgba(255, 194, 14, 0.35);
  outline-offset: 6px;
  border-radius: var(--radius-lg);
}

.wh-team-summary-head--payroll {
  justify-content: flex-end;
  margin-bottom: 0.75rem;
}

.sidebar-badge-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
  min-width: 1.5rem;
}

.sidebar-badge--ot {
  background: rgba(255, 140, 0, 0.2);
  border-color: rgba(255, 140, 0, 0.35);
}

.sidebar-badge--wh {
  background: rgba(220, 53, 69, 0.15);
  border-color: rgba(220, 53, 69, 0.35);
}

.wh-team-summary-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.wh-team-summary-head .ot-section-title {
  margin-bottom: 0;
}

.wh-export-link {
  white-space: nowrap;
  font-size: 0.9rem;
}

.wh-summary-table th,
.wh-summary-table td {
  font-size: 0.88rem;
}

/* ── Employee filter form ──────────────────────────────────────────────── */

.wh-employee-filter-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 0.6rem 0.85rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--glass-border);
}

.wh-employee-filter-form label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.wh-employee-filter-form select {
  padding: 0.4rem 0.65rem;
  border-radius: 7px;
  border: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text-light);
  font-family: inherit;
  font-size: 0.88rem;
  min-width: 12rem;
  color-scheme: dark;
}

.wh-employee-filter-form select option {
  background: #1a1f2e;
  color: var(--text-light);
}

/* ── Auth flow pages (onboarding + 2FA manage) ───────────────────────────── */

.auth-flow-wrap {
  max-width: 760px;
  margin: 2rem auto;
}

.auth-flow-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: start;
}

.auth-flow-card {
  padding: 1rem;
}

.auth-flow-spaced {
  margin-top: 1rem;
}

.auth-flow-qr {
  max-width: 220px;
  width: 100%;
}

.auth-flow-muted {
  margin-top: 0.4rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.auth-backup-list {
  list-style: none;
  padding-left: 0;
  margin: 0.5rem 0 0;
  display: grid;
  gap: 0.35rem;
}

.auth-flow-card .login-submit {
  margin-top: 0.2rem;
}

.login-wrap--wide {
  max-width: 760px;
}

.login-flash--setup-2fa {
  width: 100%;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.login-wrap--wide .login-flash--setup-2fa {
  max-width: 760px;
}

.setup-2fa-intro {
  margin-bottom: 1rem;
  text-align: center;
}

.setup-2fa-intro .login-brand {
  margin-bottom: 0;
}

.setup-2fa-grid {
  margin-top: 0.5rem;
}

.setup-2fa-backup-panel {
  text-align: center;
}

.setup-2fa-backup-panel .login-brand {
  margin-bottom: 0.75rem;
}

.setup-2fa-user-line {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.setup-2fa-backup-panel .auth-backup-list {
  text-align: left;
  margin: 0.75rem 0 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr));
}

.setup-2fa-backup-panel .auth-backup-list code {
  display: block;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--glass-border);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.setup-2fa-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
  margin-top: 0.5rem;
}

.setup-2fa-dashboard-cta {
  text-decoration: none;
}

.setup-2fa-dashboard-cta--solo {
  display: inline-block;
  margin-top: 0.35rem;
}

.setup-2fa-status {
  margin: 0.75rem 0 1.25rem;
  font-size: 0.95rem;
  color: var(--text-light);
}

/* ── Admin: overtime tab ──────────────────────────────────────────────── */

.ot-period-section {
  max-width: 720px;
  margin: 0 auto 1.5rem;
  text-align: center;
}

.ot-panel-intro {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  text-align: left;
}

.ot-panel-intro--center {
  text-align: center;
  line-height: 1.65;
}

.ot-panel-intro--muted {
  font-size: 0.85rem;
  color: rgba(160, 160, 180, 0.75);
  margin-bottom: 0.75rem;
}

.ot-period-range-label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.ot-period-range-dates {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ups-store-gold);
}

.ot-period-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0;
}

.ot-period-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.ot-period-form select {
  padding: 0.4rem 0.65rem;
  border-radius: 7px;
  border: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text-light);
  font-family: inherit;
  font-size: 0.85rem;
  color-scheme: dark;
}

.ot-period-form select option {
  background: #1a1f2e;
  color: var(--text-light);
}

.ot-submit-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.ot-submit-card h3 {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  color: var(--text-light);
  letter-spacing: -0.01em;
}

.ot-submit-card-desc {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.ot-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem 1rem;
  align-items: end;
}

.ot-form-grid label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.ot-form-grid input,
.ot-form-grid textarea {
  width: 100%;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.2);
  color: var(--text-light);
  font-family: inherit;
}

.ot-form-grid textarea {
  min-height: 3rem;
  resize: vertical;
}

.ot-btn {
  padding: 0.55rem 1rem;
  border-radius: 8px;
  border: none;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
}

.ot-btn--primary {
  background: var(--ups-store-gold);
  color: #0d0f18;
}

.ot-btn--approve {
  background: rgba(60, 140, 90, 0.85);
  color: #fff;
}

.ot-btn--deny {
  background: rgba(140, 60, 60, 0.85);
  color: #fff;
}

.ot-btn--delete {
  background: rgba(100, 50, 50, 0.5);
  color: #f0c0c0;
  border: 1px solid rgba(200, 100, 100, 0.4);
}

.ot-btn--delete:hover {
  background: rgba(140, 60, 60, 0.75);
  color: #fff;
}

.ot-btn--small {
  padding: 0.35rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 500;
}

.ot-btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-light);
  border: 1px solid rgba(100, 181, 246, 0.25);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.ot-btn--ghost:hover {
  background: rgba(100, 181, 246, 0.12);
  border-color: rgba(100, 181, 246, 0.45);
  color: var(--text-light);
}

body.admin-page a.ot-btn--ghost.wh-export-link,
body.admin-page a.ot-btn--ghost.wh-export-link:visited,
body.admin-page a.ot-btn--ghost.wh-export-link:-webkit-any-link {
  color: var(--text-light);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(100, 181, 246, 0.25);
}

body.admin-page a.ot-btn--ghost.wh-export-link:hover {
  background: rgba(100, 181, 246, 0.12);
  border-color: rgba(100, 181, 246, 0.45);
  color: var(--text-light);
}

body.admin-page a.ot-btn--ghost.wh-export-link:focus-visible {
  border-color: rgba(255, 194, 14, 0.65);
  box-shadow: 0 0 0 3px rgba(255, 194, 14, 0.2);
  outline: none;
}

.ot-table-wrap {
  overflow-x: auto;
  margin-bottom: 1.5rem;
}

.ot-section-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 1.5rem 0 0.65rem;
  color: var(--text-muted);
}

/* ── Worked hours: super-admin entry for others ──────────────────────── */

.wh-admin-entry-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.wh-admin-entry-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1rem;
  align-items: flex-end;
}

.wh-admin-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 8rem;
  flex: 1 1 8rem;
}

.wh-admin-field label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.wh-admin-field select {
  box-sizing: border-box;
  width: 100%;
  min-height: 3rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text-light);
  font-size: 1rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  font-family: var(--font-primary);
  color-scheme: dark;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wh-admin-field .wh-date-slot {
  width: auto;
  max-width: 14.5rem;
}

.wh-admin-field .wh-employee-slot {
  position: relative;
  width: 100%;
}

.wh-admin-field .wh-employee-slot .wh-time-trigger {
  max-width: none;
  width: 100%;
}

.wh-employee-popover {
  position: absolute;
  left: 0;
  top: calc(100% + 0.35rem);
  z-index: 450;
  width: 100%;
  max-height: 14rem;
  border-radius: 12px;
  border: 1px solid rgba(100, 181, 246, 0.28);
  background: linear-gradient(180deg, rgba(18, 28, 48, 0.98) 0%, rgba(8, 14, 28, 0.99) 100%);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.48), 0 0 0 1px rgba(255, 194, 14, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.wh-employee-popover[hidden] {
  display: none !important;
}

.wh-employee-popover-inner {
  padding: 0.35rem;
}

.wh-employee-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 13rem;
  overflow-y: auto;
}

.wh-employee-option {
  width: 100%;
  margin: 0;
  padding: 0.6rem 0.7rem;
  border: none;
  border-radius: 8px;
  text-align: left;
  background: transparent;
  color: var(--text-light);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.3;
  cursor: pointer;
  font-family: inherit;
}

.wh-employee-option:hover,
.wh-employee-option:focus-visible {
  background: rgba(255, 194, 14, 0.18);
  color: var(--ups-store-gold);
  outline: 2px solid rgba(255, 194, 14, 0.55);
  outline-offset: 1px;
}

.wh-employee-option.is-selected {
  background: rgba(100, 181, 246, 0.18);
  color: #cfe7ff;
}

.wh-admin-field .wh-date-slot .wh-time-trigger {
  max-width: 14.5rem;
  width: 100%;
}

.wh-admin-field .wh-time-slot .wh-time-trigger {
  max-width: none;
  width: 100%;
}

.wh-admin-breaks {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.wh-admin-breaks[hidden] {
  display: none !important;
}

.wh-admin-break-option {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.22);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.wh-admin-break-option:hover {
  border-color: rgba(255, 194, 14, 0.28);
  background: rgba(0, 0, 0, 0.32);
}

.wh-admin-break-option[hidden] {
  display: none !important;
}

.wh-admin-break-option--voluntary {
  border-left: 3px solid rgba(129, 199, 132, 0.75);
}

.wh-admin-break-option .wh-break-checktext {
  font-size: 0.9rem;
}

/* ── Worked hours: payroll lock banner ──────────────────────────────────── */

.wh-payroll-lock-banner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: rgba(76, 175, 80, 0.12);
  border: 1px solid rgba(76, 175, 80, 0.3);
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ── Worked hours: pending edit / approval ──────────────────────────────── */

.wh-row-pending {
  background: rgba(255, 193, 7, 0.07);
}

.wh-pending-edit-cell {
  min-width: 9rem;
}

.wh-pending-edit-info {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.wh-pending-detail {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.wh-pending-edit-actions {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.25rem;
}

.wh-inline-form {
  display: inline;
}

/* ── Worked hours: shift form (time + break) ───────────────────────────── */

.wh-shift-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.wh-work-date-block {
  margin: 0;
  padding: 1rem 1.1rem 1.15rem;
  border: 1px solid rgba(100, 181, 246, 0.18);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(0, 40, 90, 0.22) 0%, rgba(0, 25, 55, 0.2) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.wh-field-legend {
  display: block;
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(180, 210, 255, 0.85);
}

.wh-work-date-label {
  margin-bottom: 0.45rem;
}

/* Date slot: hidden native input + visible styled trigger (mirrors time picker triggers) */
.wh-date-slot {
  position: relative;
  width: auto;
  max-width: 14.5rem;
}

.wh-date-slot .js-wh-date-hidden {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  z-index: -1;
}

.wh-date-slot .wh-time-trigger {
  width: 100%;
  max-width: 14.5rem;
}

/* ── Custom date popover (mirrors .wh-time-popover aesthetic) ────────── */

.wh-date-popover {
  position: fixed;
  z-index: 9999;
  width: 22.5rem !important;
  max-width: 22.5rem !important;
  min-width: 0;
  border-radius: 14px;
  /* surface / border / shadow come from portal-lite (scheduling.css) */
}

.wh-date-popover[hidden] {
  display: none !important;
}

.wh-date-popover-inner {
  padding: 0.7rem 0.7rem 0.6rem;
}

.wh-date-popover button {
  margin-top: 0;
  font-family: var(--font-primary);
  transform: none;
  box-shadow: none;
}

.wh-date-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

.wh-date-month-label {
  font-size: 1.12rem;
  font-weight: 700;
  color: rgba(230, 235, 250, 0.98);
  letter-spacing: 0.02em;
  user-select: none;
}

.wh-date-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.35);
  color: var(--text-light);
  font-size: 1.56rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease, color 0.15s ease;
}

.wh-date-nav:hover:not(:disabled) {
  background: rgba(255, 194, 14, 0.18);
  color: var(--ups-store-gold);
}

.wh-date-nav:focus-visible {
  outline: 2px solid rgba(255, 194, 14, 0.6);
  outline-offset: 2px;
}

.wh-date-nav:disabled,
.wh-date-nav--disabled {
  opacity: 0.3;
  cursor: default;
}

.wh-date-popover .wh-date-weekdays {
  display: grid;
  gap: 0;
  text-align: center;
  margin-bottom: 0;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.2rem;
}

.wh-date-popover .wh-date-weekdays span {
  display: block !important;
  box-sizing: border-box;
  width: 100%;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: rgba(160, 175, 200, 0.6);
  padding: 0.3rem 0;
}

.wh-date-popover .wh-date-grid {
  display: grid;
  width: 100%;
  margin-top: 0.2rem;
}

.wh-date-popover .wh-date-cell {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  width: 100%;
  border: none;
  border-radius: 0;
  background: rgba(12, 18, 32, 0.95);
  color: var(--text-light);
  font-size: 0.95rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  font-family: inherit;
  line-height: 1.15;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  padding: 0;
}

.wh-date-popover .wh-date-grid > .wh-date-cell {
  width: 100% !important;
  min-width: 0 !important;
}

.wh-date-cell--empty {
  cursor: default;
}

.wh-date-cell--outside {
  color: rgba(180, 190, 210, 0.45);
  cursor: default;
  pointer-events: none;
}

.wh-date-cell:not(.wh-date-cell--empty):not(.wh-date-cell--disabled):not(.wh-date-cell--outside):hover {
  background: rgba(255, 194, 14, 0.15);
  color: var(--ups-store-gold);
}

.wh-date-cell--today {
  background: rgba(100, 181, 246, 0.12);
  box-shadow: inset 0 0 0 1.5px rgba(100, 181, 246, 0.4);
}

.wh-date-cell--selected {
  font-weight: 700;
}

.wh-date-cell--selected.wh-date-cell--today {
  box-shadow: none;
}

.wh-date-cell--disabled {
  opacity: 0.25;
  cursor: default;
  pointer-events: none;
}

.wh-date-cell:focus-visible {
  outline: 2px solid rgba(255, 214, 102, 0.9);
  outline-offset: 1px;
  z-index: 1;
}

@media (max-width: 480px) {
  .wh-date-popover {
    width: min(20.5rem, calc(100vw - 1rem)) !important;
    max-width: min(20.5rem, calc(100vw - 1rem)) !important;
    min-width: 0;
  }
}

.wh-work-date-value {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ups-store-gold);
  font-variant-numeric: tabular-nums;
}

.wh-period-note {
  color: rgba(255, 200, 120, 0.95);
  font-size: 0.88rem;
  margin-bottom: 1rem !important;
}

.wh-time-fieldset {
  margin: 0;
  padding: 1rem 1.1rem 1.15rem;
  border: 1px solid rgba(100, 181, 246, 0.18);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(0, 40, 90, 0.22) 0%, rgba(0, 25, 55, 0.2) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.wh-time-legend {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(180, 210, 255, 0.85);
}

.wh-time-pair {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
  gap: 0.75rem 1rem;
}

.wh-time-slot {
  flex: 1 1 140px;
  min-width: 0;
  max-width: 220px;
}

.wh-time-slot--picker {
  position: relative;
  max-width: 280px;
}

.wh-time-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 0.45rem;
}

.wh-time-label--in::before,
.wh-time-label--out::before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}

.wh-time-label--in::before {
  background: linear-gradient(135deg, #81c784, #4caf50);
  box-shadow: 0 0 10px rgba(129, 199, 132, 0.45);
}

.wh-time-label--out::before {
  background: linear-gradient(135deg, #64b5f6, #2196f3);
  box-shadow: 0 0 10px rgba(100, 181, 246, 0.45);
}

.wh-time-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem 0.85rem;
  min-height: 3.25rem;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
  text-align: left;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  color: rgba(200, 205, 220, 0.92);
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.wh-time-trigger.has-value {
  color: var(--text-light);
  font-size: 1.25rem;
}

.wh-time-trigger:hover {
  border-color: rgba(255, 255, 255, 0.22);
}

.wh-time-trigger:focus {
  outline: none;
}

.wh-time-trigger:focus-visible {
  border-color: rgba(255, 194, 14, 0.65);
  box-shadow: 0 0 0 3px rgba(255, 194, 14, 0.26);
}

.wh-time-trigger-caret {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid rgba(255, 194, 14, 0.75);
  flex-shrink: 0;
  opacity: 0.85;
}

.wh-time-popover {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.35rem);
  z-index: 400;
  min-width: min(100%, 17.5rem);
  border-radius: 14px;
  border: 1px solid rgba(100, 181, 246, 0.35);
  background: linear-gradient(180deg, rgba(18, 28, 48, 0.98) 0%, rgba(8, 14, 28, 0.99) 100%);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 194, 14, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.wh-time-popover[hidden] {
  display: none !important;
}

.wh-time-popover-inner {
  padding: 1rem 1rem 0.85rem;
}

.wh-time-dials {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
  gap: 0.35rem 0.5rem;
}

.wh-time-field-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.wh-time-field-group--ampm {
  min-width: 5.5rem;
}

.wh-time-field-hint {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(160, 175, 200, 0.85);
}

.wh-time-colon {
  font-size: 1.35rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.35);
  padding-bottom: 0.35rem;
}

.wh-time-select {
  min-width: 3.75rem;
  padding: 0.45rem 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.45);
  color: var(--text-light);
  font-family: inherit;
  cursor: pointer;
  color-scheme: dark;
}

.wh-time-select option {
  background: #1a1f2e;
  color: var(--text-light);
}

.wh-time-select:focus {
  outline: none;
  border-color: rgba(255, 194, 14, 0.55);
  box-shadow: 0 0 0 2px rgba(255, 194, 14, 0.15);
}

.wh-time-ampm {
  display: flex;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.wh-time-ampm-btn {
  flex: 1;
  padding: 0.45rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: none;
  background: rgba(0, 0, 0, 0.35);
  color: var(--text-muted);
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease, color 0.15s ease;
}

.wh-time-ampm-btn.is-active {
  background: rgba(255, 194, 14, 0.22);
  color: var(--ups-store-gold);
}

.wh-time-ampm-btn:focus-visible {
  outline: 2px solid rgba(255, 194, 14, 0.6);
  outline-offset: 2px;
  z-index: 1;
}

.wh-time-preview {
  margin: 0.75rem 0 0;
  text-align: center;
  font-size: 1.35rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: rgba(230, 235, 250, 0.98);
  letter-spacing: 0.03em;
}

.wh-time-popover-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.wh-time-btn {
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: background 0.15s ease;
}

.wh-time-btn--ghost {
  background: transparent;
  color: var(--text-muted);
}

.wh-time-btn--ghost:hover {
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.06);
}

.wh-time-btn--primary {
  background: var(--ups-store-gold);
  color: #0d0f18;
}

.wh-time-btn--primary:hover {
  filter: brightness(1.05);
}

.wh-time-btn:focus-visible {
  outline: 2px solid rgba(255, 214, 102, 0.88);
  outline-offset: 2px;
}

.wh-time-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 0.25rem;
  flex: 0 0 auto;
}

.wh-time-arrow {
  display: block;
  width: 2rem;
  height: 2px;
  background: linear-gradient(90deg, rgba(129, 199, 132, 0.5), rgba(100, 181, 246, 0.5));
  border-radius: 1px;
  position: relative;
}

.wh-time-arrow::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: rgba(100, 181, 246, 0.85);
  margin-top: -5px;
}

@media (max-width: 520px) {
  .wh-time-pair {
    flex-direction: column;
    align-items: stretch;
  }

  .wh-time-slot {
    max-width: none;
  }

  .wh-time-flow {
    padding: 0.15rem 0;
    transform: rotate(90deg);
  }
}

.wh-break-card {
  padding: 1rem 1.15rem 1.1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 194, 14, 0.18);
  background: linear-gradient(
    165deg,
    rgba(255, 194, 14, 0.07) 0%,
    rgba(0, 30, 70, 0.25) 100%
  );
}

.wh-break-head {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wh-break-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.wh-break-options[hidden] {
  display: none !important;
}

.wh-break-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #0d0f18;
  background: linear-gradient(135deg, var(--ups-store-gold), #e6a800);
}

.wh-break-head-text {
  min-width: 0;
}

.wh-break-title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-light);
}

.wh-break-desc {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.wh-break-desc strong {
  color: rgba(255, 214, 130, 0.95);
  font-weight: 600;
}

.wh-break-confirm {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin: 0;
  padding: 0.9rem 1.05rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.wh-break-confirm:hover {
  border-color: rgba(255, 194, 14, 0.28);
  background: rgba(0, 0, 0, 0.3);
}

.wh-break-confirm[hidden] {
  display: none !important;
}

.wh-break-confirm--voluntary {
  border-left: 3px solid rgba(129, 199, 132, 0.75);
}

.wh-break-checkbox {
  flex-shrink: 0;
  width: 1.4rem;
  height: 1.4rem;
  margin-top: 0.12rem;
  cursor: pointer;
  accent-color: var(--ups-store-gold);
}

.wh-break-checkbox:focus-visible {
  outline: 2px solid rgba(255, 194, 14, 0.65);
  outline-offset: 3px;
}

.wh-break-checktext {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-light);
  font-weight: 500;
}

.wh-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 0.25rem;
}

.wh-period-total {
  margin-bottom: 1.5rem;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.025);
}

.wh-period-total--mine {
  /* kept neutral — no jarring color */
}

.wh-period-total--team {
  margin-top: 0;
  margin-bottom: 1rem;
}

.wh-period-total-main {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.wh-period-total-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
}

.wh-period-total-value {
  font-size: 1.7rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--text-light);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.wh-period-total-unit {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

.wh-period-total-hint {
  margin: 0.75rem 0 0;
  padding-top: 0.65rem;
  border-top: 1px solid var(--glass-border);
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.wh-period-total-hint strong {
  color: var(--text-light);
  font-weight: 600;
}

.wh-period-total-grid {
  display: grid;
  gap: 0.5rem 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .wh-period-total-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
    gap: 0 1px;
  }
  .wh-period-total-main {
    padding: 0 1.25rem;
    border-right: 1px solid var(--glass-border);
  }
  .wh-period-total-main:first-child {
    padding-left: 0;
  }
  .wh-period-total-main:last-child {
    border-right: none;
  }
}

.wh-period-total-main--grand .wh-period-total-value {
  color: var(--text-light);
}

.wh-ot-notes {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.78rem;
  line-height: 1.4;
  color: rgba(210, 220, 240, 0.92);
  max-width: 14rem;
}

.wh-ot-notes li {
  margin-bottom: 0.25rem;
}

.wh-ot-notes-col {
  vertical-align: top;
  max-width: 16rem;
}

.wh-table--ot-unmatched .wh-ot-notes-col {
  max-width: none;
}

.wh-save-btn {
  min-width: 10rem;
  padding: 0.65rem 1.35rem;
  font-size: 0.95rem;
}

@media (min-width: 480px) {
  .wh-save-btn {
    min-width: 12rem;
  }
}

.wh-table .wh-flag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  margin-right: 0.25rem;
}

.wh-flag--ok {
  background: rgba(60, 140, 90, 0.25);
  color: #a8e0c0;
}

.wh-flag--warn {
  background: rgba(200, 140, 40, 0.25);
  color: #f0d090;
}

.wh-flag--danger {
  background: rgba(180, 60, 60, 0.35);
  color: #f0b0b0;
}

.wh-net-suffix {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

.wh-muted {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.wh-compliance-cell {
  vertical-align: top;
  min-width: 7rem;
}

.wh-pending-siah {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #f0d090;
  margin-bottom: 0.35rem;
}

.wh-compliance-pending {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
}

.wh-approve-break-form {
  margin: 0;
}

.ot-pending-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1rem;
  margin-bottom: 0.75rem;
  text-align: left;
}

.ot-pending-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.ot-pending-actions form {
  display: inline-flex;
  flex-direction: column;
  gap: 0.35rem;
}

.ot-pending-actions input[type="text"] {
  min-width: 200px;
  padding: 0.4rem 0.5rem;
  border-radius: 6px;
  border: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.2);
  color: var(--text-light);
  font-family: inherit;
  font-size: 0.85rem;
}

.admin-flash-messages {
  flex-shrink: 0;
  margin-bottom: 1rem;
}

.admin-flash-msg {
  padding: 0.65rem 1rem;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  text-align: left;
}

.admin-flash-msg--error {
  background: rgba(180, 60, 60, 0.2);
  border: 1px solid rgba(220, 100, 100, 0.35);
}

.admin-flash-msg--success {
  background: rgba(60, 140, 90, 0.2);
  border: 1px solid rgba(100, 180, 120, 0.35);
}

.admin-flash-msg--info {
  background: rgba(0, 56, 140, 0.2);
  border: 1px solid rgba(100, 140, 200, 0.35);
}

/* ── Admin: Applicant profile cards ─────────────────────────────────────── */
.applicant-cards {
  display: grid;
  gap: 1.1rem;
}

.applicant-card {
  background: linear-gradient(180deg, rgba(14, 21, 37, 0.95), rgba(11, 16, 28, 0.96));
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 1.05rem 1.1rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.applicant-card::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 194, 14, 0.75), rgba(255, 194, 14, 0.08));
}

.applicant-card:hover {
  border-color: rgba(255, 194, 14, 0.32);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.36);
  transform: translateY(-1px);
}

.applicant-header-toggle {
  cursor: pointer;
}

.applicant-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}

.applicant-head-right {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.applicant-chevron {
  color: var(--ups-store-gold);
  font-size: 1.08rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.22s ease;
}

.applicant-card:not(.is-collapsed) .applicant-chevron {
  transform: rotate(180deg);
}

.applicant-name {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-light);
}

.applicant-applied {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.applicant-status {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  white-space: nowrap;
}

.applicant-status-btn {
  cursor: pointer;
  position: relative;
  font-family: inherit;
  line-height: 1;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.applicant-status-btn::after {
  content: ' ▾';
  font-size: 0.72em;
  font-weight: 700;
}

.applicant-status-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.16);
}

.applicant-status-btn:hover::before {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  padding: 0.25rem 0.45rem;
  border-radius: 6px;
  background: rgba(7, 12, 22, 0.95);
  border: 1px solid rgba(255, 194, 14, 0.35);
  color: var(--text-light);
  font-size: 0.68rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  z-index: 4;
  pointer-events: none;
}

.applicant-status-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 194, 14, 0.35);
}

.applicant-status--new {
  color: #7ed39e;
  background: rgba(46, 125, 50, 0.22);
  border-color: rgba(126, 211, 158, 0.35);
}

.applicant-status--reviewed {
  color: #ffd27a;
  background: rgba(255, 194, 14, 0.16);
  border-color: rgba(255, 194, 14, 0.32);
}

.applicant-status--rejected {
  color: #f48b8b;
  background: rgba(176, 58, 58, 0.24);
  border-color: rgba(244, 139, 139, 0.34);
}

.applicant-status--hired {
  color: #84d8ff;
  background: rgba(30, 120, 180, 0.23);
  border-color: rgba(132, 216, 255, 0.32);
}

.applicant-meta-inline {
  margin-top: 0.58rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
  color: var(--text-muted);
  font-size: 0.84rem;
  padding-bottom: 0.2rem;
}

.applicant-body-wrap {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.26s ease, opacity 0.22s ease;
  opacity: 1;
}

.applicant-body {
  min-height: 0;
  overflow: hidden;
}

.applicant-card.is-collapsed .applicant-body-wrap {
  grid-template-rows: 0fr;
  opacity: 0;
}

.applicant-meta-inline a {
  color: #9ec9ff;
  text-decoration: none;
}

.applicant-meta-inline a:hover {
  color: var(--ups-store-gold);
}

.applicant-resume-btn {
  border-radius: 999px;
  border: 1px solid rgba(255, 194, 14, 0.4);
  background: rgba(255, 194, 14, 0.12);
  color: var(--ups-store-gold) !important;
  padding: 0.22rem 0.65rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.applicant-resume-btn:hover {
  background: rgba(255, 194, 14, 0.2);
  border-color: rgba(255, 194, 14, 0.65);
}

.applicant-section {
  margin-top: 0.9rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 194, 14, 0.2);
}

.applicant-section-title {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  color: rgba(255, 227, 161, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 600;
}

.applicant-kv-grid {
  display: grid;
  gap: 0.55rem;
}

.applicant-kv-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.applicant-kv-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.applicant-kv {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  padding: 0.5rem 0.6rem;
  display: grid;
  gap: 0.2rem;
}

.applicant-kv span {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.applicant-kv strong {
  font-size: 0.88rem;
  color: var(--text-light);
  font-weight: 650;
}

.applicant-pill-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.app-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.26rem 0.58rem;
  font-size: 0.74rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.14);
  white-space: nowrap;
}

.app-pill--yes {
  color: #9ce6b1;
  background: rgba(46, 125, 50, 0.2);
  border-color: rgba(156, 230, 177, 0.35);
}

.app-pill--no {
  color: #f6a4a4;
  background: rgba(176, 58, 58, 0.2);
  border-color: rgba(246, 164, 164, 0.35);
}

.app-pill--warn {
  color: #ffd883;
  background: rgba(255, 194, 14, 0.15);
  border-color: rgba(255, 194, 14, 0.32);
}

.app-pill--muted {
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
}

.applicant-days-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.app-day-chip {
  min-width: 2.3rem;
  text-align: center;
  font-size: 0.74rem;
  padding: 0.24rem 0.45rem;
  border-radius: 999px;
}

.app-day-chip--inactive {
  border: 1px solid rgba(138, 151, 180, 0.35);
  color: rgba(173, 185, 210, 0.9);
  background: rgba(9, 14, 24, 0.75);
}

.app-day-chip--active {
  color: #081526;
  background: rgba(255, 194, 14, 0.92);
  border-color: rgba(255, 194, 14, 1);
  box-shadow: 0 0 0 1px rgba(255, 194, 14, 0.2) inset;
}

.applicant-availability-meta {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  font-size: 0.84rem;
  color: var(--text-light);
}

.applicant-skill-grid {
  display: grid;
  gap: 0.45rem;
}

.applicant-skill-row {
  display: flex;
  justify-content: space-between;
  gap: 0.65rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0.45rem 0.58rem;
  font-size: 0.84rem;
  color: var(--text-light);
}

.applicant-employers {
  display: grid;
  gap: 0.5rem;
}

.applicant-employer-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 9px;
  padding: 0.55rem 0.65rem;
}

.applicant-employer-card p {
  margin: 0;
  color: var(--text-light);
  font-size: 0.82rem;
}

.applicant-employer-line1 {
  margin: 0;
  color: var(--text-light) !important;
}

.applicant-employer-name {
  display: block;
  font-weight: 600 !important;
  color: var(--text-light) !important;
  font-size: 1em !important;
  line-height: 1.35;
}

.applicant-employer-line2,
.applicant-employer-line3 {
  margin-top: 0.24rem !important;
  color: var(--text-muted) !important;
}

.applicant-employer-line-title {
  margin-top: 0.1rem !important;
  margin-bottom: 0;
}

.applicant-employer-title {
  display: block;
  font-size: 0.85em !important;
  color: rgba(255, 255, 255, 0.45) !important;
  font-weight: 400 !important;
  line-height: 1.35;
}

.applicant-ref-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.5rem;
}

.applicant-ref-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 9px;
  padding: 0.55rem 0.65rem;
}

.applicant-ref-card p {
  margin: 0;
  font-size: 0.8rem;
}

.applicant-ref-name {
  color: var(--text-light);
  font-weight: 600;
}

.applicant-ref-title,
.applicant-ref-phone {
  color: var(--text-muted);
  margin-top: 0.2rem !important;
}

.applicant-additional {
  margin: 0;
  border-left: 3px solid rgba(255, 194, 14, 0.6);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.6rem 0.75rem;
  border-radius: 0 8px 8px 0;
  color: var(--text-light);
  font-size: 0.84rem;
  line-height: 1.55;
  font-style: italic;
}

.applicant-empty-text {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.applicant-cert-line {
  margin-top: 0.45rem;
}

@media (max-width: 980px) {
  .applicant-kv-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .applicant-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .applicant-head-right {
    width: 100%;
    justify-content: space-between;
  }

  .applicant-kv-grid--2,
  .applicant-kv-grid--4,
  .applicant-pill-grid,
  .applicant-ref-grid {
    grid-template-columns: 1fr;
  }

  .applicant-skill-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── Scroll Reveal ─────────────────────────────────────────────────────── */

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-reveal="left"] {
  transform: translateX(-20px);
}

[data-reveal="right"] {
  transform: translateX(20px);
}

[data-reveal="fade"] {
  transform: none;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translate(0, 0);
}

/* ── Services Hero (removed — replaced by .pg-hero / .svc-* below) ────── */

/* ── Animations ────────────────────────────────────────────────────────── */

@keyframes fadeIn {
  to { opacity: 1; }
}

/* ── Responsive: Tablet ────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-sidebar {
    width: 56px;
    min-width: 56px;
  }

  .sidebar-brand {
    padding: 1rem 0.5rem;
    justify-content: center;
  }

  .sidebar-title {
    display: none;
  }

  .sidebar-section-label {
    display: none;
  }

  .sidebar-label {
    display: none;
  }

  .sidebar-badge {
    display: none;
  }

  .sidebar-badge-stack {
    display: none;
  }

  .sidebar-profile-info,
  .sidebar-profile-caret {
    display: none;
  }

  .sidebar-item {
    justify-content: center;
    padding: 0.6rem;
  }

  .sidebar-item.active::before {
    width: 2px;
  }

  .sidebar-icon {
    width: auto;
  }

  .sidebar-back {
    justify-content: center;
    padding: 0.6rem;
  }

  .sidebar-back .sidebar-label {
    display: none;
  }

  .sidebar-profile-btn {
    justify-content: center;
    padding: 0.5rem;
  }

  .stat-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }

  .contact-columns {
    grid-template-columns: 1fr;
  }

  .contact-map-wrapper {
    height: 320px;
  }

}

/* ── Responsive: Mobile ────────────────────────────────────────────────── */

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .home-services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .home-info-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: fixed;
    left: -260px;
    top: 0;
    height: 100vh;
    transition: left 0.3s ease;
    z-index: 200;
    box-shadow: 4px 0 16px rgba(0, 0, 0, 0.5);
  }

  .admin-sidebar.open {
    left: 0;
  }

  .admin-sidebar-toggle {
    display: flex;
  }

  .admin-layout {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
  }

  .admin-content {
    padding: 1rem;
    min-height: 0;
    overflow: hidden;
  }

  .admin-scroll {
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
  }

  .stat-cards {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .stat-card-body {
    padding: 1rem 1.25rem;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .session-row-header {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .session-row-info {
    flex: 1 1 100%;
    order: 1;
  }

  .session-expand {
    order: 0;
  }

  .session-row-count {
    order: 2;
  }

  .session-row-actions {
    order: 3;
    width: 100%;
    flex-wrap: wrap;
  }

  .files-subtable th,
  .files-subtable td {
    padding: 0.4rem 0.65rem;
    font-size: 0.8rem;
  }

  .wh-shift-form {
    gap: 1rem;
  }

  .wh-work-date-block,
  .wh-time-fieldset,
  .wh-break-card {
    padding: 0.9rem 0.95rem 1rem;
    border-radius: 12px;
  }

  .wh-time-legend,
  .wh-field-legend {
    margin-bottom: 0.65rem;
  }

  .wh-admin-entry-fields {
    gap: 0.7rem;
  }

  .wh-admin-field {
    min-width: 100%;
    flex: 1 1 100%;
  }

  .wh-admin-field .wh-date-slot,
  .wh-admin-field .wh-date-slot .wh-time-trigger {
    max-width: none;
  }

  .wh-employee-popover {
    max-height: 12rem;
  }

  .wh-time-pair {
    gap: 0.6rem 0.8rem;
  }

  .wh-employee-option {
    min-height: 2.5rem;
  }
}

/* ── Responsive: Small Mobile ──────────────────────────────────────────── */

@media (max-width: 480px) {
  .hero {
    padding: 3rem 1rem;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .hero-ctas .btn-primary,
  .hero-ctas .btn-outline {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  .container {
    padding: 1.25rem;
    width: 95%;
  }

  .services-body {
    padding: 2rem 1rem 3rem;
  }

  .home-services,
  .home-info {
    padding: 3rem 1rem;
  }

  .home-services-grid {
    grid-template-columns: 1fr;
  }

  .how-it-works {
    padding: 3rem 1rem;
  }

  .home-cta {
    padding: 3rem 1rem;
  }

  .home-cta h2 {
    font-size: 1.5rem;
  }

  .panel-toolbar {
    flex-direction: column;
  }

  .toolbar-search {
    min-width: 0;
    width: 100%;
  }

  .action-btn {
    font-size: 0.75rem;
    padding: 0.35rem 0.6rem;
  }

  .session-row-name,
  .session-row-email {
    font-size: 0.85rem;
  }

  .cell-filename {
    max-width: 180px;
  }

  .wh-date-popover {
    width: min(19rem, calc(100vw - 0.75rem)) !important;
    max-width: min(19rem, calc(100vw - 0.75rem)) !important;
  }

  .wh-date-popover-inner {
    padding: 0.6rem 0.55rem 0.55rem;
  }

  .wh-date-month-label {
    font-size: 1rem;
  }

  .wh-date-nav {
    width: 1.95rem;
    height: 1.95rem;
    font-size: 1.35rem;
  }

  .wh-date-popover .wh-date-cell {
    font-size: 0.88rem;
  }

  .wh-time-trigger {
    min-height: 2.9rem;
    padding: 0.58rem 0.72rem;
  }

  .wh-time-btn {
    min-height: 2.5rem;
    line-height: 1.2;
  }

  .wh-date-nav {
    min-height: 2.25rem;
    min-width: 2.25rem;
  }

  .wh-work-date-block,
  .wh-time-fieldset,
  .wh-break-card {
    padding: 0.8rem 0.82rem 0.9rem;
  }
}


/* ═══════════════════════════════════════════════════════════════════════════
   Jobs / Apply Now Page
   ═══════════════════════════════════════════════════════════════════════════ */

/* ════════════════════════════════════════════════════════════════════════
   Jobs / Apply Now page
   ════════════════════════════════════════════════════════════════════════ */

.jobs-container {
  width: min(860px, 92vw);
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0 1.5rem 5rem;
  container-type: inline-size;
  container-name: jobs-layout;
}

/* ── Hero ─────────────────────────────────────────────────────────────── */
.jobs-hero {
  text-align: center;
  padding: 3rem 0 2.5rem;
}
.jobs-badge {
  display: inline-block;
  padding: 0.3em 0.9em;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(10, 173, 168, 0.1);
  color: var(--teal-text, #3ECFCA);
  border: 1px solid rgba(10, 173, 168, 0.25);
  margin-bottom: 0.75rem;
}
.jobs-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-light, #f0f1f3);
  margin: 0 0 0.5rem;
}
.jobs-address {
  color: var(--text-secondary, #8a8f9c);
  font-size: 0.9rem;
  line-height: 1.7;
}
.jobs-address a {
  color: var(--teal-text, #3ECFCA);
  text-decoration: none;
}

/* Progress bar */
.jobs-progress-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}
.jobs-progress-bar {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.07);
  overflow: hidden;
}
.jobs-progress-fill {
  height: 100%;
  width: 0%;
  border-radius: 2px;
  background: var(--teal, #0AADA8);
  transition: width 0.35s ease;
}
.jobs-progress-label {
  font-size: 0.75rem;
  color: var(--text-muted, #5a5f6e);
  white-space: nowrap;
  min-width: 72px;
  text-align: right;
}

/* ── Sections ─────────────────────────────────────────────────────────── */
.jobs-section {
  border: 1px solid var(--border, rgba(255,255,255,0.07));
  border-radius: 14px;
  background: var(--surface, #13151a);
  padding: 1.5rem;
  margin-bottom: 1rem;
}
.jobs-section-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-light, #f0f1f3);
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.jobs-chip {
  display: inline-block;
  padding: 0.15em 0.6em;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(10, 173, 168, 0.1);
  color: var(--teal-text, #3ECFCA);
  border: 1px solid rgba(10, 173, 168, 0.2);
}

/* ── Grid layouts ─────────────────────────────────────────────────────── */
.jobs-grid { display: grid; gap: 1rem; }
.jobs-grid--1 { grid-template-columns: 1fr; }
.jobs-grid--2 { grid-template-columns: 1fr; }
.jobs-grid--3 { grid-template-columns: 1fr; }

@container jobs-layout (min-width: 520px) {
  .jobs-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container jobs-layout (min-width: 780px) {
  .jobs-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ── Fields ───────────────────────────────────────────────────────────── */
.jobs-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.75rem;
}
.jobs-field label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary, #8a8f9c);
  margin-top: 0;
  margin-bottom: 0.35rem;
}
.jobs-req { color: var(--teal-text, #3ECFCA); font-size: 0.9em; }
.jobs-opt { color: var(--text-muted, #5a5f6e); font-weight: 400; font-size: 0.82em; }

.jobs-field input[type="text"],
.jobs-field input[type="email"],
.jobs-field input[type="tel"],
.jobs-field input[type="date"],
.jobs-field input[type="file"],
.jobs-field select,
.jobs-field textarea {
  padding: 0.6rem 0.85rem;
  margin: 0;
  border: 1px solid var(--border, rgba(255,255,255,0.07));
  border-radius: 10px;
  background: var(--bg-dark, #0c0d10);
  color: var(--text-light, #f0f1f3);
  font-size: 0.9rem;
  font-family: var(--font-primary);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.jobs-field input:focus,
.jobs-field select:focus,
.jobs-field textarea:focus {
  outline: none;
  border-color: rgba(10, 173, 168, 0.45);
  box-shadow: 0 0 0 3px rgba(10, 173, 168, 0.08);
}
.jobs-field input::placeholder,
.jobs-field textarea::placeholder {
  color: var(--text-muted, #5a5f6e);
}
.jobs-field select option {
  background: var(--surface, #13151a);
  color: var(--text-light, #f0f1f3);
}

/* Custom file input */
.jobs-file-input-native {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.jobs-file-picker {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
}
.jobs-file-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.jobs-file-btn {
  border: 1px solid var(--border, rgba(255,255,255,0.1));
  background: transparent;
  color: var(--text-secondary, #8a8f9c);
  border-radius: 8px;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  font-family: var(--font-primary);
  cursor: pointer;
  transition: all 0.2s;
  margin: 0;
}
.jobs-file-btn:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.18);
  color: var(--text-light, #f0f1f3);
  transform: none;
  box-shadow: none;
}
.jobs-file-btn--remove {
  border-color: rgba(239,68,68,0.25);
  color: #f87171;
}
.jobs-file-btn--remove:hover {
  background: rgba(239,68,68,0.1);
  border-color: rgba(239,68,68,0.4);
  color: #f87171;
}
.jobs-file-name {
  font-size: 0.82rem;
  color: var(--text-muted, #5a5f6e);
  text-align: center;
  word-break: break-all;
}
.jobs-word-count {
  font-size: 0.75rem;
  color: var(--text-muted, #5a5f6e);
  margin-top: 0.3rem;
}
.jobs-word-count.is-over-limit { color: #f87171; }

/* ── Errors ───────────────────────────────────────────────────────────── */
.jobs-error {
  display: block;
  min-height: 1.1em;
  font-size: 0.76rem;
  color: #f87171;
  margin-top: 0.2rem;
}
.jobs-field-invalid input,
.jobs-field-invalid select,
.jobs-field-invalid textarea {
  border-color: rgba(239,68,68,0.5) !important;
}
.jobs-field-invalid .jobs-pill-group {
  outline: 2px solid rgba(239,68,68,0.5);
  outline-offset: 2px;
  border-radius: 8px;
}

/* ── Pills ────────────────────────────────────────────────────────────── */
.jobs-pill-group {
  display: inline-flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.jobs-pill {
  padding: 0.4em 1em;
  border: 1px solid var(--border, rgba(255,255,255,0.08));
  border-radius: 999px;
  background: transparent;
  color: var(--text-secondary, #8a8f9c);
  font-size: 0.85rem;
  font-family: var(--font-primary);
  cursor: pointer;
  transition: all 0.18s;
  margin: 0;
}
.jobs-pill:hover {
  border-color: rgba(10, 173, 168, 0.4);
  color: var(--text-light, #f0f1f3);
  background: rgba(10, 173, 168, 0.06);
  transform: none;
  box-shadow: none;
}
.jobs-pill.active {
  background: rgba(10, 173, 168, 0.15);
  border-color: rgba(10, 173, 168, 0.45);
  color: var(--teal-text, #3ECFCA);
  font-weight: 600;
}

/* Pill rows */
.jobs-pill-row {
  margin-bottom: 1rem;
}
.jobs-pill-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-light, #f0f1f3);
  margin-bottom: 0.4rem;
}
.jobs-pill-row--center { text-align: center; }
.jobs-pill-row--center .jobs-pill-group { justify-content: center; }
.jobs-field--center-options .jobs-pill-group { justify-content: center; }
.jobs-conditional--center .jobs-grid { justify-items: center; }
.jobs-conditional--center .jobs-grid .jobs-field { width: 100%; max-width: 360px; }
.jobs-conditional--center #language,
.jobs-conditional--center #language_other { text-align: center; text-align-last: center; }
.jobs-conditional--center #language option { text-align: center; }

/* ── Day tiles ────────────────────────────────────────────────────────── */
.jobs-day-tiles {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  justify-content: center;
}
.jobs-day-tile {
  width: 50px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border, rgba(255,255,255,0.08));
  border-radius: 10px;
  background: transparent;
  color: var(--text-secondary, #8a8f9c);
  font-size: 0.82rem;
  font-weight: 500;
  font-family: var(--font-primary);
  cursor: pointer;
  transition: all 0.18s;
  margin: 0;
}
.jobs-day-tile:hover {
  border-color: rgba(10, 173, 168, 0.4);
  color: var(--text-light, #f0f1f3);
  background: rgba(10, 173, 168, 0.06);
  transform: none;
  box-shadow: none;
}
.jobs-day-tile.active {
  background: rgba(10, 173, 168, 0.15);
  border-color: rgba(10, 173, 168, 0.45);
  color: var(--teal-text, #3ECFCA);
  font-weight: 600;
}

/* ── Notes & subtitles ────────────────────────────────────────────────── */
.jobs-note {
  font-size: 0.82rem;
  color: var(--text-muted, #5a5f6e);
  margin-bottom: 1rem;
}
.jobs-subtitle {
  font-size: 0.78rem;
  color: var(--text-muted, #5a5f6e);
  margin: -0.1rem 0 0.4rem;
}

/* ── Employer / reference blocks ──────────────────────────────────────── */
.jobs-employer-block {
  border: 1px solid var(--border, rgba(255,255,255,0.07));
  border-radius: 10px;
  padding: 1.2rem;
  margin-bottom: 0.75rem;
  background: var(--bg-dark, #0c0d10);
}
.jobs-employer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}
.jobs-employer-block h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light, #f0f1f3);
  margin: 0 0 0.75rem;
}
.jobs-remove-employer,
.jobs-remove-reference {
  background: transparent;
  border: 1px solid rgba(239,68,68,0.25);
  color: #f87171;
  padding: 0.25em 0.65em;
  border-radius: 6px;
  font-size: 0.78rem;
  cursor: pointer;
  font-family: var(--font-primary);
  transition: all 0.15s;
  margin: 0;
}
.jobs-remove-employer:hover,
.jobs-remove-reference:hover {
  background: rgba(239,68,68,0.1);
  border-color: rgba(239,68,68,0.4);
  transform: none;
  box-shadow: none;
  color: #f87171;
}
.jobs-add-employer {
  display: block;
  width: 100%;
  padding: 0.65rem;
  border: 1.5px dashed var(--border, rgba(255,255,255,0.08));
  border-radius: 10px;
  background: transparent;
  color: var(--text-secondary, #8a8f9c);
  font-size: 0.875rem;
  font-weight: 500;
  font-family: var(--font-primary);
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 0.5rem;
}
.jobs-add-employer:hover {
  border-color: rgba(10, 173, 168, 0.35);
  background: rgba(10, 173, 168, 0.04);
  color: var(--teal-text, #3ECFCA);
  transform: none;
  box-shadow: none;
}

/* Reference blocks */
.jobs-ref-block {
  border-bottom: 1px solid var(--border, rgba(255,255,255,0.07));
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
}
.jobs-ref-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.jobs-ref-block h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light, #f0f1f3);
  margin: 0 0 0.75rem;
}
.jobs-ref-block .jobs-grid--3 .jobs-field { align-items: stretch; }
.jobs-ref-block .jobs-grid--3 .jobs-field label { text-align: left; }
.jobs-ref-block .jobs-grid--3 .jobs-field input { text-align: left; }

/* ── Certification box ────────────────────────────────────────────────── */
.jobs-cert-box {
  border: 1px solid rgba(10, 173, 168, 0.2);
  border-radius: 12px;
  padding: 1.25rem;
  background: rgba(10, 173, 168, 0.04);
  text-align: left;
}
.jobs-cert-box h4 {
  color: var(--teal-text, #3ECFCA);
  margin: 0 0 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
}
.jobs-cert-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}
.jobs-cert-list li {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  align-items: flex-start;
}
.jobs-cert-list li svg {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--teal-text, #3ECFCA);
}
.jobs-cert-list li strong {
  font-size: 0.9rem;
  color: var(--text-light, #f0f1f3);
}
.jobs-cert-list li p {
  font-size: 0.82rem;
  color: var(--text-secondary, #8a8f9c);
  margin: 0.15rem 0 0;
  line-height: 1.5;
}

/* ── Availability misc ────────────────────────────────────────────────── */
.jobs-availability-hours { display: grid; gap: 0.9rem; margin: 0.4rem 0 0.9rem; }
.jobs-availability-row {
  border: 1px solid var(--border, rgba(255,255,255,0.07));
  border-radius: 10px;
  padding: 0.9rem;
  background: rgba(255,255,255,0.02);
}
.jobs-availability-day { font-weight: 600; color: var(--teal-text, #3ECFCA); margin-bottom: 0.45rem; }

/* ── Disclaimer ───────────────────────────────────────────────────────── */
.jobs-disclaimer {
  background: var(--surface, #13151a);
  border: 1px solid var(--border, rgba(255,255,255,0.07));
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
}
.jobs-disclaimer p {
  font-size: 0.8rem;
  color: var(--text-muted, #5a5f6e);
  line-height: 1.65;
  margin: 0;
}

/* ── Submit ───────────────────────────────────────────────────────────── */
.jobs-submit-wrap { margin-bottom: 2rem; }
.jobs-global-error {
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.25);
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1rem;
  color: #f87171;
  font-size: 0.875rem;
}
.jobs-global-error p { margin: 0.25rem 0; }
.jobs-submit-btn {
  display: block;
  width: 100%;
  padding: 0.875rem;
  border: none;
  border-radius: 10px;
  background: var(--text-light, #f0f1f3);
  color: #0c0d10;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-primary);
  cursor: pointer;
  transition: opacity 0.2s;
  margin: 0;
}
.jobs-submit-btn:hover { opacity: 0.88; transform: none; box-shadow: none; }
.jobs-submit-btn:disabled { opacity: 0.45; cursor: not-allowed; }

/* ── Success screen ───────────────────────────────────────────────────── */
.jobs-success {
  text-align: center;
  padding: 4rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.jobs-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(10, 173, 168, 0.12);
  border: 1px solid rgba(10, 173, 168, 0.25);
  color: var(--teal-text, #3ECFCA);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}
.jobs-success h2 {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-light, #f0f1f3);
  margin: 0;
}
.jobs-success p {
  color: var(--text-secondary, #8a8f9c);
  font-size: 0.925rem;
  max-width: 440px;
  margin: 0;
  line-height: 1.65;
}
.jobs-success-phone { margin-top: 0.5rem; }
.jobs-success-phone a {
  color: var(--teal-text, #3ECFCA);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
}

/* ── Conditional wrappers ─────────────────────────────────────────────── */
.jobs-conditional { margin-top: 0.5rem; }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .jobs-hero h1 { font-size: 1.6rem; }
  .jobs-container { padding: 0 1rem 3rem; }
}
@media (max-width: 480px) {
  .jobs-day-tile { width: 42px; height: 38px; font-size: 0.76rem; }
  .jobs-section { padding: 1rem; }
}
/* ══════════════════════════════════════════════════════════════════════════
   Profile Settings Popover
   ══════════════════════════════════════════════════════════════════════════ */

.sidebar-profile-wrap {
  position: relative;
  margin-bottom: 0.25rem;
}

.sidebar-profile-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.6rem 0.75rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease;
  text-align: left;
}

.sidebar-profile-btn:hover,
.sidebar-profile-btn[aria-expanded="true"] {
  background: var(--sidebar-hover);
  color: var(--text-light);
}

.sidebar-profile-caret {
  margin-left: auto;
  font-size: 0.65rem;
  transition: transform 0.2s ease;
}

.sidebar-profile-btn[aria-expanded="true"] .sidebar-profile-caret {
  transform: rotate(180deg);
}

.sidebar-profile-popover {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--container-dark, #1e2130);
  border: 1px solid var(--card-border, rgba(255,255,255,0.1));
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.45);
  z-index: 200;
  padding: 0.75rem;
  min-width: 220px;
}

.sidebar-profile-popover[hidden] {
  display: none;
}

.profile-popover-header {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--card-border, rgba(255,255,255,0.08));
}

.profile-popover-section {
  margin-bottom: 0.5rem;
}

.profile-popover-divider {
  border: none;
  border-top: 1px solid var(--card-border, rgba(255,255,255,0.08));
  margin: 0.5rem 0;
}

.profile-field-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
  margin-top: 0.5rem;
}

.profile-field-input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.4rem 0.55rem;
  border-radius: 6px;
  border: 1px solid var(--card-border, rgba(255,255,255,0.15));
  background: rgba(255,255,255,0.05);
  color: var(--text-light, #f0f0f0);
  font-size: 0.82rem;
  outline: none;
  transition: border-color 0.2s;
}

.profile-field-input:focus {
  border-color: var(--ups-store-gold, #ffb500);
}

.profile-popover-btn {
  display: block;
  width: 100%;
  margin-top: 0.65rem;
  padding: 0.45rem 0.75rem;
  background: var(--ups-store-blue, #351c75);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s;
}

.profile-popover-btn:hover {
  background: var(--ups-store-blue-dark, #2a1660);
}

.profile-popover-btn--outline {
  background: transparent;
  border: 1px solid var(--card-border, rgba(255,255,255,0.2));
  color: var(--text-light, #f0f0f0);
}

.profile-popover-btn--outline:hover {
  background: rgba(255,255,255,0.06);
}

/* ══════════════════════════════════════════════════════════════════════════
   Users Management Panel (super_admin)
   ══════════════════════════════════════════════════════════════════════════ */

.users-panel {
  padding: 1rem 1.25rem 2rem;
}

.users-panel-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.users-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.users-table th {
  text-align: left;
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--card-border, rgba(255,255,255,0.1));
}

.users-table td {
  padding: 0.65rem 0.75rem;
  vertical-align: top;
  border-bottom: 1px solid var(--card-border, rgba(255,255,255,0.06));
  color: var(--text-light);
}

.users-table-row:last-child td {
  border-bottom: none;
}

.users-col-username {
  font-weight: 600;
  white-space: nowrap;
}

.users-role-badge {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: capitalize;
  background: rgba(255,255,255,0.1);
  color: var(--text-light);
}

.users-role-badge--super_admin  { background: rgba(255,181,0,0.2);  color: #ffcc44; }
.users-role-badge--owner        { background: rgba(88,188,88,0.18); color: #6edc6e; }
.users-role-badge--operator     { background: rgba(80,160,255,0.18); color: #78bdff; }
.users-role-badge--associate    { background: rgba(200,200,200,0.12); color: #bbb; }
.users-role-badge--store_ops    { background: rgba(200,200,200,0.08); color: #999; }

.users-email-wrap {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.users-email-input {
  flex: 1;
  min-width: 160px;
  padding: 0.35rem 0.55rem;
  border-radius: 6px;
  border: 1px solid var(--card-border, rgba(255,255,255,0.15));
  background: rgba(255,255,255,0.04);
  color: var(--text-light, #f0f0f0);
  font-size: 0.82rem;
  outline: none;
  transition: border-color 0.2s;
}

.users-email-input:focus {
  border-color: var(--ups-store-gold, #ffb500);
}

.users-email-status {
  font-size: 0.75rem;
  margin-left: 0.2rem;
}

.users-email-status.ok    { color: #6edc6e; }
.users-email-status.err   { color: #f88; }

.users-col-actions {
  white-space: nowrap;
}

/* ── Small utility buttons ──────────────────────────────────────────────── */
.btn-xs {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  background: var(--ups-store-blue, #351c75);
  color: #fff;
  transition: background 0.2s, opacity 0.2s;
  white-space: nowrap;
}

.btn-xs:hover { background: var(--ups-store-blue-dark, #2a1660); }
.btn-xs:disabled { opacity: 0.5; cursor: default; }

.btn-xs--secondary {
  background: rgba(255,255,255,0.08);
  color: var(--text-light, #f0f0f0);
  border: 1px solid var(--card-border, rgba(255,255,255,0.15));
}

.btn-xs--secondary:hover { background: rgba(255,255,255,0.14); }

/* ── Reset-link mini-dialog ─────────────────────────────────────────────── */
.reset-link-dialog {
  margin-top: 0.6rem;
}

.reset-link-dialog[hidden] { display: none; }

.reset-link-dialog-inner {
  background: var(--container-dark, #1e2130);
  border: 1px solid var(--card-border, rgba(255,255,255,0.1));
  border-radius: 8px;
  padding: 0.75rem;
  max-width: 420px;
}

.reset-link-dialog-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0 0 0.6rem;
}

.reset-link-actions {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.reset-copy-result {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.45rem;
  flex-wrap: wrap;
}

.reset-copy-result[hidden] { display: none; }

.users-reset-link-box {
  flex: 1;
  min-width: 0;
  padding: 0.35rem 0.55rem;
  border-radius: 6px;
  border: 1px solid var(--card-border, rgba(255,255,255,0.15));
  background: rgba(255,255,255,0.04);
  color: var(--text-muted);
  font-size: 0.78rem;
  outline: none;
  overflow: hidden;
  text-overflow: ellipsis;
}

.users-copy-confirm {
  font-size: 0.75rem;
  color: #6edc6e;
}

.users-copy-confirm[hidden] { display: none; }

.reset-alt-email-form {
  margin-top: 0.5rem;
}

.reset-alt-email-form[hidden] { display: none; }

.users-alt-email-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.users-alt-email-row {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.users-alt-email-input {
  flex: 1;
  padding: 0.35rem 0.55rem;
  border-radius: 6px;
  border: 1px solid var(--card-border, rgba(255,255,255,0.15));
  background: rgba(255,255,255,0.04);
  color: var(--text-light, #f0f0f0);
  font-size: 0.82rem;
  outline: none;
  transition: border-color 0.2s;
}

.users-alt-email-input:focus {
  border-color: var(--ups-store-gold, #ffb500);
}

.users-alt-status {
  display: block;
  font-size: 0.75rem;
  margin-top: 0.3rem;
  min-height: 1em;
}

.users-alt-status.ok  { color: #6edc6e; }
.users-alt-status.err { color: #f88; }

/* ── Users panel responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .users-table th:nth-child(2),
  .users-table td:nth-child(2) {
    display: none;
  }
  .users-email-input {
    min-width: 120px;
  }
}

@media (max-width: 480px) {
  .users-table th:nth-child(3),
  .users-table td:nth-child(3) {
    display: none;
  }
  .reset-link-dialog-inner {
    max-width: 100%;
  }
}


/* ═══════════════════════════════════════════════════════════════════════════
   LANDING PAGE REFRESH — 2026
   Modern dark, Inter, restrained palette. Overrides the legacy landing rules
   above while leaving admin/auth untouched.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Design tokens (public pages only) ─────────────────────────────────── */
:root {
  --font-primary: 'Inter', sans-serif;

  /* Neutrals */
  --bg-dark:        #0c0d10;
  --surface:        #13151a;
  --surface-2:      #1a1d24;
  --border:         rgba(255, 255, 255, 0.07);
  --border-hover:   rgba(255, 255, 255, 0.14);

  /* Text */
  --text-light:     #f0f1f3;
  --text-secondary: #8a8f9c;
  --text-muted:     #5a5f6e;

  /* Teal accent — pulled directly from the logo */
  --teal:           #0AADA8;
  --teal-dim:       rgba(10, 173, 168, 0.10);
  --teal-glow:      rgba(10, 173, 168, 0.20);
  --teal-border:    rgba(10, 173, 168, 0.28);
  --teal-text:      #3ECFCA;   /* lightened for readability on dark */

  /* Shader canvas opacity */
  --shader-opacity: 0.18;
}

/* Tone down the WebGL background significantly */
.shader-canvas {
  opacity: var(--shader-opacity) !important;
}

/* ── Base body (public) ─────────────────────────────────────────────────── */
body:not(.admin-page):not(.login-page) {
  font-family: var(--font-primary);
  background: var(--bg-dark);
  color: var(--text-light);
  text-align: left;
  letter-spacing: -0.01em;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn-primary {
  background: var(--teal);
  color: #fff;
  border: 1px solid var(--teal);
  border-radius: 7px;
  padding: 0.8rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 0 0 0 var(--teal-glow);
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 4px 24px var(--teal-glow);
}

.btn-outline {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-hover);
  border-radius: 7px;
  padding: 0.8rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-outline:hover {
  color: var(--text-light);
  border-color: rgba(255, 255, 255, 0.3);
  background: transparent;
  transform: translateY(-1px);
  box-shadow: none;
}

/* ── Focus ring ─────────────────────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 3px;
}

/* ── Hero ───────────────────────────────────────────────────────────────── */

/* Hide the global WebGL shader on the landing page — we use our own canvas */
body.landing-page .shader-canvas {
  display: none !important;
}

/* Full-screen landing: no footer, no scroll */
body.landing-page {
  overflow: hidden;
  height: 100dvh;
}

body.landing-page .site-footer {
  display: none;
}

body.landing-page main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hero {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 3rem 3% 3rem;
  background: var(--bg-dark);
}

/* The 2D canvas wave background */
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Ambient radial glows layered over the canvas */
.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(10,173,168,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(10,173,168,0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 860px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  border: 1px solid var(--teal-border);
  background: rgba(10, 173, 168, 0.06);
  color: var(--teal-text);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.7s 0.05s ease forwards;
}

.hero-badge-icon {
  color: var(--teal);
  flex-shrink: 0;
}

/* Heading */
.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: 1.25rem;
  text-shadow: none;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.75s 0.15s ease forwards;
}

.hero-accent {
  background: linear-gradient(135deg, var(--teal-text) 0%, rgba(62,207,202,0.6) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Sub */
.hero p,
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 500px;
  letter-spacing: -0.005em;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.75s 0.25s ease forwards;
}

/* CTAs */
.hero-ctas {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.75s 0.35s ease forwards;
}

/* Arrow icon inside btn */
.btn-primary svg,
.btn-outline svg {
  vertical-align: middle;
  margin-left: 0.3rem;
  transition: transform 0.2s ease;
}

.btn-primary:hover svg {
  transform: translateX(3px);
}

/* Pills */
.hero-pills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  padding: 0;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.75s 0.45s ease forwards;
}

.hero-pills li {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Stats bar — frosted glass panel */
.hero-stats {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(19, 21, 26, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 1.5rem 2rem;
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  animation: fadeUp 0.8s 0.55s ease forwards;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  text-align: center;
}

.hero-stat-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: -0.02em;
}

.hero-stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}

.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
  margin: 0 1.5rem;
}

/* Store status badge */
.store-status {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  margin-bottom: 1.1rem;
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp 0.7s 0.08s ease forwards;
}

.store-status.open {
  background: rgba(34, 197, 94, 0.1);
  color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.22);
}

.store-status.open::before {
  background: #4ade80;
  box-shadow: 0 0 6px rgba(74, 222, 128, 0.5);
}

.store-status.closed {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.store-status.closed::before {
  background: var(--text-muted);
  box-shadow: none;
}

/* ── Section eyebrow labels ─────────────────────────────────────────────── */
.section-eyebrow {
  display: block;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-text);
  margin-bottom: 1rem;
}

/* ── Services section ───────────────────────────────────────────────────── */
.home-services {
  padding: 6rem 3%;
  max-width: none;
  margin: 0;
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
}

.home-services h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  text-align: center;
  margin-bottom: 3rem;
}

.home-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  max-width: 1100px;
  margin: 0 auto;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.home-service-card {
  background: var(--surface);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 2.5rem 2rem;
  border-radius: 0;
  border: none;
  border-left: 2px solid transparent;
  text-align: left;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.home-service-card:hover {
  background: var(--surface-2);
  border-left-color: var(--teal);
  transform: none;
  box-shadow: none;
}

.home-service-icon {
  width: 44px;
  height: 44px;
  line-height: normal;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--teal-dim);
  color: var(--teal-text);
  border: 1px solid var(--teal-border);
  margin-bottom: 1.25rem;
  margin-left: 0;
  margin-right: 0;
  font-size: inherit;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.home-service-card:hover .home-service-icon {
  background: rgba(10, 173, 168, 0.18);
  color: #fff;
  box-shadow: 0 0 16px var(--teal-glow);
}

.home-service-card h3 {
  color: var(--text-light);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.home-service-card p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
}

.home-services-link {
  display: inline-block;
  margin-top: 2.5rem;
  text-align: center;
  width: 100%;
  color: var(--teal-text);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.home-services-link:hover {
  color: #fff;
}

/* ── How it works ───────────────────────────────────────────────────────── */
.how-it-works {
  padding: 6rem 3%;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.how-it-works h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  text-align: center;
  margin-bottom: 3.5rem;
}

.steps-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}

/* Connecting line between steps */
.steps-grid::before {
  content: '';
  position: absolute;
  top: 27px;
  left: calc(16.67% + 1rem);
  right: calc(16.67% + 1rem);
  height: 1px;
  background: var(--border);
  pointer-events: none;
}

.step-card {
  text-align: center;
  padding: 0 2rem 1.5rem;
  position: relative;
}

.step-number {
  width: 54px;
  height: 54px;
  line-height: 54px;
  border-radius: 50%;
  background: var(--teal-dim);
  border: 1px solid var(--teal-border);
  color: var(--teal-text);
  font-size: 1rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
  box-shadow: none;
  position: relative;
  z-index: 1;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.step-card:hover .step-number {
  background: rgba(10, 173, 168, 0.18);
  border-color: rgba(10, 173, 168, 0.5);
  box-shadow: 0 0 20px var(--teal-glow);
  transform: none;
}

.step-card h3 {
  color: var(--text-light);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
}

.step-card p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.65;
}

/* ── CTA Banner ─────────────────────────────────────────────────────────── */
.home-cta {
  padding: 7rem 3%;
  background: var(--surface);
  border-top: 1px solid var(--border);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Subtle background texture — teal glow from bottom */
.home-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 50% 110%, rgba(10, 173, 168, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.home-cta h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: 1rem;
}

.home-cta p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.home-cta .btn-primary {
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 3rem 3% 2rem;
  border-image: none;
}

.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-section h3 {
  color: var(--text-light);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.9;
}

.footer-section a:hover {
  color: var(--text-light);
}

.footer-section a::after {
  display: none;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.8rem;
  text-align: left;
}

/* Scrollbar — neutral */
body:not(.login-page):not(.admin-page) {
  scrollbar-color: rgba(255,255,255,0.12) var(--bg-dark);
}

body:not(.login-page):not(.admin-page)::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

body:not(.login-page):not(.admin-page)::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  border: 2px solid var(--bg-dark);
  background-clip: padding-box;
}

body:not(.login-page):not(.admin-page)::-webkit-scrollbar-thumb:hover {
  background: rgba(255,255,255,0.18);
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero {
    padding: 5rem 2rem 4rem;
    min-height: 0;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.5rem;
  }

  .hero-stat-divider {
    display: none;
  }

  .hero-stat {
    text-align: center;
  }

  .home-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 4.5rem 1.25rem 3.5rem;
  }

  .hero-pills {
    gap: 0.4rem;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .home-services,
  .how-it-works,
  .home-cta {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .home-services-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .steps-grid::before {
    display: none;
  }

  .step-card {
    padding: 0 1rem 0.5rem;
  }

  .navbar-outer {
    padding: 0.75rem 1rem;
  }
}

/* ════════════════════════════════════════════════════════════════════════
   Services & Contact page — unified redesign
   ════════════════════════════════════════════════════════════════════════ */

/* ── Shared page hero ───────────────────────────────────────────────────── */

.pg-hero {
  padding: 5rem 1.5rem 3.5rem;
  text-align: center;
}

.pg-hero-inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.pg-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-text, #3ECFCA);
  opacity: 0;
  animation: fadeUp 0.6s 0.05s ease forwards;
}

.pg-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-light, #f0f1f3);
  line-height: 1.1;
  margin: 0;
  opacity: 0;
  animation: fadeUp 0.7s 0.12s ease forwards;
}

.pg-sub {
  font-size: 1rem;
  color: var(--text-secondary, #8a8f9c);
  line-height: 1.7;
  max-width: 520px;
  margin: 0;
  opacity: 0;
  animation: fadeUp 0.7s 0.22s ease forwards;
}

/* ── Services grid ──────────────────────────────────────────────────────── */

.svc-body {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem 5rem;
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  border: 1px solid var(--border, rgba(255,255,255,0.07));
  border-radius: 16px;
  overflow: hidden;
  background: var(--border, rgba(255,255,255,0.07));
}

.svc-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.75rem;
  background: var(--surface, #13151a);
  transition: background 0.2s ease;
  text-decoration: none;
}

.svc-card:hover {
  background: var(--surface-2, #1a1d24);
}

.svc-card-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(10, 173, 168, 0.08);
  border: 1px solid rgba(10, 173, 168, 0.15);
  color: var(--teal-text, #3ECFCA);
  margin-top: 0.1rem;
}

.svc-card-text h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-light, #f0f1f3);
  letter-spacing: -0.01em;
  margin-bottom: 0.3rem;
}

.svc-card-text p {
  font-size: 0.875rem;
  color: var(--text-secondary, #8a8f9c);
  line-height: 1.6;
  margin: 0;
}

/* ── Services CTA ───────────────────────────────────────────────────────── */

.svc-cta {
  padding: 5rem 1.5rem 6rem;
  text-align: center;
}

.svc-cta-inner {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.svc-cta h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-light, #f0f1f3);
  margin: 0;
}

.svc-cta p {
  font-size: 0.95rem;
  color: var(--text-secondary, #8a8f9c);
  line-height: 1.65;
  margin: 0;
}

.svc-cta-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.5rem;
}

/* ── Contact body ───────────────────────────────────────────────────────── */

.ct-body {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem 5rem;
}

.ct-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 2rem;
  align-items: start;
}

/* ── Contact info cards ─────────────────────────────────────────────────── */

.ct-cards {
  display: flex;
  flex-direction: column;
  gap: 1px;
  border: 1px solid var(--border, rgba(255,255,255,0.07));
  border-radius: 16px;
  overflow: hidden;
  background: var(--border, rgba(255,255,255,0.07));
}

.ct-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--surface, #13151a);
  transition: background 0.2s ease;
}

.ct-card:hover {
  background: var(--surface-2, #1a1d24);
}

.ct-card-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(10, 173, 168, 0.08);
  border: 1px solid rgba(10, 173, 168, 0.15);
  color: var(--teal-text, #3ECFCA);
  margin-top: 0.1rem;
}

.ct-card-body {
  flex: 1;
  min-width: 0;
}

.ct-card-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted, #5a5f6e);
  margin: 0 0 0.25rem;
}

.ct-card-value {
  font-size: 0.925rem;
  color: var(--text-light, #f0f1f3);
  line-height: 1.6;
  margin: 0 0 0.4rem;
}

.ct-card-value a {
  color: inherit;
  text-decoration: none;
}

.ct-card-value a:hover {
  color: var(--teal-text, #3ECFCA);
}

.ct-card-link {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--teal-text, #3ECFCA);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.ct-card-link:hover {
  opacity: 0.75;
}

/* ── Contact hours ──────────────────────────────────────────────────────── */

.ct-hours {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.ct-hours li {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--text-secondary, #8a8f9c);
  padding: 0.3rem 0.5rem;
  border-radius: 6px;
  gap: 1rem;
  transition: background 0.15s ease;
}

.ct-hours li.today {
  background: rgba(10, 173, 168, 0.08);
  color: var(--text-light, #f0f1f3);
  font-weight: 600;
  border-left: 2px solid var(--teal-text, #3ECFCA);
  border-radius: 0 6px 6px 0;
  padding-left: 0.6rem;
}

/* ── Contact map column ─────────────────────────────────────────────────── */

.ct-map-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: 5.5rem;
}

.ct-map-wrapper {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border, rgba(255,255,255,0.07));
  height: 420px;
  background: var(--surface, #13151a);
}

.ct-map-wrapper iframe {
  display: block;
  width: 100%;
  height: 100%;
}

.ct-map-actions {
  display: flex;
  gap: 0.75rem;
}

.ct-map-actions .btn-primary,
.ct-map-actions .btn-outline {
  flex: 1;
  text-align: center;
  padding: 0.7rem 1rem;
  font-size: 0.9rem;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .ct-grid {
    grid-template-columns: 1fr;
  }
  .ct-map-col {
    position: static;
  }
  .ct-map-wrapper {
    height: 300px;
  }
}

@media (max-width: 640px) {
  .svc-grid {
    grid-template-columns: 1fr;
  }
  .pg-hero {
    padding: 4rem 1.25rem 2.5rem;
  }
  .svc-body,
  .ct-body {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .ct-map-actions {
    flex-direction: column;
  }
  .svc-cta-actions {
    flex-direction: column;
    width: 100%;
  }
  .svc-cta-actions .btn-primary,
  .svc-cta-actions .btn-outline {
    width: 100%;
    text-align: center;
  }
}

/* ════════════════════════════════════════════════════════════════════════
   Upload file preview panel
   ════════════════════════════════════════════════════════════════════════ */

/* Eye / preview button in file list */
.upload-file-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.upload-file-preview {
  flex-shrink: 0;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  color: var(--text-muted, #5a5f6e);
  padding: 0.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  line-height: 1;
}

.upload-file-preview:hover {
  background: rgba(10, 173, 168, 0.1);
  border-color: rgba(10, 173, 168, 0.3);
  color: var(--teal-text, #3ECFCA);
  transform: none;
  box-shadow: none;
}

/* ── Preview overlay ──────────────────────────────────────────────────── */

.preview-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.preview-panel {
  background: var(--surface, #13151a);
  border: 1px solid var(--border, rgba(255,255,255,0.08));
  border-radius: 16px;
  width: 100%;
  max-width: 860px;
  max-height: calc(100dvh - 3rem);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
}

/* ── Header ───────────────────────────────────────────────────────────── */

.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--border, rgba(255,255,255,0.07));
  gap: 1rem;
  flex-shrink: 0;
}

.preview-filename {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-light, #f0f1f3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.preview-header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.preview-counter {
  font-size: 0.78rem;
  color: var(--text-muted, #5a5f6e);
  white-space: nowrap;
}

.preview-close {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  color: var(--text-secondary, #8a8f9c);
  width: 32px;
  height: 32px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin: 0;
  flex-shrink: 0;
  transition: background 0.15s ease, color 0.15s ease;
}

.preview-close:hover {
  background: rgba(239,68,68,0.12);
  border-color: rgba(239,68,68,0.25);
  color: #f87171;
  transform: none;
  box-shadow: none;
}

/* ── Body ─────────────────────────────────────────────────────────────── */

.preview-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0b0d;
  position: relative;
}

/* Image */
.preview-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* PDF iframe */
.preview-iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
  min-height: 520px;
  flex: 1;
}

.preview-pdf-fallback {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.78rem;
  color: var(--text-muted, #5a5f6e);
  background: rgba(10,11,13,0.85);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
  text-align: center;
}

.preview-pdf-fallback a {
  color: var(--teal-text, #3ECFCA);
  text-decoration: none;
}

/* Plain text */
.preview-text {
  width: 100%;
  height: 100%;
  padding: 1.5rem;
  margin: 0;
  font-family: 'Menlo', 'Consolas', 'Courier New', monospace;
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--text-light, #f0f1f3);
  white-space: pre-wrap;
  word-break: break-word;
  overflow: auto;
  align-self: flex-start;
}

/* Unsupported placeholder */
.preview-unsupported {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 3rem 2rem;
  text-align: center;
  color: var(--text-secondary, #8a8f9c);
}

.preview-unsupported svg {
  opacity: 0.3;
}

.preview-unsupported p {
  font-size: 0.925rem;
  margin: 0;
  color: var(--text-secondary, #8a8f9c);
}

.preview-unsupported-sub {
  font-size: 0.8rem !important;
  color: var(--text-muted, #5a5f6e) !important;
}

/* ── Footer ───────────────────────────────────────────────────────────── */

.preview-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  border-top: 1px solid var(--border, rgba(255,255,255,0.07));
  gap: 0.75rem;
  flex-shrink: 0;
}

.preview-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: transparent;
  border: 1px solid var(--border, rgba(255,255,255,0.07));
  border-radius: 8px;
  color: var(--text-secondary, #8a8f9c);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.45rem 0.85rem;
  cursor: pointer;
  margin: 0;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  min-width: 80px;
  justify-content: center;
}

.preview-nav:hover:not(:disabled) {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.14);
  color: var(--text-light, #f0f1f3);
  transform: none;
  box-shadow: none;
}

.preview-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.preview-remove-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  border: 1px solid rgba(239,68,68,0.2);
  border-radius: 8px;
  color: #f87171;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.45rem 0.85rem;
  cursor: pointer;
  margin: 0;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.preview-remove-btn:hover {
  background: rgba(239,68,68,0.1);
  border-color: rgba(239,68,68,0.4);
  transform: none;
  box-shadow: none;
  color: #f87171;
}

/* ── Responsive ───────────────────────────────────────────────────────── */

@media (max-width: 600px) {
  .preview-overlay {
    padding: 0.75rem;
  }
  .preview-panel {
    max-height: calc(100dvh - 1.5rem);
    border-radius: 12px;
  }
  .preview-iframe {
    min-height: 360px;
  }
  .preview-nav {
    min-width: 0;
    padding: 0.45rem 0.6rem;
  }
}


/* ════════════════════════════════════════════════════════════════════════
   Mobile / Phone — comprehensive polish pass (2026)
   ════════════════════════════════════════════════════════════════════════ */

/* ── 1. Landing page: unlock the full-screen lock on phones ──────────────
   Desktop keeps the hero full-screen with overflow:hidden. On phones the
   hero content stack overflows the viewport, making it inaccessible.
   Allow natural scroll and reveal the footer (customers need it).       */

@media (max-width: 768px) {
  body.landing-page {
    overflow-x: hidden;
    overflow-y: auto;
    height: auto;
  }

  /* Footer is useful on mobile — contact info, hours, links */
  body.landing-page .site-footer {
    display: block;
  }

  /* Let hero be content-sized; padding handles breathing room */
  body.landing-page .hero {
    height: auto;
    min-height: 0;
  }
}

/* ── 2. Hero: tighten cumulative spacing on small phones ─────────────────
   The stack of badge + status + h1 + sub + CTAs + pills + stats
   accumulates ~720–800px of height. These trims keep key CTAs visible  
   above the fold on a 390px-wide phone.                                 */

@media (max-width: 480px) {
  .hero {
    padding: 3rem 1.25rem 2.5rem;
  }

  .hero-badge {
    margin-bottom: 0.75rem;
    font-size: 0.68rem;
    padding: 0.4rem 0.9rem;
  }

  .store-status {
    margin-bottom: 0.75rem;
  }

  .hero h1 {
    margin-bottom: 0.85rem;
  }

  .hero p,
  .hero-sub {
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
  }

  .hero-ctas .btn-primary,
  .hero-ctas .btn-outline {
    text-align: center;
    justify-content: center;
  }

  .hero-pills {
    margin-bottom: 1.5rem;
  }

  /* Stats bar: at 900px it collapses to 3 stacked rows (~200px extra).
     Restore 3-column horizontal layout on phones — values are short     */
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding: 1rem;
  }

  .hero-stat-divider {
    display: block;
    width: 1px;
    height: auto;
    align-self: stretch;
    margin: 0;
  }

  .hero-stat-value {
    font-size: 0.78rem;
    letter-spacing: -0.01em;
  }

  .hero-stat-label {
    font-size: 0.62rem;
  }
}

/* ── 3. Landscape on phones: stop fighting the short viewport ────────────
   Portrait lock is unreliable. When a phone is landscape (~375px tall)
   with overflow:hidden the page is nearly unusable. Unlock it and hide
   the decorative elements that eat vertical space.                      */

@media (max-height: 520px) and (orientation: landscape) {
  body.landing-page {
    overflow-x: hidden;
    overflow-y: auto;
    height: auto;
  }

  body.landing-page .hero {
    min-height: 0;
    height: auto;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  /* Decorative extras — skip in cramped landscape */
  .hero-pills,
  .hero-stats {
    display: none;
  }
}

/* ── 4. Navbar pill: trim on very small phones (≤360px) ──────────────── */

@media (max-width: 360px) {
  .navbar-outer {
    padding: 0.65rem 0.75rem;
  }

  .navbar-pill {
    padding: 0.5rem 0.6rem 0.5rem 1rem;
  }

  .navbar-pill .brand {
    font-size: 0.85rem;
  }
}

/* ── 5. Upload page: bigger touch targets on mobile ──────────────────── */

@media (max-width: 768px) {
  .drop-zone {
    min-height: 130px;
  }

  /* File list action buttons: ensure ≥44px tap target */
  .upload-file-remove,
  .upload-file-preview {
    min-width: 40px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* ── 6. Auth / login card: trim padding on very small screens ─────────── */

@media (max-width: 360px) {
  body.login-page main {
    padding: 1.25rem 0.75rem;
  }

  .login-card.glass-panel {
    padding: 1.5rem 1.25rem 1.25rem;
  }
}

/* ── 7. Footer: ensure readable padding on phones ────────────────────── */

@media (max-width: 480px) {
  .site-footer {
    padding-left: max(1.25rem, 3%);
    padding-right: max(1.25rem, 3%);
  }

  .footer-bottom {
    text-align: center;
  }
}

/* ── 8. Prevent horizontal overflow leaking out of main ─────────────── */

@media (max-width: 768px) {
  main {
    max-width: 100vw;
    overflow-x: clip;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   Notary Test — Admin Tab Styles
   ═══════════════════════════════════════════════════════════════════════ */

.notary-table-wrap {
  overflow-x: auto;
  margin-top: 0.75rem;
}

.notary-q-table .notary-q-text {
  font-size: 0.87rem;
  color: var(--text-muted);
  max-width: 480px;
}

.notary-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.notary-modal[hidden] { display: none; }

.notary-modal-inner {
  background: var(--bg-dark, #111);
  border: 1px solid var(--glass-border, rgba(255,255,255,0.1));
  border-radius: 14px;
  padding: 1.5rem;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
}

.notary-modal-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-light);
  margin: 0 0 1rem;
}

.notary-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0.75rem 0 0.25rem;
}

.notary-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--text-light);
  padding: 0.5rem 0.65rem;
  font-size: 0.88rem;
  font-family: inherit;
  box-sizing: border-box;
}

.notary-textarea {
  resize: vertical;
  line-height: 1.45;
}

.notary-modal-actions {
  margin-top: 1.25rem;
  display: flex;
  gap: 0.5rem;
}

.notary-status {
  font-size: 0.82rem;
  margin-top: 0.5rem;
  min-height: 1.2em;
  color: #4ade80;
}
.notary-status--error { color: #f87171; }

/* ── Notary assignment toggle ─ */
.notary-assignments {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 0.75rem;
  padding: 0.25rem 0;
}

.notary-assign-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.notary-assign-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  flex: 1;
  user-select: none;
}

.notary-assign-name {
  font-size: 0.9rem;
  color: var(--text-light);
}

.toggle-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  flex-shrink: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.toggle-slider {
  display: inline-block;
  width: 36px;
  height: 20px;
  background: rgba(255,255,255,0.15);
  border-radius: 10px;
  position: relative;
  transition: background 0.2s ease;
}

.toggle-slider::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s ease, background 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.notary-assign-cb:checked + .toggle-slider {
  background: var(--ups-store-teal, #0891b2);
}

.notary-assign-cb:checked + .toggle-slider::after {
  transform: translateX(16px);
}

.notary-assign-cb:focus-visible + .toggle-slider {
  outline: 2px solid var(--ups-store-teal, #0891b2);
  outline-offset: 2px;
}

.notary-assign-status {
  font-size: 0.75rem;
  color: var(--text-muted);
  min-width: 5rem;
  text-align: right;
  white-space: nowrap;
}

.notary-assign-status--assigned { color: #4ade80; }
.notary-assign-status--removed  { color: #f87171; }
.notary-assign-status--error    { color: #f87171; }
.notary-status--pending         { color: #fbbf24; }
/* ── End notary assignment toggle ─ */
.notary-section-tabs {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 0;
}
.notary-section-tab {
  padding: 0.55rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
  white-space: nowrap;
}
.notary-section-tab:hover { color: var(--text-light); }
.notary-section-tab.is-active {
  color: var(--ups-store-teal, #0891b2);
  border-bottom-color: var(--ups-store-teal, #0891b2);
}
