.anime-recommendation-wrapper {
      margin: 2rem auto;
      width: 90%;
      max-width: 800px;
      display: flex;
      justify-content: center;
      align-items: center;
    }
    
    .anime-card-container {
      width: 100%;
      background-color: rgba(255, 255, 255, 0.05);
      border-radius: 20px;
      padding: 1.5rem;
      border: 3px solid #ff2929;
      box-shadow: 0 0 20px rgba(255, 52, 41, 0.4);
      display: flex;
      flex-direction: column;
      align-items: center;
      backdrop-filter: blur(10px);
    }
    
    #anime-cards {
      position: relative;
      width: 100%;
      height: 250px;
      margin-bottom: 1rem;
    }
    
    .anime-card {
      position: absolute;
      width: 100%;
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      transition: transform 0.5s ease, opacity 0.5s ease;
    }
    
    .anime-card-carousel {
      position: relative;
      width: 100%;
      height: 100%;
      overflow: hidden;
      border-radius: 12px;
      background-color: #000;
    }
    
    .anime-card-images {
      display: flex;
      width: 100%;
      height: 100%;
      transition: transform 0.4s ease;
    }
    
    .anime-card-image {
      min-width: 100%;
      height: 100%;
      object-fit: contain;
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    }
    
    .anime-card-nav {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0 1rem;
      opacity: 0;
      transition: opacity 0.3s ease;
    }
    
    .anime-card-carousel:hover .anime-card-nav {
      opacity: 1;
    }
    
    .nav-btn {
      background-color: rgba(0, 0, 0, 0.5);
      color: white;
      border: none;
      border-radius: 50%;
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: background-color 0.2s;
      z-index: 10;
    }
    
    .nav-btn:hover {
      background-color: rgba(0, 0, 0, 0.8);
    }
    
    .anime-info-box {
      background-color: rgba(50, 50, 50, 0.9);
      color: #fff;
      border-radius: 12px;
      padding: 1rem;
      margin: 1rem 0;
      width: 90%;
      text-align: center;
    }
    
    .anime-info-box strong {
      font-size: 1.2rem;
      display: block;
      margin-bottom: 0.5rem;
    }
    
    .anime-info-box p {
      margin: 0;
      font-size: 0.9rem;
      line-height: 1.4;
    }
    
    .tinder-buttons {
      width: 100%;
      display: flex;
      justify-content: space-between;
      padding: 0 30%;
      margin-top: 1rem;
    }
    
    .tinder-btn {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      border: none;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: transform 0.2s, background-color 0.2s;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }
    
    .tinder-btn.cross {
      background-color: #ff4458;
    }
    
    .tinder-btn.check {
      background: linear-gradient(135deg, #26de81, #4ecdc4);
      box-shadow: 0 4px 15px rgba(38, 222, 129, 0.3);
      position: relative;
    }
    
    .tinder-btn.check::after {
      content: "❤️ + 📝";
      position: absolute;
      top: -25px;
      left: 50%;
      transform: translateX(-50%);
      font-size: 12px;
      opacity: 0;
      transition: opacity 0.3s ease;
      white-space: nowrap;
      background: rgba(0, 0, 0, 0.8);
      padding: 4px 8px;
      border-radius: 8px;
      color: white;
    }
    
    .tinder-btn.check:hover::after {
      opacity: 1;
    }
    
    .tinder-btn:hover {
      transform: scale(1.1);
    }
    
    .swipe-left {
      transform: translateX(-150%) rotate(-30deg);
      opacity: 0;
    }
    
    .swipe-right {
      transform: translateX(150%) rotate(30deg);
      opacity: 0;
    }

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

    .pulse {
      animation: pulse 0.5s;
    }
    
    .image-indicator {
      position: absolute;
      bottom: 10px;
      left: 0;
      width: 100%;
      display: flex;
      justify-content: center;
      gap: 8px;
    }
    
    .indicator-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background-color: rgba(255, 255, 255, 0.5);
      transition: background-color 0.3s;
    }
    
    .indicator-dot.active {
      background-color: #ff2929;
    }
    .recommendation-source {
      position: absolute;
      top: 10px;
      right: 10px;
      background-color: rgba(0, 0, 0, 0.6);
      color: white;
      padding: 4px 8px;
      border-radius: 10px;
      font-size: 0.8rem;
      z-index: 5;
    }
    
    .loading-indicator {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      height: 100%;
      width: 100%;
    }
    
    .loading-spinner {
      border: 4px solid rgba(255, 255, 255, 0.3);
      border-radius: 50%;
      border-top: 4px solid #ff2929;
      width: 40px;
      height: 40px;
      animation: spin 1s linear infinite;
      margin-bottom: 1rem;
    }
    
    @keyframes spin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }
        .error-message {
          display: flex;
          flex-direction: column;
          align-items: center;
          justify-content: center;
          height: 100%;
          width: 100%;
          color: white;
          text-align: center;
        }
        
        .error-message button {
          margin-top: 1rem;
          background-color: #e0363b;
          color: white;
          border: none;
          padding: 0.5rem 1rem;
          border-radius: 10px;
          cursor: pointer;
        }
        
        .error-message button:hover {
          background-color: #c72b2f;
        }

/* Download section styling */
.download-section {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  padding: 0 20px;
  width: 100%;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border: 2px solid #ea6666;
  border-radius: 30px;
  background: linear-gradient(135deg, #ea6666, #a24b4b);
  color: white;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
  text-decoration: none;
  min-width: 200px;
  max-width: 300px;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.download-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 27, 27, 0.4);
  background: linear-gradient(135deg, #d85a5a, #936b4c);
}

.download-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(243, 104, 80, 0.991);
}

/* Disabled state for download button */
.download-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  background: linear-gradient(135deg, #999, #888);
  border-color: #999;
}

.download-btn:disabled:hover {
  transform: none;
  box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
  background: linear-gradient(135deg, #999, #888);
}

/* Ensure button text is properly styled */
.download-btn span {
  white-space: nowrap;
  font-size: inherit;
  color: inherit;
  line-height: 1;
}

/* Counter styling within button */
.download-btn #docs-count {
  background: rgba(255, 255, 255, 0.3);
  padding: 2px 6px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: bold;
  margin-left: 2px;
}

/* Badge for document count - Global styling */
span#docs-count {
  transition: all 0.2s ease;
  display: inline-block;
}

/* Success notification */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, #4ecdc4, #44a08d);
  color: white;
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3);
  font-weight: 600;
  z-index: 1000;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.3s ease;
}

.notification.show {
  opacity: 1;
  transform: translateX(0);
}

.notification.success {
  background: linear-gradient(135deg, #4ecdc4, #44a08d);
}

.notification.error {
  background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
} 