/* ==========================================================================
   SINGERS IN DISGUISE — LUXURY AI CONCIERGE WIDGET
   Palette: Warm Ivory, Charcoal, Champagne Gold Accents, Cormorant Garamond
   ========================================================================== */

/* Launcher Button */
.sid-concierge-launcher {
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: rgba(26, 23, 20, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(201, 169, 110, 0.45);
  padding: 1.1rem 2rem 1.1rem 1.4rem;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.sid-concierge-launcher:hover {
  transform: translateY(-2px);
  border-color: #C9A96E;
  background: rgba(36, 32, 28, 0.98);
  box-shadow: 0 16px 45px rgba(201, 169, 110, 0.25);
}

.sid-launcher-icon {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #C9A96E 0%, #9A7B3E 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0d0c0a;
  flex-shrink: 0;
}

.sid-launcher-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.sid-launcher-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FAF7F2;
  line-height: 1.2;
}

.sid-launcher-sub {
  font-size: 1.05rem;
  color: #C9A96E;
  letter-spacing: 0.05em;
}

.sid-launcher-dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
  margin-left: 0.4rem;
}

/* Chat Window Modal */
.sid-concierge-window {
  position: fixed;
  bottom: 8.5rem;
  right: 2.5rem;
  width: min(42rem, calc(100vw - 4rem));
  height: min(64rem, calc(100vh - 12rem));
  background: #151311;
  border: 1px solid rgba(201, 169, 110, 0.35);
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  z-index: 1000;
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: sidFadeUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.sid-concierge-window.sid-open {
  display: flex;
}

@keyframes sidFadeUp {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Header */
.sid-chat-header {
  padding: 1.6rem 2rem;
  background: rgba(26, 23, 20, 0.98);
  border-bottom: 1px solid rgba(201, 169, 110, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sid-header-brand {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.sid-header-avatar {
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  border: 1px solid #C9A96E;
  object-fit: cover;
}

.sid-header-info h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.8rem;
  color: #FAF7F2;
  margin: 0;
  line-height: 1.1;
  font-weight: 400;
}

.sid-header-info p {
  font-size: 1.1rem;
  color: #C9A96E;
  margin: 0.2rem 0 0 0;
  letter-spacing: 0.04em;
}

.sid-chat-close-btn {
  background: transparent;
  border: none;
  color: #a8a095;
  cursor: pointer;
  padding: 0.6rem;
  font-size: 1.8rem;
  line-height: 1;
  border-radius: 4px;
  transition: color 0.2s;
}

.sid-chat-close-btn:hover {
  color: #FAF7F2;
}

/* Mode Switch Tabs (Wedding vs Corporate) */
.sid-chat-mode-tabs {
  display: flex;
  background: #1c1916;
  border-bottom: 1px solid rgba(201, 169, 110, 0.15);
}

.sid-mode-btn {
  flex: 1;
  padding: 1.1rem 0;
  background: transparent;
  border: none;
  font-size: 1.15rem;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9c9488;
  cursor: pointer;
  transition: all 0.2s;
  border-bottom: 2px solid transparent;
}

.sid-mode-btn.active {
  color: #FAF7F2;
  font-weight: 500;
  border-bottom-color: #C9A96E;
  background: rgba(201, 169, 110, 0.08);
}

/* Chat Messages Feed */
.sid-chat-messages {
  flex: 1;
  padding: 2rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  font-size: 1.38rem;
  line-height: 1.65;
  color: #dcd6cd;
}

.sid-message {
  max-width: 86%;
  padding: 1.3rem 1.6rem;
  border-radius: 8px;
  word-wrap: break-word;
}

.sid-message-bot {
  align-self: flex-start;
  background: #201c18;
  border: 1px solid rgba(201, 169, 110, 0.18);
  color: #FAF7F2;
  border-bottom-left-radius: 2px;
}

.sid-message-user {
  align-self: flex-end;
  background: #C9A96E;
  color: #0f0d0b;
  font-weight: 400;
  border-bottom-right-radius: 2px;
}

.sid-message-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

.sid-quick-btn {
  background: rgba(201, 169, 110, 0.12);
  border: 1px solid rgba(201, 169, 110, 0.35);
  color: #C9A96E;
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.2s;
}

.sid-quick-btn:hover {
  background: #C9A96E;
  color: #151311;
}

/* Lead Submission Inline Card */
.sid-inline-lead-card {
  background: #1d1915;
  border: 1px solid #C9A96E;
  border-radius: 6px;
  padding: 1.6rem;
  margin-top: 1.2rem;
  text-align: left;
}

.sid-inline-lead-card h5 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.7rem;
  color: #FAF7F2;
  margin: 0 0 0.8rem 0;
}

.sid-lead-field {
  margin-bottom: 1rem;
}

.sid-lead-field label {
  display: block;
  font-size: 1.1rem;
  text-transform: uppercase;
  color: #C9A96E;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

.sid-lead-field input,
.sid-lead-field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: #0f0e0c;
  border: 1px solid rgba(201, 169, 110, 0.3);
  color: #FAF7F2;
  border-radius: 3px;
  font-family: inherit;
  font-size: 1.3rem;
  box-sizing: border-box;
}

.sid-lead-field input:focus,
.sid-lead-field textarea:focus {
  outline: none;
  border-color: #C9A96E;
}

.sid-lead-submit-btn {
  width: 100%;
  padding: 1.1rem;
  background: #C9A96E;
  color: #0f0d0b;
  border: none;
  border-radius: 3px;
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}

.sid-lead-submit-btn:hover {
  background: #dfbe82;
}

/* Typing Indicator */
.sid-typing-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.4rem;
  background: #201c18;
  border-radius: 8px;
  width: fit-content;
  border: 1px solid rgba(201, 169, 110, 0.18);
}

.sid-typing-dot {
  width: 0.6rem;
  height: 0.6rem;
  background: #C9A96E;
  border-radius: 50%;
  animation: sidBounce 1.4s infinite ease-in-out both;
}

.sid-typing-dot:nth-child(1) { animation-delay: -0.32s; }
.sid-typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes sidBounce {
  0%, 80%, 100% { transform: scale(0); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

/* Chat Input Bar */
.sid-chat-input-bar {
  padding: 1.4rem 1.8rem;
  background: #181512;
  border-top: 1px solid rgba(201, 169, 110, 0.18);
  display: flex;
  gap: 1rem;
  align-items: center;
}

.sid-chat-input {
  flex: 1;
  background: #0f0e0c;
  border: 1px solid rgba(201, 169, 110, 0.25);
  border-radius: 4px;
  padding: 1rem 1.4rem;
  color: #FAF7F2;
  font-family: inherit;
  font-size: 1.35rem;
  outline: none;
  transition: border-color 0.2s;
}

.sid-chat-input:focus {
  border-color: #C9A96E;
}

.sid-chat-send-btn {
  background: #C9A96E;
  border: none;
  border-radius: 4px;
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f0d0b;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.sid-chat-send-btn:hover {
  background: #dfbe82;
  transform: translateY(-1px);
}

/* Privacy Notice Footer */
.sid-chat-footer-note {
  font-size: 1.05rem;
  color: #7b746a;
  text-align: center;
  padding: 0.6rem 1rem 0.8rem 1rem;
  background: #151311;
}

.sid-chat-footer-note a {
  color: #C9A96E;
  text-decoration: underline;
}

@media (max-width: 600px) {
  .sid-concierge-window {
    right: 1.5rem;
    bottom: 8rem;
    width: calc(100vw - 3rem);
    height: calc(100vh - 10rem);
  }
  .sid-concierge-launcher {
    right: 1.5rem;
    bottom: 1.5rem;
    padding: 0.9rem 1.6rem 0.9rem 1.2rem;
  }
}

