/* Módulo CSS: _modalGlobal.css */
/* =========================================
   Módulo CSS: _modalGlobal.css (Modais de Sobreposição Globais)
========================================= */

#globalModalOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 11000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#globalModalOverlay.active {
  display: block;
  opacity: 1;
}

/* Container do Modal (Invisível, apenas posiciona) */
.modal-container-global {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  z-index: 11001;
  display: none;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Reset total para não conflitar com cards internos */
  background: transparent !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
  width: 90%;
  max-width: 400px;
}

.modal-container-global.modal-active {
  display: flex !important;
  opacity: 1 !important;
  transform: translate(-50%, -50%) scale(1) !important;
}

/* Wrapper interno (Também invisível) */
.modal-content-wrapper {
  width: 100%;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* Base compartilhada do modal de confirmacao com avatar/badge */
.modal-content-wrapper .confirmacao-avatar-wrapper {
  position: relative;
  width: 110px;
  height: 110px;
  margin: 0 auto 20px;
}

.modal-content-wrapper .confirm-level {
  font-family: "Roboto", sans-serif;
  padding-top: 0;
  padding-left: 1px;
}
