/* Connect Cloud Office - Global Worldwide & Interactive UI/UX Modernization
   Zero AI slop · Tactile Glassmorphism · First-Principles UI/UX */

/* ---- Global Worldwide Header Pill & Currency Selector ---- */
.lp-global-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem .85rem;
  border-radius: 9999px;
  background: var(--cx-surface-2, rgba(255, 255, 255, 0.08));
  border: 1px solid var(--cx-line, rgba(255, 255, 255, 0.15));
  font-size: .8125rem;
  font-weight: 500;
  color: var(--cx-text-1, #1e293b);
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
[data-theme="dark"] .lp-global-badge {
  color: #f1f5f9;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}
.lp-global-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: lp-pulse-glow 2s infinite ease-in-out;
}
@keyframes lp-pulse-glow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.3); }
}

.lp-currency-selector {
  position: relative;
  display: inline-flex;
}
.lp-currency-btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  height: 2.125rem;
  padding: 0 .625rem;
  border-radius: .375rem;
  background: var(--cx-surface, #ffffff);
  border: 1px solid var(--cx-line, #cbd5e1);
  font-size: .8125rem;
  font-weight: 600;
  color: var(--cx-text, #0f172a);
  cursor: pointer;
  transition: all .15s ease;
}
[data-theme="dark"] .lp-currency-btn {
  background: #1e293b;
  border-color: #334155;
  color: #f8fafc;
}
.lp-currency-btn:hover {
  border-color: var(--cx-accent, #ea580c);
}
.lp-currency-menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  min-width: 11rem;
  background: var(--cx-surface, #ffffff);
  border: 1px solid var(--cx-line, #cbd5e1);
  border-radius: .5rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  padding: .35rem;
  z-index: 1000;
  display: grid;
  gap: 2px;
}
[data-theme="dark"] .lp-currency-menu {
  background: #0f172a;
  border-color: #334155;
}
.lp-currency-menu button {
  display: flex;
  align-items: center;
  gap: .5rem;
  width: 100%;
  padding: .5rem .625rem;
  border: none;
  background: transparent;
  border-radius: .375rem;
  font-size: .8125rem;
  color: var(--cx-text, #0f172a);
  cursor: pointer;
  text-align: left;
  transition: background .12s ease;
}
[data-theme="dark"] .lp-currency-menu button {
  color: #e2e8f0;
}
.lp-currency-menu button:hover,
.lp-currency-menu button.is-selected {
  background: var(--cx-surface-2, rgba(234, 88, 12, 0.1));
  color: var(--cx-accent, #ea580c);
}
.lp-currency-menu button .c-sym {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 4px;
  font-weight: 700;
}
[data-theme="dark"] .lp-currency-menu button .c-sym {
  background: rgba(255, 255, 255, 0.08);
}
.lp-currency-menu button span:last-child {
  font-size: .75rem;
  color: var(--cx-text-2, #64748b);
  margin-left: auto;
}

/* ---- Cloud Office Multichannel Interactive Station (Better than Ringg AI) ---- */
.lp-station-section {
  padding: 3rem 0;
}
.lp-station-card {
  background: var(--cx-surface, #ffffff);
  border: 1px solid var(--cx-line, #e2e8f0);
  border-radius: 1.25rem;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
}
[data-theme="dark"] .lp-station-card {
  background: #0f172a;
  border-color: #1e293b;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
}

.lp-station-nav {
  display: flex;
  background: var(--cx-surface-2, #f8fafc);
  border-bottom: 1px solid var(--cx-line, #e2e8f0);
  overflow-x: auto;
  padding: .5rem .75rem;
  gap: .5rem;
}
[data-theme="dark"] .lp-station-nav {
  background: #1e293b;
  border-color: #334155;
}
.lp-station-tab {
  all: unset;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .625rem 1rem;
  border-radius: .5rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--cx-text-2, #64748b);
  cursor: pointer;
  white-space: nowrap;
  transition: all .15s ease;
}
[data-theme="dark"] .lp-station-tab {
  color: #94a3b8;
}
.lp-station-tab:hover {
  color: var(--cx-text, #0f172a);
  background: rgba(0, 0, 0, 0.04);
}
[data-theme="dark"] .lp-station-tab:hover {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.05);
}
.lp-station-tab.is-active {
  background: var(--cx-surface, #ffffff);
  color: var(--cx-accent, #ea580c);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
[data-theme="dark"] .lp-station-tab.is-active {
  background: #0f172a;
  color: #f97316;
}

.lp-station-panel {
  padding: 1.75rem;
  display: none;
}
.lp-station-panel.is-active {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 900px) {
  .lp-station-panel.is-active {
    grid-template-columns: 1fr;
  }
}

/* Voice Station Controls & Audio Waveform Player */
.lp-voice-player {
  background: var(--cx-surface-2, #f8fafc);
  border: 1px solid var(--cx-line, #e2e8f0);
  border-radius: .875rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
[data-theme="dark"] .lp-voice-player {
  background: #1e293b;
  border-color: #334155;
}
.lp-player-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.lp-voice-meta strong {
  display: block;
  font-size: .9375rem;
  color: var(--cx-text, #0f172a);
}
[data-theme="dark"] .lp-voice-meta strong {
  color: #f8fafc;
}
.lp-voice-meta span {
  font-size: .75rem;
  color: var(--cx-text-2, #64748b);
}
.lp-latency-pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .25rem .5rem;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  font-size: .75rem;
  font-weight: 600;
}
[data-theme="dark"] .lp-latency-pill {
  color: #34d399;
}

.lp-wave-container {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 48px;
  padding: 0 .5rem;
  background: rgba(0, 0, 0, 0.03);
  border-radius: .5rem;
}
[data-theme="dark"] .lp-wave-container {
  background: rgba(0, 0, 0, 0.2);
}
.lp-wave-bar {
  flex: 1;
  background: var(--cx-line, #cbd5e1);
  border-radius: 2px;
  height: 20%;
  transition: height .1s ease, background .15s ease;
}
.lp-voice-player.is-playing .lp-wave-bar {
  background: var(--cx-accent, #ea580c);
  animation: lp-wave-dance 1.2s infinite ease-in-out;
}
.lp-voice-player.is-playing .lp-wave-bar:nth-child(2n) { animation-delay: .15s; }
.lp-voice-player.is-playing .lp-wave-bar:nth-child(3n) { animation-delay: .3s; }
.lp-voice-player.is-playing .lp-wave-bar:nth-child(4n) { animation-delay: .45s; }
@keyframes lp-wave-dance {
  0%, 100% { height: 18%; }
  50% { height: 85%; }
}

.lp-player-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.lp-play-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1.125rem;
  border-radius: 9999px;
  background: var(--cx-accent, #ea580c);
  color: #ffffff;
  border: none;
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform .1s ease, background .15s ease;
}
.lp-play-btn:hover {
  background: #c2410c;
  transform: scale(1.02);
}
.lp-play-btn:active {
  transform: scale(.98);
}

.lp-speed-group {
  display: inline-flex;
  background: rgba(0, 0, 0, 0.05);
  padding: 2px;
  border-radius: .375rem;
}
[data-theme="dark"] .lp-speed-group {
  background: rgba(255, 255, 255, 0.07);
}
.lp-speed-btn {
  all: unset;
  padding: .25rem .5rem;
  font-size: .75rem;
  font-weight: 600;
  color: var(--cx-text-2, #64748b);
  border-radius: .25rem;
  cursor: pointer;
}
.lp-speed-btn.is-active {
  background: var(--cx-surface, #ffffff);
  color: var(--cx-accent, #ea580c);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}
[data-theme="dark"] .lp-speed-btn.is-active {
  background: #0f172a;
  color: #f97316;
}

/* Synchronized Transcript View */
.lp-transcript-view {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  max-height: 280px;
  overflow-y: auto;
  padding-right: .5rem;
}
.lp-turn {
  padding: .625rem .75rem;
  border-radius: .5rem;
  background: var(--cx-surface-2, #f8fafc);
  border: 1px solid var(--cx-line, #e2e8f0);
  font-size: .8125rem;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
[data-theme="dark"] .lp-turn {
  background: #1e293b;
  border-color: #334155;
}
.lp-turn.is-active {
  border-color: var(--cx-accent, #ea580c);
  background: rgba(234, 88, 12, 0.06);
}
.lp-turn-actor {
  font-weight: 700;
  color: var(--cx-accent, #ea580c);
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.lp-turn-time {
  font-weight: 400;
  font-size: .75rem;
  color: var(--cx-text-2, #64748b);
}

/* 24/7 Calling Window & Shift Scheduler */
.lp-schedule-card {
  background: var(--cx-surface-2, #f8fafc);
  border: 1px solid var(--cx-line, #e2e8f0);
  border-radius: .875rem;
  padding: 1.25rem;
}
[data-theme="dark"] .lp-schedule-card {
  background: #1e293b;
  border-color: #334155;
}
.lp-schedule-bar {
  display: grid;
  grid-template-columns: repeat(24, 1fr);
  gap: 2px;
  height: 28px;
  margin: 1rem 0;
  background: rgba(0, 0, 0, 0.04);
  padding: 2px;
  border-radius: 4px;
}
[data-theme="dark"] .lp-schedule-bar {
  background: rgba(0, 0, 0, 0.2);
}
.lp-hour-block {
  border-radius: 2px;
  background: #e2e8f0;
  position: relative;
  cursor: pointer;
}
[data-theme="dark"] .lp-hour-block {
  background: #334155;
}
.lp-hour-block.is-active-hours {
  background: var(--cx-accent, #ea580c);
}
.lp-hour-block.is-care-hours {
  background: #3b82f6;
}

/* Evals & Quality HUD */
.lp-evals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: .75rem;
  margin-top: 1rem;
}
.lp-eval-card {
  padding: .75rem;
  border-radius: .5rem;
  background: var(--cx-surface, #ffffff);
  border: 1px solid var(--cx-line, #e2e8f0);
  text-align: center;
}
[data-theme="dark"] .lp-eval-card {
  background: #0f172a;
  border-color: #334155;
}
.lp-eval-val {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cx-accent, #ea580c);
  display: block;
}
.lp-eval-label {
  font-size: .75rem;
  color: var(--cx-text-2, #64748b);
}


/* ---- Clean & Ultra-Professional Footer (2026-11-16) ---- */
.connect-site .lp-footer {
  border-top: 1px solid var(--cx-border-soft);
  background: var(--cx-surface);
  padding: clamp(3rem, 5vw, 5.5rem) 0 2.5rem;
  color: var(--cx-text-2);
}
.connect-site .lp-footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2.75rem);
  align-items: start;
}
@media (max-width: 1024px) {
  .connect-site .lp-footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}
@media (max-width: 640px) {
  .connect-site .lp-footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
.connect-site .lp-footer-brand-block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.connect-site .lp-footer-copy {
  font-size: max(13px, .8125rem);
  line-height: 1.5;
  color: var(--cx-text-3);
  max-width: 32ch;
}
.connect-site .lp-footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.connect-site .lp-footer-col > b,
.connect-site .lp-footer-solutions > b,
.connect-site .lp-footer-family > b {
  font-size: max(12px, .75rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--cx-text);
  margin-bottom: 0.75rem;
  display: block;
}
.connect-site .lp-footer-col a,
.connect-site .lp-footer-solutions a {
  font-size: max(13px, .8125rem);
  color: var(--cx-text-2);
  text-decoration: none;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  transition: color var(--pa-fast, 150ms) var(--pa-ease, ease), transform var(--pa-fast, 150ms) var(--pa-ease, ease);
}
.connect-site .lp-footer-col a:hover,
.connect-site .lp-footer-solutions a:hover {
  color: var(--cx-action);
  transform: translateX(2px);
  text-decoration: none;
}
.connect-site .lp-footer-loc {
  font-size: max(12px, .75rem);
  color: var(--cx-text-3);
  margin-top: 0.25rem;
  display: block;
}
.connect-site .lp-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: clamp(2.5rem, 4vw, 4rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--cx-border-soft);
  font-size: max(12px, .75rem);
  color: var(--cx-text-3);
}
.connect-site .lp-footer-bottom-left {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.connect-site .lp-footer-motto {
  color: var(--cx-text-2);
}
.connect-site .lp-global-ops-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  background: var(--cx-success-soft);
  border: 1px solid var(--cx-success);
  color: var(--cx-success-text);
  font-size: max(12px, .75rem);
  font-weight: 500;
}
.connect-site .lp-global-ops-pill .lp-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cx-success);
  box-shadow: 0 0 8px var(--cx-success);
  display: inline-block;
  animation: lp-pulse 2s infinite;
}
@keyframes lp-pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.connect-site .lp-footer-parent {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  background: var(--cx-surface-2);
  border: 1px solid var(--cx-border);
  color: var(--cx-text);
  text-decoration: none;
  transition: all var(--pa-fast, 150ms) var(--pa-ease, ease);
}
.connect-site .lp-footer-parent:hover {
  background: var(--cx-hover);
  border-color: var(--cx-border-strong);
  text-decoration: none;
}
.connect-site .lp-footer-parent small {
  color: var(--cx-text-3);
  font-size: max(11px, .6875rem);
  text-transform: uppercase;
  letter-spacing: .08em;
  display: block;
}
.connect-site .lp-footer-parent strong {
  color: var(--cx-text);
  font-size: max(13px, .8125rem);
  font-weight: 600;
  display: block;
}

.connect-site .lp-footer .lp-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  background: var(--cx-surface-2);
  border: 1px solid var(--cx-border);
  color: var(--cx-text-2);
  font-size: max(12px, .75rem);
  text-decoration: none;
  transition: all var(--pa-fast, 150ms) var(--pa-ease, ease);
}
.connect-site .lp-footer .lp-social-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.connect-site .lp-footer .lp-social-link:hover {
  background: var(--cx-hover);
  border-color: var(--cx-border-strong);
  color: var(--cx-action);
  text-decoration: none;
}

.connect-site .lp-footer .lp-footer-family {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.75rem;
}
.connect-site .lp-footer .lp-footer-family a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 0.65rem;
  border-radius: 8px;
  background: var(--cx-surface-2);
  border: 1px solid var(--cx-border);
  text-decoration: none;
  transition: all var(--pa-fast, 150ms) var(--pa-ease, ease);
}
.connect-site .lp-footer .lp-footer-family a:hover {
  background: var(--cx-hover);
  border-color: var(--cx-border-strong);
  text-decoration: none;
}
.connect-site .lp-footer .lp-footer-family strong {
  color: var(--cx-text);
  font-size: max(13px, .8125rem);
  font-weight: 600;
  display: block;
}
.connect-site .lp-footer .lp-footer-family small {
  color: var(--cx-text-3);
  font-size: max(11px, .6875rem);
  display: block;
}
