.a-venir-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 16px;
}

.a-venir-subtitle {
  color: #e0e0e0;
  font-size: 1.08rem;
  font-weight: 500;
  margin-top: 10px;
  letter-spacing: 0.02em;
}

.a-venir-loading,
.a-venir-empty {
  color: #888;
  text-align: center;
  padding: 32px 16px;
}

.a-venir-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.a-venir-card {
  background: #17171c;
  border: 2px solid #26262c;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, background 0.2s;
}

.a-venir-card:hover {
  border-color: #3a3a42;
  background: #1a1a1f;
}

.a-venir-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #eee;
  margin: 0 0 8px 0;
}

.a-venir-card-desc {
  font-size: 0.9rem;
  color: #aaa;
  margin: 0 0 16px 0;
  flex: 1;
}

.a-venir-card-btn {
  padding: 10px 16px;
  background: #ff4d8d;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
}

.a-venir-card-btn:hover:not(:disabled) {
  background: #ff6b9d;
}

.a-venir-card-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.a-venir-voted-msg {
  color: #ff8fa3;
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0;
}

.a-venir-login-hint {
  text-align: center;
  color: #888;
  padding: 24px 16px;
  margin-top: 16px;
}

.a-venir-login-hint a {
  color: #ff4d8d;
  text-decoration: none;
}

.a-venir-login-hint a:hover {
  text-decoration: underline;
}

/* Barre de pourcentage sur chaque carte (après vote) */
.a-venir-card-bar {
  position: relative;
  height: 26px;
  margin-top: 12px;
  margin-bottom: 4px;
  background: #26262c;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.2);
}
.a-venir-card-bar-fill {
  height: 100%;
  background: #404048;
  border-radius: 6px;
  transition: width 0.3s ease;
}
.a-venir-card-bar-fill.voted {
  background: linear-gradient(135deg, #ff6b9d 0%, #ff4d8d 100%);
  box-shadow: 0 0 12px rgba(255, 77, 109, 0.5);
}
.a-venir-card-bar-pct {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.8rem;
  font-weight: 600;
  color: #ddd;
  text-shadow: 0 0 4px rgba(0,0,0,0.8);
  pointer-events: none;
}

/* Bouton Changer mon vote */
.a-venir-change-wrap {
  margin-top: 16px;
  text-align: center;
}
.a-venir-change-btn {
  padding: 10px 20px;
  background: transparent;
  color: #ff8fa3;
  border: 2px solid #ff4d8d;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.a-venir-change-btn:hover {
  background: rgba(255, 77, 109, 0.15);
  color: #ffb3c6;
}
