/* Event Tickets Styling */
.event-tickets {
  position: relative;
}

.ticket-type {
  transition: all 0.3s ease;
}

.ticket-type:hover {
  background-color: rgba(var(--bs-primary-rgb), 0.05);
  border-radius: 8px;
  padding: 0.5rem;
  margin: -0.5rem;
}

.variant-option {
  transition: all 0.3s ease;
  cursor: pointer;
}

.variant-option:hover {
  background-color: rgba(var(--bs-primary-rgb), 0.1);
  border-color: var(--bs-primary) !important;
}

.ticket-summary {
  background-color: rgba(var(--bs-success-rgb), 0.1);
  border-radius: 8px;
  padding: 1rem;
}

.quantity-controls .btn {
  width: 30px;
  height: 30px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.quantity-controls .btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Modal enhancements */
.modal-content {
  border-radius: 10px;
  border: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.modal-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  background-color: #f8f9fa;
  border-radius: 10px 10px 0 0;
}

.modal-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  background-color: #f8f9fa;
  border-radius: 0 0 10px 10px;
}

/* Alert animations */
.alert {
  animation: slideInFromTop 0.5s ease-out;
}

@keyframes slideInFromTop {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Button state transitions */
.btn {
  transition: all 0.3s ease;
}

.btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn:active {
  transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .variant-option {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 0.5rem;
  }

  .variant-option .variant-action {
    text-align: left !important;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
}

/* Loading states */
.btn.loading {
  position: relative;
  color: transparent !important;
}

.btn.loading::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  margin-left: -8px;
  margin-top: -8px;
  border: 2px solid currentColor;
  border-radius: 50%;
  border-right-color: transparent;
  animation: spin 0.75s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Stock indicator styling */
.text-warning {
  color: #f39c12 !important;
}

.text-danger {
  color: #e74c3c !important;
}

.text-success {
  color: #27ae60 !important;
}

/* Price highlighting */
.text-base-color {
  font-weight: 600;
}

/* Border utilities */
.border-radius-5px {
  border-radius: 5px;
}

.border-light-gray {
  border-color: #e9ecef !important;
}
