/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 5px;
    height: 9px;
  }
  
  ::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 5px;
  }
  
  /* Base Styles */
  body {
    font-family: 'Segoe UI', sans-serif;
    background: #1a1919;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
  }
  
  h1 {
    text-align: center;
    color: #ccc;
    font-size: 2rem;
  }
  
  .languageSelect {
    width: 100%;
    max-width: 300px;
    margin: 0 auto 20px auto;
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #444;
    background: #222;
    color: white;
  }
  
  textarea {
    width: 100%;
    max-width: 100%;
    height: 300px;
    padding: 10px;
    color: #fff;
    font-family: monospace;
    font-size: 14px;
    outline: none;
    border: 1px solid #444;
    background: #000;
    border-radius: 5px;
    margin-bottom: 10px;
    resize: vertical;
    box-sizing: border-box;
  }

  pre {
    background: #2d2d2d;
    padding: 15px;
    border-radius: 8px;
    height: 300px;
    overflow-y: auto;
    overflow-x: auto;
    color: white;
    font-size: 14px;
    margin-bottom: 20px;
    box-sizing: border-box;
  }  
  
  #outputCode {
    overflow: auto;
    white-space: pre;
  }
  
  button {
    display: block;
    width: 10%;
    max-width: 300px;
    margin: 0 auto 20px auto;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    background-color: #0157b4;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s ease;
  }
  
  button:hover {
    background-color: #0056b3;
  }
  
  .footer {
    text-align: center;
    color: #777;
    font-size: 14px;
    margin-top: 40px;
  }
  
  /* Responsive Enhancements */
  @media (max-width: 600px) {
    body {
      padding: 10px;
    }
  
    h1 {
      font-size: 1.5rem;
    }
  
    textarea {
      height: 250px;
      font-size: 13px;
    }
  
    button {
      font-size: 14px;
      padding: 10px;
    }
  
    .footer {
      font-size: 13px;
    }
  }
  