/* Song feedback (components/song-feedback.njk), on every AI Album song page.
   Thumbs up or down after the lyrics; a thumbs down opens the "what didn't
   work" form. The buttons are the site's blue buttons (ee-btn.css); the one
   chosen gets a check mark, drawn here and kept out of the accessible name,
   since aria-pressed already says it. Fields use the shared three-band focus
   ring in ee-btn.css. */

.ee-album-feedback {
    max-width: 720px;
    margin: 48px auto 0;
    padding: 32px 0 48px;
    border-top: 2px solid var(--ee-black);
    font-family: 'Lato', sans-serif;
}

.ee-album-feedback h2 {
    margin: 0 0 16px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    text-align: start;
    color: #000;
}

.ee-sf-votes {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
}

/* The thumb: a solid geometric glyph in the label's color, so it follows the
   button through hover, focus and forced colors. */
.ee-sf-icon {
    flex: none;
    width: 1.15em;
    height: 1.15em;
    margin-right: 0.5em;
    fill: currentColor;
    vertical-align: -0.15em;
}

.ee-sf-vote[aria-pressed="true"]::after {
    content: "\2713" / "";
    margin-left: 0.5em;
    font-weight: 900;
}

.ee-sf-status {
    min-height: 1.6em;
    margin: 16px 0 0;
    font-size: 18px;
    line-height: 1.6;
    color: var(--ee-black);
}

.ee-sf-status.is-error {
    color: #B00020;
}

.ee-sf-why {
    margin-top: 8px;
}

.ee-sf-why p {
    margin: 0 0 20px;
}

.ee-sf-why label {
    display: block;
    margin-bottom: 6px;
    font-size: 18px;
    font-weight: 700;
    color: var(--ee-black);
}

/* How many characters so far, against the 10 needed and the 500 allowed. */
.ee-sf-count {
    display: block;
    margin-top: 6px;
    font-size: 16px;
    color: #4a4a4a;
}

.ee-sf-why textarea {
    box-sizing: border-box;
    width: 100%;
    padding: 10px 12px;
    border: 2px solid var(--ee-black);
    border-radius: 8px;
    font: 18px/1.5 'Lato', sans-serif;
    color: #000;
    background: #fff;
}

@media (max-width: 680px) {
    .ee-album-feedback {
        margin-inline: 20px;
    }
}
