/*
 * 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.
 */

 @font-face {
  font-family: 'Outfit';
  src: url("Outfit-Regular-274de40b.ttf") format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'WorkSans';
  src: url("WorkSans-Regular-08348043.ttf") format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Add styles for fullscreen dialog */
dialog.fullscreen-dialog {
  border: none;
  background-color: rgba(255, 255, 255, 0.95);
  width: 95vw;
  height: 95vh;
  max-width: 95vw;
  max-height: 95vh;
  padding: 0;
  margin: 0;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  overflow: hidden;
  border-radius: 0.5rem;
}

dialog.fullscreen-dialog::backdrop {
  background-color: rgba(0, 0, 0, 0.8);
}

dialog.fullscreen-dialog iframe {
  width: 100%;
  height: 100%;
  border: none;
  min-height: 85vh;
  display: block;
}

.dialog-content {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
}

.close-dialog {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10000;
  background-color: white;
  border-radius: 9999px;
  padding: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  color: #4B5563;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

.close-dialog:hover {
  background-color: #f3f4f6;
}

/* Ensure dialog is centered */
dialog.fullscreen-dialog[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Polyfill for browsers that don't fully support dialog */
dialog:not([open]) {
  display: none;
}
