/* LiveRenderer.css */

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Press Start 2P', cursive;
    background-color: #121212;
    color: #ffffff;
  }
  
  .live-renderer {
    display: flex;
    height: 100vh;
    box-sizing: border-box;
    overflow: hidden;
  }
  
  .input-container {
    flex: 1;
    max-width: 33.33%; /* Ensures it takes up 1/3 of the width */
    padding: 20px;
    display: flex;
    flex-direction: column;
    background-color: #1e1e1e;
    border-right: 1px solid #333333;
  }
  
  .preview-container {
    flex: 2;
    padding: 20px;
    background-color: #121212;
  }
  
  .user-input-wrapper, .modify-input-wrapper {
    display: flex;
    flex-direction: column;
    margin-bottom: 100px; /* Increased space between sections */
  }
  
  textarea {
    width: 100%;
    height: 250px;
    margin-bottom: 15px;
    padding: 15px;
    box-sizing: border-box;
    resize: none;
    font-size: 14px;
    line-height: 1.5;
    background-color: #2a2a2a;
    color: #ffffff;
    border: 1px solid #444444;
    border-radius: 4px;
    font-family: 'Press Start 2P', cursive;
  }
  
  .streaming-live-preview iframe {
    width: 100%;
    height: calc(100vh - 80px);
    border: 1px solid #333333;
    background-color: #ffffff;
  }
  
  button {
    margin-top: 15px;
    font-size: 14px;
    padding: 12px 20px;
    background-color: #03dac6;
    color: #000000;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Press Start 2P', cursive;
    transition: background-color 0.3s;
  }
  
  button:hover {
    background-color: #018786;
  }
  
  button:disabled {
    background-color: #6e6e6e;
    cursor: not-allowed;
  }
  
  h1 {
    margin: 0 0 20px 0;
    font-size: 24px;
    color: #bb86fc;
    text-align: center;
  }
  
  h2 {
    margin: 0 0 15px 0;
    font-size: 18px;
    color: #03dac6;
  }
  
  .error {
    color: #cf6679;
    margin-top: 10px;
    font-size: 14px;
  }
  
  @media (max-width: 768px) {
    .live-renderer {
      flex-direction: column;
    }
  
    .input-container,
    .preview-container {
      max-width: 100%;
      width: 100%;
      padding: 15px;
    }
  
    textarea {
      height: 120px;
    }
  
    .streaming-live-preview iframe {
      height: 50vh;
    }
  
    h1 {
      font-size: 20px;
    }
  
    h2 {
      font-size: 16px;
    }
  }