/*
 * Shell-only styles.
 *
 * The application ships its own complete stylesheet (assets/app/assets/*.css),
 * which contains every design token, component style, animation and responsive
 * rule from the original project. This file only styles the page shell and the
 * "bundle missing" notice, so it can never override the app's design.
 */

html,
body.wj-app-body {
  margin: 0;
  padding: 0;
  background: #fbf7f2;
}

body.wj-app-page #wpadminbar {
  position: fixed;
}

#wj-app-root {
  min-height: 100vh;
}

.wj-app-notice {
  max-width: 720px;
  margin: 12vh auto;
  padding: 32px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(92, 15, 18, 0.12);
  font-family: "IBM Plex Sans Arabic", system-ui, sans-serif;
  color: #232428;
  text-align: center;
  line-height: 1.9;
}

.wj-app-notice h1 {
  font-size: 22px;
  margin: 0 0 16px;
  color: #a92c28;
}

.wj-app-notice code {
  background: #f4e2e0;
  border-radius: 6px;
  padding: 2px 6px;
  direction: ltr;
  display: inline-block;
}

.wj-app-diagnostic[hidden] {
  display: none;
}

@media print {
  html,
  body.wj-app-body,
  #wj-app-root {
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
  }

  #wpadminbar,
  .wj-app-notice,
  .wj-app-diagnostic {
    display: none !important;
  }
}
