/* src/styles.css */
* {
  box-sizing: border-box;
}
html,
body,
#root {
  margin: 0;
  width: 100%;
  min-height: 100%;
}
body {
  font-family:
    Arial,
    "Segoe UI",
    sans-serif;
  background: #ffffff;
  color: #222222;
}
.advisorEmbed {
  width: 100%;
  margin: 0;
  padding: 0;
  background: #ffffff;
}
.advisor {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #e2e2e2;
  border-radius: 6px;
  overflow: hidden;
}
.advisor > header {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 22px;
  background: #ffffff;
  border-bottom: 1px solid #e2e2e2;
}
.advisorStatus {
  display: flex;
  align-items: center;
}
.advisorStatus > div {
  display: flex;
  flex-direction: column;
}
.advisorStatus strong {
  display: block;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 700;
  color: #222222;
}
.advisor > header button {
  appearance: none;
  border: 1px solid #0b6f78;
  border-radius: 4px;
  padding: 10px 16px;
  background: #0b6f78;
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    transform 0.15s ease;
}
.advisor > header button:hover {
  background: #095f67;
  border-color: #095f67;
}
.advisor > header button:active {
  transform: translateY(1px);
}
.advisor > header button:focus-visible {
  outline: 3px solid rgba(11, 111, 120, 0.2);
  outline-offset: 2px;
}
.advisorBody {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  min-height: 720px;
  background: #ffffff;
}
.advisorBody aside {
  padding: 28px 24px;
  background: #f7f8f8;
  border-right: 1px solid #e2e2e2;
}
.advisorBody aside h2 {
  margin: 0 0 10px;
  font-size: 19px;
  line-height: 1.35;
  font-weight: 700;
  color: #222222;
}
.advisorBody aside > p {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.6;
  color: #555555;
}
.advisorBody aside ul {
  margin: 0 0 26px;
  padding-left: 20px;
}
.advisorBody aside li {
  margin-bottom: 9px;
  font-size: 14px;
  line-height: 1.5;
  color: #333333;
}
.advisorBody aside li::marker {
  color: #0b6f78;
}
.notice {
  margin-top: 20px;
  padding: 16px;
  background: #ffffff;
  border: 1px solid #dedede;
  border-left: 4px solid #0b6f78;
  border-radius: 4px;
}
.notice strong {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #222222;
}
.notice p {
  margin: 0 0 9px;
  font-size: 13px;
  line-height: 1.55;
  color: #555555;
}
.notice p:last-child {
  margin-bottom: 0;
}
.validation {
  margin-top: 16px;
  padding: 16px;
  background: #ffffff;
  border: 1px solid #dedede;
  border-left: 4px solid #555555;
  border-radius: 4px;
}
.validation strong {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #222222;
}
.validation p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: #555555;
}
.chat {
  position: relative;
  min-width: 0;
  min-height: 720px;
  background: #ffffff;
}
.reportChat {
  padding: 0;
  overflow: hidden;
}
.silentConnecting {
  width: 100%;
  min-height: 720px;
  background: #ffffff;
}
.reportChat > div:not(.error):not(.silentConnecting) {
  width: 100%;
  height: 720px;
  min-height: 720px;
}
.error {
  width: 100%;
  padding: 32px;
  background: #ffffff;
}
.error h2 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.3;
  color: #222222;
}
.error p {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.6;
  color: #555555;
}
.error button {
  appearance: none;
  padding: 10px 16px;
  border: 1px solid #0b6f78;
  border-radius: 4px;
  background: #0b6f78;
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.error button:hover {
  background: #095f67;
  border-color: #095f67;
}
@media (max-width: 900px) {
  .advisorBody {
    grid-template-columns: 250px minmax(0, 1fr);
  }
  .advisorBody aside {
    padding: 22px 18px;
  }
}
@media (max-width: 700px) {
  .advisor {
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }
  .advisor > header {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px;
  }
  .advisor > header button {
    width: 100%;
  }
  .advisorBody {
    display: block;
  }
  .advisorBody aside {
    padding: 20px 16px;
    border-right: 0;
    border-bottom: 1px solid #e2e2e2;
  }
  .advisorBody aside ul {
    margin-bottom: 20px;
  }
  .notice,
  .validation {
    padding: 14px;
  }
  .chat,
  .silentConnecting {
    min-height: 680px;
  }
  .reportChat > div:not(.error):not(.silentConnecting) {
    height: 680px;
    min-height: 680px;
  }
}
@media (max-width: 420px) {
  .advisorStatus strong {
    font-size: 16px;
  }
  .advisorBody aside h2 {
    font-size: 18px;
  }
  .chat,
  .silentConnecting {
    min-height: 640px;
  }
  .reportChat > div:not(.error):not(.silentConnecting) {
    height: 640px;
    min-height: 640px;
  }
}
