/* Fonte */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&display=swap");
:root {
    --primary-color: #044c8d;
    --primary-color-dark: #005a92;
    --secondary-color: #ffffff;
    --secondary-color-light: #f5f5f5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Trebuchet MS", sans-serif;
    outline: none;
}

body {
    background-color: var(--secondary-color-light);
    overflow: hidden;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--secondary-color-light);
    padding: 10px;
    display: flex;
    align-items: center;
}

.small-icon {
    max-width: 100%;
    max-height: 100%;
    width: 24px;
    height: 24px;
}

header img {
    max-width: 250px;
}

.container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--secondary-color-light);
}

form {
    width: 450px;
    height: auto;
    background-color: var(--secondary-color);
    display: flex;
    flex-direction: column;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 14px;
    color: #000;
}

input[type="text"],
input[type="password"],
input[type="file"] {
    width: 100%;
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 5px;
    border: none;
    background-color: #f7f7f7;
    font-size: 16px;
    color: var(--primary-color-dark);
}

input[type="submit"] {
    width: 100%;
    padding: 15px;
    font-size: 20px;
    margin-top: 20px;
    background-color: var(--primary-color-dark);
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.manual-button,
.exit-button{
    display: flex;
    position: fixed;
    right: 30px;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 2px;
    border: 1px solid transparent;
    color: red;
    width: 150px;
    padding: 8px 8px;
    background-color: var(--secondary-color-light);
    border: 1px solid transparent;
    filter: drop-shadow(0px 4px 8px rgba(0, 0, 0, 0.1));
    cursor: pointer;
}

.manual-button:hover,
.exit-button:hover{
    font-weight: 700;
    color: var(--secondary-color-light);
    background-color: #f07283;
    border-color: #f07283;
}

.download-button {
    display: flex;
    padding: 15px 30px;
    font-size: 20px;
    background-color: var(--primary-color-dark);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    margin-top: 10px;
    align-items: center;
    justify-content: center;
}

.download-button:hover {
    background-color: var(--primary-color);
}

.sidebar-footer-icon {
    max-width: 24px;
    height: auto;
    float: right;
}

.modal.loading:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 1000;
}

.modal.loading:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 4px solid #ccc;
    border-top-color: #005a92;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    animation: spin 1s linear infinite;
    z-index: 1002;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Adições de estilo específicas para cada seção */

/* Primeira seção */
.title {
    text-align: center;
    font-size: 40px;
    margin: 0 auto;
    color: var(--primary-color-dark);
}

/* Segunda seção */
p.error {
    color: red;
    text-align: center;
}

/* Terceira seção */
select {
    padding: 8px 16px;
    border: none;
    box-shadow: 0px 0px 3px #c8c8c8;
}

/* Quarta seção */
.resultado {
    width: 450px;
    height: auto;
    background-color: var(--secondary-color);
    display: flex;
    flex-direction: column;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
}

.resultado h1 {
    text-align: center;
    font-size: 40px;
    margin: 0 auto;
    color: var(--primary-color-dark);
}

.resultado p {
    display: flex;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 16px;
    color: #000;
    justify-content: center;
}

.resultado .resul_info{
    display: flex;
    font-weight: bold;
    font-size: 16px;
    margin-left: 5px;
    color: red;
    justify-content: center;
}

.resultado h2 {
    text-align: center;
    font-size: 28px;
    margin: 0 auto;
    color: var(--primary-color-dark);
}

.info .orig_info{
    display: flex;
    font-weight: bold;
    font-size: 16px;
    margin-left: 5px;
    color: #000;
    justify-content: center;
    text-decoration: underline;
    display: inline-block;
    text-overflow: ellipsis;
    overflow: hidden;
}

