/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Segoe UI', sans-serif;
    background: #f4f6f8;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }
  
  /* Container */
  .studio-container {
    flex: 1;
    padding: 2rem 1rem 12rem;
    max-width: 960px;
    margin: 0 auto;
  }
  
  /* Header */
  h1 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  /* Results */
  #result-area {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
  }
  
  .result-item {
    background: #fff;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    word-wrap: break-word;
  }
  
  .prompt-label {
    font-weight: bold;
    font-size: 0.9rem;
    color: #007bff;
    margin-bottom: 0.5rem;
  }
  
  /* Input Bar */
  .input-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 1rem;
    border-top: 1px solid #ccc;
    box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 960px;
    margin: auto;
  }
  
  textarea {
    width: 100%;
    height: 60px;
    padding: 0.6rem;
    font-size: 1rem;
    resize: none;
    border-radius: 8px;
    border: 1px solid #ccc;
  }
  
  /* Controls */
  .input-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem;
  }
  
  .type-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
  }
  
  .type-btn {
    padding: 0.4rem 0.8rem;
    border: none;
    border-radius: 8px;
    background: #e0e0e0;
    cursor: pointer;
    font-weight: 600;
  }
  
  .type-btn.active {
    background: #007bff;
    color: #fff;
  }
  
  #submit-btn {
    padding: 0.5rem 1.2rem;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    white-space: nowrap;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    h1 {
      font-size: 1.5rem;
    }
  
    .input-controls {
      flex-direction: column;
      align-items: stretch;
    }
  
    #submit-btn {
      width: 100%;
      margin-top: 0.5rem;
    }
  }
  
  @media (max-width: 480px) {
    textarea {
      height: 50px;
      font-size: 0.95rem;
    }
  
    .type-btn {
      font-size: 0.9rem;
      padding: 0.3rem 0.6rem;
    }
  
    #submit-btn {
      font-size: 0.95rem;
    }
  }
  