/* Final approved bubble consultation modal — 2026-11-28 */

.bubble-dialog{padding:0;border:0;background:transparent;max-height:none;overflow:visible;width:min(92vw,460px)}
.bubble-dialog::backdrop{background:rgba(7,9,13,.84);backdrop-filter:blur(7px)}
.bubble-dialog .dialog-main.bubble-main{width:min(92vw,438px);position:relative;margin:auto;padding:56px 24px 31px;border:1px solid rgba(255,255,255,.15);border-radius:35px;background:rgba(22,24,28,.82);box-shadow:0 40px 100px rgba(0,0,0,.42),0 5px 26px rgba(0,0,0,.28),inset 0 1px rgba(255,255,255,.10);backdrop-filter:blur(19px);-webkit-backdrop-filter:blur(19px);color:#f7f1e9}
.bubble-dialog .dialog-main.bubble-main::before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(155deg,rgba(255,255,255,.05),transparent 30%,transparent 80%,rgba(0,0,0,.14))}
.bubble-dialog .bubble-close{display:grid;place-items:center;position:absolute;right:17px;top:17px;width:34px;height:34px;border-radius:50%;border:1px solid rgba(255,255,255,.15);background:rgba(255,255,255,.065);color:rgba(242,235,229,.78);font:500 25px/1 Arial;padding:0;z-index:3}
.bubble-dialog .bubble-back{position:absolute;left:25px;top:19px;border:0;background:transparent;color:rgba(242,235,229,.78);padding:7px 2px;font-size:14px;letter-spacing:.025em}
.bubble-dialog .bubble-stage{position:relative}
.bubble-dialog .bubble-title{max-width:365px;margin:6px auto 30px;text-align:center;font-family:Georgia,"Times New Roman",serif;font-size:clamp(26px,6.8vw,33px);font-weight:500;letter-spacing:-.025em;line-height:1.15;text-wrap:balance;color:#f7f1e9}
.bubble-dialog .bubble-stack{display:grid;gap:16px}
.bubble-dialog .bubble-card{width:100%;display:grid;grid-template-columns:60px minmax(0,1fr) 60px;align-items:center;min-height:88px;border-radius:27px;border:1px solid rgba(255,255,255,.16);padding:10px 12px;color:#f7f1e9;text-decoration:none;background:linear-gradient(90deg,#464b52 0%,#30343b 54%,#22252b 100%);box-shadow:inset 0 1px 1px rgba(255,255,255,.20),inset 0 -6px 12px rgba(0,0,0,.17),0 13px 22px rgba(0,0,0,.55),0 3px 4px rgba(0,0,0,.14);transition:transform .18s ease, box-shadow .18s ease,border-color .18s ease}
.bubble-dialog .bubble-card .label{grid-column:2;justify-self:center;text-align:center;font-weight:600;letter-spacing:-.025em;font-size:clamp(20px,5.5vw,24px);white-space:nowrap;line-height:1.22}
.bubble-dialog .bubble-plain .label{grid-column:1/4}
.bubble-dialog .bubble-plain{min-height:89px}
.bubble-dialog .bubble-card:active{transform:translateY(2px);box-shadow:inset 0 2px 4px rgba(0,0,0,.22),0 6px 13px rgba(0,0,0,.55)}
@media (hover:hover) and (pointer:fine){.bubble-dialog .bubble-card:hover{transform:translateY(-3px);border-color:rgba(255,255,255,.40);box-shadow:inset 0 1px 1px rgba(255,255,255,.20),inset 0 -6px 12px rgba(0,0,0,.12),0 20px 32px rgba(0,0,0,.55)}}
.bubble-dialog .bubble-messenger{display:flex;align-items:center;justify-content:center;padding:10px 12px}
.bubble-dialog .button-content{width:222px;max-width:100%;display:grid;grid-template-columns:52px minmax(0,1fr);align-items:center;gap:18px;margin-inline:auto}
.bubble-dialog .brand{display:flex;align-items:center;justify-content:center;flex:none;width:52px;height:52px;margin:0;overflow:hidden;border-radius:16px;box-shadow:0 6px 13px rgba(0,0,0,.24),inset 0 1px rgba(255,255,255,.17)}
.bubble-dialog .brand.max{background:linear-gradient(145deg,#00bfff,#471aff 58%,#9500ff)}
.bubble-dialog .brand.telegram{border-radius:50%;background:#fff}
.bubble-dialog .brand.whatsapp{border-radius:50%;background:#25D366}
.bubble-dialog .brand img{display:block;width:36px;height:36px;max-width:none;max-height:none;object-fit:contain;object-position:center;filter:brightness(0) invert(1)}
.bubble-dialog .brand.max img{width:37px;height:37px}.bubble-dialog .brand.telegram img{width:52px;height:52px;filter:none}
.bubble-dialog .bubble-messenger .label{grid-column:auto;justify-self:stretch;text-align:left;white-space:nowrap;margin:0}
.bubble-dialog .bubble-free{margin:25px 0 0;text-align:center;color:rgba(242,235,229,.78);font-size:13px;font-weight:400;letter-spacing:.02em}
.bubble-dialog .bubble-form{display:grid;gap:14px}
.bubble-dialog .bubble-field{width:100%;height:72px;border:1px solid rgba(255,255,255,.17);border-radius:23px;background:linear-gradient(90deg,#3d4249 0%,#2f3339 54%,#25282d 100%);color:#f7f1e9;font-size:20px;text-align:center;outline:none;box-shadow:inset 0 2px 3px rgba(255,255,255,.085),0 9px 16px rgba(0,0,0,.24);padding:0 19px}
.bubble-dialog .bubble-field::placeholder{opacity:.76;color:#f7f1e9}
.bubble-dialog .bubble-field[aria-invalid=true]{border-color:#ff6b73}
.bubble-dialog .bubble-send{margin-top:5px;background:linear-gradient(90deg,#cb3040 0%,#af2030 54%,#8b1622 100%);border-color:#df4354;min-height:80px}
.bubble-dialog .bubble-error{color:#ffd4d6;font-size:13px;text-align:center;line-height:1.5;margin:5px 3px 0}
.bubble-dialog .bubble-policy{font-size:11.5px;line-height:1.5;color:rgba(242,235,229,.78);margin:14px 0 0;text-align:center}
.bubble-dialog .bubble-policy a{color:inherit;text-underline-offset:3px}
.bubble-dialog .bubble-success-text{text-align:center;color:rgba(242,235,229,.78);font-size:15px;line-height:1.5;margin:0 0 22px}
.bubble-dialog button:focus-visible,.bubble-dialog a:focus-visible,.bubble-dialog input:focus-visible{outline:3px solid #ffb5af;outline-offset:3px}
@media(max-width:375px){.bubble-dialog .dialog-main.bubble-main{padding:53px 17px 26px;border-radius:29px}.bubble-dialog .bubble-card{min-height:79px;border-radius:23px;grid-template-columns:53px minmax(0,1fr) 53px;padding:8px 8px}.bubble-dialog .bubble-plain{min-height:78px}.bubble-dialog .brand{width:48px;height:48px}.bubble-dialog .brand img{width:34px;height:34px}.bubble-dialog .brand.telegram img{width:48px;height:48px}.bubble-dialog .bubble-field{height:65px;font-size:18px;border-radius:20px}.bubble-dialog .bubble-free{margin-top:20px}.bubble-dialog .bubble-title{font-size:25px;margin-bottom:26px}.bubble-dialog .bubble-stack{gap:13px}.bubble-dialog .bubble-card .label{font-size:20px}.bubble-dialog .button-content{width:216px;grid-template-columns:48px minmax(0,1fr);gap:17px}}
@media(max-height:650px){.bubble-dialog .dialog-main.bubble-main{padding-top:45px;padding-bottom:19px}.bubble-dialog .bubble-stack{gap:10px}.bubble-dialog .bubble-card,.bubble-dialog .bubble-plain{min-height:66px;border-radius:20px}.bubble-dialog .brand{width:42px;height:42px}.bubble-dialog .brand img{width:29px;height:29px}.bubble-dialog .brand.telegram img{width:42px;height:42px}.bubble-dialog .button-content{grid-template-columns:42px minmax(0,1fr);gap:15px}.bubble-dialog .bubble-title{margin-top:0;margin-bottom:17px;font-size:24px}.bubble-dialog .bubble-free{margin-top:14px}.bubble-dialog .bubble-field{height:58px;border-radius:18px;font-size:18px}.bubble-dialog .bubble-form{gap:9px}.bubble-dialog .bubble-policy{margin-top:9px}.bubble-dialog .bubble-close{top:9px;right:9px}.bubble-dialog .bubble-back{top:11px}}

/* Keep the form reachable on unusually short browser viewports. */
.bubble-dialog{max-height:calc(100dvh - 20px);overflow-y:auto;overscroll-behavior:contain;}

/* Approved choice-button icons: minimal red symbols only. */
.choice-icon-btn .choice-content {display:inline-flex;align-items:center;justify-content:center;gap:12px;grid-column:1/4;min-width:0}
.choice-icon-btn .label{grid-column:auto!important;justify-self:auto!important;text-align:left!important;white-space:nowrap}
.choice-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 30px;width:30px;height:30px}
.choice-icon img{display:block;width:26px;height:26px;object-fit:contain}
@media (max-width:375px){.choice-icon{width:28px;height:28px;flex-basis:28px}.choice-icon img{width:24px;height:24px}.choice-icon-btn .choice-content{gap:12px}}
