/* Shared Styles */
body {
  margin: 0;
  font-family: 'Helvetica Neue', sans-serif;
  background: url('assets/baby-blue-background.jpg') no-repeat center center fixed;
  background-size: cover;
  color: #1a1a1a;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  border-bottom: 1px solid #e0e0e0;
}

.logo {
  height: 40px;
}

.nav a,
.login-btn {
  margin-left: 20px;
  text-decoration: none;
  color: #000;
  font-weight: 500;
}

.login-btn {
  background: #000;
  color: #fff;
  padding: 6px 12px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.main-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 100vh;
  padding: 2rem;
}

/* Summary Section */
.summary-box {
  background: #f9f9f9;
  padding: 2rem;
  border-radius: 10px;
  width: 90%;
  max-width: 700px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-align: center;
}

.textarea-wrapper textarea {
  width: 100%;
  height: 150px;
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  resize: none;
  font-size: 1rem;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.summary-actions button {
  margin: 0 0.5rem;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

#edit-emails-btn {
  background-color: #6a4fc4;
  color: white;
}

#send-btn {
  background-color: #000;
  color: white;
}

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

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 2rem;
  border: 1px solid #888;
  width: 90%;
  max-width: 600px;
  border-radius: 10px;
  position: relative;
}

.close-btn {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 1.5rem;
  cursor: pointer;
}

.email-input {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.email-input input {
  width: 70%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 6px 0 0 6px;
}

.email-input button {
  padding: 8px 12px;
  border: none;
  background: #6a4fc4;
  color: white;
  border-radius: 0 6px 6px 0;
  cursor: pointer;
}

#email-list {
  list-style: none;
  padding: 0;
}

#email-list li {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid #eaeaea;
}

.remove-email {
  background: none;
  border: none;
  font-size: 1rem;
  color: red;
  cursor: pointer;
}

/* Recorder Page Fixes */
.timer {
  font-size: 3rem;
  font-weight: bold;
  margin: 1rem 0;
}

.controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.controls button {
  font-size: 1.2rem;
  padding: 0.6rem 1.2rem;
  border: 2px solid black;
  border-radius: 50%;
  background: white;
  cursor: pointer;
}

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

.end-btn {
  background: red;
  color: white;
  padding: 0.6rem 2rem;
  font-weight: bold;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}
