/* Import Inter font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');

/*----- custom styles -----*/
.star-rating {
    display: flex;
    justify-content: flex-end;
    direction: rtl;
}

.star-rating input {
    display: none;
}

.star-rating label {
    cursor: pointer;
    margin-right: 8px;
}

.star-rating label img {
    width: 28px;
    height: 28px;
}

.star-rating input:checked ~ label img,
.star-rating label:hover img,
.star-rating label:hover ~ label img {
    content: url('favorite-filled-yellow-16.svg');
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    background-color: #131416;
    color: #fff;
    font-family: Inter, sans-serif;
    font-size: 12px;
}

.page-container {
    display: flex;
    flex-direction: column;
    flex: 1;
    max-width: 700px;
    margin: 0 auto; 
    width: 100%; 
}

.content-wrap {
    flex: 1;
}

.feedback-container {
    width: auto;
    margin: 35px;
    padding: 0px;
    padding-top: 0px;
    background-color: #131416;
    border-radius: 0px;
}

h2 {
    color: #fff;
}

h3 {
    font-size: 16px;
    font-weight: 600;
    margin-top: 5px;
    margin-bottom: 50px;
}

.questions {
    margin-top: 34px; 
}

.questions p {
    margin: 16px 0;
}

textarea {
    background-color: #333;
    color: #fff;
    border: none;
    width: calc(100% - 20px); 
    padding: 5px;
    margin-bottom: 0px; 
    border-radius: 0px;
    resize: none;
    overflow: auto;
    scrollbar-color: #555 #333; 
    scrollbar-width: thin;
}

/* Custom scrollbar styling for Internet Explorer */
textarea {
    scrollbar-face-color: #555;
    scrollbar-track-color: #333;
    scrollbar-arrow-color: #555;
    scrollbar-shadow-color: #333;
    scrollbar-highlight-color: #333;
    scrollbar-3dlight-color: #333;
    scrollbar-darkshadow-color: #333;
}

/* Apply Inter font to textarea placeholder */
textarea::-webkit-input-placeholder {
    font-family: 'Inter', sans-serif;
    color: #727272; 
}

textarea:-moz-placeholder {
    font-family: 'Inter', sans-serif;
    color: #727272; 
}

textarea::-moz-placeholder {
    font-family: 'Inter', sans-serif;
    color: #727272; 
}

textarea:-ms-input-placeholder {
    font-family: 'Inter', sans-serif;
    color: #727272; 
}

textarea.freeform-feedback:focus {
    border: none;
    outline: none;
}

.button-submit {
    background-color: #0085FF;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 8px 35px;
    cursor: pointer;
    font-family: 'Inter';
    font-size: 12px;
}

.button-submit:disabled {
    background-color: rgb(126, 126, 126);
    cursor: not-allowed;
}

.button-submit:hover:not(:disabled) {
    background: #0065C2;
}

.thank-you {
    display: none;
    text-align: left; 
    font-size: 1em; 
    margin-left: 0px;
    display: flex;
    align-items: center;
}

.thank-you.hidden {
    display: none;
}

.thank-you.visible {
    display: flex;
}

.checked-icon {
    width: 16px; 
    height: 16px;
    margin-right: 10px;
}

.freeform-feedback {
    width: calc(100% - 20px); 
    height: 220px; 
    margin-bottom: 0px; 
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    background-color: #414141;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 0px;
    resize: none;
    overflow: auto;
    scrollbar-color: #555 #333; 
    scrollbar-width: thin;
}

.progress {
    width: calc(100%); 
    background-color: #0085FF;
    height: 2px;
    margin-bottom: 35px;
}

.progress-bar {
    width: 0;
    height: 100%;
    background-color: rgb(47, 0, 255);
}

.submit-container {
    display: flex;
    justify-content: flex-end; 
    align-items: center;
}

support {
    padding: 0px 0px 30px 10px;
    font-size: 11px; 
    color: rgb(102, 102, 102);
    padding-left: 35px;
}

footer {
    font-size: 11px; 
    color: rgb(102, 102, 102);
    margin-bottom: 10px;
    padding: 0px 0px 0px 35px; 
    text-align: left;
    display: block;
    unicode-bidi: isolate;
}

footer a, support a {
    color: rgb(102, 102, 102); 
    /*text-decoration: none;*/
}

footer a:visited, support a:visited {
    color: rgb(102, 102, 102);
}

.header-content {
    display: flex;
    align-items: center;
}

#logo {
    width: 200px; 
    height: auto;
    margin-right: 10px;
}

#feedback-title {
    margin: 0;
}

.footer-line {
    border: none;
    border-top: 1px solid #2e2e2e; 
    margin: 0 35px 10px 35px; 
}

/* Fallback for older browsers */
html, body {
    height: 100%;
}

.page-container {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.content-wrap {
    flex: 1;
}

.hidden {
    display: none;
}

/* Right justify footer and support elements for modern browsers */
body.modern-browser footer,
body.modern-browser support {
    text-align: right;
    padding-right: 35px;
}