.ua-idle-timeout-settings{
  display:grid;
  gap:12px;
  padding:14px;
  border:1px solid rgba(104,142,181,.28);
  border-radius:14px;
  background:rgba(7,19,33,.42);
}
body.ua-p-app-settings .ua-idle-switch{
  display:flex!important;
  align-items:center;
  gap:13px;
  margin:0;
  cursor:pointer;
  user-select:none;
}
.ua-idle-switch>input{
  position:absolute;
  width:1px;
  height:1px;
  opacity:0;
  pointer-events:none;
}
body.ua-p-app-settings .ua-idle-switch-track{
  display:inline-block!important;
  position:relative;
  flex:0 0 52px;
  width:52px;
  min-width:52px;
  max-width:52px;
  margin:0!important;
  height:28px;
  border:1px solid #55677d;
  border-radius:999px;
  background:#202c3b;
  box-shadow:inset 0 1px 4px rgba(0,0,0,.35);
  transition:background .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.ua-idle-switch-track>span{
  position:absolute;
  top:3px;
  right:3px;
  width:20px;
  height:20px;
  border-radius:50%;
  background:#cbd5e1;
  box-shadow:0 2px 7px rgba(0,0,0,.35);
  transition:transform .18s ease,background .18s ease;
}
body.ua-p-app-settings .ua-idle-switch>input:checked+.ua-idle-switch-track{
  border-color:#1ec993!important;
  background:#0e8e69!important;
  box-shadow:0 0 0 3px rgba(30,201,147,.12),inset 0 1px 4px rgba(0,0,0,.18);
}
.ua-idle-switch>input:checked+.ua-idle-switch-track>span{
  transform:translateX(-24px);
  background:#fff;
}
.ua-idle-switch>input:focus-visible+.ua-idle-switch-track{
  outline:2px solid #4cc9f0;
  outline-offset:3px;
}
.ua-idle-switch-copy{
  display:grid!important;
  gap:3px;
  min-width:0;
  margin:0!important;
  cursor:pointer;
}
.ua-idle-switch-copy strong{
  color:#edf5ff;
  font-size:14px;
  line-height:1.5;
}
.ua-idle-switch-copy small{
  color:#91a3b9;
  font-size:12px;
  line-height:1.7;
}
.ua-idle-timeout-fields{
  max-width:520px;
  padding-top:12px;
  border-top:1px solid rgba(104,142,181,.22);
}
body.ua-p-app-settings .ua-idle-timeout-fields .form-control{
  display:block!important;
  width:100%!important;
  min-height:42px!important;
  margin-top:7px!important;
  padding:8px 12px!important;
  border:1px solid #40566f!important;
  border-radius:10px!important;
  background:#091728!important;
  color:#f4f8fc!important;
}
.ua-idle-timeout-fields[hidden]{
  display:none!important;
}
@media(max-width:640px){
  .ua-idle-timeout-settings{padding:12px}
  .ua-idle-switch{align-items:flex-start}
  .ua-idle-switch-track{margin-top:3px}
}
