/* IYES CHAT v3.5.2-r2 - Schedule card + operator mobile actions */
.v352r2-schedule-card{
  position:relative;
  z-index:2;
  margin:0 0 16px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  padding:14px 16px!important;
  border:1px solid var(--line,#cad8e8)!important;
  border-radius:14px!important;
  background:var(--panel,#fff)!important;
}
.v352r2-schedule-card b{font-size:16px!important}
.v352r2-schedule-card p{margin:4px 0 0!important;color:var(--muted,#60738f)!important}
.v352r2-schedule-card button{
  flex:0 0 auto!important;
  min-height:40px!important;
  padding:8px 14px!important;
  border:1px solid #8eb2df!important;
  border-radius:10px!important;
  background:#eaf3ff!important;
  color:#174d87!important;
  font-weight:700!important;
  cursor:pointer!important;
}
body:not(.theme-light) .v352r2-schedule-card{background:#0d1d38!important;border-color:#28466d!important}
body:not(.theme-light) .v352r2-schedule-card button{background:#173865!important;color:#e9f2ff!important;border-color:#416c9e!important}

@media(max-width:780px){
  .v352r2-schedule-card{flex-direction:column!important;align-items:stretch!important;margin:0 0 12px!important}
  .v352r2-schedule-card button{width:100%!important}

  body.operator-body .operator-topbar{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:auto auto auto!important;
    gap:7px!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    padding:8px 10px!important;
    overflow:visible!important;
    align-items:center!important;
  }
  body.operator-body .operator-brand{width:100%!important;min-width:0!important}
  body.operator-body .operator-brand>div:last-child{min-width:0!important}
  body.operator-body .operator-toolbar{
    width:100%!important;
    min-width:0!important;
    display:grid!important;
    grid-template-columns:minmax(120px,1fr) 46px minmax(145px,1.15fr)!important;
    gap:6px!important;
    overflow:visible!important;
    align-items:center!important;
  }
  body.operator-body .operator-toolbar #operator-new-conversation{
    width:100%!important;min-width:0!important;white-space:normal!important;line-height:1.15!important
  }
  body.operator-body .operator-toolbar #operator-presence{
    width:100%!important;min-width:0!important;font-size:14px!important
  }
  body.operator-body .operator-toolbar #operator-receipts-v352{
    width:46px!important;min-width:46px!important;padding:0!important
  }
  body.operator-body .operator-toolbar #operator-receipts-v352 b{display:none!important}

  body.operator-body .v352r2-operator-mobile-actions{
    width:100%!important;
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:6px!important;
  }
  body.operator-body .v352r2-operator-mobile-actions #operator-theme,
  body.operator-body .v352r2-operator-mobile-actions #operator-logout{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:7px!important;
    width:100%!important;
    min-width:0!important;
    min-height:40px!important;
    height:40px!important;
    padding:0 10px!important;
    border:1px solid #bdd0e8!important;
    border-radius:10px!important;
    background:var(--panel,#fff)!important;
    color:var(--text,#17345d)!important;
    font-size:15px!important;
    font-weight:700!important;
  }
  body.operator-body .v352r2-operator-mobile-actions #operator-theme::after{content:" Tema"}
  body.operator-body .v352r2-operator-mobile-actions #operator-logout::after{content:" Sair"}
  body.operator-body:not(.theme-light) .v352r2-operator-mobile-actions #operator-theme,
  body.operator-body:not(.theme-light) .v352r2-operator-mobile-actions #operator-logout{
    background:#10264a!important;color:#e7efff!important;border-color:#315181!important
  }
  body.operator-body .operator-shell{
    grid-template-rows:auto minmax(0,1fr)!important;
    height:var(--iyes-vv-height,100dvh)!important;
  }
  body.operator-body .operator-content{min-height:0!important}
}
