/* Estilos Gerais */
body {
    font-family: "Lekton", monospace;
    background: linear-gradient(90deg, rgba(2, 0, 36, 1) 0%, rgb(75, 0, 130) 50%, rgba(0, 175, 255, 1) 100%);
    margin: 10px;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lekton-bold {
    font-weight: 700;
}

.lekton-regular-italic {
    font-weight: 400;
    font-style: italic;
}

/* Estilo para Imagens */
img {
    cursor: pointer;
    margin: 10px;
    padding: 5px;
    width: fit-content;
    background-color: rgba(255, 255, 255, 0.74);
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.5s;
}

img:hover {
    transform: scale(1.1);
}

.socialIMG {
    position: fixed;
    top: 8px;
    right: 16px;
    font-size: 18px;
}

/* Estilo para Zona de Arrastar e Soltar Arquivo */
.dropZone {
    cursor: pointer;
    font-size: larger;
    border: 2px dashed #666666;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    margin: 20px 0;
    transition: all 0.5s;
    user-select: none;
}

.dropZone:hover, .dropZone.dragover {
    border-color: #000;
    transform: scale(1.01);
    background-color: #ffffff90;
}

/* Estilo para Containers Gerais */
.fileSelectContainer,
.infoNfeContainer,
.InfoHeadContainer {
    height: auto;
    padding: 10px;
    max-width: 600px;
    background-color: rgba(255, 255, 255, 0.74);
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    align-items: center;
    justify-content: center;
    transition: all 1s;
    overflow: hidden;
}

.titleInfo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
}

.InfoHeadContainer {
    margin: 50px auto;
    min-height: 50px;
}

.bodyContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 50px auto;
    gap: 10px;
    overflow: hidden;
}

/* Estilo para Containers Específicos */
.infoNfeContainer {
    position: relative; /* Importante para o posicionamento absoluto do botão */
    padding-right: 30px; /* Espaço extra à direita para o botão */
    overflow: hidden; /* Garante que o botão não saia do container */
}

.bodyInfoTitle {
    display: flex;
    align-items: center; /* Alinha verticalmente os itens ao centro */
    justify-content: center;
}

.fileSelectContainer {
    width: auto;
    max-width: 250px;
    position: fixed;
    right: 75%;
    top: 25%;
    z-index: 99;
    transition: all 0.5s;
}

.infoText {
    width: 300px;
    font-size: large;
    text-align: left;
    border: none;
    background: none;
    resize: none;
    overflow: hidden;
    outline: none;
    box-sizing: border-box;
    transition: all 0.5s;
}

/* Estilo para Títulos e Botões */
h1 {
    color: #333;
}

button {
    padding: 5px;
    color: #000;
    background-color: transparent;
    border: 1px double;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.5s;
    margin: 5px;
}

button:hover{
    transform: scale(1.1);
    background-color: #fff;
    color: #000;
    border-color: #000;
}

button:focus {
    background-color: #fff;
    color: #000;
    border-color: #000;
    outline: 2px solid #000;
}
.titleInfo img[alt='Ajuda'] {
    background-color: transparent;
    padding: 0;
    border: none; 
    box-shadow: none; 
    transition: transform 0.3s;
}

/* Estilo para Tabela de Informações */
.infoTable {
    margin: 0 auto;
    width: auto;
    border-collapse: collapse;
    height: auto;
}

.infoTable th, .infoTable td {
    border: 1px solid #000000;
    padding: 5px;
    text-align: center;
    color: #000000;
    background-color: #ffffff3a;
}

.infoNfeContainer {
    position: relative; /* Garante que a posição absoluta do closeButton seja relativa a este container */
    padding-right: 10px;
    padding-left: 10px; /* Espaço extra à direita para o botão */
    overflow: hidden; /* Garante que o botão não saia do container */
}

.closeButton {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 8px 12px;
    color: #000;
    background-color: transparent;
    border: 2px solid #000;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 99; /* Garante que o botão esteja acima dos demais conteúdos */
}

.closeButton:hover {
    background-color: #cc0000; /* Vermelho mais escuro */
    color: #fff; /* Cor branca para melhorar a legibilidade */
}

/* Estilos para o modal */
.modal {
    display: none; /* Oculto por padrão */
    position: fixed;
    z-index: 100; /* Acima de todo o conteúdo */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Permite rolagem se necessário */
    background-color: rgba(0, 0, 0, 0.5); /* Fundo escuro */
    justify-content: center;
    align-items: center;
}

/* Estilos para o modal */
.modal {
    display: none; /* Oculto por padrão */
    position: fixed;
    z-index: 100; /* Acima de todo o conteúdo */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Permite rolagem se necessário */
    background-color: rgba(0, 0, 0, 0.5); /* Fundo escuro */
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(2px); /* Desfoque */
}

.modal-content {
    background-color: rgba(255, 255, 255, 0.74);
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    text-align: left;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 15px;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}