/* Shared module-level refresh control used by Material Purchase and Material Receiving. */

.module-refresh-button{
  box-sizing:border-box;
  min-height:40px;
  padding:10px 16px!important;
  border:1px solid #d9e4f2!important;
  border-radius:11px!important;
  background:#fff!important;
  color:#24405f!important;
  font-size:14px!important;
  font-weight:850!important;
  line-height:1.2;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  white-space:nowrap;
  box-shadow:none!important;
}
.module-refresh-button:hover:not(:disabled){
  background:#f8fbff!important;
  border-color:#cbd8e8!important;
}
.module-refresh-button:disabled{
  opacity:.55;
  cursor:not-allowed;
}
.module-refresh-button .module-refresh-icon{
  font-size:16px;
  font-weight:400;
}

.module-refresh-icon{
  display:inline-block;
  flex:0 0 auto;
  font-size:16px;
  line-height:1;
  transform-origin:50% 50%;
}
.is-refreshing .module-refresh-icon{
  animation:mt-module-refresh-spin .8s linear infinite;
}
@keyframes mt-module-refresh-spin{
  to{transform:rotate(360deg)}
}
