/* styles.css */
#middleTime {
  position: absolute;
  z-index: 11;
  top: 90%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  background: rgba(0, 0, 0, 0.75);
  padding: 4px;
  color: #ddd;
  pointer-events: none;
  border-radius: 0;
}

body {
   font-family: "Press Start 2P", monospace;
   margin: 0;
   padding: 0;
   font-size: 12px;
   display: flex;
   justify-content: center;
   align-items: center;
   min-height: 100vh;
   position: relative;
}

.app-container {
   width: 70%;
   padding: 20px;
   position: relative;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #000;
    text-shadow: 2px 2px 0 #fff;
}

.session-controls {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.session-controls button {
    background: #000;
    color: #fff;
    border: 2px solid #fff;
    padding: 8px 16px;
    cursor: pointer;
    font-family: inherit;
    font-size: 10px;
    border-radius: 0;
}

.session-controls button:hover {
    background: #333;
}

#peopleCount {
    color: #fff;
    font-family: inherit;
    font-size: 10px;
    background: #000;
    border: 2px solid #fff;
    padding: 8px;
    border-radius: 0;
}



#waveform {
   cursor: pointer;
   position: relative;
   height: 200px;
   margin: 20px auto;
}

#waveform ::part(canvases).canvas {
   min-height: 200px !important;
   position: relative;
}
#waveform ::part(wrapper) {
   position: relative;
   top: 50%;
   min-height: 200px;
}
.canvases {
   min-height: 200px !important;
}
#commentsList {
  max-height: 300px;
  overflow-y: auto;
  margin: 20px auto;
  padding: 10px;
  background: #000;
  border: 2px solid #fff;
  border-radius: 0;
}

.comment-item {
  margin-bottom: 10px;
  padding: 10px;
  background: #333;
  color: #fff;
  border: 1px solid #666;
  border-radius: 0;
}

.comment-item strong {
  color: #fff;
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

.modal-content {
  background-color: rgba(255, 255, 255, 0.9);
  margin: 10% auto;
  padding: 15px;
  border: 2px solid #000;
  width: 90%;
  max-width: 500px;
  border-radius: 0;
  position: relative;
}

.modal-content h2 {
  position: absolute;
  top: -15px;
  left: 15px;
  background: #000;
  color: #fff;
  padding: 5px 10px;
  border: 2px solid #fff;
  font-size: 10px;
  margin: 0;
  font-family: inherit;
}

#commentText {
  width: 90%;
  padding: 8px;
  margin: 10px auto;
  display: block;
  border: 1px solid #ccc;
  border-radius: 0;
  height: 80px;
  resize: vertical;
  font-family: inherit;
  font-size: 10px;
  text-align: left;
  background: rgba(255, 255, 255, 0.8);
}

#submitComment {
  background: #000;
  color: #fff;
  padding: 10px 20px;
  border: 2px solid #fff;
  border-radius: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 10px;
  float: right;
}

#submitComment:hover {
  background: #333;
}

#hover {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 10;
  pointer-events: none;
  height: 100%;
  width: 0;
  mix-blend-mode: overlay;
  background: rgba(255, 255, 255, 0.5);
  opacity: 0;
  transition: opacity 0.2s ease;
}

#waveform:hover #hover {
  opacity: 1;
}

.controls {
  margin: 10px 0;
  text-align: center;
}

.controls input[type="text"] {
    padding: 8px;
    border: 2px solid #fff;
    background: #000;
    color: #fff;
    font-family: inherit;
    font-size: 10px;
    border-radius: 0;
    margin: 0 5px;
    width: 200px;
}

.controls button {
    background: #000;
    color: #fff;
    border: 2px solid #fff;
    padding: 8px 16px;
    margin: 0 5px;
    cursor: pointer;
    font-family: inherit;
    font-size: 10px;
    border-radius: 0;
}

.controls button:hover {
    background: #333;
}

input[type="file"] {
  display: none;
}

.custom-file-upload {
  display: inline-block;
  padding: 8px 16px;
  cursor: pointer;
  background: #000;
  color: #fff;
  border: 2px solid #fff;
  font-family: inherit;
  font-size: 10px;
  border-radius: 0;
}

.custom-file-upload:hover {
    background: #333;
}


