@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

body {
  font-family: 'Roboto', sans-serif;
  text-align: center;
  padding: 30px;
  background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
  margin: 0;
}

h1 {
  color: #222;
  font-weight: 700;
  margin-bottom: 20px;
}

select {
  font-size: 16px;
  padding: 10px 15px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: white;
  transition: 0.3s;
}

select:focus {
  border-color: #007bff;
  box-shadow: 0 0 8px rgba(0, 123, 255, 0.4);
  outline: none;
}

button {
  font-size: 18px;
  padding: 10px 25px;
  margin: 10px;
  cursor: pointer;
  border: none;
  border-radius: 8px;
  background-color: #007bff;
  color: white;
  font-weight: 500;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s, transform 0.2s;
}

button:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

#startInterviewBtn:disabled {
  background-color: #ccc;
  color: #666;
  cursor: not-allowed;
  box-shadow: none;
}

video {
  margin-top: 15px;
  border: 2px solid #333;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  height: auto;
}

a {
  font-size: 16px;
  display: inline-block;
  margin-top: 10px;
  text-decoration: none;
  color: #007bff;
}

a:hover {
  text-decoration: underline;
}

#audioBar {
  width: 200px;
  height: 20px;
  background: #ddd;
  margin: 5px auto;
  border-radius: 10px;
  overflow: hidden;
}

#audioLevel {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #4caf50, #81c784);
  transition: width 0.1s;
}

/* 📱 Mobil uyum */
@media (max-width: 768px) {
  body {
    padding: 15px;
  }

  h1 {
    font-size: 22px;
  }

  select, button {
    width: 100%;
    font-size: 16px;
  }

  video {
    width: 100%;
    height: auto;
  }

  #audioBar {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 20px;
  }

  select, button {
    font-size: 15px;
  }
}
