/* ==========================================================================
   GoPawsExpress - UI Components & Interactive Elements
   ========================================================================== */

/* Active State for Pet & Size Selectors */
.pet-btn-pro.active-pet-pro {
  border-color: #0D9488 !important;
  background-color: #F0FDFA !important;
  color: #0B192C !important;
}

.size-btn-pro.active-size-pro {
  border-color: #0D9488 !important;
  background-color: #F0FDFA !important;
  color: #0B192C !important;
}

/* Stepper Indicator Styling */
.stepper-node-active {
  background-color: #0D9488;
  color: #FFFFFF;
  box-shadow: 0 0 0 4px #CCFBF1;
}

.stepper-node-inactive {
  background-color: #E2E8F0;
  color: #64748B;
}

/* Dropdown Menu Animation */
#infoDropdownMenu {
  transform-origin: top right;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Document & Modal Print Enhancements */
@media print {
  body * {
    visibility: hidden;
  }
  #modalInvoice, #modalInvoice *, #modalSPK, #modalSPK * {
    visibility: visible;
  }
  #modalInvoice, #modalSPK {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    background: #FFFFFF;
    box-shadow: none;
  }
  .no-print {
    display: none !important;
  }
}

/* Header Brand Logo Aspect Ratio & Crisp Rendering Safeguard */
.brand-logo-img {
  height: 38px;
  width: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

@media (min-width: 640px) {
  .brand-logo-img {
    height: 42px;
  }
}
