body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: #181818; 
    color: #f0f0f0; 
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    flex-direction: column;
    text-align: center;
    position: relative; 
  }

  .voice_to_text {
    background: linear-gradient(to bottom right, #282828, #383838); 
    padding: 60px;
    border-radius: 24px; 
    box-shadow: 0 12px 24px rgba(0,0,0,0.4);
    max-width: 700px;
    max-height: 500px;
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  h1 {
    color: #f5c542; 
    margin-bottom: 30px;
    font-size: 3rem;
    text-shadow: 0 4px 8px rgba(0,0,0,0.5);
    font-weight: 700; 
  }

  #convert_text {
    width: 500px;
    height: 200px;
    padding: 20px;
    margin-bottom: 30px;
    border: none;
    border-radius: 12px;
    background: #262626;
    color: #e0e0e0;
    font-size: 18px;
    resize: none;
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
    font-family: 'Courier New', Courier, monospace;
  }

  #click_to_record {
    background: #f5c542; 
    border: none;
    padding: 20px 50px;
    color: #181818; 
    border-radius: 12px;
    font-size: 20px;
    cursor: pointer;
    transition: background 0.3s, box-shadow 0.3s;
    box-shadow: 0 8px 16px rgba(245, 197, 66, 0.5);
    font-weight: 700;
  }

  #click_to_record:hover {
    background: #e1b134; 
    box-shadow: 0 10px 20px rgba(225, 177, 52, 0.7);
  }

  #is_recording, #confidence_id {
    margin-top: 20px;
    font-size: 18px;
    color: #a6a6a6; 
    font-family: 'Poppins', sans-serif;
  }

  footer {
    margin-top: 40px;
    font-size: 18px; 
    color: #ddd;
    text-align: center;
    font-family: 'Poppins', sans-serif; 
  }

  a {
    color: #f5c542; 
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 700; 
  }

  a:hover {
    text-decoration: underline;
  }

  .dropdown-container {
    margin-bottom: 20px;
    width: 100%;
    max-width: 400px;
  }

  select {
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    background: #262626;
    color: #e0e0e0;
    font-size: 18px;
    border: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
    font-family: 'Poppins', sans-serif;
  }

  select option {
    background: #262626;
    color: #e0e0e0;
  }

  .select-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
  }

  .select-wrapper::after {
    content: '▼';
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    color: #e0e0e0;
    pointer-events: none;
  }
