/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

@import url("/assets/toast-aa3c1896.css");

/* Pure Tailwind 4 - No custom CSS needed */

/* Hero Section - Optimized Height */
.hero-section-container {
  min-height: 500px !important;
  padding-top: 120px !important;
  padding-bottom: 80px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

@media screen and (min-width: 768px) {
  .hero-section-container {
    min-height: 600px !important;
    padding-top: 140px !important;
    padding-bottom: 100px !important;
  }
}

/* Desktop breakpoint - ensure proper spacing */
@media (min-width: 1024px) {
  .hero-section-container {
    min-height: 650px !important;
    padding-top: 160px !important;
    padding-bottom: 120px !important;
  }
}

/* Pure Tailwind 4 handles all responsive and accessibility styles */

/* Corrupted Data Alert */
[data-testid="corrupted-data-alert"] {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

[data-testid="corrupted-data-alert"] strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #991b1b !important;
  white-space: normal;
  word-wrap: break-word;
  overflow: visible;
}

[data-testid="corrupted-shop-library"] {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

[data-testid="corrupted-shop-library"] p {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: #991b1b !important;
  white-space: normal;
  word-wrap: break-word;
  overflow: visible;
}

/* Report Issue Button + Dropdown */
.report-false-positive-wrapper {
  position: relative;
  margin-top: 0.5rem;
}

.report-issue-btn {
  position: static;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  cursor: pointer;
  padding: 0.35rem 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 9999px;
  transition: all 0.2s ease;
  color: #18181b;
  box-shadow: none;
}

.report-issue-btn:hover {
  background-color: #f4f4f5;
  border-color: #d4d4d8;
}

.report-issue-btn:focus {
  outline: 2px solid #18181b;
  outline-offset: 2px;
}

.report-issue-btn:active {
  background-color: #e4e4e7;
}

.report-flag-icon {
  font-size: 0.85rem;
  line-height: 1;
}

.report-button-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #3f3f46;
  white-space: nowrap;
  letter-spacing: 0;
}

.report-dropdown {
  position: absolute;
  left: 0;
  top: calc(100% + 0.6rem);
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1rem;
  box-shadow: 0 16px 40px rgba(24, 24, 27, 0.12);
  width: min(340px, 90vw);
  z-index: 20;
}

.report-dropdown-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.report-dropdown-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

.report-confidence-score {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #6b7280;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  padding: 0.35rem 0.6rem;
  border-radius: 0.5rem;
}

.report-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.report-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.report-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #52525b;
}

.report-textarea {
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  color: #111827;
  resize: vertical;
  min-height: 90px;
}

.report-textarea:focus {
  outline: 2px solid #18181b;
  outline-offset: 2px;
}

.report-form-actions {
  display: flex;
  gap: 0.5rem;
}

.report-submit-btn {
  flex: 1;
  background: #18181b;
  color: #ffffff;
  border: none;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.report-submit-btn:hover {
  background: #0f0f11;
}

.report-cancel-btn {
  flex: 1;
  background: #f4f4f5;
  color: #18181b;
  border: 1px solid #e5e7eb;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.report-cancel-btn:hover {
  background: #e4e4e7;
}

/* Hidden shop cards for pagination */
.shop-card.hidden {
  display: none !important;
}

/* Ticker Indicator Animations */
[data-ticker-target="indicator"] {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

[data-ticker-target="indicator"].bg-blue-600 {
  animation: pulseBright 1s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

@keyframes pulseBright {
  0%, 100% {
    opacity: 0.8;
  }
  50% {
    opacity: 1;
  }
}
