* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #039ee3 0%, #005f9e 100%);
  min-height: 100vh;
  margin: 0;
  color: #fff;
}

.main-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px 0;
}

.logo img {
    height: 65px;
    width: 190px;
}

.container {
  width: 90%;
  max-width: 480px;
  background: #fff;
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

h1 {
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 20px;
  margin: 20px 0 10px;
  color: black;
}

.assistant-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.status {
  font-size: 16px;
  margin-bottom: 20px;
  font-weight: 300;
  color: #555;
}

.mic-button {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(145deg, #039ee3, #0286c2);
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mic-button:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.mic-button.listening {
  animation: pulse 1.5s infinite;
  background: linear-gradient(145deg, #e53935, #d32f2f);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(229, 57, 53, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(229, 57, 53, 0);
  }
}

.beta-tag {
  font-size: 14px;
  font-weight: 400;
  color: #555;
  background-color: rgba(0, 0, 0, 0.15);
  padding: 5px 12px;
  border-radius: 10px;
  display: inline-block;
  margin-bottom: 20px;
}

.disclaimer {
  max-width: 480px;
  width: 90%;
  margin: 30px auto 10px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 15px;
  padding: 20px;
  color: #fff;
  font-size: 14px;
  backdrop-filter: blur(6px);
}

.disclaimer h3 {
  margin-bottom: 10px;
  font-size: 18px;
  color: #ffcc00;
  text-align: center;
}

.disclaimer ul {
  list-style: disc inside;
  padding-left: 0;
  font-family: cambria;
}

.disclaimer li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.transcript-section {
  max-width: 480px;
  width: 90%;
  margin-top: 30px;
  background-color: #fff;
  border-radius: 15px;
  padding: 20px;
  color: #333;
  font-size: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.transcript-section h2 {
  margin-bottom: 12px;
  font-size: 20px;
  color: #005f9e;
  text-align: center;
}

#transcript-box {
  max-height: 250px;
  overflow-y: auto;
  border: 1px solid #ccc;
  padding: 12px;
  background-color: #f9f9f9;
  border-radius: 10px;
  margin-bottom: 15px;
}

.transcript-entry {
  margin-bottom: 10px;
  line-height: 1.5;
}

.transcript-entry.user::before {
  content: "🗣️ User: ";
  font-weight: bold;
  color: #000;
}

.transcript-entry.assistant::before {
  content: "💬 Assistant: ";
  font-weight: bold;
  color: #039ee3;
}



.slogan {
  font-size: 15px;
  font-weight: 500;
  color: #007acc;
  margin-bottom: 20px;
  font-style: italic;
}

.flex-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  width: 100%;
}

@media (min-width: 768px) {
  .flex-layout {
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
  }

  .container, .transcript-section {
    max-width: 480px;
    width: 45%;
  }

  .transcript-section {
    margin-top: 0;
  }
}


.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-box {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  color: #333;
  animation: fadeIn 0.4s ease-in-out;
}

.modal-box h2 {
  margin-bottom: 10px;
  font-size: 22px;
  color: #005f9e;
}

.modal-box input {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 14px;
}

.modal-box button {
  background: #039ee3;
  color: white;
  padding: 10px 16px;
  border: none;
  font-size: 14px;
  border-radius: 6px;
  cursor: pointer;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}

.export-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.export-buttons button {
  padding: 8px 16px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#export-btn {
  background: #e53935;
  color: white;
}

#export-btn:hover {
  background-color: #c62828;
}

#export-word-btn {
  background: #2b579a; /* Word blue */
  color: white;
}

#export-word-btn:hover {
  background-color: #1b3e6f;
}
