.um-chatbot-section{
  position:relative;
  z-index:1;
  width:min(1168px,calc(100% - 84px));
  margin:52px auto 66px;
  font-family:Inter,Segoe UI,Roboto,Arial,sans-serif;
}
.um-chatbot-card{
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:.92fr 1.08fr;
  gap:28px;
  align-items:stretch;
  border:1px solid #edf0f7;
  border-radius:26px;
  background:
    radial-gradient(circle at 12% 16%,rgba(255,61,10,.13),transparent 28%),
    radial-gradient(circle at 88% 88%,rgba(255,107,0,.11),transparent 28%),
    #fff;
  box-shadow:0 28px 80px rgba(8,11,34,.12);
  padding:28px;
}
.um-chatbot-card::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background-image:radial-gradient(rgba(255,61,10,.20) 1px, transparent 1px);
  background-size:18px 18px;
  opacity:.26;
  mask-image:linear-gradient(100deg,#000 0%,transparent 48%);
}
.um-chatbot-copy,
.um-chatbot-widget{
  position:relative;
  z-index:1;
}
.um-chatbot-copy{
  padding:24px 12px 24px 8px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.um-chatbot-kicker{
  margin:0 0 12px;
  color:#ff3d0a;
  text-transform:uppercase;
  font-size:13px;
  font-weight:900;
  letter-spacing:.08em;
}
.um-chatbot-copy h2{
  margin:0 0 16px;
  color:#080b22;
  font-size:clamp(30px,3.4vw,50px);
  line-height:1.04;
  letter-spacing:-.055em;
  font-weight:950;
}
.um-chatbot-copy h2 span{color:#ff3d0a}
.um-chatbot-copy p{
  margin:0;
  max-width:520px;
  color:#465069;
  font-size:16px;
  line-height:1.72;
  font-weight:500;
}
.um-chatbot-points{
  display:grid;
  gap:12px;
  margin:24px 0 0;
  padding:0;
  list-style:none;
}
.um-chatbot-points li{
  display:flex;
  align-items:center;
  gap:11px;
  color:#080b22;
  font-size:14px;
  font-weight:800;
}
.um-chatbot-points i{
  display:grid;
  place-items:center;
  width:28px;
  height:28px;
  border-radius:9px;
  color:#fff;
  background:linear-gradient(135deg,#ff3d0a,#ff6b00);
  box-shadow:0 10px 24px rgba(255,61,10,.20);
}
.um-chatbot-widget{
  min-height:560px;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border:1px solid rgba(237,240,247,.95);
  border-radius:22px;
  background:#fff;
  box-shadow:0 20px 54px rgba(8,11,34,.10);
}
.um-chatbot-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:18px 20px;
  background:linear-gradient(135deg,#05050f,#080b22 66%,#17112a);
  color:#fff;
}
.um-chatbot-agent{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}
.um-chatbot-avatar{
  display:grid;
  place-items:center;
  flex:0 0 auto;
  width:44px;
  height:44px;
  border-radius:16px;
  color:#fff;
  background:linear-gradient(135deg,#ff3d0a,#ff8a18);
  box-shadow:0 14px 28px rgba(255,61,10,.28);
}
.um-chatbot-agent strong{
  display:block;
  font-size:15px;
  line-height:1.15;
}
.um-chatbot-agent span{
  display:block;
  margin-top:3px;
  color:rgba(255,255,255,.68);
  font-size:12px;
  font-weight:700;
}
.um-chatbot-status{
  display:inline-flex;
  align-items:center;
  gap:7px;
  flex:0 0 auto;
  color:rgba(255,255,255,.78);
  font-size:12px;
  font-weight:800;
}
.um-chatbot-status::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:50%;
  background:#1ee889;
  box-shadow:0 0 0 6px rgba(30,232,137,.13);
}
.um-chatbot-lead,
.um-chatbot-chat{
  padding:20px;
}
.um-chatbot-lead{
  display:grid;
  gap:15px;
}
.um-chatbot-lead h3{
  margin:0;
  color:#080b22;
  font-size:22px;
  line-height:1.15;
  letter-spacing:-.035em;
}
.um-chatbot-lead p{
  margin:0 0 2px;
  color:#465069;
  font-size:14px;
  line-height:1.6;
  font-weight:500;
}
.um-chatbot-form{
  display:grid;
  gap:13px;
}
.um-chatbot-form label{
  display:grid;
  gap:7px;
  color:#080b22;
  font-size:13px;
  font-weight:900;
}
.um-chatbot-form input,
.um-chatbot-form textarea{
  width:100%;
  border:1px solid #dfe3ef;
  border-radius:14px;
  padding:14px 15px;
  outline:none;
  color:#080b22;
  background:#fff;
  font:inherit;
  transition:border-color .22s ease,box-shadow .22s ease;
}
.um-chatbot-form textarea{
  min-height:52px;
  max-height:150px;
  resize:vertical;
}
.um-chatbot-form input:focus,
.um-chatbot-form textarea:focus{
  border-color:#ff3d0a;
  box-shadow:0 0 0 4px rgba(255,61,10,.10);
}
.um-chatbot-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:50px;
  border:0;
  border-radius:12px;
  padding:0 20px;
  color:#fff;
  background:linear-gradient(135deg,#ff3d0a,#ff6b00);
  box-shadow:0 16px 34px rgba(255,61,10,.24);
  cursor:pointer;
  font:inherit;
  font-size:14px;
  font-weight:900;
  transition:transform .22s ease,filter .22s ease,box-shadow .22s ease;
}
.um-chatbot-btn:hover{transform:translateY(-2px);filter:saturate(1.05)}
.um-chatbot-btn:disabled{opacity:.65;cursor:not-allowed;transform:none;box-shadow:none}
.um-chatbot-chat{
  display:none;
  flex:1;
  min-height:0;
  flex-direction:column;
  gap:14px;
}
.um-chatbot-widget.is-ready .um-chatbot-lead{display:none}
.um-chatbot-widget.is-ready .um-chatbot-chat{display:flex}
.um-chatbot-messages{
  flex:1;
  min-height:260px;
  max-height:380px;
  overflow:auto;
  display:flex;
  flex-direction:column;
  gap:12px;
  padding:2px 3px 10px 0;
  scrollbar-width:thin;
}
.um-chatbot-message{
  display:flex;
  flex-direction:column;
  max-width:86%;
  gap:5px;
}
.um-chatbot-message strong{
  color:#6b7286;
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.um-chatbot-bubble{
  border-radius:16px;
  padding:12px 14px;
  font-size:14px;
  line-height:1.55;
  white-space:pre-wrap;
  word-break:break-word;
}
.um-chatbot-message.is-bot{align-self:flex-start}
.um-chatbot-message.is-bot .um-chatbot-bubble{
  color:#080b22;
  background:#f6f7fb;
  border:1px solid #edf0f7;
}
.um-chatbot-message.is-user{
  align-self:flex-end;
  align-items:flex-end;
}
.um-chatbot-message.is-user .um-chatbot-bubble{
  color:#fff;
  background:linear-gradient(135deg,#ff3d0a,#ff6b00);
}
.um-chatbot-question-row{
  display:grid;
  grid-template-columns:1fr auto;
  gap:10px;
  align-items:end;
  padding-top:12px;
  border-top:1px solid #edf0f7;
}
.um-chatbot-question-row textarea{
  min-height:50px;
  max-height:130px;
}
.um-chatbot-send{
  width:52px;
  height:52px;
  padding:0;
  border-radius:15px;
}
.um-chatbot-hint,
.um-chatbot-error{
  margin:0;
  font-size:12px;
  line-height:1.45;
}
.um-chatbot-hint{color:#798095;font-weight:600}
.um-chatbot-error{display:none;color:#d92d20;font-weight:800}
.um-chatbot-error.is-visible{display:block}
.um-chatbot-typing{
  display:inline-flex;
  align-items:center;
  gap:5px;
}
.um-chatbot-typing span{
  width:6px;
  height:6px;
  border-radius:50%;
  background:#ff6b00;
  animation:umTyping 1s ease-in-out infinite;
}
.um-chatbot-typing span:nth-child(2){animation-delay:.15s}
.um-chatbot-typing span:nth-child(3){animation-delay:.3s}
@keyframes umTyping{0%,100%{opacity:.3;transform:translateY(0)}50%{opacity:1;transform:translateY(-3px)}}
@media (max-width:980px){
  .um-chatbot-section{width:min(100% - 44px,720px);margin:42px auto 56px}
  .um-chatbot-card{grid-template-columns:1fr;padding:20px}
  .um-chatbot-copy{padding:10px 4px 2px}
  .um-chatbot-widget{min-height:540px}
}
@media (max-width:560px){
  .um-chatbot-section{width:calc(100% - 32px);margin:34px auto 46px}
  .um-chatbot-card{border-radius:20px;padding:14px}
  .um-chatbot-copy h2{font-size:30px}
  .um-chatbot-widget{border-radius:18px;min-height:520px}
  .um-chatbot-head{padding:15px}
  .um-chatbot-status{display:none}
  .um-chatbot-lead,.um-chatbot-chat{padding:16px}
  .um-chatbot-question-row{grid-template-columns:1fr}
  .um-chatbot-send{width:100%}
  .um-chatbot-message{max-width:94%}
}
.um-chatbot-kicker,
.um-chatbot-copy h2,
.um-chatbot-points li,
.um-chatbot-agent strong,
.um-chatbot-status,
.um-chatbot-form label,
.um-chatbot-btn,
.um-chatbot-message strong,
.um-chatbot-error {
  font-weight: 600 !important;
}

.um-chatbot-copy p,
.um-chatbot-lead p,
.um-chatbot-hint,
.um-chatbot-agent span {
  font-weight: 400 !important;
}