﻿.feedback-widget {
    width: fit-content;
    margin: auto;
}

.feedback-wrapper label,
.thankyou-message {
    font-family: jaf-bernino-sans, sans-serif !important;
    font-size: 1.125rem;
}

/* HELPFUL? BUTTONS */
.vote-container {
    display: flex;
    gap: 24px;
    margin-bottom: 40px;
    align-items: center;
    width: fit-content;
    flex-wrap: wrap;
    justify-content: center;
}

.dark-blue-layout .vote-container {
    margin: 20px 0;
}

.vote-container p {
    margin: 0;
    font-weight: bold;
    text-align: center;
}

.yesno-buttons {
    display: flex;
    gap: 24px;
}

.feedback-widget button,
.faq-feedback button {
    padding: 0.75em 1.5em;
    border: 2px solid #0089cf;
    cursor: pointer;
    background-color: white;
    min-width: 60px;
    align-items: center;
    justify-content: center;
    transition: ease-in 0.1s;
    color: #0089cf;
    display: flex;
}

.dark-blue-layout .feedback-widget button,
.dark-blue-layout .faq-feedback button {
    border: 2px solid white;
    background-color: transparent;
    color: white;
}

.vote-container .material-icons {
    color: #0089cf;
    font-size: 18px;
    margin-right: 6px;
    margin-top: -2px;
}

.dark-blue-layout .vote-container .material-icons {
    color: white;
}

.feedback-widget button:hover,
.faq-feedback button:hover,
.no-button.selected {
    background-color: #0089cf;
    color: white;
}

.dark-blue-layout .feedback-widget button:hover,
.dark-blue-layout .faq-feedback button:hover,
.dark-blue-layout .no-button.selected {
    background-color: white;
    color: #0089cf;
}

.dark-blue-layout .feedback-widget .submit-button:hover {
    color: #faa634;
}

.feedback-widget button:hover .material-icons,
.faq-feedback button:hover .material-icons,
.no-button.selected .material-icons {
    color: white;
}

.dark-blue-layout .feedback-widget button:hover .material-icons,
.dark-blue-layout .faq-feedback button:hover .material-icons,
.dark-blue-layout .no-button.selected .material-icons {
    color: #0089cf;
}


/* FEEDBACK BOX */

.feedback-wrapper {
    display: none;
    margin-bottom: 40px;
}

.dark-blue-layout .feedback-wrapper {
    margin-bottom: 20px;
}

.feedback-wrapper p, .feedback-wrapper label {
    margin-bottom: 8px;
}

.feedback-wrapper .information-textarea {
    width: 100%;
    min-height: 100px;
    margin-bottom: 12px;
    border-radius: 4px;
    transition: 0.1s ease-in;
    padding: 8px 12px;
}

.feedback-wrapper .information-textarea:focus,
.feedback-wrapper .information-textarea:focus-visible {
    border: 1px solid #0089cf;
    outline: none;
    box-shadow: 0px 0px 0px 3px rgba(0,144,237,.4);
}


/* SUBMIT BUTTONS */

.submit-buttons {
    display: flex;
    justify-content: center;
    margin-top: 8px;
}

.dark-blue-layout .submit-buttons .submit-button {
    border: 2px solid #faa634;
    background-color: #faa634;
    color: black;
}

.submit-buttons .request-button {
    color: #f29f2f;
    border-color: #f29f2f;
    display: none;
}

.submit-buttons .request-button:hover {
    color: white;
    background-color: #f29f2f;
}


/* THANK YOU */

.thankyou-message {
    display: none;
    margin: auto;
    margin-bottom: 60px;
    padding: 20px;
    background-color: transparent;
    text-align: center;
}

.dark-blue-layout .thankyou-message {
    color: white;
    margin-bottom: 0;
}


/* FAQ STYLES */

.faq-feedback {
    padding: 32px 10%;
    margin: 0 -1em 1em;
    background: #cce5f4;
}

.accordion__list-panel .faq-feedback:last-child {
    margin-bottom: -1em;
}

.sflistItemContent.sfcontent.sflistItemContentExp .faq-feedback:last-child {
    margin-bottom: -10px;
}

.faq-feedback .vote-container,
.faq-feedback .feedback-wrapper {
    margin-bottom: 0;
    width: 100%;
}

.faq-feedback .feedback-wrapper label input {
    margin-right: 4px;
}

.faq-feedback .thankyou-message {
    margin: 0;
    padding: 0;
    background-color: #cce5f4;
}


/* SCREEN SIZES */

@media only screen and (max-width: 720px) {
    .faq-feedback .vote-container {
        gap: 12px;
    }
}

@media only screen and (max-width: 600px) {

    .feedback-widget {
        padding: 0 40px;
    }

        .feedback-widget .vote-container {
            gap: 12px;
        }

    .thankyou-message {
        width: 250px;
    }
}

@media only screen and (max-width: 400px) {

    .feedback-widget {
        padding: 0 20px;
    }

    .yesno-buttons {
        gap: 12px;
    }

    .thankyou-message {
        width: 100%;
    }
}
