/* Floating Hotel VoIP Web Widget - Apple Glass Light Theme */
.voip-widget-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  color: #0071E3;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.voip-widget-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 14px 36px rgba(0, 113, 227, 0.25);
}

.voip-widget-btn:focus-visible {
  outline: 3px solid rgba(0, 113, 227, 0.4);
  outline-offset: 3px;
}

.voip-widget-btn svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* Floating Drawer / Modal */
.voip-widget-modal {
  display: none;
  position: fixed;
  bottom: 96px;
  right: 24px;
  width: 340px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(30px) saturate(190%);
  -webkit-backdrop-filter: blur(30px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  z-index: 99999;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  color: #1D1D1F;
}

.voip-widget-header {
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.6);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.voip-widget-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #B08D57;
}

.voip-widget-close {
  background: transparent;
  border: none;
  color: #6E6E73;
  font-size: 20px;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.voip-widget-close:hover {
  background: rgba(0, 0, 0, 0.05);
}

.voip-widget-body {
  padding: 22px 20px;
}

/* WhatsApp Verification Screen */
.voip-wa-step {
  display: block;
}

.voip-call-step {
  display: none;
  text-align: center;
}

.voip-form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #48484A;
  margin-bottom: 6px;
}

.voip-widget-input {
  width: 100%;
  box-sizing: border-box;
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.12);
  font-size: 13px;
  color: #1D1D1F;
  margin-bottom: 12px;
  font-family: inherit;
}

.voip-widget-input:focus {
  outline: none;
  border-color: #0071E3;
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.2);
}

.voip-wa-note {
  font-size: 11px;
  color: #6E6E73;
  line-height: 1.4;
  margin-bottom: 16px;
}

.voip-widget-status {
  font-size: 13px;
  color: #6E6E73;
  margin-bottom: 12px;
  font-weight: 500;
}

.voip-widget-timer {
  font-size: 26px;
  font-weight: 700;
  color: #0071E3;
  margin-bottom: 16px;
  display: none;
}

.voip-widget-call-btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #0071E3;
  color: #FFFFFF;
  border: none;
  margin: 0 auto 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0, 113, 227, 0.35);
  transition: transform 0.15s ease;
  font-family: inherit;
}

.voip-widget-call-btn:hover {
  transform: scale(1.05);
}

.voip-widget-call-btn svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.voip-widget-actions {
  display: none;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}

.voip-widget-action-btn {
  min-height: 38px;
  padding: 8px 16px;
  border-radius: 980px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.8);
  color: #1D1D1F;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.voip-widget-action-btn.hangup {
  background: #FF3B30;
  border-color: #FF3B30;
  color: #FFFFFF;
}
