/* Vchat 0.36.45 — interaction consistency + Marketing calendar */

.vchat-frontend-app button,
.vchat-frontend-app [role="button"]{
  -webkit-appearance:none;
  appearance:none;
  -webkit-tap-highlight-color:transparent;
}
.vchat-frontend-app button:focus-visible,
.vchat-frontend-app [role="button"]:focus-visible{
  outline:3px solid rgba(101,84,184,.18)!important;
  outline-offset:2px!important;
}

.vchat-frontend-app .vchat-primary-action,
.vchat-frontend-app .vchat-primary-action:hover,
.vchat-frontend-app .vchat-primary-action:focus,
.vchat-frontend-app .vchat-primary-action:active,
.vchat-frontend-app .vchat-modal-actions .primary,
.vchat-frontend-app .vchat-modal-actions .primary:hover,
.vchat-frontend-app .vchat-modal-actions .primary:focus,
.vchat-frontend-app .vchat-modal-actions .primary:active,
.vchat-frontend-app .vchat-action-send-now,
.vchat-frontend-app .vchat-action-send-now:hover,
.vchat-frontend-app .vchat-action-send-now:focus,
.vchat-frontend-app .vchat-action-send-now:active{
  border-color:#5b47aa!important;
  background:#5b47aa!important;
  color:#fff!important;
  box-shadow:none!important;
}
.vchat-frontend-app .vchat-primary-action:hover,
.vchat-frontend-app .vchat-modal-actions .primary:hover,
.vchat-frontend-app .vchat-action-send-now:hover{
  background:#4f3e98!important;
  border-color:#4f3e98!important;
}

.vchat-frontend-app .vchat-modal-actions button:not(.danger):not(.danger-outline):not(.danger-quiet):not(.primary):not(.vchat-action-send-now),
.vchat-frontend-app .vchat-modal-actions button:not(.danger):not(.danger-outline):not(.danger-quiet):not(.primary):not(.vchat-action-send-now):hover,
.vchat-frontend-app .vchat-modal-actions button:not(.danger):not(.danger-outline):not(.danger-quiet):not(.primary):not(.vchat-action-send-now):focus,
.vchat-frontend-app .vchat-modal-actions button:not(.danger):not(.danger-outline):not(.danger-quiet):not(.primary):not(.vchat-action-send-now):active{
  border-color:#d9d4e8!important;
  background:#fff!important;
  color:#5949a3!important;
  box-shadow:none!important;
}

.vchat-frontend-app .vchat-marketing-tabs button,
.vchat-frontend-app .vchat-marketing-tabs button:hover,
.vchat-frontend-app .vchat-marketing-tabs button:focus,
.vchat-frontend-app .vchat-marketing-tabs button:active{
  border:0!important;
  background:transparent!important;
  color:#77718f!important;
  box-shadow:none!important;
}
.vchat-frontend-app .vchat-marketing-tabs button.is-active,
.vchat-frontend-app .vchat-marketing-tabs button.is-active:hover,
.vchat-frontend-app .vchat-marketing-tabs button.is-active:focus,
.vchat-frontend-app .vchat-marketing-tabs button.is-active:active{
  background:#fff!important;
  color:#5847a4!important;
  box-shadow:0 5px 16px rgba(43,35,82,.07)!important;
}

.vchat-frontend-app .vchat-analytics-tabs button:hover,
.vchat-frontend-app .vchat-analytics-tabs button:focus,
.vchat-frontend-app .vchat-analytics-tabs button:active,
.vchat-frontend-app .vchat-contact-category-strip button:hover,
.vchat-frontend-app .vchat-contact-category-strip button:focus,
.vchat-frontend-app .vchat-contact-category-strip button:active,
.vchat-frontend-app .vchat-archive-status-tabs button:hover,
.vchat-frontend-app .vchat-archive-status-tabs button:focus,
.vchat-frontend-app .vchat-archive-status-tabs button:active{
  border-color:#d7d1eb!important;
  background:#f5f2fd!important;
  color:#57489f!important;
  box-shadow:none!important;
}

/* Calendar control */
.vchat-marketing-schedule-row{
  display:grid!important;
  grid-template-columns:minmax(0,1.3fr) minmax(220px,.7fr)!important;
  gap:14px!important;
  align-items:end!important;
}
.vchat-marketing-date-control{
  position:relative!important;
  display:block!important;
  width:100%!important;
}
.vchat-marketing-date-control input[type="datetime-local"]{
  width:100%!important;
  min-height:44px!important;
  padding:10px 52px 10px 13px!important;
  color:#2b2740!important;
  background:#fff!important;
  cursor:pointer!important;
}
.vchat-marketing-date-control input[type="datetime-local"]::-webkit-calendar-picker-indicator{
  opacity:0!important;
  position:absolute!important;
  right:0!important;
  width:48px!important;
  height:100%!important;
  cursor:pointer!important;
}
.vchat-marketing-calendar-button,
.vchat-marketing-calendar-button:hover,
.vchat-marketing-calendar-button:focus,
.vchat-marketing-calendar-button:active{
  position:absolute!important;
  right:6px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  width:36px!important;
  height:34px!important;
  display:grid!important;
  place-items:center!important;
  padding:0!important;
  border:1px solid #d8d2e9!important;
  border-radius:10px!important;
  background:#f5f2fc!important;
  color:#5b49a5!important;
  box-shadow:none!important;
  cursor:pointer!important;
  z-index:3!important;
}
.vchat-marketing-calendar-button:hover{
  background:#eee9fb!important;
  border-color:#cfc5ec!important;
}
.vchat-marketing-calendar-button svg{
  width:18px!important;
  height:18px!important;
  display:block!important;
  pointer-events:none!important;
}
.vchat-marketing-send-hint{
  min-height:44px!important;
  padding:11px 13px!important;
  border:1px solid #e1dced!important;
  border-radius:12px!important;
  background:#f8f6fc!important;
}
.vchat-marketing-send-hint strong{
  display:block!important;
  margin:0 0 3px!important;
  font-size:10px!important;
  color:#35304d!important;
}
.vchat-marketing-send-hint span{
  display:block!important;
  margin:0!important;
  font-size:9px!important;
  line-height:1.45!important;
  color:#8b849c!important;
}
.vchat-marketing-modal-actions{
  gap:8px!important;
  flex-wrap:wrap!important;
}
.vchat-marketing-modal-actions .vchat-action-send-now{
  margin-left:auto!important;
}

@media(max-width:760px){
  .vchat-marketing-schedule-row{grid-template-columns:1fr!important}
  .vchat-marketing-modal-actions{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    width:100%!important;
  }
  .vchat-marketing-modal-actions button{
    width:100%!important;
    margin:0!important;
  }
  .vchat-marketing-modal-actions [data-vchat-modal-close]{
    grid-column:1/-1!important;
    order:4!important;
  }
}
