/* Custom styles beyond Tailwind */

@font-face {
  font-family: 'pprightgrotek'; /* You can name this anything */
  src: url('../fonts/PPRightGrotesk-WideMedium.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'spaceGrotesk'; /* You can name this anything */
  src: url('../fonts/SpaceGrotesk-VariableFont_wght.ttf') format('woff');
  font-weight: normal;
  font-style: normal;
}

body{
  font-family: 'pprightgrotek';
}
body p, input, textarea{
  font-family: 'spaceGrotesk';
}
.product-item.selected-product {
  box-shadow: 0 0 0 2px #282a3f;
}

/* Custom checkbox styles */
.product-checkbox {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #e5e7eb;
  border-radius: 50%;
  background-color: white;
  cursor: pointer;
}

.product-checkbox:checked {
  background-color: #f7bf23;
  border-color: #f7bf23;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}

/* Active step indicator */
.step-indicator.active {
  border-color: rgba(255, 255, 255, 0.5);
  background-color: #ffffff00;
}

.step-indicator.active .step-bar {
  opacity: 1;
}

/* Animation for step transitions */
.step-content {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s, transform 0.5s;
}

.step-content.active {
  opacity: 1;
  transform: translateY(0);
}

/* Fade in animation for the form elements */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.5s ease-out forwards;
}

/* Make sure the focus outlines are visible for accessibility */
:focus {
  outline: 2px solid #f7bf23;
  outline-offset: 2px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .step-indicator {
    max-width: 100%;
  }

  .product-item {
    width: 100%;
  }
}

/* Improve touch targets on mobile */
@media (max-width: 640px) {
  .product-checkbox {
    width: 24px;
    height: 24px;
  }

  .product-checkbox:checked {
    background-size: 16px;
  }
}
/* custom css */
.ellipsis-text {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
