/* SA Thomson Nerys – Chat Widget Theme (Gold) */

/* ===== Palette & base ===== */
:root{
  --satn-gold:    #e7ba3e;
  --satn-gold-50: #e8ce7d;
  --satn-amber:   #9b7317;
  --satn-ink:     #303030;
  --satn-white:   #ffffff;

  --satn-bg:      #f6f7f9;
  --satn-border:  #e7e9ee;
  --satn-muted:   #8a9099;

  --satn-shadow:  0 12px 32px rgba(0,0,0,.16);
  --satn-radius:  16px;

  --font-ui:      ui-sans-serif, system-ui, -apple-system, "Segoe UI", Inter, Roboto,
                  "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
}
*{ box-sizing: border-box }
html, body{ font-family: var(--font-ui); color: var(--satn-ink); }
.hidden{ display: none !important; }

/* ===== Floating button ===== */
.chat-toggle{
  position: fixed;
  right: 18px;
  bottom: 18px;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 10001;
}


/* Shared hover/interaction transitions */
.chat-toggle,
.btn,
.file-attach-btn,
.send-btn {
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease;
}

.chat-toggle:hover,
.btn:hover,
.file-attach-btn:hover,
.send-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0,0,0,.15);
}



.chat-toggle:active,
.btn:active,
.file-attach-btn:active,
.send-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(0,0,0,.18);
}

/* ===== Widget ===== */
.chat-widget{
  position: fixed; right: 18px; bottom: 88px;
  width: 400px; max-width: 94vw; height: 640px; max-height: 86vh;
  display: flex; flex-direction: column;
  border-radius: var(--satn-radius);
  background: var(--satn-white);
  box-shadow: var(--satn-shadow);
  overflow: hidden; z-index: 10000;
}

/* ===== Header ===== */
.chat-header{
  display:flex; align-items:center; justify-content:space-between;
  padding: 14px 16px;
  background: linear-gradient(135deg, #2e3135, #191b1f);
  color: var(--satn-white);
}
.chat-header-left{
  display:flex; align-items:center; gap:10px;
}
.chat-header-right{
  display:flex; align-items:center; gap:8px;
}

.chat-avatar{
  width:36px; height:36px;
  border-radius:50%; object-fit:cover;
  background:#fff;
}
.chat-header h2{
  margin:0;
  font-size:18px;
  line-height:1.1;
}

/* Online status row with animated dot */
.status-row{
  display:flex;
  align-items:center;
  gap:6px;
  margin-top:3px;
  font-size:13px;
  color:#c9f7d9;
  opacity:0.9;
}
.status-dot{
  width:8px; height:8px;
  border-radius:50%;
  background:#3ddc84;
  box-shadow:0 0 0 0 rgba(61,220,132,.7);
  animation:satn-pulse 1.6s ease-out infinite;
}
.status-text{
  letter-spacing:0.02em;
}
@keyframes satn-pulse{
  0%{
    transform:scale(.9);
    box-shadow:0 0 0 0 rgba(61,220,132,.7);
  }
  70%{
    transform:scale(1);
    box-shadow:0 0 0 8px rgba(61,220,132,0);
  }
  100%{
    transform:scale(.9);
    box-shadow:0 0 0 0 rgba(61,220,132,0);
  }
}

.chat-close{
  border:0;
  background:transparent;
  color:#f2f2f2;
  font-size:20px;
  cursor:pointer;
}

/* ===== Body ===== */
.chat-body{
  flex:1;
  overflow:auto;
  padding:14px;
  background: var(--satn-bg);
  scroll-behavior:smooth;
}

/* Soft scrollbar */
.chat-body::-webkit-scrollbar{
  width:6px;
}
.chat-body::-webkit-scrollbar-track{
  background:transparent;
}
.chat-body::-webkit-scrollbar-thumb{
  background:rgba(0,0,0,.15);
  border-radius:999px;
}
.chat-body:hover::-webkit-scrollbar-thumb{
  background:rgba(0,0,0,.25);
}

/* Message base */
.bot-message,
.user-message{
  position:relative;
  max-width: 86%;
  margin:10px 0;
  padding:12px 14px;
  border-radius: 14px;
  border:1px solid var(--satn-border);
  box-shadow: 0 2px 0 rgba(0,0,0,.02);
  background-clip: padding-box;
}

.bot-message{
  background:#f0f2f5;
}
.user-message{
  margin-left: auto;
  background: linear-gradient(135deg, #f5c95e, #e7ba3e);
  color: var(--satn-ink);
  border-color:#dbae36;
  border-radius: 20px 20px 8px 20px;
  box-shadow: 0 2px 0 rgba(231,186,62,.25);
}

/* WhatsApp-style tails */
.bot-message::after{
  content:"";
  position:absolute;
  left:18px;
  bottom:-4px;
  width:12px;
  height:12px;
  background:#f0f2f5;
  border-radius:0 0 0 16px;
  transform:skewX(-25deg);
  box-shadow:0 2px 0 rgba(0,0,0,.03);
}
.user-message::after{
  content:"";
  position:absolute;
  right:18px;
  bottom:-4px;
  width:12px;
  height:12px;
  background:linear-gradient(135deg, #f5c95e);
  border-radius:0 0 16px 0;
  transform:skewX(25deg);
  box-shadow:0 2px 0 rgba(231,186,62,.35);
}

.timestamp{
  display:block;
  margin-top:6px;
  font-size:10px;
  color: var(--satn-muted);
}

/* Message enter animation */
.chat-message{
  animation:satn-msg-in 0.22s ease-out;
  transform-origin: bottom;
}
@keyframes satn-msg-in{
  from{
    opacity:0;
    transform:translateY(4px) scale(.98);
  }
  to{
    opacity:1;
    transform:translateY(0) scale(1);
  }
}

/* Typing indicator */
@keyframes satn-blink{0%,80%,100%{opacity:.2}40%{opacity:1}}
.bot-message .dot{
  display:inline-block;
  width:6px; height:6px;
  margin:0 2px;
  background:#a9b0b8;
  border-radius:50%;
  animation:satn-blink 1.2s infinite;
}
.bot-message .dot:nth-child(2){ animation-delay:.2s }
.bot-message .dot:nth-child(3){ animation-delay:.4s }

/* ===== Property cards ===== */
.property-list{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
  margin:8px 0;
}
.property-card{
  background:#fff;
  border:1px solid var(--satn-border);
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 4px 14px rgba(0,0,0,.06);
}
.property-card img{
  width:100%;
  height:168px;
  object-fit:cover;
  display:block;
}
.property-info{
  padding:10px 12px;
}
.property-info h4{
  margin:0 0 6px;
  font-size:15px;
  color:var(--satn-ink);
}
.property-info p{
  margin:0;
  font-size:12px;
  color:var(--satn-muted);
}
.property-info .price{
  display:block;
  margin-top:8px;
  font-weight:700;
  color:var(--satn-amber);
}
.property-btn{
  margin-top:8px;
  width:100%;
  padding:8px 10px;
  border-radius:10px;
  border:1px solid var(--satn-border);
  background: var(--satn-gold-50);
  color:var(--satn-ink);
  cursor:pointer;
}

/* ===== Inline “Contact an Agent” form card ===== */
.contact-card {
  margin: 8px 0 10px;
  padding: 12px 14px 14px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid var(--satn-border);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.contact-card h4 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--satn-ink);
}

.contact-card p {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--satn-muted);
}

.contact-card .contact-field {
  margin-bottom: 8px;
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid var(--satn-border);
  font-size: 13px;
  outline: none;
  resize: vertical;
  min-height: 0;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease;
}

.contact-card input:focus,
.contact-card textarea:focus {
  border-color: var(--satn-gold);
  background-color: #fffdf6;
  box-shadow:
    0 0 0 1px rgba(231, 186, 62, 0.45),
    0 0 0 4px rgba(231, 186, 62, 0.14);
}

.contact-card .contact-submit {
  margin-top: 4px;
  width: 100%;
  padding: 9px 12px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  background: linear-gradient(
    135deg,
    var(--satn-gold),
    var(--satn-gold-50),
    var(--satn-amber)
  );
  color: #111827;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    filter 0.15s ease;
}

.contact-card .contact-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.3);
  filter: brightness(1.03);
}

.contact-card .contact-submit:active {
  transform: translateY(0);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* ===== Footer ===== */
.chat-footer{
  border-top:1px solid var(--satn-border);
  background:#fff;
}
.quick-replies{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  padding: 8px 12px;
  border-bottom:1px solid var(--satn-border);
}
.btn{
  padding:8px 12px;
  border-radius:20px;
  cursor:pointer;
  font-weight:600;
}
.btn-outline{
  background:#fff;
  color:var(--satn-ink);
  border:1px solid var(--satn-border);
}
.btn-gold{
  background:var(--satn-gold);
  color:var(--satn-ink);
  border:1px solid #dbae36;
}

.chat-input-area{
  display:flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
}
.file-attach-btn{
  background:#f2f4f7;
  border:1px solid var(--satn-border);
  border-radius:10px;
  padding:10px;
  cursor:pointer;
}
.file-input{ display:none }

/* Input focus effect */
.chat-input{
  flex:1;
  padding:12px 14px;
  border:1px solid var(--satn-border);
  border-radius:12px;
  outline:none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}
.chat-input:focus{
  border-color:var(--satn-gold);
  background-color:#fffdf6;
  box-shadow:
    0 0 0 1px rgba(231,186,62,.6),
    0 0 0 4px rgba(231,186,62,.16);
}

.send-btn{
  border:0;
  border-radius:12px;
  background:var(--satn-ink);
  color:#fff;
  width:46px;
  height:42px;
  cursor:pointer;
}

/* ===== Toasts & z-index safety ===== */
.satn-toast-area{
  position:fixed;
  right:14px; bottom:14px;
  display:flex; flex-direction:column;
  gap:8px;
  z-index:11000;
  pointer-events:none;
}
.satn-toast{
  background:var(--satn-ink);
  color:#fff;
  padding:10px 12px;
  border-radius:10px;
  box-shadow:0 8px 24px rgba(0,0,0,.22);
  pointer-events:auto;
}

/* ======================================================
   ADDITIONAL REQUIRED COMPONENTS (Overlay, slide-in, mobile)
====================================================== */

/* ----- Chat overlay (dim background when chat opens) ----- */
.chat-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 9998;
}
.chat-overlay.overlay-visible {
  opacity: 1;
  pointer-events: auto;
}

/* ----- Chat widget slide-in animation ----- */
.chat-widget {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.28s ease, transform 0.28s ease;
  pointer-events: none;
}
.chat-widget.chat-open {
  opacity: 1;
  transform: translateY(0px);
  pointer-events: auto;
}
/* ========== Lead capture overlay ========== */

/* Full-screen dim + blur background for lead form */
.lead-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 18, 0.75);         /* dark overlay */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 12000;                             /* above chat widget */
}

/* Lead modal card – always above the overlay, never blurred */
.lead-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 12001;                             /* above overlay */
}


/* CSS custom property used for the animated border angle */
@property --lead-border-angle {
  syntax: "<angle>";
  inherits: true;
  initial-value: 0turn;
}

/* ========== Lead capture modal ========== */

/* Lead modal card – always above the overlay, never blurred */
.lead-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(420px, 90vw);
  padding: 24px 28px 28px;
  border-radius: 24px;
  z-index: 12001;                           /* ABOVE .lead-overlay */

  /* Brand colours */
  --satn-gold:    #e7ba3e;
  --satn-gold-50: #e8ce7d;
  --satn-amber:   #9b7317;

  /* Animated gold border + soft dark interior */
  --lead-border-angle: 0turn;
  --lead-main-bg: radial-gradient(
      circle at top,
      rgba(255,255,255,0.06),
      rgba(15,23,42,1) 55%
    );
  --lead-border: conic-gradient(
    from var(--lead-border-angle),
    transparent 0deg,
    rgba(231,186,62,0.0) 40deg,
    rgba(231,186,62,0.9) 120deg,
    rgba(232,206,125,0.9) 210deg,
    rgba(155,115,23,0.9) 300deg,
    transparent 340deg
  );

  border: 2px solid transparent;
  background:
    var(--lead-main-bg) padding-box,
    var(--lead-border)  border-box;

  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.65),
    0 0 40px rgba(231, 186, 62, 0.35);

  color: #e5e7eb;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  animation: lead-border-spin 10s linear infinite,
             lead-float 8s ease-in-out infinite alternate;
}

/* Title & text */
.lead-modal h2 {
  margin: 0 0 10px;
  font-size: 1.5rem;
  font-weight: 700;
  color: #f9fafb;
}

.lead-modal p {
  margin: 0 0 20px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #cbd5f5;
}

/* Inputs */
.lead-modal input {
  width: 100%;
  margin-bottom: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.85);
  color: #e5e7eb;
  font-size: 0.95rem;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease,
    background 0.2s ease;
}

.lead-modal input::placeholder {
  color: rgba(148, 163, 184, 0.9);
}

.lead-modal input:focus {
  border-color: var(--satn-gold);
  background: rgba(15, 23, 42, 1);
  box-shadow:
    0 0 0 1px rgba(231, 186, 62, 0.45),
    0 8px 22px rgba(0, 0, 0, 0.55);
  transform: translateY(-1px);
}

/* CTA button */
.lead-btn {
  width: 100%;
  margin-top: 6px;
  padding: 12px 16px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;

  background: linear-gradient(
    135deg,
    var(--satn-gold) 0%,
    var(--satn-gold-50) 40%,
    var(--satn-amber) 100%
  );
  color: #111827;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.7),
    0 0 22px rgba(231, 186, 62, 0.45);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    filter 0.15s ease;
}

.lead-btn:hover {
  transform: translateY(-1px);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.75),
    0 0 26px rgba(231, 186, 62, 0.6);
  filter: brightness(1.03);
}

.lead-btn:active {
  transform: translateY(0);
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.65),
    0 0 18px rgba(231, 186, 62, 0.45);
}

/* Subtle floating animation */
@keyframes lead-float {
  from { transform: translate(-50%, -50%) translateY(0); }
  to   { transform: translate(-50%, -50%) translateY(-8px); }
}

/* Animated gold border */
@keyframes lead-border-spin {
  to { --lead-border-angle: 1turn; }
}


/* ----- Mobile responsiveness ----- */
@media (max-width: 600px) {
  .chat-widget {
    right: 10px;
    left: 10px;
    bottom: 10px;
    width: auto;
    height: 82vh;
  }

  .chat-toggle {
    right: 14px;
    bottom: 14px;
  }

  .quick-replies {
    gap: 6px;
    padding: 6px 10px;
  }

  .chat-input-area {
    padding: 8px 10px;
    gap: 6px;
  }
}
/* Inline quick replies as part of the conversation */
.chat-message-quick-replies {
  display: flex;
  justify-content: flex-start;
  margin: 4px 0 10px;
}

.quick-replies-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.quick-reply-pill {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--satn-border);
  background: #ffffff;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.quick-reply-pill:hover {
  background: var(--satn-gold-50);
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}
.quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.5rem 1rem 0.75rem;
}

.btn-pill {
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.82rem;
  border: 1px solid var(--satn-gold-50);
  background: #fff;
  cursor: pointer;
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out;
}

.btn-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

/* Make sure header content stays aligned */
/* Chat header left side (orb + title + status) */
/* Text block next to the orb */
.chat-header-left > div {
  margin-left: 10px;   /* decrease this value to move the title closer */
}



.chat-header-text h2 {
  margin: 0;
}

/* Orb avatar container */
.header-orb {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 140px;
}

/* 3D spinning sphere */
.header-sphere {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: header-orb-spin 7s linear infinite;
}

/* GOLD-TINTED GLOBE  */
.header-sphere span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  transform-style: preserve-3d;

  /* Using your palette: #e7ba3e, #e8ce7d, #9b7317 */
  box-shadow:
    0 0 6px rgba(231, 186, 62, 0.9),   /* satn-gold glow */
    0 0 10px rgba(232, 206, 125, 0.7), /* satn-gold-50 outer glow */
    inset 0 0 6px rgba(155, 115, 23, 0.85); /* satn-amber core */
  border: 1px solid rgba(231, 186, 62, 0.9);
}

/* Fake "latitude" and "longitude" rings */
.header-sphere span:nth-child(1)  { transform: rotateX(0deg); }
.header-sphere span:nth-child(2)  { transform: rotateX(22.5deg); }
.header-sphere span:nth-child(3)  { transform: rotateX(45deg); }
.header-sphere span:nth-child(4)  { transform: rotateX(67.5deg); }
.header-sphere span:nth-child(5)  { transform: rotateX(90deg); }
.header-sphere span:nth-child(6)  { transform: rotateX(112.5deg); }
.header-sphere span:nth-child(7)  { transform: rotateX(135deg); }
.header-sphere span:nth-child(8)  { transform: rotateX(157.5deg); }

.header-sphere span:nth-child(9)  { transform: rotateY(0deg); }
.header-sphere span:nth-child(10) { transform: rotateY(22.5deg); }
.header-sphere span:nth-child(11) { transform: rotateY(45deg); }
.header-sphere span:nth-child(12) { transform: rotateY(67.5deg); }
.header-sphere span:nth-child(13) { transform: rotateY(90deg); }
.header-sphere span:nth-child(14) { transform: rotateY(112.5deg); }
.header-sphere span:nth-child(15) { transform: rotateY(135deg); }
.header-sphere span:nth-child(16) { transform: rotateY(157.5deg); }

@keyframes header-orb-spin {
  to {
    transform: rotateY(360deg) rotateZ(360deg);
  }
}
/* === Floating “Let's Chat” button === */
/* From Uiverse.io by jawad_8494, adapted for SATN chat-toggle */

.super-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 28px;
  background: linear-gradient(145deg, #0f0f0f, #1c1c1c);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.4s ease-in-out;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1;
}

.super-button::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, #FFE100, #FF9B00, #FFF323);
  animation: satn-chat-btn-rotate 4s linear infinite;
  z-index: -2;
}

.super-button::after {
  content: "";
  position: absolute;
  inset: 2px;
  background: #0a0a0a;
  border-radius: inherit;
  z-index: -1;
}

.super-button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}

.super-button:hover .arrow {
  transform: translateX(6px);
}

.arrow {
  width: 22px;
  height: 22px;
  transition: transform 0.3s ease-in-out;
  color: #FFE100; /* matches the border glow */
}

@keyframes satn-chat-btn-rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Ensure the floating chat button stays fixed in the corner */
.chat-toggle.super-button {
  position: fixed;
  right: 18px;
  bottom: 18px;
}
/* ===== Neryx thinking / generating animation ===== */
/* ===== Neryx thinking / typing indicator ===== */

/* Smaller bot bubble used only for typing */
.bot-message.typing-bubble {
  max-width: 220px;
  padding: 6px 10px;           /* 5–10px padding as requested */
}

/* Row: orb + “Thinking…” text */
.typing-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Small gold orb */
.thinking-orb {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, #ffffff 0, #fff9e3 40%, #f5c95e 80%);
  box-shadow:
    0 0 4px rgba(231, 186, 62, 0.7),
    0 0 10px rgba(155, 115, 23, 0.35);
  animation: thinking-orb-pulse 1.6s ease-in-out infinite;
}

/* “Thinking…” label next to the circle */
.thinking-label {
  font-size: 12px;
  color: #9b7317;        /* satn-amber tone */
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* Soft pulse on the orb */
@keyframes thinking-orb-pulse {
  0% {
    transform: scale(0.95);
    box-shadow:
      0 0 0 0 rgba(231, 186, 62, 0.55),
      0 0 10px rgba(155, 115, 23, 0.35);
  }
  100% {
    transform: scale(1.03);
    box-shadow:
      0 0 0 8px rgba(231, 186, 62, 0),
      0 0 10px rgba(155, 115, 23, 0.35);
  }
}
/* === Compact "Thinking..." indicator (no chat bubble) === */
.thinking-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0 8px 8px;   /* small left indent inside chat body */
}

.thinking-orb {
  position: relative;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  overflow: hidden;
}

/* Animated orb using original Uiverse colours */
.thinking-orb-core {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: transparent;
  animation: thinking-orb-spin 2s linear infinite;
}

@keyframes thinking-orb-spin {
  0% {
    transform: rotate(90deg);
    box-shadow:
      0 6px 10px 0 #ffffff inset,
      0 12px 18px 0 #ad5fff inset,
      0 28px 32px 0 #471eec inset;
  }
  50% {
    transform: rotate(270deg);
    box-shadow:
      0 6px 10px 0 #ffffff inset,
      0 12px 10px 0 #d60a47 inset,
      0 22px 32px 0 #311e80 inset;
  }
  100% {
    transform: rotate(450deg);
    box-shadow:
      0 6px 10px 0 #ffffff inset,
      0 12px 18px 0 #ad5fff inset,
      0 28px 32px 0 #471eec inset;
  }
}

.thinking-text {
  font-size: 13px;
  font-weight: 500;
  color: #ad5fff;           /* matches orb highlight */
}
