@import url('https://fonts.googleapis.com/css2?family=Noto+Kufi+Arabic:wght@300;400;500;600;700;800;900&display=swap');
html,body,button,input,select,textarea,dialog{font-family:'Noto Kufi Arabic',sans-serif!important;}
body{line-height:1.8;}input,select,textarea,button{letter-spacing:normal;}

:where(a, button, summary, input, select, textarea):focus-visible {
  outline: 3px solid #228caa;
  outline-offset: 3px;
}

@media (hover: hover) {
  .site-links a:hover, aside nav a:hover {
    text-decoration: underline;
    text-underline-offset: .35em;
  }
}

@media (prefers-reduced-motion: no-preference) {
  :where(button, .site-button, .book-button, aside nav a) {
    transition: translate 140ms ease-out, box-shadow 140ms ease-out, background-color 140ms ease-out;
  }

  @media (hover: hover) and (pointer: fine) {
    :is(.site-button, .book-button, .action):not(:disabled):hover {
      translate: 0 -2px;
      box-shadow: 0 4px 10px rgb(22 54 73 / 16%);
    }
    aside nav a.tab-active { translate: -3px 0; }
  }

  :is(button, .site-button, .book-button):not(:disabled):active {
    translate: 0 1px;
  }

  #notification-dialog[open] {
    animation: esdar-dialog-in 160ms ease-out;
  }
}

@keyframes esdar-dialog-in {
  from { opacity: 0; translate: 0 5px; }
  to { opacity: 1; translate: 0 0; }
}
