/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */
* {
    /* make transparent link selection, adjust last value opacity 0 to 1.0 */
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

body {
    -webkit-touch-callout: none;
    -webkit-text-size-adjust: none;
    -webkit-user-select: none;
    user-select: none;
    background-color:#E4E4E4;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: black;
    margin: 0;
    /* Padding to avoid the "unsafe" areas behind notches in the screen */
    padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
    width:100%;
}

#app {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 8px;
    padding-right: 8px;
}

h1 {
    text-align:center;
}

input[type="checkbox"] {
    --size: 16px;
    width: var(--size);
    height: var(--size);
    position: relative;
    top: 2px;
}

/* .checkbox {
    --size: 16px;
    display: inline-block;
    width: var(--size);
    height: var(--size);
    background-color: white;
    border-radius: 2px;
    margin-right: 7px;
    position: relative;
    top: 2px;
    border: 1px solid gray;;
}

.checkbox-root:active .checkbox {
    border-color: #a3a3a3;
}

@media (hover: hover) {
    .checkbox-root:hover .checkbox {
        background-color: #f2f2f2;
    }
} */

/* .checked {
    background-image: url('/images/checkmark-blue.svg');
    background-size: contain;
}

.checkbox-label {
    padding-bottom: 0;
} */

input {
    background-color: white;
}

.menu {
    list-style-type: none;
}

.menu-item {
    font-size: large;
    padding: 5px;
    height: 40px;
    line-height: 40px;
    background-color: white;
    border: 1px solid black;
    cursor: pointer;
    margin-bottom: 10px;
    border-radius: 6px;
}

.bucket-list {
    display: flex;
    flex-wrap: wrap;
}

.bucket-item {
    --height: 32px;
    height: var(--height);
    line-height: var(--height);
    /* border: 1px solid black; */
    width: 100px;
}

.exercice-select {
    font-size: large;
    margin-bottom: 10px;
}

.header-button {
    -webkit-user-select: none;
    user-select: none;
    --height: 36px;
    font-size: var(--height);
    line-height: var(--height);
    height: var(--height);
    width: var(--height);
    text-align: center;
    vertical-align: middle;
    margin-right: 15px;
    border: 2px solid black;
    border-radius: 5px;
    cursor: pointer;
    background-color: white;
}

.header-button img {
    height: 85%;
    position: relative;
    top: 1px;
}

.small-button img {
    height: 75%;
    position: relative;
    top: 2px;
}

.prompt {
    -webkit-user-select: text;
    user-select: text;
    font-size: 48px;
    height: 60px;
    margin-bottom: 16px;
    font-family: Arial, Helvetica, sans-serif;
    /* font-weight: bold; */
}

.instruction {
    font-size: 16px;
    margin-bottom: 10px;
}

.self-evaluate-div {
    position: relative;
    font-size: 16px;
    margin-bottom: 15px;
}

#self-evaluate-checkbox {
    width: 16px;
    height: 16px;
    position: relative;
    top: 1px;
}

.small {
    font-size: 12px;
}

.progress {
    text-align: center;
    font-size: 16px;
    margin-bottom: 0px;
}

.success-count {
    color: green;
    font-weight: bold;
}

.fail-count {
    color: red;
    font-weight: bold;
}

.remaining-count {
    color: blue;
    font-weight: bold;
}

.root {
    margin: 0;
}

.input-box {
    text-align: center;
    width: 300px;
    margin-bottom: 15px;
    color: black;
}

.help {
    height: 24px;
}

.answer {
    font-size: 16px;
    display: none;
}

.cross {
    font-size: 18px;
    color: red;
    font-weight: bold;
    display: none;
}

.button {
    -webkit-user-select: none;
    user-select: none;
    border: 2px solid black;
    text-align: center;
    border-radius: 5px;
    font-size: 16px;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 5px;
    margin-right: 5px;
    width: 120px;
    height: 28px;
    line-height: 28px;
    cursor: pointer;
    background-color: white;
}

.small-button {
    -webkit-user-select: none;
    user-select: none;
    border: 2px solid black;
    text-align: center;
    border-radius: 5px;
    font-size: 28px;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 5px;
    margin-right: 5px;
    width: 50px;
    height: 28px;
    line-height: 28px;
    cursor: pointer;
    background-color: white;
}

.disabled {
    color: gray;
    border: 2px solid gray;
    cursor: default;
    pointer-events: none;
}

.input-box {
    border: 1px solid black;
    border-radius: 2px;
}

.input-box:focus {
    outline: none;
}

.header-button:active, .menu-item:active, .button:active, .small-button:active {
    background-color: rgba(0,0,0,0.3);
    transition: all 0.2s;
}