/* Styles for the public survey and preview */

.ai-invite-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  font-family: sans-serif;
}
.ai-invite-header {
  text-align: center;
  margin-bottom: 30px;
}
.ai-invite-logo-wrapper img {
  max-height: 80px;
}
.ai-survey-form {
  margin-bottom: 30px;
}
.ai-question {
  margin-bottom: 15px;
}
.ai-question-label {
  font-weight: bold;
}
.ai-btn-group {
  margin-top: 5px;
}
.ai-btn {
  font-size: 24px;
  padding: 5px 10px;
  margin-right: 5px;
  cursor: pointer;
  border: 1px solid #ccc;
  background-color: #f8f8f8;
}
.ai-btn.selected {
  background-color: #0073aa;
  color: #fff;
  border-color: #005177;
}
.ai-comment-field {
  display: block;
  width: 100%;
  margin-top: 5px;
  height: 60px;
}
.ai-preview {
  border: 1px solid #ddd;
  padding: 20px;
}
.ai-tab-buttons {
  margin-bottom: 10px;
}
.ai-tab-btn {
  margin-right: 5px;
  padding: 5px 10px;
  cursor: pointer;
  border: 1px solid #ccc;
  background-color: #f8f8f8;
}
.ai-tab-btn.active {
  background-color: #0073aa;
  color: #fff;
  border-color: #005177;
}
.ai-tab-pane {
  display: none;
  white-space: pre-wrap;
  padding: 10px;
  border: 1px solid #eee;
  min-height: 100px;
}
.ai-permissions {
  margin-top: 15px;
}

/* RTL adjustments */
[dir="rtl"] .ai-invite-container {
  direction: rtl;
  text-align: right;
}