/* Console Style - Playground */
.container {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100%;
  min-height: 0;
  padding: 0;
  overflow-x: hidden;
  overflow-y: visible;
  background: #000;
}

.chatWrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding: 0;
}

.controls {
  background-color: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-shrink: 0;
}

.controlGroup {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.checkbox {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: var(--color-primary);
}

.input {
  flex: 1;
  min-width: 300px;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background-color: var(--color-bg-tertiary);
  color: var(--color-text);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  transition: all var(--transition-fast);
}

.input:focus {
  border-color: var(--color-primary);
  outline: none;
  box-shadow: 0 0 0 2px rgba(118, 185, 0, 0.2);
}

.button {
  padding: 0.5rem 1rem;
  background-color: var(--color-primary);
  color: #000000;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.button:hover {
  background-color: var(--color-primary-light);
  box-shadow: var(--glow-primary);
}

.hints {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 0.25rem;
}

.hint {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
}

.iframeContainer {
  flex: 1;
  background-color: var(--color-bg-secondary);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

.placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  max-width: 500px;
}

.placeholderIcon {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.6;
  filter: grayscale(0.3);
}

.placeholder h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  color: var(--color-text);
}

.placeholder p {
  margin: 0.5rem 0;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.note {
  font-size: 0.875rem;
  font-style: italic;
  margin-top: 1rem !important;
  padding: 0.75rem 1rem;
  background-color: rgba(118, 185, 0, 0.1);
  border-left: 3px solid var(--color-primary);
  border-radius: var(--radius-sm);
}

.iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .container {
    padding: 0;
  }

  .controls {
    padding: 0.75rem;
    border-radius: var(--radius-md);
  }

  .controlGroup {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .label {
    font-size: 0.8125rem;
  }

  .input {
    min-width: 0;
    width: 100%;
    font-size: 0.8125rem;
    padding: 0.5rem;
  }

  .button {
    width: 100%;
    padding: 0.625rem 1rem;
    font-size: 0.8125rem;
  }

  .hint {
    font-size: 0.6875rem;
  }

  .placeholder {
    padding: 1.5rem 1rem;
    max-width: 100%;
  }

  .placeholderIcon {
    font-size: 3rem;
    margin-bottom: 0.75rem;
  }

  .placeholder h3 {
    font-size: 1.25rem;
  }

  .placeholder p {
    font-size: 0.875rem;
  }

  .note {
    font-size: 0.8125rem;
    padding: 0.625rem 0.875rem;
  }
}

@media (max-width: 480px) {
  .controls {
    padding: 0.625rem;
  }

  .label {
    font-size: 0.75rem;
  }

  .input {
    font-size: 0.75rem;
    padding: 0.5rem;
  }

  .button {
    font-size: 0.75rem;
    padding: 0.5rem 0.875rem;
  }

  .placeholderIcon {
    font-size: 2.5rem;
  }

  .placeholder h3 {
    font-size: 1.125rem;
  }

  .placeholder p {
    font-size: 0.8125rem;
  }
}
