/* OCD Vote Box — community casino voting ([ocd_vote_box]).
   Styled to match the review-page card language (table.tabelle.no-caption):
   white card with the soft top gradient, #eef0f2 border + 6px radius,
   #dae4f0 caption-style title plate, 15px body font, centered on the page. */

.ocd-vote-box {
  width: 100%;
  max-width: 480px;
  margin: 40px auto;
  padding: 20px;
  box-sizing: border-box;
  background: #fff linear-gradient(to bottom, #f4f8fd 0%, #ffffff 100%) no-repeat top center / auto 100px;
  border: 1px solid #eef0f2;
  border-radius: 6px;
  box-shadow: 0 1px 13px rgba(0, 0, 0, .03);
  color: #343434;
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
}

/* Title — styled like the .tabelle caption plate */
.ocd-vote-title {
  background: #dae4f0;
  margin: -20px -20px 20px;
  padding: 14px 20px;
  border-radius: 5px 5px 0 0;
  font-size: 20px;
  line-height: 1.1;
  font-weight: 700;
  color: #343434;
}

.ocd-vote-loading,
.ocd-vote-hint {
  font-size: 13px; color: #6e6e6e;
}

.ocd-vote-score-row {
  display: flex; align-items: center; justify-content: center; gap: 14px;
}

.ocd-vote-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: #f7f9fc; border: 1px solid #dae4f0; border-radius: 6px;
  padding: 8px 16px; font-size: 15px; font-weight: 700; color: #343434;
  cursor: pointer; transition: all 0.2s;
}
.ocd-vote-btn:hover { background: #eef3fa; transform: scale(1.04); }
.ocd-vote-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.ocd-vote-up.selected { border-color: #4caf50; background: rgba(76, 175, 80, 0.12); }
.ocd-vote-down.selected { border-color: #e53935; background: rgba(229, 57, 53, 0.1); }
.ocd-vote-btn:focus-visible { outline: 2px solid #5387d0; outline-offset: 2px; }

.ocd-vote-score {
  min-width: 80px;
  font-size: 22px; font-weight: 700; color: #1b1f36;
}
.ocd-vote-score span {
  display: block; font-size: 10px; font-weight: 500;
  letter-spacing: 1px; text-transform: uppercase; color: #6e6e6e;
}

.ocd-vote-form { margin-top: 16px; text-align: left; }
.ocd-vote-form-label {
  font-size: 13px; font-weight: 700;
  color: #343434; margin-bottom: 4px;
}
.ocd-vote-form select,
.ocd-vote-form textarea {
  width: 100%; box-sizing: border-box;
  background: #fff; border: 1px solid #dae4f0; border-radius: 6px;
  padding: 8px 10px; font-size: 15px; font-family: inherit;
  color: #343434; margin-bottom: 10px;
}
.ocd-vote-form select:focus,
.ocd-vote-form textarea:focus { border-color: #5387d0; outline: none; }
.ocd-vote-form textarea { min-height: 64px; resize: vertical; }

.ocd-vote-comment-hint {
  font-size: 12px; color: #6e6e6e; line-height: 1.4;
  margin: -4px 0 12px;
}

.ocd-vote-submit {
  display: block; width: 100%;
  background: linear-gradient(135deg, #fe7146 0%, #fe7146 60%, #e05438 100%);
  color: #fff; font-weight: 700; font-size: 15px; font-family: inherit;
  padding: 10px; border: none; border-radius: 5px; cursor: pointer;
}
.ocd-vote-submit:hover { opacity: 0.9; }
.ocd-vote-submit:disabled { opacity: 0.4; cursor: not-allowed; }

.ocd-vote-msg { margin-top: 10px; font-size: 13px; font-weight: 700; }
.ocd-vote-msg--ok { color: #2e7d32; }
.ocd-vote-msg--err { color: #e53935; }

@media (max-width: 560px) {
  .ocd-vote-box { margin: 24px auto; max-width: calc(100vw - 40px); }
}

/* Subtitle under the Community-Bewertung title plate */
.ocd-vote-subtitle {
  margin: -8px 0 16px;
  text-align: center;
  font-size: 15px;
  color: #343434;
}
