/* Combined Pharmacy Availability & Price Badge - Highlighted Selling Point */

/* Public/Patient Variant - Green/Blue Theme */
.combined-highlight-badge {
  animation: fadeInUp 0.6s ease-out;
}

.combined-badge-wrapper {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 249, 250, 0.95) 100%);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  box-shadow: 0 2px 10px rgba(25, 135, 84, 0.08), 0 0 0 1px rgba(25, 135, 84, 0.1) inset;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: inline-block;
  width: 100%;
  max-width: 600px;
  border: 1px solid rgba(25, 135, 84, 0.15);
  background-clip: padding-box;
}

.combined-badge-wrapper::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  background: linear-gradient(135deg, rgba(25, 135, 84, 0.15), rgba(63, 120, 224, 0.15));
  border-radius: 12px;
  z-index: -1;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.combined-badge-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: shimmer 3.5s infinite;
  z-index: 0;
}

.combined-badge-wrapper:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 4px 15px rgba(25, 135, 84, 0.12), 0 0 0 1px rgba(25, 135, 84, 0.2) inset;
}

.combined-badge-wrapper:hover::before {
  background: linear-gradient(135deg, rgba(25, 135, 84, 0.25), rgba(63, 120, 224, 0.25));
}

.availability-section,
.price-section {
  position: relative;
  z-index: 1;
}

.availability-section {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 0.75rem;
  flex-wrap: nowrap;
  gap: 0.75rem;
}

.availability-section i {
  font-size: 1.25rem;
  animation: pulse 2s ease-in-out infinite;
  color: #198754;
  flex-shrink: 0;
}

.availability-text {
  font-weight: 600;
  font-size: 0.95rem;
  color: #198754;
  line-height: 1.3;
  flex: 1;
}

.price-section {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(25, 135, 84, 0.12);
}

.price-label {
  font-size: 0.875rem;
  color: #6c757d;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.price-amount-combined {
  font-size: 2rem;
  font-weight: 700;
  color: #3f78e0;
  line-height: 1;
  animation: pricePulse 2s ease-in-out infinite;
  text-shadow: 0 2px 8px rgba(63, 120, 224, 0.3);
  position: relative;
}

.price-amount-combined::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(63, 120, 224, 0.2), rgba(25, 135, 84, 0.2));
  border-radius: 4px;
  animation: priceGlow 2s ease-in-out infinite;
  z-index: -1;
}

.price-vat {
  font-size: 0.75rem;
  color: #6c757d;
  font-weight: 400;
}

/* HCP Variant - Professional Blue/Purple Theme */
.hcp-combined-badge-wrapper {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 249, 250, 0.95) 100%);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  box-shadow: 0 2px 10px rgba(63, 120, 224, 0.08), 0 0 0 1px rgba(63, 120, 224, 0.1) inset;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: inline-block;
  width: 100%;
  max-width: 600px;
  border: 1px solid rgba(63, 120, 224, 0.15);
  background-clip: padding-box;
}

.hcp-combined-badge-wrapper::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  background: linear-gradient(135deg, rgba(63, 120, 224, 0.15), rgba(108, 117, 125, 0.15));
  border-radius: 12px;
  z-index: -1;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hcp-combined-badge-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: shimmer 3.5s infinite;
  z-index: 0;
}

.hcp-combined-badge-wrapper:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 4px 15px rgba(63, 120, 224, 0.12), 0 0 0 1px rgba(63, 120, 224, 0.2) inset;
}

.hcp-combined-badge-wrapper:hover::before {
  background: linear-gradient(135deg, rgba(63, 120, 224, 0.25), rgba(108, 117, 125, 0.25));
}

.hcp-availability-section {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 0.75rem;
  flex-wrap: nowrap;
  gap: 0.75rem;
  position: relative;
  z-index: 1;
}

.hcp-availability-section i {
  font-size: 1.25rem;
  animation: pulse 2s ease-in-out infinite;
  color: #3f78e0;
  flex-shrink: 0;
}

.hcp-availability-text {
  font-weight: 600;
  font-size: 0.95rem;
  color: #3f78e0;
  line-height: 1.3;
  flex: 1;
}

.hcp-price-section {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(63, 120, 224, 0.12);
  position: relative;
  z-index: 1;
}

.hcp-price-amount-combined {
  font-size: 2rem;
  font-weight: 700;
  color: #3f78e0;
  line-height: 1;
  animation: pricePulseHCP 2s ease-in-out infinite;
  text-shadow: 0 2px 8px rgba(63, 120, 224, 0.3);
  position: relative;
}

.hcp-price-amount-combined::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(63, 120, 224, 0.2), rgba(108, 117, 125, 0.2));
  border-radius: 4px;
  animation: priceGlow 2s ease-in-out infinite;
  z-index: -1;
}

/* Animations */
@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

@keyframes pricePulse {
  0%, 100% { 
    transform: scale(1);
    color: #3f78e0;
  }
  50% { 
    transform: scale(1.05);
    color: #198754;
  }
}

@keyframes pricePulseHCP {
  0%, 100% { 
    transform: scale(1);
    color: #3f78e0;
  }
  50% { 
    transform: scale(1.05);
    color: #6c757d;
  }
}

@keyframes priceGlow {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.4; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
  .combined-badge-wrapper,
  .hcp-combined-badge-wrapper {
    padding: 0.875rem 1rem;
    max-width: 100%;
  }
  
  .availability-section,
  .hcp-availability-section {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.625rem;
    text-align: center;
  }
  
  .availability-section i,
  .hcp-availability-section i {
    font-size: 1.25rem;
  }
  
  .availability-text,
  .hcp-availability-text {
    font-size: 0.875rem;
    text-align: center;
  }
  
  .price-section,
  .hcp-price-section {
    gap: 0.375rem;
    padding-top: 0.625rem;
    justify-content: center;
  }
  
  .price-amount-combined,
  .hcp-price-amount-combined {
    font-size: 1.75rem;
  }
  
  .price-label {
    font-size: 0.75rem;
  }
  
  .price-vat {
    font-size: 0.7rem;
  }
}

