* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family:
        -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
        Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
header {
    background-color: #f7f7f7;
    height: 80px;
    margin-bottom: 10px;
    text-align: center;
    position: fixed;
    width: 100%;
    z-index: 1;
}
h1,
h3 {
    margin-top: 10px;
}
h2 {
    margin-top: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #727275;
}
ul {
    padding-left: 40px;
}
dialog {
    margin: auto;
    width: 90%;
    max-width: 500px;
    min-height: 30dvh;
    border-radius: 5px;
    border: 1px solid #727275;
    padding: 10px;

    p {
        margin-bottom: 20px;
    }

    button {
        background-color: #00398f;
        color: #fff;
        border-radius: 0.25rem;
        border: 0;
        font-weight: 500;
        font-size: 100%;
        width: 100%;
        padding: 0.5rem 1.5rem 0.5rem 1.5rem;

        &:hover {
            cursor: pointer;
            background-color: #0052cc;
        }
    }
}
.myosh-form {
    display: flex;
    flex-direction: column;
    width: 90%;
    max-width: 500px;
    margin: auto;
    margin-bottom: 50px;
    padding-top: 80px;
}
.myosh-form label {
    font-weight: 700;
    margin-bottom: 5px;
    margin-top: 10px;
    display: inline-block;
}
.myosh-form label.required::after {
    content: '*';
    color: #ff0000;
}
.myosh-field {
    margin-bottom: 10px;
    height: 2rem;
    padding: 5px;
    border: 1px solid #e1e1e0;
    display: block;
    width: 100%;
    background-color: white;
}
.radio-button-container {
    display: flex;
    flex-direction: column;
}
.myosh-form input[type='submit'] {
    background-color: #00398f;
    color: #fff;
    border-radius: 0.25rem;
    border: 0;
    font-weight: 500;
    font-size: 100%;
    width: fit-content;
    padding: 0.5rem 1.5rem 0.5rem 1.5rem;
    margin: auto;
    margin-top: 20px;

    &:hover {
        cursor: pointer;
        background-color: #0052cc;
    }
}
.myosh-form input[type='radio'] {
    height: 1.25rem;
    width: 1.25rem;
    margin-right: 5px;
}
@media (max-width: 500px) {
    .radioLabel {
        width: 85%;
    }
}
.myosh-form input[type='checkbox'] {
    height: 1.5rem;
    width: 1.5rem;
}
.myosh-form input[type='radio']:checked,
.myosh-form input[type='checkbox']:checked {
    accent-color: #0052cc;
}
.myosh-form input[type='radio']:hover,
.myosh-form input[type='checkbox']:hover {
    cursor: pointer;
}
.myosh-form .radioLabel {
    font-weight: normal;
    margin-right: 15px;
}
.myosh-form input[type='text']::placeholder,
.myosh-form textarea::placeholder {
    font-size: 0.75rem;
}
#record-posted-message,
#not-authorized-message,
#post-failed-message,
#invalid-file-size {
    display: none;
    width: 90%;
    max-width: 300px;
}
.ui-dialog > .ui-widget-header {
    background: #00398f;
    color: #fff;
}
#submitForm:disabled,
#submitForm[disabled] {
    border: 1px solid #999999;
    background-color: #cccccc;
    color: #666666;
} /* Additional Styling */
label.error {
    color: red;
    font-style: italic;
    padding-left: 5px;
    font-weight: normal;
    float: right;
}
input.error,
select.error,
textarea.error {
    outline: 0.1em solid red !important;
}
.hidden {
    display: none;
}
.file-upload {
    text-align: center;
    display: block;
    width: 100%;
    height: 200px;
    background-color: rgba(0, 57, 143, 0.1);
    border: 2px dashed #0052cc;
    font-weight: bold;
    color: #0052cc;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
}
.file-upload:hover {
    cursor: pointer;
}
.myosh-form .checkboxLabel {
    font-weight: normal;
    margin-bottom: 1rem;
    top: -0.3rem;
    position: relative;
}
.myosh-form input[type='checkbox'] {
    height: 1.5rem;
    width: 1.5rem;
}
input[type='checkbox'].error {
    outline: none !important;
}
#saving-message {
    position: fixed;
    display: none;
    width: 100%;
    height: 100dvh;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.5);
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.loader {
    --color-1: #fff;
    --size: 1px;
    width: calc(48 * var(--size));
    height: calc(48 * var(--size));
    border: calc(5 * var(--size)) solid var(--color-1);
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}
@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
