/* === LANDING PAGE STYLES === */
.landing-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
  background-color: #F9F5F9;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.landing-content {
  background: white;
  padding: 50px 40px;
  border-radius: 35px;
  width: 85%;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.landing-logo {
  width: 180px;
  height: 180px;
  margin-bottom: 40px;
  border-radius: 35px;
}

.landing-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #3B1F47;
}

.landing-subtitle {
  font-size: 17px;
  color: #666;
  margin-bottom: 50px;
}

.landing-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 220px;
}

.landing-button {
  width: 100%;
  padding: 10px;
  border-radius: 20px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.landing-button:hover {
  opacity: 0.9;
}

.landing-button.sign-up {
  background-color: #3B1F47;
  color: white;
}

.landing-button.login {
  background-color: #3B1F47;
  color: white;
}


/* === GLOBAL STYLES === */
body {
  font-family: 'Inter', sans-serif;
  background-color: #F9F5F9;
  margin: 0;
  padding-bottom: 80px;
}

h1, h2, h3, h4, h5 {
  color: #3B1F47;
  margin: 0 0 10px;
}

p {
  color: #4A4A4A;
  margin: 0 0 10px;
}

.container {
  max-width: 600px;
  margin: auto;
  padding: 30px 20px;
}

/* === BUTTONS === */
button, .btn {
  border: none;
  border-radius: 20px;
  padding: 10px 20px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}

.btn-primary {
  background-color: #3B1F47;
  color: white;
}

.btn-outline {
  background-color: #fff;
  color: #3B1F47;
  border: 1px solid #D6AE7B;
}

.btn-muted {
  background-color: #ccc;
  color: #3B1F47;
}

/* === CARDS === */
.card, .contact-card, .attendee-card {
  background: white;
  border-radius: 12px;
  padding: 15px 20px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.card-title, .contact-name, .attendee-name {
  font-weight: 600;
  color: #3B1F47;
}

.card-subtext, .contact-role {
  color: #4A4A4A;
  font-size: 14px;
}

/* === CHAT STYLES === */
.chat-window {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  padding-bottom: 180px;
}

.message {
  background-color: white;
  padding: 10px 15px;
  border-radius: 15px;
  margin-bottom: 12px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  width: fit-content;
  max-width: 80%;
}

.message.you {
  margin-left: auto;
  background-color: #D6AE7B;
  color: white;
}

.chat-input {
  padding: 15px 20px;
  display: flex;
  border-top: 1px solid #ccc;
  background-color: #fff;
}

.chat-input input {
  flex: 1;
  padding: 10px;
  border-radius: 20px;
  border: 1px solid #ccc;
  font-size: 14px;
  margin-right: 10px;
}

/* === BOTTOM NAV === */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #3B1F47;
  display: flex;
  justify-content: space-around;
  padding: 12px 0;
}

.bottom-nav a {
  color: white;
  text-decoration: none;
  font-size: 24px;
}

.bottom-nav a i {
  color: white;
  font-size: 24px;
}

.dashboard-icon {
  color: #3B1F47;
  font-size: 24px;
}

/* === UTILITIES === */
.text-center {
  text-align: center;
}

.empty-message {
  text-align: center;
  color: #888;
  font-style: italic;
  margin-top: 40px;
}

.back-btn {
  margin-top: 10px;
  font-size: 13px;
  background: #fff;
  color: #3B1F47;
  border: 1px solid #D6AE7B;
  border-radius: 20px;
  padding: 6px 14px;
  font-weight: 600;
  cursor: pointer;
}
/* === FORM STYLES === */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input[type="text"],
input[type="email"],
input[type="password"],
select {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
}

label {
  font-weight: 600;
  color: #3B1F47;
  font-size: 14px;
}

/* === PROFILE PAGE SPECIFIC === */
.profile-section {
  padding: 20px;
}

.field-row {
  margin-bottom: 15px;
}

.field-row input,
.field-row textarea {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  border: none;
  border-bottom: 1px dashed #999;
  background: transparent;
  outline: none;
  color: #000;
  font-family: 'Inter', sans-serif;
}

.chip-input {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  border: none;
  border-bottom: 1px dashed #999;
  background: transparent;
  outline: none;
  color: #000;
  font-family: 'Inter', sans-serif;
  border-radius: 20px;
  background: #eee;
  border-bottom: none;
}

/* Summary Styles */
.chat-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.summary-btn {
  background: #3B1F47;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
}

.summary-btn:hover {
  background: #2d1735;
}

.modal {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
}

.modal-content {
  background-color: white;
  margin: 10% auto;
  padding: 0;
  border-radius: 12px;
  width: 80%;
  max-width: 600px;
  max-height: 70vh;
  overflow: hidden;
}

.modal-header {
  background: #3B1F47;
  color: white;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  margin: 0;
}

.close {
  color: white;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  opacity: 0.7;
}

.modal-body {
  padding: 20px;
  max-height: 400px;
  overflow-y: auto;
}

.summary-text {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

.error {
  color: #d32f2f;
  font-weight: 500;
}

/* Voice Message Styles */
.voice-btn {
  background: #D6AE7B;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 8px;
  transition: all 0.3s ease;
}

.voice-btn:hover {
  background: #c99d68;
  transform: scale(1.05);
}

.voice-btn.recording {
  background: #ff4444;
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.voice-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: white;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.voice-message {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #f0f0f0;
  border-radius: 16px;
  min-width: 180px;
  max-width: 260px;
}

.voice-message.you {
  background: #D6AE7B;
}

.voice-message .play-btn {
  background: white;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  color: #3B1F47;
}

.voice-message.you .play-btn {
  background: rgba(255,255,255,0.9);
}

.voice-waveform {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 2px;
  height: 24px;
}

.waveform-bar {
  width: 2px;
  background: #3B1F47;
  border-radius: 1px;
  transition: height 0.2s ease;
}

.voice-message.you .waveform-bar {
  background: white;
}

.voice-duration {
  font-size: 12px;
  color: #666;
  margin-left: 8px;
  flex-shrink: 0;
}

.voice-message.you .voice-duration {
  color: white;
}

.voice-preview-inline {
  flex: 1;
  display: flex;
  align-items: center;
  background: #f0f0f0;
  border-radius: 20px;
  padding: 8px 12px;
  margin-right: 10px;
}

.voice-preview-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.voice-play-btn {
  background: #3B1F47;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.voice-play-btn:hover {
  opacity: 0.8;
}

.voice-play-btn i {
  color: white;
  font-size: 12px;
}

.voice-cancel-btn {
  background: #ff4444;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.voice-cancel-btn:hover {
  opacity: 0.8;
}

.voice-cancel-btn i {
  color: white;
  font-size: 12px;
}

/* Larger buttons on desktop */
@media (min-width: 768px) {
  .voice-play-btn,
  .voice-cancel-btn {
    width: 40px;
    height: 40px;
  }
  
  .voice-play-btn i,
  .voice-cancel-btn i {
    font-size: 14px;
  }
}

.voice-waveform-preview {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.voice-duration-preview {
  font-size: 12px;
  color: #666;
  font-weight: 500;
}

.voice-transcription {
  margin-top: 6px;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  font-size: 11px;
  line-height: 1.3;
  color: #333;
  font-style: italic;
}

.message.you .voice-transcription {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.transcription-preview,
.transcription-full,
.transcription-text {
  word-wrap: break-word;
}

.expand-link,
.collapse-link {
  color: #3B1F47;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  font-style: normal;
  margin-left: 4px;
}

.message.you .expand-link,
.message.you .collapse-link {
  color: white;
}

/* Chat Styles */
.chat-container {