:root {
  --popup-primary-color: #13ba6e !important;
  --popup-secondary-color: #e2fff2 !important;
  --popup-font-family: 'DM Sans', sans-serif !important;
}

.iqglass-popup-overlay {
  overflow: hidden !important;
  width: 100% !important;
  height: 100% !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  z-index: 9998 !important;
  background-color: rgba(0, 0, 0, 0.8) !important;
  display: none;
  justify-content: center !important;
  align-items: center !important;
  font-family: var(--popup-font-family) !important;
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 20px !important;
}

.iqglass-popup-overlay.show {
  opacity: 1;
}

.iqglass-popup-overlay.hide {
  opacity: 0;
}

.iqglass-popup-wrapper {
  display: flex;
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  max-width: 700px !important;
  width: 500px;
  height: 500px;
  align-items: end;
  z-index: 9999 !important;
  position: relative !important;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.iqglass-popup-overlay.show .iqglass-popup-wrapper {
  transform: translateY(0);
}

.iqglass-popup-overlay.hide .iqglass-popup-wrapper {
  transform: translateY(100%);
}

.iqglass-popup-bgimage {
  position: absolute;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  background-image: url('//iqglass.ba/wp-content/uploads/2024/03/klizna-tus-kabina-1.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
  top: 0 !important;
  left: 0 !important;
  z-index: 0 !important;
}

.iqglass-popup-content {
  padding: 24px !important;
  z-index: 3 !important;
  color: white;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 32px !important;
  width: 100%;
}

.iqglass-popup-content h2 {
  margin: 0 !important;
  margin-bottom: 12px !important;
  font-size: 28px !important;
  font-weight: bold !important;
  color: white;
}

.iqglass-popup-button {
  background-color: var(--popup-primary-color) !important;
  color: white !important;
  border: none !important;
  padding: 12px 24px !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  font-size: 16px !important;
  font-weight: bold !important;
  text-align: center !important;
  text-decoration: none !important;
  display: inline-block !important;
  transition: background-color 0.3s ease !important;
}

.iqglass-popup-close {
  background-color: white;
  padding: 10px;
  border-radius: 10px;
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 10000 !important;
  border: none;
  outline: none;
  cursor: pointer !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  pointer-events: auto !important;
}

.iqglass-popup-button:hover {
  background-color: #0fa85a !important;
}

.iqglass-popup-button-wrapper {
  display: flex !important;
  justify-content: space-between;
}

.iqglass-popup-bg-blur {
  position: absolute;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 50%;
  z-index: 2;
  background: linear-gradient(
    to top,
    rgb(41, 40, 40),
    rgb(41, 40, 40, 0)
  ) !important;
  backdrop-filter: blur(5px) !important;
}

/* override  
.iqglass-popup-overlay {
  display: flex !important;
  opacity: 1 !important;
}

.iqglass-popup-wrapper {
  transform: translateY(0) !important;
}

*/
