/* Chatbot*/

/* OSNA-Immo - Bewertungs-Widget (CSS) */
#osna-bewertung-section {
  max-width: 980px;
  margin: 36px auto;
  padding: 0 16px;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.osna-avatar { text-align: center; margin-bottom: 14px; }
.osna-avatar img { width: 140px; height: 140px; object-fit: cover; border-radius: 50%; }

.osna-bewertung-hero { text-align:center; margin-bottom: 18px; }
.osna-bewertung-hero img { width:100%; height:auto; border-radius: 12px; display:block; margin:0 auto; }

/* Buttons section */
.osna-bewertung-buttons { text-align:center; margin-bottom: 20px; }
.osna-bewertung-buttons img { max-width:420px; width:100%; height:auto; cursor:pointer; border-radius:10px; }

/* Chat box */
#rolf-seller-chat {
  max-width: 700px;
  margin: 0 auto 36px;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  background: #ffffff;
  overflow: hidden;
  border: 1px solid #eee;
  font-family: inherit;
}

/* Header */
#rolf-seller-chat .rsc-header {
  display:flex;
  align-items:center;
  gap:12px;
  padding:10px 14px;
  background:#6A1B9A;
  color:#fff;
}
#rolf-seller-chat .rsc-header img#rsc-avatar { width:48px; height:48px; border-radius:50%; object-fit:cover; flex-shrink:0; }
.rsc-header-text { display:flex; flex-direction:column; }
.rsc-title { font-weight:600; font-size:15px; }
.rsc-sub { font-size:12px; opacity:0.95; }

/* Body */
#rolf-seller-chat .rsc-body { padding:12px; color:#222; font-size:15px; }
/*#rsc-step-container .rsc-question { margin-bottom:10px; font-weight:600; line-height:1.3; }*/

/* Fragen */
#osna-step-container .question {
  font-weight: 700;        /* Fett */
  font-size: 20px;         /* Größer */
  margin-bottom: 16px;     /* Abstand zu den Antwortoptionen */
  line-height: 1.4;
  color: #333;             /* dunklere Farbe für bessere Lesbarkeit */
}

#rsc-step-container .rsc-buttons { display:flex; flex-direction:column; gap:8px; }

/* Option Cards */
#osna-step-container .options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.option-btn {
  padding: 16px 20px;
  border-radius: 12px;
  border: none;
  background-color: #e7e2eb;
  color: #745f7e;
  font-size: 17px;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  box-shadow: 0 3px 6px rgba(0,0,0,0.08);
}

.option-btn:hover {
  background-color: #d4cddb;
}

.option-btn.selected {
  background-color: #745f7e;
  color: #ffffff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Input & Nav Buttons */
.input-field {
  width: 100%;
  padding: 16px;
  font-size: 17px;
  border-radius: 12px;
  border: 1px solid #ccc;
  margin-bottom: 16px;
  box-sizing: border-box;
}

.nav-btn {
  display: block;
  width: 100%;
  padding: 16px;
  margin-top: 12px;
  font-size: 17px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

#nextBtn {
  background-color: #745f7e;
  color: #fff;
}

#nextBtn:hover {
  background-color: #5c4863;
}

#backBtn {
  background-color: #e7e2eb;
  color: #745f7e;
}

#backBtn:hover {
  background-color: #d4cddb;
}

/* Small screens */
@media (max-width: 640px) {
  .option-btn, .nav-btn, .input-field {
    font-size: 16px;
    padding: 14px;
  }
}
.rsc-btn-option:hover, .rsc-next-btn:hover, .rsc-wa-btn:hover { background:#F3E5F5; transform: translateY(-1px); }

/* Input layout with voice button */
.rsc-input-row { display:flex; gap:8px; align-items:center; margin-bottom:8px; }
.rsc-input { flex:1; padding:10px 12px; border-radius:8px; border:1px solid #ccc; font-size:15px; }
.rsc-voice-btn {
  padding:9px 11px;
  border-radius:8px;
  border:1px solid #6A1B9A;
  background:#fff;
  color:#6A1B9A;
  cursor:pointer;
}

/* DSGVO hint */
.rsc-dsgvo { margin-top:8px; font-size:12px; color:#666; }

/* progress */
#rsc-progress { margin-top:8px; text-align:right; font-size:13px; color:#666; }

/* Accessibility focus */
.rsc-btn-option:focus, .rsc-next-btn:focus, .rsc-wa-btn:focus, .rsc-voice-btn:focus, .rsc-input:focus {
  outline: 3px solid rgba(106,27,154,0.16);
  outline-offset: 2px;
}

/* neu */
/* Hover */
.chat-buttons button:hover {
  background-color: #004999;
}

/* Inputs */
.chat-input {
  width: 100% !important;
  padding: 12px;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  margin-bottom: 14px;
}

/* Weiter-Button */
#nextBtn {
  display: block;
  width: 100% !important;
  padding: 14px;
  margin-top: 10px;
  font-size: 17px;
  background-color: #745f7e;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

#nextBtn:hover {
  background-color: #b264e2;
}

/* Antwort-Box */
.chat-answer {
  margin-bottom: 18px;
  padding: 12px;
  background: #f3f3f3;
  border-radius: 8px;
  font-size: 15px;
}
/*neu ende*/

/*Danke-Abschluss*/
.final-content {
  display: flex;
  gap: 20px;
  align-items: center;
}

.final-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
}

.checkbox-label {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.95em;
}

/* Small screens */
@media (max-width: 640px) {
  .osna-avatar img { width:108px; height:108px; }
  #rolf-seller-chat { margin: 0 8px 28px; border-radius:12px; }
  .rsc-btn-option, .rsc-next-btn, .rsc-wa-btn { font-size:15px; padding:10px; }
  .osna-bewertung-buttons img { max-width: 320px; }
}

/* WebKit specific minor fixes */
@media screen and (-webkit-min-device-pixel-ratio:0) {
  .rsc-input { -webkit-appearance: none; }
}@charset "UTF-8";
/* CSS Document */

