/* Personalizacion acotada al canal de RingCentral de Seguros ACE. */
:root { --ace-chat-bottom: 24px; }
#dimelo_chat_button_6c0ee0e45174c026dff00102 {
  left: auto !important; right: 24px !important; bottom: var(--ace-chat-bottom) !important;
  width: 232px; max-width: calc(100vw - 40px); z-index: 100001 !important;
}
#dimelo_chat_button_6c0ee0e45174c026dff00102 * { box-sizing: border-box; }
#dimelo_chat_button_6c0ee0e45174c026dff00102 .button-wrapper {
  max-width: none !important; width: 100%; margin: 0 !important; border-radius: 999px !important;
  background: #023d5b !important; box-shadow: 0 8px 28px rgb(0 46 81 / 25%) !important;
}
#dimelo_chat_button_6c0ee0e45174c026dff00102 .button-inner-wrapper { padding: 0 !important; }
#dimelo_chat_button_6c0ee0e45174c026dff00102 .button-header,
#dimelo_chat_button_6c0ee0e45174c026dff00102 .button-content { display: none !important; }
#dimelo_chat_button_6c0ee0e45174c026dff00102 button.button-action,
#dimelo_chat_button_6c0ee0e45174c026dff00102 .ace-chat-offline-link {
  align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 64px;
  margin: 0 !important; padding: 14px 22px !important; border: 1px solid rgb(255 255 255 / 18%) !important;
  border-radius: 999px !important; background: linear-gradient(135deg, #075978, #023d5b) !important;
  color: #fff !important; font: 600 15px/1.3 Montserrat, Arial, sans-serif !important;
  text-decoration: none !important; cursor: pointer; transition: transform .2s, box-shadow .2s;
}
#dimelo_chat_button_6c0ee0e45174c026dff00102 .dimelo_chat_mode_online button.button-action { display: flex !important; }
#dimelo_chat_button_6c0ee0e45174c026dff00102 button.button-action::before,
#dimelo_chat_button_6c0ee0e45174c026dff00102 .ace-chat-offline-link::before {
  content: ""; display: block; flex: 0 0 28px; width: 28px; height: 28px;
  background: url("../icons/icono-chat.svg") center / contain no-repeat;
}
#dimelo_chat_button_6c0ee0e45174c026dff00102 button.button-action:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgb(0 46 81 / 30%); }
#dimelo_chat_button_6c0ee0e45174c026dff00102 button.button-action:focus-visible { outline: 3px solid #55c9e8; outline-offset: 4px; }
#dimelo_chat_button_6c0ee0e45174c026dff00102 .ace-chat-offline-link { display: none; }
#dimelo_chat_button_6c0ee0e45174c026dff00102 .dimelo_chat_mode_offline .button-wrapper { border-radius: 20px !important; }
#dimelo_chat_button_6c0ee0e45174c026dff00102 .dimelo_chat_mode_offline .button-content { display: block !important; padding: 16px 20px 8px; }
#dimelo_chat_button_6c0ee0e45174c026dff00102 .dimelo_chat_mode_offline .ace-chat-offline-link { display: flex; border-radius: 0 0 20px 20px !important; }
.dimelo-chat-0de7f6219f3b292d2040daab-wrapper { font-family: Montserrat, Arial, sans-serif; }
.dimelo-chat-0de7f6219f3b292d2040daab-wrapper .dimelo-chat-container {
  top: auto !important; left: auto !important; right: 24px !important;
  bottom: calc(var(--ace-chat-bottom) + 80px) !important; width: 390px !important;
  max-width: calc(100vw - 32px) !important;
  height: min(640px, calc(100dvh - var(--ace-chat-bottom) - 104px)) !important;
  border: 1px solid #dce6ec; border-radius: 22px !important; overflow: hidden !important;
  box-shadow: 0 18px 64px rgb(0 46 81 / 24%) !important; z-index: 100002 !important;
}
.dimelo-chat-0de7f6219f3b292d2040daab-wrapper .dimelo-chat-header {
  background: linear-gradient(135deg, #075978, #023d5b) !important; color: #fff !important;
}
.dimelo-chat-0de7f6219f3b292d2040daab-wrapper .dimelo-chat-chat-title { font-family: Montserrat, Arial, sans-serif; font-weight: 600; font-size: 18px; }
.dimelo-chat-0de7f6219f3b292d2040daab-wrapper .dimelo-chat-title-information:has(.dimelo-chat-no-agent-name)::after { content: "Estamos para ayudarte"; display: block; font: 400 12px/1.4 Arial, sans-serif; opacity: .85; margin-top: 3px; }
.dimelo-chat-0de7f6219f3b292d2040daab-wrapper .dimelo-chat-bubble {
  left: auto !important; right: 24px !important; bottom: var(--ace-chat-bottom) !important;
  width: 64px !important; height: 64px !important; background: #023d5b !important;
  box-shadow: 0 8px 28px rgb(0 46 81 / 25%); z-index: 100003 !important;
}
.dimelo-chat-0de7f6219f3b292d2040daab-wrapper .dimelo-chat-input-area { background: #f7fafc !important; }
.dimelo-chat-0de7f6219f3b292d2040daab-wrapper .dimelo-chat-message-self .dimelo-chat-message-bubble { background-color: #023d5b !important; }
.dimelo-chat-0de7f6219f3b292d2040daab-wrapper .dimelo-chat-pre-chat-form-wrapper {
  --pcf-font-family: Arial, sans-serif; --pcf-background-color: #fff;
  --pcf-input-background-color: #f7fafc; --pcf-input-border-color: #dce6ec;
  --pcf-input-border-hover-color: #075978; --pcf-submit-background-color: #023d5b;
  --pcf-submit-background-hover-color: #075978; --pcf-submit-text-color: #fff;
  --pcf-submit-focus-outline-color: #55c9e8;
  font-family: Arial, sans-serif !important; color: #183d50;
}
.dimelo-chat-0de7f6219f3b292d2040daab-wrapper .dimelo-chat-pre-chat-form-h1 { font: 600 20px/1.4 Montserrat, Arial, sans-serif !important; color: #023d5b; }
.dimelo-chat-0de7f6219f3b292d2040daab-wrapper .dimelo-chat-pre-chat-form-h2 { font-size: 14px !important; line-height: 1.55 !important; color: #567080; }
.dimelo-chat-0de7f6219f3b292d2040daab-wrapper .dimelo-chat-pre-chat-form-wrapper label { color: #264b5e; font-size: 14px !important; }
.dimelo-chat-0de7f6219f3b292d2040daab-wrapper .dimelo-chat-pre-chat-form-wrapper input,
.dimelo-chat-0de7f6219f3b292d2040daab-wrapper .dimelo-chat-pre-chat-form-wrapper textarea {
  background: #f7fafc !important; border: 1px solid #dce6ec !important; border-radius: 10px !important;
  color: #183d50 !important; font: 400 15px/1.4 Arial, sans-serif !important; min-height: 46px;
}
.dimelo-chat-0de7f6219f3b292d2040daab-wrapper .dimelo-chat-pre-chat-form-wrapper input:focus,
.dimelo-chat-0de7f6219f3b292d2040daab-wrapper .dimelo-chat-pre-chat-form-wrapper textarea:focus { outline: 2px solid #62b9d2 !important; outline-offset: 1px; }
.dimelo-chat-0de7f6219f3b292d2040daab-wrapper .dimelo-chat-pre-chat-form-wrapper p:not(.quick-reply) button { background: #023d5b !important; color: #fff !important; border-radius: 12px !important; font: 600 15px/1.4 Montserrat, Arial, sans-serif !important; }
.ace-chat-fallback { position: fixed; right: 24px; bottom: var(--ace-chat-bottom); z-index: 100001; padding: 18px 24px; border-radius: 999px; background: #023d5b; color: white; text-decoration: none; font: 600 15px Montserrat, Arial, sans-serif; box-shadow: 0 8px 28px rgb(0 46 81 / 25%); }
@media (max-width: 600px) {
  :root { --ace-chat-bottom: 16px; }
  #dimelo_chat_button_6c0ee0e45174c026dff00102 { right: 16px !important; width: 216px; }
  .dimelo-chat-0de7f6219f3b292d2040daab-wrapper .dimelo-chat-container { right: 12px !important; width: calc(100% - 24px) !important; max-width: none !important; border-radius: 18px !important; }
  .dimelo-chat-0de7f6219f3b292d2040daab-wrapper .dimelo-chat-bubble { right: 16px !important; }
}
@media (prefers-reduced-motion: reduce) { #dimelo_chat_button_6c0ee0e45174c026dff00102 button.button-action { transition: none; } }
