.jdemo-body-reset {
  background: transparent;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  padding: 5px;
  text-align: left;
}

.jdemo-window-container {
  width: 640px;
  height: 650px;
  background: white;
  border: 1px solid #dadce0;
  border-radius: 16px;
  box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.3), 0 2px 6px 2px rgba(60, 64, 67, 0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-family: 'Google Sans', Arial, sans-serif;
  pointer-events: none;
  text-align: left !important;
  transition: opacity 0.5s ease;
}

.jdemo-window-header {
  background: #f2f6fc;
  padding: 12px 16px;
  border-bottom: 1px solid #dadce0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.jdemo-window-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.jdemo-dot-red {
  background: #ff5f57;
}

.jdemo-dot-yellow {
  background: #febc2e;
}

.jdemo-dot-green {
  background: #28c840;
}

.jdemo-thread-container {
  flex: 1;
  overflow: hidden;
  padding: 24px;
  scroll-behavior: smooth;
  background: transparent;
}

.jdemo-compose-area {
  border: 1px solid #dadce0;
  border-radius: 8px;
  margin-bottom: 20px;
  background: white;
}

.jdemo-compose-header {
  padding: 16px;
  border-bottom: 1px solid #dadce0;
  background: white;
}

.jdemo-field-row {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  font-family: Arial, sans-serif;
}

.jdemo-field-label {
  width: 70px;
  color: #5f6368;
  font-size: 14px;
}

.jdemo-field-value {
  flex: 1;
  font-size: 14px;
  color: #202124;
  text-align: left !important;
}

.jdemo-email-body {
  height: 400px;
  line-height: 1.6;
  white-space: pre-wrap;
  font-family: Arial, sans-serif;
  padding: 16px;
  text-align: left !important;
  color: #202124;
  background: white;
}

.jdemo-typing-text::after {
  content: '|';
  animation: jdemo-blink 1s infinite !important;
  display: inline-block;
  width: 1px;
}

@keyframes jdemo-blink {
  50% {
    opacity: 0;
  }
}

.jdemo-compose-footer {
  padding: 12px 16px;
  border-top: 1px solid #dadce0;
  display: flex;
  align-items: center;
  background: #f9f9f9;
}

.jdemo-attachment {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: #edf2fa;
  border-radius: 4px;
  margin: 0 12px;
  font-size: 13px;
  opacity: 0;
  transition: opacity 0.5s ease;
  color: #444;
}

.jdemo-attachment.jdemo-visible {
  opacity: 1;
}

.jdemo-send-button {
  background: #0b57d0;
  color: white;
  border: none;
  padding: 8px 24px;
  border-radius: 18px;
  font-size: 14px;
  font-weight: 500;
}

.jdemo-send-button.jdemo-sent {
  background: #188038;
}

.jdemo-response-email {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
  border: 1px solid #dadce0;
  border-radius: 8px;
  padding: 16px;
  background: white;
  text-align: left !important;
}

.jdemo-response-email.jdemo-visible {
  opacity: 1;
  transform: translateY(0);
}

.jdemo-avatar {
  width: 32px;
  height: 32px;
  background: #0b57d0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  margin-right: 12px;
}

.jdemo-sender-info {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.jdemo-sender-details {
  display: flex;
  flex-direction: column;
}

.jdemo-sender-name {
  font-weight: 500;
  color: #202124;
  font-size: 14px;
}

.jdemo-sender-email {
  color: #5f6368;
  font-size: 12px;
}

.jdemo-response-email .jdemo-email-body {
  padding: 0;
  min-height: 250px;
  height: auto;
}

.jdemo-fade {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.jdemo-fade.jdemo-visible {
  opacity: 1;
}

@media (max-width: 1000px) {
  .jdemo-window-container {
    height: 800px;
  }

  .jdemo-email-body {
    height: 550px;
  }
}

@media (max-width: 768px) {
  .jdemo-window-container {
    width: 100% !important;
    height: 800px !important;
    max-width: 100% !important;
    font-size: 14px;
  }

  .jdemo-thread-container {
    padding: 16px;
  }

  .jdemo-email-body {
    height: 480px !important;
    font-size: 14px;
    padding: 12px;
  }

  .jdemo-compose-header {
    padding: 12px;
  }

  .jdemo-field-label {
    width: 60px;
    font-size: 13px;
  }

  .jdemo-field-value {
    font-size: 13px;
  }

  .jdemo-response-email .jdemo-email-body {
    min-height: 200px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .jdemo-window-container {
    width: 100% !important;
    height: 700px !important;
    max-width: 100% !important;
    min-width: 320px;
  }

  .jdemo-thread-container {
    padding: 12px;
    overflow-x: hidden;
  }

  .jdemo-email-body {
    height: 400px !important;
    font-size: 13px !important;
    padding: 8px;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .jdemo-field-label {
    width: 50px;
    font-size: 12px;
  }

  .jdemo-field-value {
    font-size: 12px;
  }

  .jdemo-response-email .jdemo-email-body {
    min-height: 150px;
    font-size: 13px;
  }

  .jdemo-compose-header {
    padding: 8px;
  }

  .jdemo-compose-footer {
    padding: 8px 12px;
  }
} 