:root {
  --primary-color: #4a90e2;
  --secondary-color: #f5f7fa;
  --text-color: #333;
}

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

body {
  width: 100vw;
  height: 100vh;
  padding: 2rem;
  background: var(--secondary-color);
  color: var(--text-color);
}

.container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 2rem;
}

.box {
  width: 100%;
}

h1 {
  text-align: center;
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.file-upload {
  position: relative;
  margin: 3rem 0 1rem;
}

.file-upload input[type="file"] {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.file-upload label {
  display: block;
  padding: 2.4rem 0;
  background: var(--secondary-color);
  border: 2px dashed #ddd;
  border-radius: 8px;
  text-align: center;
  transition: border-color 0.3s;
}

.file-upload:hover label {
  border-color: var(--primary-color);
}

#status {
  padding: 1rem;
  background: #f0f8ff;
  border-radius: 8px;
  margin: 0.5rem 0;
  text-align: center;
}

.button-group {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0;
}

button {
  padding: 0.4rem 0.6rem;
  border: none;
  border-radius: 4px;
  background: linear-gradient(145deg, var(--primary-color), #357abd);
  color: white;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  align-items: center;
  /* font-size: 2rem; */
  gap: 0.5rem;
}

button#recordBtn {
  margin: 1rem auto;
  width: 6rem;
  height: 6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  border-radius: 50%;
}

button#recordBtn>.icon {
  font-size: 2.2rem;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 8px rgba(74, 144, 226, 0.3);
}

button:disabled {
  background: #cccccc;
  cursor: not-allowed;
  opacity: 0.7;
}