/**
 * SHIVA AI CHATBOT - STYLESHEET
 * Creator Nihar AI Assistant & Service Booking System
 * Matches Creator Nihar Brand Tokens: #0A4E8C, #F5701E, #F8FAFD
 */

/* ==========================================================================
   1. FLOATING CHAT LAUNCHER BUTTON
   ========================================================================== */
.shiva-floating-btn {
  position: fixed;
  bottom: 28px;
  right: 96px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0A4E8C 0%, #06284A 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(10, 78, 140, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.3);
  z-index: 998;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.shiva-floating-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 30px rgba(10, 78, 140, 0.45);
}

.shiva-floating-btn .shiva-pulse {
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 2px solid var(--brand-orange, #F5701E);
  opacity: 0.8;
  animation: shivaPulse 2.4s infinite cubic-bezier(0.4, 0, 0.6, 1);
  pointer-events: none;
}

@keyframes shivaPulse {
  0% {
    transform: scale(0.95);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.22);
    opacity: 0;
  }
  100% {
    transform: scale(1.22);
    opacity: 0;
  }
}

.shiva-floating-btn .shiva-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--brand-orange, #F5701E);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 10px;
  border: 2px solid #FFFFFF;
  font-family: var(--font-heading, sans-serif);
}

.shiva-tooltip {
  position: absolute;
  right: 70px;
  background: #06284A;
  color: #FFFFFF;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s ease;
  pointer-events: none;
  font-family: var(--font-body, sans-serif);
}

.shiva-floating-btn:hover .shiva-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================================================
   2. SHIVA CHAT WINDOW CONTAINER
   ========================================================================== */
.shiva-chat-container {
  position: fixed;
  bottom: 96px;
  right: 28px;
  width: 400px;
  max-width: calc(100vw - 32px);
  height: 600px;
  max-height: calc(100vh - 120px);
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(10, 78, 140, 0.22), 0 0 0 1px rgba(10, 78, 140, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.96);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: var(--font-body, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
}

.shiva-chat-container.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* ==========================================================================
   3. CHAT HEADER
   ========================================================================== */
.shiva-header {
  background: linear-gradient(135deg, #0A4E8C 0%, #06284A 100%);
  color: #FFFFFF;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.shiva-header-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.shiva-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #FFFFFF;
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  position: relative;
  flex-shrink: 0;
}

.shiva-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.shiva-status-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 12px;
  height: 12px;
  background: #10B981;
  border: 2px solid #FFFFFF;
  border-radius: 50%;
}

.shiva-header-info h4 {
  margin: 0;
  font-family: var(--font-heading, sans-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 6px;
}

.shiva-header-info h4 span {
  font-size: 0.72rem;
  background: var(--brand-orange, #F5701E);
  padding: 1px 7px;
  border-radius: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.shiva-header-info p {
  margin: 2px 0 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.8);
}

.shiva-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.shiva-action-btn {
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #FFFFFF;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
  font-size: 14px;
}

.shiva-action-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* ==========================================================================
   4. CHAT BODY & MESSAGES
   ========================================================================== */
.shiva-messages {
  flex: 1;
  overflow-y: auto;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #F8FAFD;
  scroll-behavior: smooth;
}

.shiva-messages::-webkit-scrollbar {
  width: 5px;
}

.shiva-messages::-webkit-scrollbar-track {
  background: transparent;
}

.shiva-messages::-webkit-scrollbar-thumb {
  background: rgba(10, 78, 140, 0.15);
  border-radius: 4px;
}

.shiva-msg {
  display: flex;
  gap: 10px;
  max-width: 88%;
  animation: shivaMsgIn 0.3s ease-out;
}

@keyframes shivaMsgIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.shiva-msg-bot {
  align-self: flex-start;
}

.shiva-msg-user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.shiva-msg-bubble {
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 0.92rem;
  line-height: 1.55;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  word-break: break-word;
}

.shiva-msg-bot .shiva-msg-bubble {
  background: #FFFFFF;
  color: #1E293B;
  border: 1px solid rgba(10, 78, 140, 0.08);
  border-bottom-left-radius: 4px;
}

.shiva-msg-user .shiva-msg-bubble {
  background: linear-gradient(135deg, #0A4E8C 0%, #06284A 100%);
  color: #FFFFFF;
  border-bottom-right-radius: 4px;
}

.shiva-msg-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #0A4E8C;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 4px;
}

.shiva-msg-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

/* Options / Quick Action Chips */
.shiva-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.shiva-opt-btn {
  background: #FFFFFF;
  color: #0A4E8C;
  border: 1.5px solid rgba(10, 78, 140, 0.2);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 6px rgba(10, 78, 140, 0.04);
}

.shiva-opt-btn:hover {
  background: #0A4E8C;
  color: #FFFFFF;
  border-color: #0A4E8C;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(10, 78, 140, 0.16);
}

.shiva-opt-primary {
  background: linear-gradient(135deg, #0A4E8C 0%, #06284A 100%);
  color: #FFFFFF;
  border-color: transparent;
}

.shiva-opt-primary:hover {
  background: linear-gradient(135deg, #06284A 0%, #03172E 100%);
}

.shiva-opt-orange {
  border-color: rgba(245, 112, 30, 0.3);
  color: #DC5E12;
}

.shiva-opt-orange:hover {
  background: var(--brand-orange, #F5701E);
  color: #FFFFFF;
  border-color: var(--brand-orange, #F5701E);
}

/* ==========================================================================
   5. BOOKING SUMMARY CARD
   ========================================================================== */
.shiva-summary-card {
  background: #FFFFFF;
  border: 1.5px solid rgba(10, 78, 140, 0.16);
  border-radius: 14px;
  padding: 16px;
  margin-top: 8px;
  box-shadow: 0 4px 14px rgba(10, 78, 140, 0.06);
}

.shiva-summary-header {
  font-family: var(--font-heading, sans-serif);
  font-weight: 700;
  font-size: 0.98rem;
  color: #0A4E8C;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px dashed rgba(10, 78, 140, 0.15);
  padding-bottom: 8px;
}

.shiva-summary-row {
  display: flex;
  margin-bottom: 6px;
  font-size: 0.85rem;
  line-height: 1.4;
}

.shiva-summary-row:last-child {
  margin-bottom: 0;
}

.shiva-summary-label {
  font-weight: 600;
  color: #64748B;
  width: 100px;
  flex-shrink: 0;
}

.shiva-summary-val {
  font-weight: 600;
  color: #0F172A;
  flex: 1;
}

.shiva-summary-details-block {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed rgba(10, 78, 140, 0.12);
  font-size: 0.84rem;
  color: #334155;
}

.shiva-summary-details-label {
  font-weight: 700;
  color: #0A4E8C;
  margin-bottom: 4px;
}

/* Confirmation Buttons */
.shiva-confirm-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}

.shiva-btn-confirm {
  background: #10B981;
  color: #FFFFFF;
  border: none;
  padding: 11px 18px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.shiva-btn-confirm:hover:not(:disabled) {
  background: #059669;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35);
}

.shiva-btn-confirm:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.shiva-btn-edit {
  background: transparent;
  color: #0A4E8C;
  border: 1.5px solid rgba(10, 78, 140, 0.25);
  padding: 9px 16px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.shiva-btn-edit:hover {
  background: rgba(10, 78, 140, 0.05);
  border-color: #0A4E8C;
}

/* ==========================================================================
   6. SUCCESS & ERROR MESSAGES
   ========================================================================= */
.shiva-success-box {
  background: #ECFDF5;
  border: 1.5px solid #10B981;
  border-radius: 14px;
  padding: 16px;
  color: #065F46;
  font-size: 0.9rem;
  line-height: 1.55;
  margin-top: 6px;
}

.shiva-success-box strong {
  color: #064E3B;
  display: block;
  font-size: 1rem;
  margin-bottom: 6px;
}

.shiva-booking-id-tag {
  display: inline-block;
  background: #065F46;
  color: #FFFFFF;
  padding: 4px 10px;
  border-radius: 6px;
  font-family: monospace;
  font-size: 0.92rem;
  font-weight: 700;
  margin: 6px 0 10px;
}

.shiva-error-box {
  background: #FEF2F2;
  border: 1.5px solid #EF4444;
  border-radius: 14px;
  padding: 16px;
  color: #991B1B;
  font-size: 0.9rem;
  line-height: 1.55;
  margin-top: 6px;
}

.shiva-contact-links {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.shiva-contact-link {
  flex: 1;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.shiva-contact-phone {
  background: #0A4E8C;
  color: #FFFFFF !important;
}

.shiva-contact-phone:hover {
  background: #06284A;
}

.shiva-contact-wa {
  background: #25D366;
  color: #FFFFFF !important;
}

.shiva-contact-wa:hover {
  background: #1EBE5D;
}

/* ==========================================================================
   7. CHAT INPUT FOOTER
   ========================================================================== */
.shiva-footer {
  padding: 12px 16px;
  background: #FFFFFF;
  border-top: 1px solid rgba(10, 78, 140, 0.08);
}

.shiva-input-form {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.shiva-input {
  flex: 1;
  padding: 11px 16px;
  border-radius: 24px;
  border: 1.5px solid rgba(10, 78, 140, 0.18);
  font-size: 0.9rem;
  color: #1E293B;
  background: #F8FAFD;
  outline: none;
  transition: all 0.2s ease;
  font-family: inherit;
}

.shiva-input:focus {
  border-color: #0A4E8C;
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(10, 78, 140, 0.1);
}

.shiva-send-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0A4E8C 0%, #06284A 100%);
  color: #FFFFFF;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.shiva-send-btn:hover {
  transform: scale(1.06);
  background: linear-gradient(135deg, #06284A 0%, #03172E 100%);
}

.shiva-send-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Typing Indicator */
.shiva-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  background: #FFFFFF;
  border-radius: 14px;
  border: 1px solid rgba(10, 78, 140, 0.08);
  width: fit-content;
}

.shiva-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0A4E8C;
  animation: shivaBlink 1.4s infinite ease-in-out both;
}

.shiva-typing span:nth-child(2) {
  animation-delay: 0.2s;
}

.shiva-typing span:nth-child(3) {
  animation-delay: 0.4s;
}

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

/* ==========================================================================
   8. MOBILE RESPONSIVENESS
   ========================================================================== */
@media (max-width: 640px) {
  .shiva-floating-btn {
    bottom: 22px;
    right: 88px;
    width: 52px;
    height: 52px;
  }

  .shiva-chat-container {
    bottom: 0;
    right: 0;
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
  }
}

/* ==========================================================================
   9. CREATOR NIHAR LIVE VOICE MODE 🎙️
   ========================================================================== */
.shiva-voice-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, #F5701E 0%, #DC5E12 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(245, 112, 30, 0.35);
  transition: all 0.25s ease;
  outline: none;
}

.shiva-voice-btn:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 20px rgba(245, 112, 30, 0.5);
}

.shiva-voice-btn img.voice-btn-logo {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.8);
  object-fit: cover;
}

/* Full-Screen Circular Live Voice Overlay */
.shiva-voice-overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, rgba(6, 40, 74, 0.95) 0%, rgba(3, 23, 46, 0.98) 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 40px 24px 48px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  color: #FFFFFF;
  font-family: var(--font-body, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
}

.shiva-voice-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Voice Header */
.shiva-voice-header {
  width: 100%;
  max-width: 600px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.shiva-voice-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.shiva-voice-brand img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid #F5701E;
}

.shiva-voice-brand h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: #FFFFFF;
  letter-spacing: -0.3px;
}

.shiva-voice-brand p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin: 2px 0 0;
}

.shiva-voice-close-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.shiva-voice-close-btn:hover {
  background: rgba(239, 68, 68, 0.3);
  border-color: #EF4444;
  transform: rotate(90deg);
}

/* Central Circular Orb */
.shiva-voice-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: auto 0;
}

.shiva-voice-orb-wrapper {
  position: relative;
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shiva-voice-orb {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0A4E8C 0%, #06284A 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 50px rgba(10, 78, 140, 0.5);
  border: 3px solid rgba(255, 255, 255, 0.4);
  overflow: hidden;
  transition: all 0.4s ease;
}

.shiva-voice-orb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

/* Animated Pulse Rings */
.shiva-voice-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: all 0.3s ease;
}

/* Listening State (Electric Blue Waves) */
.shiva-voice-overlay.state-listening .shiva-voice-ring {
  border: 2px solid #38BDF8;
  animation: voicePulseBlue 2.2s infinite ease-out;
}

.shiva-voice-overlay.state-listening .shiva-voice-ring:nth-child(1) {
  inset: -15px;
  animation-delay: 0s;
}

.shiva-voice-overlay.state-listening .shiva-voice-ring:nth-child(2) {
  inset: -35px;
  animation-delay: 0.6s;
}

.shiva-voice-overlay.state-listening .shiva-voice-ring:nth-child(3) {
  inset: -55px;
  animation-delay: 1.2s;
}

@keyframes voicePulseBlue {
  0% {
    transform: scale(0.85);
    opacity: 0.8;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
  }
  100% {
    transform: scale(1.3);
    opacity: 0;
    box-shadow: 0 0 40px rgba(56, 189, 248, 0);
  }
}

/* Speaking State (Amber/Orange Acoustic Wave) */
.shiva-voice-overlay.state-speaking .shiva-voice-orb {
  box-shadow: 0 0 60px rgba(245, 112, 30, 0.7);
  border-color: #F5701E;
}

.shiva-voice-overlay.state-speaking .shiva-voice-ring {
  border: 3px solid #F5701E;
  animation: voicePulseOrange 1.8s infinite ease-out;
}

.shiva-voice-overlay.state-speaking .shiva-voice-ring:nth-child(1) {
  inset: -20px;
  animation-delay: 0s;
}

.shiva-voice-overlay.state-speaking .shiva-voice-ring:nth-child(2) {
  inset: -45px;
  animation-delay: 0.5s;
}

.shiva-voice-overlay.state-speaking .shiva-voice-ring:nth-child(3) {
  inset: -70px;
  animation-delay: 1s;
}

@keyframes voicePulseOrange {
  0% {
    transform: scale(0.88);
    opacity: 0.9;
    box-shadow: 0 0 30px rgba(245, 112, 30, 0.6);
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
    box-shadow: 0 0 50px rgba(245, 112, 30, 0);
  }
}

/* Processing State (Rotating Energy Halo) */
.shiva-voice-overlay.state-processing .shiva-voice-orb {
  animation: voiceProcessingSpin 3s linear infinite;
  border-color: #38BDF8;
  box-shadow: 0 0 50px rgba(56, 189, 248, 0.6);
}

@keyframes voiceProcessingSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Live State Badge */
.shiva-voice-state-badge {
  margin-top: 36px;
  padding: 8px 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.2px;
  transition: all 0.3s ease;
}

/* Subtitle & Transcript Area */
.shiva-voice-subtitles {
  width: 100%;
  max-width: 640px;
  min-height: 80px;
  max-height: 140px;
  overflow-y: auto;
  margin-top: 24px;
  text-align: center;
  padding: 16px 20px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 15px;
  line-height: 1.5;
  color: #F8FAFD;
  transition: all 0.3s ease;
}

.shiva-voice-subtitles .voice-caption-user {
  color: #38BDF8;
  font-weight: 600;
  margin-bottom: 6px;
}

.shiva-voice-subtitles .voice-caption-bot {
  color: #FFFFFF;
}

/* Controls Bar */
.shiva-voice-controls {
  width: 100%;
  max-width: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
}

.shiva-voice-ctrl-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  border-radius: 18px;
  padding: 12px 20px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  min-width: 100px;
}

.shiva-voice-ctrl-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.shiva-voice-ctrl-btn.btn-stop {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
  color: #FCA5A5;
}

.shiva-voice-ctrl-btn.btn-stop:hover {
  background: rgba(239, 68, 68, 0.35);
  color: #FFFFFF;
}

.shiva-voice-ctrl-btn svg {
  width: 22px;
  height: 22px;
}

/* Mobile Responsiveness */
@media (max-width: 640px) {
  .shiva-voice-overlay {
    padding: 24px 16px 32px;
  }

  .shiva-voice-orb-wrapper {
    width: 150px;
    height: 150px;
  }

  .shiva-voice-orb {
    width: 120px;
    height: 120px;
  }

  .shiva-voice-subtitles {
    font-size: 14px;
    max-height: 110px;
  }

  .shiva-voice-ctrl-btn {
    padding: 10px 14px;
    min-width: 80px;
    font-size: 11px;
  }
}

