body {
  font-family: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  margin: 0;
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #f0f8ff;
}

h1 {
  color: #1a4a7c;
  font-size: 32px;
  margin-bottom: 30px;
}

#interview-form {
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 500px;
}

#interview-setup {
  width: 100%;
  height: 120px;
  padding: 15px;
  margin-bottom: 20px;
  font-size: 16px;
  resize: vertical;
  border: 1px solid #4a90e2;
  border-radius: 5px;
  font-family: inherit;
}

#start-interview {
  font-size: 18px;
  padding: 12px 24px;
  cursor: pointer;
  background-color: #2c5282;
  color: white;
  border: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

#start-interview:hover {
  background-color: #1a365d;
}

#video-container {
  width: 720px;
  height: 720px;
  margin: 0 0 20px 0;
  overflow: hidden;
  position: relative;
  border-radius: 5px;
}

#video-stream {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 2;
}

#audio-stream {
  display: none;
}

#loading-spinner {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-color: rgba(240, 248, 255, 0.8);
}

#loading-spinner img {
  width: 100px;
  height: 100px;
  animation: spin 2s linear infinite;
}

#interviewer-image img {
  width: 960px;
  height: 540px;
  margin-bottom: 40px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#end-interview {
  background-color: #2c5282;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 12px 24px;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#end-interview:hover {
  background-color: #1a365d;
}

#end-interview:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

#feedback-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f0f8ff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#feedback-loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
}

#feedback-loading-spinner img {
  width: 50px;
  height: 50px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#feedback-content {
    text-align: center;
}

#feedback-content h2 {
    color: #1a4a7c;
    font-size: 24px;
    margin-bottom: 20px;
}

#feedback-text {
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

#feedback-text h1, #feedback-text h2, #feedback-text h3 {
    color: #2c5282;
    margin-top: 20px;
}

#feedback-text p {
    margin-bottom: 10px;
}

#feedback-text ul, #feedback-text ol {
    margin-left: 20px;
    margin-bottom: 10px;
}

#feedback-text li {
    margin-bottom: 5px;
}

#feedback-text code {
    background-color: #f0f0f0;
    padding: 2px 4px;
    border-radius: 4px;
}

#return-to-start {
  font-size: 18px;
  padding: 12px 24px;
  cursor: pointer;
  background-color: #2c5282;
  color: white;
  border: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  margin-top: 20px;
}

#return-to-start:hover {
  background-color: #1a365d;
}