/* Reset/Override for full-screen viewer */
html, body {
  margin: 0 !important;
  padding: 0 !important;
  height: 100% !important;
  overflow: hidden !important;
  font-family: 'Inter', sans-serif;
  background: #f5f5f5;
}

.landing-page-viewer {
  height: 100vh;
  width: 100vw;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Header */
.viewer-header {
  background: white;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  flex-shrink: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.2rem;
  background: #0d1b2a;
  color: white !important;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.back-button:hover {
  background: #B8956A;
  transform: translateX(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.viewer-header h2 {
  margin: 0;
  color: #0d1b2a;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

/* Iframe */
.iframe-container {
  flex: 1;
  width: 100%;
  height: 100%;
  position: relative;
}

.landing-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  background: white;
}

/* Página não encontrada */
.not-found {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: bold;
  color: #0d1b2a;
  font-size: 1.2rem;
  text-align: center;
}

@media (max-width: 768px) {
  .viewer-header {
    padding: 0.8rem 1rem;
    gap: 1rem;
  }
  .viewer-header h2 {
    font-size: 1.1rem;
  }
  .back-button {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
  }
}
