:root {
    --main-bg-color: #007F32;
    --section-padding: 2.5rem 2rem;
    --form-width: 35%;
}


* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    margin: 0;
    position: relative;
    overflow-x: hidden;
}


button {
    font-size: 20px;
    padding: 10px 70px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

label,
input,
select,
textarea {
    display: block;
}

input,
select,
textarea {
    width: 100%;
    font-size: 16px;
    border-radius: 5px;
    border: none;
    padding: 5px;
}

.form-input {
    margin-bottom: 1rem;
}

.form-input:last-child {
    margin-bottom: 0;
}

.form-input label {
    padding-bottom: 2px;
}

input,
textarea,
select:focus {
    outline: none;
}


.header {
    background-color: var(--main-bg-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 2.5rem;
}

.header .header-text {
    text-align: center;
}

.header span {
    display: block;
}

.header .header-text span:nth-child(1) {
    font-size: 12px;
    color: #B3B9B5;
    padding-bottom: 4px;
}

.header .header-text span:nth-child(2) {
    font-size: 16px;
    color: #B3B9B5;
    padding-bottom: 8px;
}

.header .header-text span:nth-child(3) {
    font-size: 22px;
    color: #fff;
    font-weight: 400;
}

.banner-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 35.65vh;
    width: 55%;
    margin: 0 auto;
    background-color: #fff;
}

.banner-section .banner-image,
.banner-section .banner-image2 {
    height: 100%;
    display: flex;
    align-items: center;
}

.banner-section .banner-image .banner-image-img {
    width: 400px;
    height: 300px;
    margin: 0 auto;
}

.banner-section .banner-image2 .banner-image-img2 {
    width: 400px;
    height: 100px;
    margin: 0 auto;
}

.banner-section .banner-image .banner-image-img img,
.banner-section .banner-image2 .banner-image-img2 img {
    display: block;
    width: 100%;
    height: 100%;
}

.banner-text {
    text-align: center;
    width: 30%;
    margin: 0 auto 2rem auto;
}

.banner-text p,
.banner-text p span {
    font-size: 20px;
}

.banner-text p span {
    font-weight: bold;
    line-height: 2;
}

.form-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.form-section form {
    width: 100%;
}

.form-section form button {
    background-color: var(--main-bg-color);
    color: #fff;
}

.form-section form .form-atividade {
    background-color: var(--main-bg-color);
    width: 100%;
    min-height: 45.65vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.form-section form .form-atividade .form-atividade-inputs {
    width: var(--form-width);
    margin: 0 auto;
    padding: 1rem 0;
}

.form-section form .form-atividade-inputs .row-tipo-atividade-data {
    width: 100%;
    margin-bottom: 1rem;
}

.form-section form .form-atividade .form-atividade-inputs h2 {
    padding-bottom: 1rem;
    position: relative;
    color: #fff;
    font-weight: 400;
}

.form-section form .form-atividade .form-atividade-inputs h2 img {
    padding-bottom: 1rem;
    position: absolute;
    left: -40px;
}

.form-section .form-evidencias {
    background-color: #fff;
    width: var(--form-width);
    margin: 0 auto;
    padding: 3rem 0;
}

.foto {
    display: flex;
    margin: 2rem 0;
}

.foto .foto-container {
    width: 100%;
    border: 3px dashed var(--main-bg-color);
    border-radius: 5px;
    background-color: #A2E8BD;
    padding: 10px;
    height: 100px;
    text-align: center;
    cursor: pointer;
}

.foto .foto-container .foto-container-img {
    width: 40px;
    height: 40px;
    margin: 0 auto;
}

.foto .foto-container .foto-container-img img {
    height: 100%;
    width: 100%;
}

.foto .foto-container span {
    font-size: 14px;
}

.local span {
    color: var(--main-bg-color);
    font-weight: 400;
}

#map {
    width: 100%;
    height: 200px;
    background-color: gray;
    margin-top: 5px;
    margin-bottom: 1rem;
    border-radius: 5px;
    border: 3px solid var(--main-bg-color);
    box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
}

form .submit {
    text-align: center;
}

form .submit button {
    border: 1px solid #fff;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

form .submit button:hover {
    background-color: darkgreen;
}

.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--main-bg-color);
    padding: 0.5rem 2rem;
    color: #fff;
}

.footer .footer-icon {
    height: 100px;
    width: 300px;
}

.footer .footer-icon img {
    display: block;
    height: 100%;
    width: 100%;
}

/* .image-previews img {
    display: inline-block;
    height: 200px;
    width: 200px;
    margin: 5px;
} */

.footer .contact span {
    display: block;
    line-height: 1.5;
}

.suggestions-container {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.suggestions-container .suggestion-chip {
    background-color: #fff;
    border: 1px solid #ccc;
    color: #000;
    padding: 5px 10px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9em;
}

.suggestion-chip:hover {
    background-color: #ddd;
}

.chip-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;

}

.chips-container {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    background-color: #fff;
}

.chip {
    background-color: blue;
    border-radius: 16px;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: default;
}

.chip span {
    margin-right: 5px;
}

.chip .remove-chip {
    background-color: red;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    width: 16px;
    height: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
}

.hidden {
    display: none;
}

/* Small notification box */
.notification-box {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #fefefe;
    border: 1px solid #888;
    padding: 15px;
    width: 300px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

/* Close button */
.notification-box .close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
}

/* Buttons */
.notification-box button {
    margin: 5px 0;
    padding: 8px 15px;
    font-size: 14px;
    display: block;
    width: 100%;
}

/* Photo container */
.foto-container {
    cursor: pointer;
    /* Add additional styling if needed */
}


/* Close button */
.close {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
}

/* Icon */
.icon {
    width: 50px;
    height: 50px;
}

/* Buttons */
button {
    margin: 10px;
    padding: 8px 50px;
    font-size: 16px;
}

.video-canvas {
    margin-bottom: 1rem;
}

.error-input {
    border: 2px solid red;
}

#loading {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
    overflow-y: hidden;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}


/** 
    styles dos frases
*/

#loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #ccc;
    border-top: 2px solid #000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

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


#mega_container {
    width: 100%;
    margin: 20px auto;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow-y: auto;
    display: flex;
    flex-direction: row;
    /* Organiza os itens em uma coluna */
    gap: 5px;
    /* Espaçamento entre os itens */
    flex-wrap: wrap;
    /* Quebra a linha quando não há mais espaço */
}


#container {
    width: 100%;
    padding: 10px;
    /* margin-bottom: 20px; */
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow-y: auto;
    display: flex;
    flex-direction: row;
    /* Organiza os itens em uma coluna */
    gap: 5px;
    /* Espaçamento entre os itens */
    flex-wrap: wrap;
    /* Quebra a linha quando não há mais espaço */
}

#frases {
    width: 100%;
    /* margin-bottom: 20px; */
    border-radius: 8px;
    overflow-y: auto;
    display: none;
    flex-direction: column;
    /* Organiza os itens em uma coluna */
    flex-wrap: wrap;
    /* Quebra a linha quando não há mais espaço */
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}


.interno {
    flex: 0 1 auto;
    /* Garante que os elementos se comportem como itens Flex */
    width: 100%;
    /* Opcional: ocupa toda a largura do container */
}

.chip_frase {
    display: flex;
    margin: 15px 0 0 0;
    align-items: center;
    padding: 10px;
    background-color: #00e0e0;
    border-radius: 16px;
    position: relative;
}

.chip_frase input {
    height: 15px;
    width: 15px;
    margin-right: 0.5rem;
}

.chip_tipo_resultado {
    padding: 10px;
    background-color: red;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    color: #fff;
    border-radius: 8px;
}

.token {
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: 2px;
    margin-right: 2px;
}

#botao_envio {
    margin-left: auto;
}

.chip {
    background-color: #fff;
    border: 1px solid #ccc;
    color: #000;
    padding: 5px 10px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9em;
}



.chip .delete {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 20px;
    width: 20px;
    border-radius: 100%;
    background-color: red;
    color: #fff;
}

.input-wrapper {
    margin: 5px 0;
    width: 100%;
}

.dropdown {
    position: absolute;
    background: white;
    border: 1px solid #ccc;
    width: 100%;
    max-width: 400px;
    max-height: 80vh;
    z-index: 900;
    display: none;
    overflow-y: scroll;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.dropdown div {
    padding: 10px;
    cursor: pointer;
    color: #000;
}

.dropdown div:hover {
    background-color: #f0f0f0;
}

@media (max-width: 992px) {
    .banner-section {
        display: block;
    }

    .banner-section .banner-image .banner-image-img {
        height: 400px;
        width: 600px;
    }

    .banner-section .banner-image:nth-child(2) {
        margin-top: -6rem;
    }

    .banner-text {
        width: 85%;
        margin-top: 3rem;
    }

    .foto {
        justify-content: center;
    }

    .form-section form .form-atividade .form-atividade-inputs {
        width: 40%
    }

    .form-section .form-evidencias {
        width: 40%
    }


    .form-section form .form-atividade-inputs .row-tipo-atividade-data {
        display: block;
        margin-bottom: 1rem;
    }

}

@media (max-width: 768px) {
    .form-section form .form-atividade .form-atividade-inputs {
        width: 80%;
    }

    .form-section .form-evidencias {
        width: 80%;
    }


    .form-section form .form-atividade .form-atividade-inputs,
    .form-section .form-evidencias {
        width: 85%;
    }

    .header {
        padding: 5px 10px;
    }

    .header .header-text span:nth-child(1) {
        font-size: 10px;
    }

    .header .header-text span:nth-child(2) {
        font-size: 14px;
    }

    .header .header-text span:nth-child(3) {
        font-size: 16px;
    }



    .banner-section {
        width: 85%;
        min-height: 10vh;
        display: block;
        padding: 0.5rem 0;
    }

    /* .banner-section .banner-image .banner-image-img {
        height: 200px;
        width: 600px;
    } */


    .banner-text {
        text-align: center;
    }



    .banner-section .banner-text p,
    .banner-section .banner-text p span {
        font-size: 22px;
        line-height: 1.8;
    }

    .form-section form .form-atividade .form-atividade-inputs h2 {
        font-size: 20px;
        font-weight: 400;
    }

    .form-section form .form-atividade {
        min-height: 8vh;
        padding: 1.5rem;
    }

    .form-section .form-evidencias {
        padding: 1rem 0;
    }

    .footer {
        padding: 5px 10px;
        display: block;
        text-align: center;
    }

    .footer h2 {
        display: none;
    }

    .footer .footer-icon {
        margin: 0 auto;
    }

    .footer .contact span {
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    /* .banner-section .banner-image:nth-child(2) {
        margin-top: -9rem;
    } */
}

@media (max-width: 475px) {
    .banner-section .banner-image .banner-image-img {
        height: 200px;
        width: 600px;
    }

    .banner-section .banner-image:nth-child(2) {
        margin-top: 0;
    }

    .banner-text {
        margin-top: 2rem;
    }

    .banner-text p,
    .banner-text p span {
        font-size: 16px;
    }
}