/* Permanent thumbs up / down feedback (Views/Shared/Partial/Survey/_FeedbackVote.cshtml)
   Colours and weights follow the buying column and site.css: borders as Bootstrap .border,
   secondary text as .text-black-50, grey panels as .bg-light, action button as .btn.bg-green. */
.feedback-vote {
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
    padding: 1.5rem 0;
}

.feedback-vote__context {
    color: rgba(0, 0, 0, .5);
    font-size: .875rem;
    margin-bottom: .5rem;
}

.feedback-vote__question {
    font-size: 1.25rem;
    font-weight: 500; /* as the "Have a question about this product?" heading beside it */
    margin-bottom: 1rem;
}

.feedback-vote__buttons {
    display: flex;
    gap: .75rem;
}

/* At least 44px high so the buttons are easy to tap on mobile */
.feedback-vote__button {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    min-height: 48px;
    padding: .5rem 1.25rem;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: .5rem;
    color: #000;
    font-size: 1.05rem;
    font-weight: 500;
}

.feedback-vote__button:hover:not(:disabled),
.feedback-vote__button:focus-visible {
    border-color: var(--bs-green, #00844D);
}

.feedback-vote__button[aria-pressed="true"] {
    background: var(--bs-light, #eeeeee);
    opacity: 1;
}

.feedback-vote__saved,
.feedback-vote__hint {
    color: rgba(0, 0, 0, .5);
    font-size: .9rem;
}

.feedback-vote__saved {
    margin: .75rem 0 0;
}

.feedback-vote__thanks {
    border-top: 1px solid #dee2e6;
    margin-top: 1rem;
    padding-top: 1rem;
}

.feedback-vote__thanks-title {
    font-size: 1.1rem;
    margin-bottom: .25rem;
}

.feedback-vote__details {
    margin-top: 1.25rem;
    max-width: 480px;
}

.feedback-vote__legend {
    display: block;
    float: none;
    font-size: 1.05rem;
    margin-bottom: .25rem;
}

.feedback-vote__reason {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-height: 48px;
    padding: .5rem 1rem;
    margin-bottom: .5rem;
    background: var(--bs-light, #eeeeee);
    border-radius: .375rem;
    cursor: pointer;
}

.feedback-vote__send {
    min-height: 48px;
    padding: .5rem 1.5rem;
}

/* Inside a card (order confirmation) the card already frames the block, and the question
   is weighted like the card headings ("Delivery & billing details") */
.card .feedback-vote {
    border: 0;
    padding: 0;
}

.card .feedback-vote__question {
    font-weight: 600;
}
