/* =========================================================
   quote-cta.css
   Reusable ZIP modal styles for Doggo Scoop quote CTA
   ========================================================= */

.zipModalOverlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 9999;
}

.zipModalOverlay.active{
  opacity: 1;
  pointer-events: auto;
}

.zipModalCard{
  background: #fff;
  width: 92%;
  max-width: 420px;
  padding: 36px 28px;
  border-radius: 18px;
  box-shadow: 0 30px 60px rgba(0,0,0,.15);
  position: relative;
  text-align: center;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.zipTitle{
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text, #0F0F0F);
}

.zipSub{
  font-size: 14px;
  margin: 2px 0 22px;
  color: #666;
}

.zipInput{
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #ddd;
  font-size: 16px;
  margin-bottom: 14px;
  transition: all .2s ease;
}

.zipInput:focus{
  border-color: var(--brand, #FFB8E9);
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--brand-rgb, 255,184,233), .15);
}

.zipSubmitBtn{
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: none;
  background: var(--brand, #FFB8E9);
  color: white;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all .2s ease;
}

.zipSubmitBtn:hover{
  filter: brightness(.96);
}

.zipSubmitBtn[disabled]{
  opacity: .7;
  cursor: not-allowed;
}

.zipResult{
  margin-top: 16px;
  font-weight: 600;
  font-size: 14px;
}

.zipClose{
  position: absolute;
  top: 10px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 22px;
  background: none;
  border: none;
  cursor: pointer;
  color: #888;
  transition: background .2s ease, color .2s ease;
}

.zipClose:hover{
  background: rgba(0,0,0,.06);
  color: #555;
}

body.modalOpen{
  overflow: hidden;
}

.zipMascot{
  display: block;
  width: 84px;
  height: auto;
  margin: 10px auto 10px;
  border-radius: 999px;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.12));
}