/* ================================================
   EXOATLAS EXPLORER - LIVE SOLAR SYSTEM - INDEX PAGE WRAPPER STYLES
   Template integration styles for embedding the app
   ================================================ */

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #000000;
  color: #eee;
}

body {
  display: flex;
  flex-direction: column;
}


/* App wrapper container */
.live-solar-system-wrapper {
  width: 100%;
  height: 100vh;
  padding: 0;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: stretch;
  position: relative;
  overflow: hidden;
  border-top: 2px solid #2a2a2a;
  margin-top: auto;
}


@media (max-width: 768px) {
  .live-solar-system-wrapper {
    height: calc(100vh - var(--header-height, 70px));
  }
}

/* Iframe styling */
#live-solar-system-frame {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: #111;
  display: block;
}

/* Collapse toggle button */
.collapse-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1000;
  background: rgba(42, 42, 42, 0.9);
  border: 1px solid #555;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.collapse-toggle:hover {
  background: rgba(102, 126, 234, 0.9);
  border-color: #667eea;
  transform: scale(1.05);
}

.collapse-toggle:active {
  transform: scale(0.95);
}

/* Tooltip */
.collapse-toggle::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: -35px;
  right: 0;
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

.collapse-toggle:hover::after {
  opacity: 1;
}

@media (max-width: 768px) {
  .collapse-toggle {
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}

/* Fullscreen mode styles */
body.fullscreen-mode .site-header,
body.fullscreen-mode .mobile-nav-menu {
  display: none;
}

body.fullscreen-mode .live-solar-system-wrapper {
  height: 100vh;
}
