/*
 * 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.
 */

.deck {
  position: relative;
  min-height: 420px;
}

.deck .card {
  position: relative;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.deck .card video,
.deck .card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 0.75rem;
}

.deck .card--gone {
  opacity: 0;
  transform: translateY(20px);
}

.actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.actions .button {
  flex: 1 1 auto;
}

.badges {
  display: flex;
  gap: 0.5rem;
  margin: 0.5rem 0;
}

.badge {
  background: #fff3cd;
  color: #9c6f00;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  font-size: 0.85rem;
}

.favorites-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.auth-prompt {
  border: 1px solid #e5e7eb;
  padding: 1rem;
  border-radius: 12px;
  margin: 1rem 0;
  background: #f9fafb;
}
