/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */



/* Allow light/dark color scheme auto-switching via prefers-color-scheme */
.color-scheme-light-dark {
  color-scheme: light dark;
}

/* iOS Safe Area Support */
.safe-area-top {
  padding-top: env(safe-area-inset-top);
}

.modal-backdrop {
  /* Full screen coverage for modal backdrop - covers everything including safe areas */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  /* No padding - let it cover the entire screen including notch/status bar */
}

/* Watermark Overlay */
.watermark-overlay {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  z-index: 10;
}

.watermark-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-30deg);
  white-space: nowrap;
  font-size: clamp(1rem, 5vw, 2.5rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.35);
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* For dark images, use a slightly brighter watermark */
.watermark-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.05);
  pointer-events: none;
}