/* Loaded by application.css so panel geometry does not depend on rebuilding
 * the Tailwind utility bundle when a new editor is introduced. */
.game-day-editor {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  justify-content: flex-end;
}

.game-day-editor__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(15 23 42 / .55);
}

.game-day-editor__panel {
  position: relative;
  display: flex;
  width: min(100%, 34rem);
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  background: white;
  box-shadow: -1rem 0 3rem rgb(15 23 42 / .25);
}

.game-day-editor__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid #e2e8f0;
  padding: 1.25rem;
}

.game-day-editor__body {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
  padding-bottom: max(1.25rem, env(safe-area-inset-bottom));
}

.game-day-editor__actions {
  position: sticky;
  bottom: -1.25rem;
  display: flex;
  justify-content: flex-end;
  gap: .75rem;
  border-top: 1px solid #e2e8f0;
  background: white;
  padding: 1rem 0;
}

@media (prefers-color-scheme: dark) {
  .game-day-editor__panel,
  .game-day-editor__actions {
    background: #0f172a;
  }

  .game-day-editor__header,
  .game-day-editor__actions {
    border-color: #334155;
  }
}

@media (max-width: 639px) {
  .game-day-editor__panel {
    width: 100%;
  }
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

[x-cloak] { display: none !important; }
