/* /views/css/popup.css */

/* Wrapper: hidden by default; becomes flex when .is-visible is added */
.adxms-popup-wrap {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100vh;
  z-index: 9999999999;
  justify-content: center;
  align-items: center;
  background: transparent;
}

.adxms-popup-wrap.is-visible {
  display: flex;
}

.adxms-popup-inner {
  position: relative;
  min-width: fit-content;
  min-height: 200px;
  background: transparent;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
}

.adxms-popup-toprow {
  display: flex;
  justify-content: space-between;
  align-items: end;
}

.adxms-popup-brand {
  width: max-content;
  font-family: Arial, sans-serif;
  color: #ff0000;
  font-size: 12px;
  background: #fff;
  padding: 2px 8px;
  border-radius: 4px 4px 0 0;
  box-shadow: 0 -3px 3px rgba(0, 0, 0, 0.2);
}

.adxms-brand-link {
  color: #206cd7;
  text-decoration: none;
}

.adxms-popup-close {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 20px; height: 20px;
  background: #000; color: #fff;
  border: 1px solid #000;
  cursor: pointer;
  font-weight: 700;
  line-height: 20px;
  padding: 0;
  border-radius: 2px;
}

.adxms-popup-slot {
  width: fit-content;
  padding: 0;
  border-radius: 2px;
  overflow: hidden;
}
