:root {
    font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    font-weight: 400;
    color-scheme: light dark;
    color: rgba(255, 255, 255, 0.87);
    background-color: #242424;
  }
  
  body {
    margin: 0;
    display: flex;
    place-items: center;
    min-width: 320px;
    min-height: 100vh;
  }
  
  #app {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
    width: 100%;
  }
  
  .container {
    background-color: #1a1a1a;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  h1 {
    font-size: 2.5em;
    margin-bottom: 1.5rem;
    color: #646cff;
  }
  
  textarea {
    width: 100%;
    min-height: 150px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    background-color: #2a2a2a;
    color: white;
    border: 1px solid #444;
    resize: vertical;
    font-size: 1rem;
    box-sizing: border-box;
  }
  
  .controls {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }
  
  .language-select {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-grow: 1;
    justify-content: center;
  }
  
  .language-select label {
    white-space: nowrap;
  }
  
  select {
    padding: 0.5rem;
    border-radius: 4px;
    background-color: #2a2a2a;
    color: white;
    border: 1px solid #444;
    min-width: 200px;
    font-size: 1rem;
  }
  
  button {
    background-color: #646cff;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.2s;
    min-width: 100px;
  }
  
  button:hover {
    background-color: #535bf2;
    transform: translateY(-1px);
  }
  
  button:active {
    transform: translateY(1px);
  }
  
  button:disabled {
    background-color: #4a4a4a;
    cursor: not-allowed;
    transform: none;
  }
  
  @media (max-width: 768px) {
    #app {
      padding: 1rem;
    }
  
    .container {
      padding: 1rem;
    }
  
    .controls {
      flex-direction: column;
      gap: 1rem;
    }
  
    .language-select {
      flex-direction: column;
      width: 100%;
    }
  
    select {
      width: 100%;
    }
  
    button {
      width: 100%;
    }
  }
  
  @media (prefers-color-scheme: light) {
    :root {
      color: #213547;
      background-color: #ffffff;
    }
    
    .container {
      background-color: #ffffff;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    
    textarea, select {
      background-color: #f5f5f5;
      color: #213547;
      border-color: #ddd;
    }
    
    button:disabled {
      background-color: #cccccc;
    }
  }