/* Shared FareRide blue, white and green app frame. */
body.app-frame {
  --frame-gutter: 12px;
  box-sizing: border-box;
  margin: var(--frame-gutter);
  min-height: calc(100vh - 2 * var(--frame-gutter));
  padding: 12px;
  border: 4px solid #009ff5;
  border-radius: 12px;
  box-shadow:
    inset 0 0 0 3px #ffffff,
    inset 0 0 0 7px #16bf4a,
    inset 0 0 0 10px #ffffff,
    0 6px 24px rgba(0, 130, 235, .12);
}
/* Keep navigation and app content within the same branded column. */
.app-shell > .app-content-frame {
  box-sizing: border-box;
  width: calc(100% - 24px);
  max-width: 900px;
  margin: 24px auto;
  padding: 24px;
  border: 4px solid #009ff5;
  border-radius: 12px;
  box-shadow:
    inset 0 0 0 3px #ffffff,
    inset 0 0 0 7px #16bf4a,
    inset 0 0 0 10px #ffffff,
    0 6px 24px rgba(0, 130, 235, .12);
}
.app-shell select { min-width: 0; max-width: 100%; }
@media (max-width: 600px) {
  .app-shell > .app-content-frame {
    width: calc(100% - 12px);
    margin: 12px auto;
    padding: 14px;
    border-width: 3px;
    border-radius: 10px;
    box-shadow: inset 0 0 0 2px #ffffff, inset 0 0 0 5px #16bf4a, inset 0 0 0 8px #ffffff;
  }
  body.app-frame {
    --frame-gutter: 6px;
    padding: 10px;
    border-width: 3px;
    border-radius: 10px;
    box-shadow:
      inset 0 0 0 2px #ffffff,
      inset 0 0 0 5px #16bf4a,
      inset 0 0 0 8px #ffffff,
      0 4px 16px rgba(0, 130, 235, .1);
  }
}
@media print {
  body.app-frame,
  body.app-frame.app-shell,
  .app-shell > .app-content-frame {
    width: auto;
    max-width: none;
    margin: 0;
    min-height: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
}

.app-content-frame > main {
  width:100%;
  max-width:none;
  margin:0;
  padding:0;
}
.app-content-frame > header,
.app-frame > header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:12px;
  padding:12px 0 18px;
  margin:0 0 18px;
  background:transparent;
  border-bottom:1px solid #ccd9ea;
}
.app-content-frame > header h1 { margin:0; font-size:22px; }
.app-content-frame > header a { color:#075fd8; font-weight:700; }
