/* Suggestions Page Styles - Modern Dark Theme */

.suggestions-page {
  min-height: calc(100vh - 64px);
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

/* ========== Hero Section ========== */
.suggestions-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  padding: 3.5rem 1rem 2.5rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.suggestions-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(247, 147, 26, 0.2) 0%, transparent 60%);
  pointer-events: none;
  animation: suggestions-pulse-hero 4s ease-in-out infinite;
}

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

.suggestions-hero-content {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.suggestions-icon {
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}

.suggestions-icon-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(247, 147, 26, 0.4) 0%, transparent 70%);
  border-radius: 50%;
  animation: suggestions-glow-pulse 2s ease-in-out infinite;
}

@keyframes suggestions-glow-pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 1; }
}

.suggestions-emoji {
  position: relative;
  font-size: 3rem;
  line-height: 1;
}

.suggestions-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.suggestions-subtitle {
  font-size: 1rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.5;
}

/* ========== Container ========== */
.suggestions-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}

/* ========== Login CTA ========== */
.suggestions-login-cta {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  color: #cbd5e1;
  text-align: center;
  margin-bottom: 1.5rem;
}

.suggestions-login-cta a {
  color: #f7931a;
  font-weight: 600;
  text-decoration: none;
}

.suggestions-login-cta a:hover {
  text-decoration: underline;
}

/* ========== Form ========== */
.suggestion-form {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.suggestion-form__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 1rem;
}

.suggestion-form__errors {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  border-radius: 8px;
  padding: 0.6rem 0.85rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.suggestion-form__field {
  margin-bottom: 0.85rem;
}

.suggestion-form__input,
.suggestion-form__textarea {
  width: 100%;
  background: rgba(10, 10, 10, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  color: #f1f5f9;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.suggestion-form__input::placeholder,
.suggestion-form__textarea::placeholder {
  color: #64748b;
}

.suggestion-form__input:focus,
.suggestion-form__textarea:focus {
  outline: none;
  border-color: #f7931a;
  box-shadow: 0 0 0 3px rgba(247, 147, 26, 0.15);
}

.suggestion-form__textarea {
  resize: vertical;
  min-height: 72px;
}

.suggestion-form__actions {
  display: flex;
  justify-content: flex-end;
}

.suggestion-form__submit {
  background: linear-gradient(135deg, #f7931a 0%, #e07d0a 100%);
  color: #0a0a0a;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  border-radius: 10px;
  padding: 0.7rem 1.5rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.suggestion-form__submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(247, 147, 26, 0.35);
}

/* ========== List ========== */
.suggestions-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.suggestion-card {
  display: flex;
  gap: 1rem;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.suggestion-card:hover {
  border-color: rgba(247, 147, 26, 0.3);
}

.suggestion-body {
  flex: 1;
  min-width: 0;
}

.suggestion-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #f1f5f9;
  margin: 0 0 0.35rem;
  word-wrap: break-word;
}

.suggestion-card-description {
  color: #cbd5e1;
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0 0 0.6rem;
  word-wrap: break-word;
}

.suggestion-card-description p {
  margin: 0 0 0.4rem;
}

.suggestion-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: #64748b;
}

.suggestion-author {
  color: #94a3b8;
  font-weight: 600;
  text-decoration: none;
}

.suggestion-author:hover {
  color: #f7931a;
}

.suggestion-dot {
  color: #475569;
}

/* ========== Vote Widget ========== */
.suggestion-vote {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  flex-shrink: 0;
  min-width: 48px;
}

.suggestion-vote__form {
  margin: 0;
  line-height: 0;
}

.suggestion-vote__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 30px;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: #64748b;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.suggestion-vote__btn:hover {
  background: rgba(148, 163, 184, 0.1);
  color: #cbd5e1;
}

.suggestion-vote__btn--up:hover,
.suggestion-vote__btn--up.suggestion-vote__btn--active {
  color: #22c55e;
  background: rgba(34, 197, 94, 0.12);
}

.suggestion-vote__btn--down:hover,
.suggestion-vote__btn--down.suggestion-vote__btn--active {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.12);
}

.suggestion-vote__score {
  font-size: 1rem;
  font-weight: 800;
  color: #94a3b8;
  min-width: 1.5rem;
  text-align: center;
}

.suggestion-vote__score.is-positive {
  color: #22c55e;
}

.suggestion-vote__score.is-negative {
  color: #ef4444;
}

/* ========== Empty State ========== */
.suggestions-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: #64748b;
}

.suggestions-empty-emoji {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 0.75rem;
}

/* ========== Responsive ========== */
@media (max-width: 600px) {
  .suggestions-title { font-size: 1.75rem; }
  .suggestion-card { padding: 0.9rem 1rem; gap: 0.75rem; }
}
