* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f5f5f5;
  color: #333;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.container {
  width: 90%;
  max-width: 500px;
  background-color: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

h1 {
  text-align: center;
  margin-bottom: 2rem;
  color: #333;
}

.recorder-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.anger-meter {
  width: 100%;
}

.meter-label {
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.meter-container {
  height: 30px;
  background-color: #e0e0e0;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
}

.meter-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(to right, #ffcc00, #ff6600, #ff0000);
  border-radius: 15px;
  transition: width 0.2s ease;
}

.meter-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 0.25rem;
  font-size: 2rem;
  color: #666;
}

.record-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: #fff;
  color: #333;
  border: 2px solid #ff3333;
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
}

.record-button:hover {
  background-color: #fff0f0;
}

.record-button.recording {
  background-color: #ff3333;
  color: white;
}

.record-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #ff3333;
  display: inline-block;
}

.record-button.recording .record-icon {
  background-color: white;
}

.status {
  text-align: center;
  font-size: 0.9rem;
  color: #666;
}

@media (max-width: 480px) {
  .container {
    padding: 1.5rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  .record-button {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
}

