/* styles.css extraído de index.html */
body {
  font-family: 'Roboto', sans-serif;
  background: linear-gradient(135deg, #69e6d4 0%, #a1c4fd 100%);
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}
/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.35);
  justify-content: center;
  align-items: center;
}
.modal-content {
  background: #fff;
  padding: 2em 1.2em 1.5em 1.2em;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
  max-width: 350px;
  width: 90vw;
  text-align: center;
  position: relative;
}
.close-modal {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 1.1em;
  background: none;
  border: none;
  color: #e85151;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  border-radius: 0;
  box-shadow: none;
}
#modalStatus {
  margin-top: 0.7em;
  font-size: 1em;
  color: #444;
  min-height: 1.5em;
  transition: color 0.2s;
  text-align: center;
}
.container {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  margin-top: 2.5em;
  padding: 2em 1.2em 1.5.5em 1.2em;
  width: 100%;
  max-width: 410px;
  margin: 10px;
  box-sizing: border-box;
  text-align: center;
}
.logo-img {
  width: 90%;
  max-width: 270px;
  margin-bottom: 1.6em;
  margin-top: 1.3em;
  border-radius: 8px;
  box-shadow: 12px 11px 4px 0px rgba(80,80,80,0.05);
  object-fit: contain;
  display: block;
}
h2 {
  color: #25b9ad;
  font-size: 1.35em;
  font-weight: 700;
  margin-bottom: 1.1em;
  margin-top: 0;
  text-align: center;
}
.button-group {
  display: flex;
  flex-direction: row;
  gap: 1em;
  width: 90%;
  margin-bottom: 1.3em;
  justify-content: center;
}
button {
  flex: 1 1 0;
  font-size: 1.25em;
  padding: 1.1em 0.5em;
  border-radius: 15px;
  border: none;
  background: #25b9ad;
  color: white;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  transition: background 0.15s, transform 0.09s;
}
button:disabled {
  background: #c8ebe7;
  color: #aaa;
  cursor: not-allowed;
  transform: none;
}
#recordBtn.recording {
  background: #e85151;
  animation: pulse 1.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 #e8515122; }
  70% { box-shadow: 0 0 0 18px #e8515105; }
  100% { box-shadow: 0 0 0 0 #e8515122; }
}
#status {
  margin-top: 0.5em;
  font-size: 1.07em;
  color: #444;
  min-height: 2em;
  transition: color 0.2s;
  text-align: center;
}
#status.success { color: #2ecc71; }
#status.error { color: #e74c3c; }
#audioPlayer {
  margin-top: 1.3em;
  width: 100%;
  max-width: 320px;
}
.footer-img {
  margin-top: 2.1em;
  width: 90%;
  max-width: 320px;
  height: auto;
  box-shadow: 12px 11px 4px 0px rgba(80, 80, 80, 0.05);
  object-fit: contain;
  display: block;
  margin-bottom: 1.5em;
}
@media (max-width: 600px) {
  .container {
    margin-top: 1.2em;
    padding: 1.1em 0.3em 1.2em 0.3em;
    border-radius: 12px;
  }
  .logo-img {
    width: 85vw;
    max-width: 300px;
    margin-bottom: 1.1em;
  }
  .footer-img {
    margin-top: 1.3em;
    width: 80vw;
    max-width: 380px;
  }
  h2 { font-size: 1.12em; }
  .button-group {
    flex-direction: column;
    gap: 0.8em;
    width: 100%;
  }
  button {
    font-size: 1.1em;
    padding: 1em 0.2em;
  }
}
