﻿*, *::before, *::after {
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 1rem;
}

body {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    margin: 0 auto;
    background-color: #f4f4f9;
}

.page-shell {
    position: absolute;
    max-width: var(--designWidth); /* Hardcoded layout width */
    max-height: var(--designHeight); /* Hardcoded layout height */
    transform-origin: center; /* Scale from top-center edge */
    display: flex;
    flex-direction: column;
    padding: 20px;
    margin: 20px 7px 20px 4px;
}

h1 {
    padding: 30px 0 0 0px;
    font-size: 2.5rem;
    text-align: left;
    margin: 20px 0 0 0;
    font-weight: bold;
}

#pix {
    border: 3px solid blue;
    border-radius: 8px;
    height: 2em;
    width: auto;
    vertical-align: baseline;
}

input, button, select, textarea {
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 1rem;
}

button {
    border-radius: 10px;
}

.selectionTainer {
    margin: 10px 0px;
    width: auto;
}

select {
    width: auto;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 5px;
}

.progCompletedDiv {
    width: 100%;
}

#progCompleted {
    padding: 10px 0px 5px 0px;
    appearance: none; /* Removes default browser styling */
    -webkit-appearance: none;
    width: 100%;
    height: 20px;
}

    /* Styles the track (background) */
    #progCompleted::-webkit-progress-bar {
        background-color: #e0e0e0;
        border-radius: 10px;
    }

    /* Styles the fill bar for WebKit browsers (Chrome, Safari, Edge) */
    #progCompleted::-webkit-progress-value {
        background-color: #04AA6d; /*#3498db;*/
        border-radius: 10px;
        transition: width 0.3s ease; /* Smooth transition when value changes */
    }

    /* Styles the fill bar for Firefox */
    #progCompleted::-moz-progress-bar {
        background-color: #3498db;
        border-radius: 10px;
    }

.feedback {
    position: absolute;
    width: fit-content;
    padding: 10px;
    right: 0px;
    background-color: mediumseagreen;
    height: fit-content;
    visibility: hidden;
    z-index: 10;
    border-radius: 10px;
    color: #ffffff;
}

.feedbackArea {
    position: relative;
    width: 480px;
    margin: 10px 0px 20px 0px;
}

.wordbutton {
    width: fit-content;
    padding: 10px 15px;
    margin: 5px 10px;
}

.buildanswer {
    position: absolute;
    left: 0px;
    top: 0px;
    padding: 0px;
    min-height: 20px;
    border-bottom: 2px solid black;
    width: 100%;
}

.isolatedWords {
    height: auto;
    width: 480px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 20px 0 0 0;
}

.next-container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.btnNext {
    height: 4em;
    border-radius: 10px;
    background-color: #1a9b48; /* #3498db;*/
    font-weight: bold;
    color: #ffffff;
}

#selectExercise:focus {
    border-color: #378add;
    box-shadow: 0 0 0 2px rgba(55, 138, 221, 0.15);
}

.error-message {
    color: red;
    min-height: 20px;
    margin: 0px;
    width: 480px;
    display: inline-block;
}
