/* LOGOS Embed Widget — floating icon + panel (sidebar desktop, bottom sheet mobile) */
.logos-widget-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00c8b4, #009898);
  border: none;
  box-shadow: 0 4px 20px rgba(0, 200, 180, 0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9998;
  transition: transform 0.2s, box-shadow 0.2s;
}
.logos-widget-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(0, 200, 180, 0.5);
}
.logos-widget-btn svg {
  width: 28px;
  height: 28px;
  color: #03030d;
}
.logos-widget-btn:focus {
  outline: none;
}

/* Panel overlay (mobile backdrop) */
.logos-widget-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s;
}
.logos-widget-backdrop.show {
  display: block;
  opacity: 1;
}

/* Panel — desktop: sidebar from right; mobile: bottom sheet */
.logos-widget-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  max-width: 100vw;
  height: 100vh;
  background: #03030d;
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.5);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border-left: 1px solid rgba(255, 255, 255, 0.065);
}
.logos-widget-panel.open {
  transform: translateX(0);
}

/* Mobile: bottom sheet */
@media (max-width: 600px) {
  .logos-widget-panel {
    top: auto;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 70vh;
    max-height: 600px;
    border-radius: 20px 20px 0 0;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.065);
    transform: translateY(100%);
  }
  .logos-widget-panel.open {
    transform: translateY(0);
  }
  .logos-widget-btn {
    bottom: max(88px, calc(56px + env(safe-area-inset-bottom)));
    right: 20px;
  }
}

.logos-widget-panel-header {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.065);
  background: rgba(3, 3, 15, 0.9);
}
.logos-widget-panel-title {
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #e8eaf2;
}
.logos-widget-panel-close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #7a82a8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.logos-widget-panel-close:hover {
  color: #e8eaf2;
  background: rgba(255, 255, 255, 0.08);
}

.logos-widget-panel-iframe {
  flex: 1;
  min-height: 0;
  width: 100%;
  border: none;
  background: #03030d;
}
