/* Awqaty website embed widget */

.awqaty-inline-widget {
  position: relative;
  min-width: 320px;
  height: 700px;
  overflow: hidden;
}

.awqaty-inline-widget iframe,
.awqaty-overlay-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #fff;
}

.awqaty-popup-text {
  cursor: pointer;
  text-decoration: underline;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
}

.awqaty-badge-widget {
  position: fixed;
  z-index: 999999;
  right: 20px;
  bottom: 20px;
  left: auto;
  max-width: calc(100vw - 40px);
}

.awqaty-badge-widget--left {
  right: auto;
  left: 20px;
}

.awqaty-badge-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 50px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.awqaty-badge-btn:hover,
.awqaty-badge-btn:focus {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  outline: none;
}

.awqaty-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  box-sizing: border-box;
  background: rgba(15, 23, 42, 0.55);
}

.awqaty-overlay.is-open {
  display: flex;
}

.awqaty-overlay-panel {
  position: relative;
  width: min(100%, 1000px);
  height: min(90vh, 720px);
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
}

.awqaty-overlay-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.awqaty-overlay-close:hover,
.awqaty-overlay-close:focus {
  background: rgba(15, 23, 42, 0.9);
  outline: none;
}

body.awqaty-embed-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .awqaty-overlay {
    padding: 0;
  }

  .awqaty-overlay-panel {
    width: 100%;
    height: 100%;
    border-radius: 0;
  }
}
