/* General Reset */
* {
  box-sizing: border-box;
  margin: 0; 
  padding: 0;
}

body {
  font-family: 'Arial', sans-serif;
  background-color: #f5f5f5;
  color: #333;
}

/* Container styling */
#container {
  max-width: 480px;
  margin: 24px auto;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

#container div{
    padding:24px 0;
}

.logo-area img{
    width: 100px;
    height: 100px;
}

.logo-area{
    display: flex;
    flex-direction:row;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
}
/* Heading */
#container h1 {
  margin-bottom: 20px;
  font-weight: 900;
  font-size: 1.6rem;
  color: #333;
 margin: 0px;
}
#container img {
    max-width:200px;   
}
/* Timer display */
#timers {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 1.2rem;
}

/* Recording Button */
.icon-btn {
    background-color: #32CD32;
    border: 18px solid #E91E63;
    color: #fff;
    /* border: none; */
    padding: 20px;
    border-radius: 50%;
    cursor: pointer;
    width: 120px;
    height: 120px;
    position: relative;
    transition: background-color 0.3s ease;
    margin: 42px 0px;
}

/* The SVG icon inside the button */
.icon-btn svg {
  width: 40px;
  height: 40px;
}

/* Pulsating effect when recording */
.icon-btn.recording {
  animation: pulsate 1.4s infinite;
  background-color: #F88001; /* Secondary color when recording */
}

@keyframes pulsate {
  0% {
    box-shadow: 0 0 0 0 rgba(248, 128, 1, 0.6);
  }
  70% {
    box-shadow: 0 0 0 25px rgba(248, 128, 1, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(248, 128, 1, 0);
  }
}

/* Recordings list */
#recordingsList {
  list-style-type: none;
  margin: 20px 0;
  padding: 0;
}

/* Each recording item */
#recordingsList li {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  background: #e9e9e9;
  padding: 10px;
  border-radius: 4px;
}

#recordingsList audio {
  outline: none;
}

li.uploaded {
  opacity: 0.3; /* Gray out */
}
li.uploaded .delete-btn {
    display:none;
}

/* Buttons area */
.buttons {
  margin-top: 20px;
}

/* Standard button styling */
button {
  font-family: 'Arial', sans-serif;
  border: none;
  border-radius: 6px;
  padding: 16px 16px;
  margin: 10px 5px 0;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

/* Submit button */
#submitButton {
  background-color: #333; /* Primary color */
  color: #fff;
}

#submitButton:hover {
  background-color: #333333c7;
}

/* Auth button */
#authButton {
  background-color: #E91E63; /* Secondary color */
  color: #fff;
}

#authButton:hover {
  opacity: 0.9;
}

/* Delete button inside the recordings list */
.delete-btn {
  background-color: #333;
  color: #fff;
  padding: 6px 12px;
  font-size: 0.9rem;
  border-radius: 4px;
}

.delete-btn:hover {
  opacity: 0.8;
}

/* Message styling */
#message {
  margin-top: 20px;
  font-weight: 600;
  min-height: 20px;
}

.debug-button {
  background-color: #ff9800;
  color: white;
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin: 10px;
}

.debug-button:hover {
  background-color: #f57c00;
}

.debug-button:active {
  background-color: #ef6c00;
}
