/* PrimeTechnology voice widget — matches the site palette (dark #111, orange #c8452c, beige). */
.ptv-launcher { position: fixed; right: 24px; bottom: 24px; z-index: 9999; display: flex; align-items: center; gap: 12px;
  padding: 12px 22px 12px 12px; border: 0; border-radius: 999px; background: #1a1a1a; color: #fff; font: 500 17px/1 "ES Allianz", Arial, sans-serif;
  box-shadow: 0 10px 30px rgba(0,0,0,.25); cursor: pointer; }
.ptv-launcher:hover { background: #000; }
.ptv-mark { width: 40px; height: 40px; border-radius: 50%; background: #000 url("/_brand/icon-white.png") center/22px no-repeat; box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); flex: none; }
.ptv-panel { position: fixed; right: 24px; bottom: 24px; z-index: 10000; width: min(380px, calc(100vw - 32px)); max-height: min(640px, calc(100vh - 48px));
  display: flex; flex-direction: column; background: #f8f4f2; color: #141414; border-radius: 20px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.3); font: 400 15px/1.45 "ES Allianz", Arial, sans-serif; }
.ptv-panel[hidden], .ptv-launcher[hidden], .ptv-panel [hidden] { display: none !important; }
.ptv-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #1a1a1a; color: #fff; }
.ptv-head .ptv-mark { width: 34px; height: 34px; background-size: 18px; }
.ptv-head div { flex: 1; display: flex; flex-direction: column; }
.ptv-head small { color: #e8a593; font: 400 11px/1.3 "Space Mono", monospace; text-transform: uppercase; letter-spacing: .06em; }
.ptv-x { background: none; border: 0; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.ptv-orb { display: grid; place-items: center; height: 120px; }
.ptv-orb i { width: 64px; height: 64px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #f0a48c, #c8452c 60%, #7a2414);
  box-shadow: 0 0 40px rgba(200,69,44,.35); transition: transform .08s linear; }
.ptv-intro { padding: 0 18px 18px; }
.ptv-intro p { margin: 0 0 12px; }
.ptv-consent { display: flex; gap: 8px; font-size: 12.5px; color: #4a4744; margin-bottom: 14px; }
.ptv-consent input { flex: none; width: 16px !important; height: 16px !important; margin: 2px 0 0 !important; appearance: auto !important; -webkit-appearance: checkbox !important; accent-color: #c8452c; }
.ptv-start, .ptv-overlay button, .ptv-end { border: 0; border-radius: 999px; padding: 11px 18px; background: #c8452c; color: #fff; font: 500 15px "ES Allianz", Arial, sans-serif; cursor: pointer; }
.ptv-start { width: 100%; }
.ptv-start:disabled { background: #cfc6bf; cursor: not-allowed; }
.ptv-log { list-style: none; margin: 0; padding: 0 16px; overflow-y: auto; flex: 1; min-height: 0; }
.ptv-log li { margin: 0 0 10px; }
.ptv-log b { display: block; font: 700 10.5px "Space Mono", monospace; text-transform: uppercase; letter-spacing: .06em; color: #8c8884; }
.ptv-agent b { color: #c8452c; }
.ptv-note { color: #8c8884; font-size: 13px; font-style: italic; }
.ptv-overlay { margin: 0 16px 12px; padding: 14px; background: #fff; border: 1px solid #e4ddd7; border-radius: 14px; }
.ptv-overlay p { margin: 0 0 10px; font-weight: 500; }
.ptv-overlay input { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid #d9d0c9; border-radius: 10px; font: inherit; margin-bottom: 10px; }
.ptv-row { display: flex; gap: 8px; }
.ptv-overlay .ptv-ghost { background: transparent; color: #4a4744; border: 1px solid #d9d0c9; }
.ptv-slots { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 10px; max-height: 180px; overflow-y: auto; }
.ptv-slots button { padding: 8px; border-radius: 10px; font-size: 13px; background: #f3ece7; color: #141414; text-transform: capitalize; }
.ptv-slots button:hover { background: #c8452c; color: #fff; }
.ptv-foot { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-top: 1px solid #e4ddd7; }
.ptv-timer { font: 400 13px "Space Mono", monospace; color: #4a4744; }
.ptv-end { background: #1a1a1a; }
/* (mobile text-hiding rule removed: the launcher is icon-only now) */

/* ---- Rámon text chat ---- */
.ptv-panel { height: min(600px, calc(100vh - 48px)); }
.ptv-user span { display: block; background: #1a1a1a; color: #fff; padding: 8px 12px; border-radius: 12px 12px 4px 12px; margin-left: 40px; }
.ptv-agent span { display: block; background: #fff; border: 1px solid #e4ddd7; padding: 8px 12px; border-radius: 12px 12px 12px 4px; margin-right: 40px; }
.ptv-user b { text-align: right; }
.ptv-log { padding-top: 14px; }
.ptv-suggest { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 8px; }
.ptv-suggest button { border: 1px solid #d9d0c9; background: #fff; border-radius: 999px; padding: 6px 12px; font: 400 13px "ES Allianz", Arial, sans-serif; cursor: pointer; }
.ptv-suggest button:hover { border-color: #c8452c; color: #c8452c; }
.ptv-input { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid #e4ddd7; margin: 0; }
.ptv-input input { flex: 1; min-width: 0; border: 1px solid #d9d0c9 !important; border-radius: 999px; padding: 10px 14px !important; font: 400 15px "ES Allianz", Arial, sans-serif; background: #fff; color: #141414; height: auto !important; margin: 0 !important; }
.ptv-input button { border: 0; border-radius: 50%; width: 42px; height: 42px; background: #c8452c; color: #fff; font-size: 16px; cursor: pointer; flex: none; }
.ptv-legal { margin: 0; padding: 0 16px 10px; font-size: 11px; color: #8c8884; }

/* ---- floating overlay used by the voice call (consent, contact form). Mounted on <body>, fixed:
   anchoring it inside the card used to move the card's absolutely positioned sphere panel. ---- */
.rv-overlay { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 2147483000; width: min(380px, calc(100vw - 32px));
  background: #fff; border: 1px solid #e4ddd7; border-radius: 16px; padding: 16px; box-shadow: 0 16px 40px rgba(0,0,0,.18);
  font: 400 14px/1.45 "ES Allianz", Arial, sans-serif; color: #141414; text-align: left; }
.rv-overlay p { margin: 0 0 10px; }
.rv-overlay input[type=email], .rv-overlay input[type=tel] { width: 100%; box-sizing: border-box; padding: 10px 12px !important; border: 1px solid #d9d0c9 !important; border-radius: 10px; margin: 0 0 10px !important; font: inherit; height: auto !important; color: #141414; background: #fff; }
.rv-overlay .rv-err { color: #b3261e; font-size: 12.5px; }
.rv-consent { display: flex; gap: 8px; font-size: 12.5px; color: #4a4744; margin-bottom: 12px; }
.rv-consent input { flex: none; width: 16px !important; height: 16px !important; margin: 2px 0 0 !important; appearance: auto !important; -webkit-appearance: checkbox !important; accent-color: #c8452c; }
.rv-row { display: flex; gap: 8px; }
.rv-overlay button { border: 0; border-radius: 999px; padding: 9px 16px; background: #c8452c; color: #fff; font: 500 14px "ES Allianz", Arial, sans-serif; cursor: pointer; }
.rv-overlay button:disabled { background: #cfc6bf; cursor: not-allowed; }
.rv-overlay .rv-ghost { background: transparent; color: #4a4744; border: 1px solid #d9d0c9; }

/* ---- side button to PrimeTechnology's WhatsApp (shown after the contact form when a number is configured) ---- */
.rv-wa { position: fixed; left: 24px; bottom: 24px; z-index: 2147483000; display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px; border-radius: 999px; background: #25d366; color: #fff !important; text-decoration: none;
  font: 500 15px "ES Allianz", Arial, sans-serif; box-shadow: 0 10px 28px rgba(0,0,0,.2); }
.rv-wa:hover { background: #1ebe5a; }

/* ---- voice card: no end-of-call form. The copied "booking" view (name, e-mail, CRM...) is never shown;
   after a call the card goes back to the picker so the visitor can talk again. ---- */
[data-julian-card].is-ended [data-julian-view="booking"] { display: none !important; }
[data-julian-card].is-ended [data-julian-view="picker"] { display: flex !important; }
/* Icon-only launcher: a single black circle with the white P mark. */
.ptv-launcher { padding: 0; gap: 0; background: #000; border-radius: 50%; }
.ptv-launcher .ptv-mark { width: 60px; height: 60px; background-size: 32px; }
@media (max-width: 767px) { .ptv-launcher { padding: 0; } .ptv-launcher .ptv-mark { width: 52px; height: 52px; background-size: 28px; } }
