/* 0DATA Call & Booking Widget Styles — appended to zerodata-chat.css */

/* Call action buttons */
#zd-call-actions {
  display: none; gap: 8px; padding: 8px 12px;
  border-top: 1px solid rgba(126,184,218,.08);
  background: rgba(5,10,16,.5); flex-shrink: 0;
}
#zd-call-actions.show { display: flex; }
.zd-call-btn {
  flex: 1; height: 32px; display: flex; align-items: center; justify-content: center; gap: 6px;
  font: 500 10px var(--zd-mono); letter-spacing: 1.5px; color: var(--zd-cyan);
  background: rgba(126,184,218,.05); border: 1px solid rgba(126,184,218,.20);
  border-radius: 6px; cursor: pointer; transition: all .2s;
}
.zd-call-btn:hover { background: rgba(126,184,218,.14); border-color: rgba(126,184,218,.40); box-shadow: 0 0 14px rgba(126,184,218,.12); }
.zd-call-btn svg { width: 13px; height: 13px; stroke: var(--zd-cyan); }

/* Call overlay (incoming call screen for visitor) */
#zd-call-overlay {
  display: none; position: fixed; inset: 0; z-index: 10000;
  background: rgba(5,10,16,.95); backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--zd-sans);
}
#zd-call-overlay.show { display: flex; }
#zd-call-status {
  font-family: var(--zd-mono); font-size: 10px; letter-spacing: 2.5px;
  color: var(--zd-cyan); text-transform: uppercase; margin-bottom: 16px;
}
#zd-call-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  border: 1.5px solid rgba(126,184,218,.4);
  background: rgba(126,184,218,.06);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  animation: zd-pulse-ring 2s ease-in-out infinite;
}
@keyframes zd-pulse-ring {
  0%,100% { box-shadow: 0 0 0 0 rgba(126,184,218,.3); }
  50% { box-shadow: 0 0 0 20px rgba(126,184,218,0); }
}
#zd-call-avatar svg { width: 36px; height: 36px; stroke: var(--zd-cyan); }
#zd-call-name { font-size: 16px; color: #e0e8f0; margin-bottom: 4px; }
#zd-call-label { font-size: 11px; color: rgba(126,184,218,.4); margin-bottom: 40px; }
#zd-call-hangup {
  width: 56px; height: 56px; border-radius: 50%; background: rgba(212,112,112,.15);
  border: 1.5px solid rgba(212,112,112,.4); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
#zd-call-hangup:hover { background: rgba(212,112,112,.25); }
#zd-call-hangup svg { width: 24px; height: 24px; stroke: #d47070; }

/* Booking widget (replaces call actions on timeout) */
#zd-booking {
  display: none; padding: 12px; flex-shrink: 0;
  border-top: 1px solid rgba(126,184,218,.08);
}
#zd-booking.show { display: block; }
.zd-booking-header {
  font: 500 9px var(--zd-mono); letter-spacing: 1.8px; color: var(--zd-cyan);
  text-transform: uppercase; margin-bottom: 10px;
}
.zd-booking-steps { display: flex; align-items: center; gap: 4px; margin-bottom: 14px; }
.zd-step-dot { width: 7px; height: 7px; border-radius: 50%; border: 1px solid rgba(126,184,218,.4); background: transparent; }
.zd-step-dot.active { background: var(--zd-cyan); box-shadow: 0 0 6px rgba(126,184,218,.5); }
.zd-step-dot.done { background: rgba(126,184,218,.3); }
.zd-step-line { flex: 1; height: 1px; background: rgba(126,184,218,.15); }

.zd-slot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.zd-day-label {
  grid-column: 1/-1; font: 500 9px var(--zd-mono); letter-spacing: 1px;
  color: rgba(126,184,218,.45); text-transform: uppercase; margin-top: 6px;
}
.zd-slot-btn {
  height: 32px; font: 500 11px var(--zd-mono); color: #d0d8e0;
  background: rgba(126,184,218,.04); border: 1px solid rgba(126,184,218,.15);
  border-radius: 6px; cursor: pointer; transition: all .15s;
}
.zd-slot-btn:hover:not(:disabled) { border-color: var(--zd-cyan); background: rgba(126,184,218,.10); }
.zd-slot-btn.selected { background: rgba(126,184,218,.18); border-color: var(--zd-cyan); box-shadow: 0 0 10px rgba(126,184,218,.2); }
.zd-slot-btn:disabled { opacity: .2; cursor: not-allowed; }

.zd-booking-input {
  width: 100%; height: 36px; box-sizing: border-box; padding: 0 10px;
  background: rgba(5,10,16,.6); color: #d0d8e0; font: 400 12px var(--zd-sans);
  border: 1px solid rgba(126,184,218,.15); border-radius: 6px; outline: none;
}
.zd-booking-input:focus { border-color: var(--zd-cyan); }
.zd-booking-cta {
  width: 100%; height: 36px; margin-top: 10px;
  font: 600 10px var(--zd-mono); letter-spacing: 1.5px; color: #050a10;
  background: var(--zd-cyan); border: none; border-radius: 6px; cursor: pointer;
  transition: all .2s;
}
.zd-booking-cta:hover { box-shadow: 0 0 16px rgba(126,184,218,.4); }
.zd-booking-cta:disabled { opacity: .4; cursor: not-allowed; }

.zd-booking-confirm { text-align: center; padding: 10px 0; }
.zd-booking-confirm .zd-confirm-icon {
  width: 40px; height: 40px; margin: 0 auto 8px;
  border: 1.5px solid var(--zd-cyan); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.zd-booking-confirm .zd-confirm-icon svg { width: 20px; height: 20px; stroke: var(--zd-cyan); }
.zd-confirm-slot { font: 500 13px var(--zd-mono); color: #e0e8f0; margin-top: 4px; }
.zd-confirm-note { font-size: 10px; color: rgba(126,184,218,.35); margin-top: 6px; }
