/* Design Review Form & it's counterpart Public Review Form & Inactive Review Form Page */
#business-profile-modal-trigger {
    background-color: #2B81E5;
    border-radius: 3px;
    right: 25px;
    top: 10px;
}
.test-mode-banner {
    width: 100%;
    display: flex;
    background-color: #C84802;
    color: white;
    border-radius: 0;
    z-index: 99999;
    position: sticky;
    top: 0;
}
.brand-form-sticky-header {
    position: sticky;
    top: 0;
    z-index: 1000; /* Make sure the header stays on top of other content */
}
.brand-form-header-content-wrapper {
    margin: auto;
    transition: transform 1.5s ease; /* Apply the animation with a smooth transition */
}
.brand-logo {
    max-width: 350px;
    height: 60px;
}
.brand-form-title {
    color: #27282a;
    font-family: "DM Sans", sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.brand-form-description {
    color: #27282a;
    font-family: "DM Sans", sans-serif;
    font-weight: normal;
    font-size: 16px;
    margin-bottom: 0.5rem;
}
.editable-preview-input {
    width: 100%;
    max-width: 600px;
    background: transparent;
    border: none;
    text-align: center;
}
.editable-preview-input:focus-visible {
    outline: none;
    border-bottom: 1px solid #4444;
}
#body {
    /* This min-height breaks the sticky header on scroll, apply it conditionally when page doesn't have data */
    /*min-height: 75vh;*/
}
.dm-sans {
    font-family: "DM Sans", sans-serif;
}
.question-container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 1rem;
    margin-left: auto;
    margin-right: auto;
}
.hoverable-question-container:hover {
    background-color: #eef1f4;
}
/* Show Question Buttons & "Add option" Button when Question Container is hovered. This approach is dependent on DOM structure*/
.hoverable-question-container:hover > .question-buttons-container {
    display: flex;
}
.hoverable-question-container:hover .add-option-btn {
    display: flex;
}
.question-buttons-ghost {
    width: 100%;
    height: 30px;
    position: absolute;
    bottom: -20px;
}
.question-buttons-container {
    width: 120px;
    display: none;
    justify-content: center;
    border-radius: 20px;
    background-color: #eef1f4;
    position: absolute;
    bottom: -15px;
    z-index: 99; /* Stick buttons on top of ghost div to ensure that mouse events are captured by buttons */
}
.question-button-wrapper {
    cursor: pointer;
    display: flex;
    align-items: center;
}
.question-button-icon {
    width: 28px;
    height: 28px;
    padding: 0 5px;
    fill: white;
    color: #444444;
}
.question-button-icon:hover {
    color: #19db69;
    cursor: pointer;
}
.add-option-btn {
    display: none;
    width: 80%;
}
.add-option-icon {
    width: 16px;
    height: 16px;
    color: #444444;
}
.add-option-icon:hover {
    color: #19db69;
    cursor: pointer;
}
/* This style will fix the issue of text pasted in contenteditable element, bringing it's own styles*/
.question > * {
    background-color: initial !important;
    color: initial !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    border: none !important;
}
.question {
    width: calc(95% - 40px); /* 40px is approximate space occupied by asterik in front of question */
    color: #27282a;
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 0;
}
@media screen and (min-width: 640px) {
    .question { width: calc(80% - 40px);}
}
.question:focus-visible {
    padding: 0.25rem;
    outline: none;
    border-bottom: 1px solid #4444;
}
.default-question {
    color: #27282a;
    font-family: "DM Sans", sans-serif;
    font-size: 30px;
    font-weight: 800;
    text-align: center;
}
.is-optional-toggle {
    min-height: 10px;
    position: absolute;
    right: 20px;
    padding-left: 0 !important;
}
.question-required-btn {
    display: flex;
    margin-top: 5px;
    background: none;
    border: none;
    padding: 0 15px;
}
.mandatory-asterik {
    fill: #b4b4b4;
}
.required-fill-style {
    fill: red;
}
.choices {
    width: 95%;
    flex-wrap: wrap;
    margin-bottom: 0.5rem !important;
    color: #444444;
}
/* Styling for options/choices of a question (except for .star-rating) */
.choices > *:not(.star-rating) {
    color: #27282a;
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
}

@media screen and (min-width: 640px) {
    .choices { width: 80%;}
    .option-wrapper-div { width: 80%;}
}
.lordicon-choices {
    /* Since lordicon itself has some whitespace, set negative margin to adjust for it. This will ensure consistent spacing between questions*/
    margin-bottom: -0.75rem !important;
}
.option-wrapper-div {
    display: flex;
    width: 95%;
    margin-bottom: 0.5rem !important;
}
.radio-choice {
    height: 21px;
    width: 21px;
    border: 1px solid #19db69 !important;
}
.checkbox-choice {
    width: 20px;
    height: 20px;
    border-radius: 4px !important;
    border: 1px solid #19db69 !important;
}
.gumrev-radio:checked {
    background-color: #19db69 !important;
}
.gumrev-checkbox:checked {
    background-color: #19db69 !important;
}
.choice-text {
    padding-top: 2px; /* Make text look Vertically center aligned */
}
.multiple-choice-text { /* For labels/options/text OF radio buttons & checkboxes of review form */

}
/* This style will fix the issue of text pasted in contenteditable element, bringing it's own styles*/
.form-check.form-check-custom .form-check-label.option-text > * {
    background-color: initial !important;
    color: initial !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    border: none !important;
}
.form-check.form-check-custom .form-check-label.option-text {
    margin-left: 0;
    padding: 2px 1rem; /* Since .choice-text are editable, add some padding so focus outline doesn't stick on text */
}
.form-check.form-check-custom .form-check-label.option-text:focus-visible {
    outline: none;
    border-bottom: 1px solid #4444;
}
.preview-content-area {
    width: 95%;
    background-color: white;
    margin-left: auto;
    margin-right: auto;
}
@media screen and (min-width: 640px) {
    .preview-content-area { width: 90%;}
}
@media screen and (min-width: 767px) {
    .preview-content-area { width: 75%;}
}
@media screen and (min-width: 1024px) {
    .preview-content-area { width: 60%;}
}
.gray-face {
    color: #969696;
}
.decimal-rating {
    width: 24px;
    height: 24px;
    text-align: center;
    border: 1px solid #19db69;
    border-radius: 50%;
    padding: 4px 0px;
    margin-bottom: 0.5rem; /* keeps some space between ratings when they wrap on new lines */
    line-height: 16px;
    background-color: #eff2f5;
    color: black;
    cursor: pointer;
}
@media screen and (min-width: 640px) {
    .decimal-rating {
        width: 36px;
        height: 36px;
        padding: 10px 0px;
    }
}
.brand-decimal {
    background-color: #19db69;
    color: white !important;
}
.brand-decimal-clicked {
    background-color: #19db69 !important;
    color: white !important;
}
.decimal-rating-bg-brand {
    background-color: #19db69;
}
.star-rating {
    color: #c4c2c2;
    cursor: pointer;
}
.star-rating-gray {
    color: #c4c2c2;
}
.star-rating-brand {
    color: #19db69;
}
.brand-star {
    color: #19db69;
}
.brand-star-clicked {
    color: #19db69 !important;
}
.visually-hidden-input {
    width: 0;
    height: 0;
    visibility: hidden; /* Apple shit would still show radio buttons if they are not hidden via visibility */
}
.lordicon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    cursor: pointer; /* Perhaps this should be somewhere else, as this class is meant to set height & width only */
}
@media screen and (min-width: 640px) {
    .lordicon {
        width: 50px;
        height: 50px;
    }
}
.lordicon:hover {
    background-color: #a4f8c7;
}
.checked-lordicon {
    background-color: #a4f8c7;
}
.share-buttons-container {
    position: fixed;
    left: 1px;
    bottom: 20px;
}
.share-buttons-container .share-btn {
    display: block;
    width: 40px;
    height: 40px;
    left: 0;
    border-radius: 0 0.4em 0.4em 0;
    padding: 0;
    margin-bottom: 0.1em;
    text-align: center;
    line-height: 40px;
    font-size: 17px;
    background: #8e8e93;
    color: #fff;
    position: relative;
    box-sizing: border-box;
    transition: all 250ms;
}
.share-buttons-container .share-btn:hover {
    color: #fff;
    padding-left: 10px;
    width: 50px;
}
#reset-title {
    color: #a1a5b7;
}

/* Validation Errors Styles */
.public-form-error-wrapper {
    width: 80%;
}
.public-form-error-text {
    margin-bottom: 0;
    color: red;
    font-size: 12px;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

/* START:: Review Details Modal */
.initial-cursor {
    cursor: initial;
}
.review-stars {
    font-size: 24px;
}
/* END:: Review Details Modal */

/* overwrite the OverWritten (by custom CSS) Framework styles to their original values */
/* This is basically undo of the atrocities (that have been identified/marked) committed */
.modal-title {
    color: #181c32;
}

.review-button-wrapper {
    display: flex;
    justify-content: center;
}
.review-button {
    display: inline-block;
    min-width: 200px;
    text-align: center;
    color: white;
    border: 0;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
}
.custom-button {
    font-weight: 500;
}
.custom-button:hover {
    color: initial;
    text-decoration: initial !important;
    cursor: pointer;
    opacity: 0.7;
}
