/* Custom styles for De Griferias */

/* Price history chart customizations */
.price-chart {
    height: 300px;
    width: 100%;
  }
  
  /* Product gallery thumbnails */
  .product-thumbnail {
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
  }
  
  .product-thumbnail:hover,
  .product-thumbnail.active {
    border-color: #3b82f6; /* Tailwind blue-500 */
  }
  
  /* Custom spinner for loading states */
  .spinner {
    width: 40px;
    height: 40px;
    margin: 20px auto;
    border: 4px solid rgba(59, 130, 246, 0.2); /* Tailwind blue-500 with opacity */
    border-top-color: #3b82f6; /* Tailwind blue-500 */
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
  /* Custom styles for price badges */
  .price-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 6px 10px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
    z-index: 10;
  }
  
  .discount-badge {
    background-color: #ef4444; /* Tailwind red-500 */
    color: white;
  }
  
  .best-price-badge {
    background-color: #10b981; /* Tailwind green-500 */
    color: white;
  }
  
  /* Custom pagination styling */
  .pagination-link {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
  }
  
  .pagination-link:hover {
    background-color: #e5e7eb; /* Tailwind gray-200 */
  }
  
  .pagination-link.active {
    background-color: #3b82f6; /* Tailwind blue-500 */
    color: white;
  }
  
  /* Lead form styling */
  .lead-form input:focus,
  .lead-form textarea:focus,
  .lead-form select:focus {
    border-color: #3b82f6; /* Tailwind blue-500 */
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25); /* Tailwind blue-500 with opacity */
  }
  
  /* Admin dashboard card hover effect */
  .admin-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .admin-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  }
  
  /* Generic utility classes */
  .transition-all {
    transition: all 0.3s ease;
  }
  
  .sticky-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background-color: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  }