/* ADJUST GAME SCREEN SIZE */
main{
    height: calc(100% - 40px);
    justify-content: flex-start;
}

/* MENU */
.top-menu{
    display: flex;
	flex-direction: row;
    align-items: center;
    width: 100%;
    height: 50px;
    margin: 0;
    border-bottom: 1px solid #FFF;
    justify-content: center;
    z-index: 10;
    padding-top: env(safe-area-inset-top);
}
.top-menu div{
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: center;
    height: 100%;
    line-height: 100%;
    font-size: clamp(10px, 12px, 14px);
    color: #FFF;
    cursor: pointer;
}
.top-menu .fa{
    margin-right: 5px;
}
.top-menu .go-home{
    justify-content: left;
    padding-left: 10px;
}
.top-menu .clock {
    justify-content: center;
    align-self: center;
}
.top-menu .id{
    justify-content: right;
    padding-right: 10px;
    font-weight: 600;
    cursor: default;
}
.top-menu div:hover{
    background-color: darkred;
}

/* MAIN CONTAINER PREMIER */
.main-container{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: calc(100% - 30px);
    justify-content: flex-start;
    align-items: center;
    border: none;
    margin: 0;
    padding: 5px 0;
    overflow: auto;
}

#takePictureButton {
    background-color: #ffe81f; /* Amarelo Star Wars */
    color: #000;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}
#takePictureButton:active {
    background-color: #d4c00a;
}
#imagePreview {
    max-width: 90%;
    max-height: 300px;
    margin-bottom: 20px;
    border: 1px solid #555;
    display: none; /* Inicialmente escondida */
}
#divStatus, #divResultado {
    margin-top: 15px;
    padding: 10px;
    background-color: #444;
    border-radius: 5px;
    width: 90%;
    text-align: center;
}
#divResultado ul {
    list-style-type: none;
    padding: 0;
    text-align: left;
}
#divResultado ul li {
    margin-bottom: 5px;
}

ul#infoCard {
    list-style-type: none; /* Garante que não haja marcadores de lista */
    padding: 0;
    margin: 0;
    width: 100%;
}

ul#infoCard li {
    margin-bottom: 8px;
    text-align: left;
}

ul#infoCard li a {
    color: #a4c4e6;
    text-decoration: none;
    font-size: clamp(14px, 16px, 18px);
    padding: 5px;
    display: block;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

ul#infoCard li a:hover {
    background-color: rgba(92, 139, 191, 0.2);
    color: #ffffff;
}

#areaPreviewComGuia{
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
    display: none;
}
#imagemCapturadaPreview, #imagemPreviewCortadaAntes, #imagemPreviewEscalaCinza{
    max-width: 100%;
    max-height: 400px;
    display: block;
}
#guiaRetanguloVermelho{
    position: absolute;
    border: 3px solid red;
    box-sizing: border-box;
    cursor: move;
    pointer-events: auto;
}
#areaPreviewComGuia {
    position: relative; /* Necessário para o posicionamento absoluto do filho */
    display: inline-block; /* Para que se ajuste ao tamanho da imagem */
}
#btnProcessarCodigo{
    display:none;
    margin-top:10px;
    padding:10px;
    background-color: green;
    color:white;
}