/* Nav Bar */
#nav-bar {
    position: relative;
}

#cadastro {
    color: #2054dc;
}

/* Search Form CSS */
#searchForm {
    max-width: 55rem;
    display: flex;
    flex-direction: column;
}

#search-bar {
    margin: 0;
}

#provido-container {
    margin-top: 0.7rem;
    margin-bottom: 2rem;
}

/* Search Bar CSS */
#textoInput {
    border: none;
    border-radius: 0.5rem;
    background-color: #f0f0f0;
    outline: none;
    transition: background-color 0.3s ease;
  }
  
#textoInput:focus {
    background-color: #e0e0e0;
    outline: none;
    border: none;
    border-radius: 0.5rem;
}

/* Filter Panel CSS */
#filtersPanel {
    margin-bottom: 4rem;
}

.filters {
    display: grid;
    grid-template-columns: 50% 50%;
}

.columns {
    display: flex;
    gap: 20px;
}

.trib-title {
    text-align: left;
    font-size: 18px;
    font-weight: 500;
    color: #2054dc;
    padding-left: 0.7rem;
}

.just-fed, .just-trab, .just-est {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.trib-select {
    position: absolute;
    display: flex;
    flex-direction: column;
    padding: 0.5rem 1rem 0.5rem 0;
    border-radius: 0.7rem;
    background-color: white;
    box-shadow: 0px 0px 10px 0px rgb(204, 204, 204);
    top: -170px;
    left: 10px;
    z-index: 100;
}

#just-trab {
    top: -210px;
    max-height: 200px;
    overflow-y: scroll;
}

#just-est {
    top: -210px;
    max-height: 200px;
    overflow-y: scroll;
}

.close-trib-container {
    text-align: right;
}

.close-trib {
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    color: grey;
}

.trib-select label {
    width: 150px;
    display: flex;
    gap: 0.8rem;
    align-items: center;
    padding: 0.2rem 0.5rem;
    border-radius: 0.3rem;
}

.trib-select label:hover {
    background-color: rgb(228, 228, 228);
}

.options {
    margin-left: 1.3rem;
    color: grey;
    font-size: 14px;
}

.show-checkboxes-container {
    display: flex;
    justify-content: left;
}

.show-checkboxes {
    color: #2054dc;
    margin-left: 0.5rem;
}

.show-checkboxes:hover {
    color: #1b43aa;
}

.trib-popup {
    position: fixed;
    padding: 2rem 2.5rem;
    border-radius: 1rem;
    background-color: #f9fafb;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
}

/* Hide default checkbox */
input[type="checkbox"] {
    display: none;
}

/* Style images */
.checkbox-img {
    width: 17px;
    transition: opacity 0.2s ease-in-out;
    cursor: pointer;
}

/* Search Button CSS */
button.block {
    margin-top: 30px;
}

/* Contact Form */
.background-cover {
    position: fixed;
    background-color: black;
    opacity: 0.7;
    z-index: 50;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
}

.contato-popup {
    position: fixed;
    z-index: 100;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 800px;
}

.close-popup {
    text-align: right;
}

.close-button {
    padding: 2px 8px;
    color: white;
    font-weight: 500;
    background-color: #2054dc;
    border-radius: 0.3rem;
}

.contact-form {
    padding: 1rem 2rem;
    background-color: #f9fafb;
    border-radius: 1rem;
}

.contact-title {
    text-align: center;
}

.contact-title-text {
    font-size: 22px;
    font-weight: 500;
}

.form-top-part {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.form-middle-part {
    margin: 1rem 0;
}

.form-item {
    width: 100%;
}

.contact-input {
    width: 100%;
    padding: 5px 10px;
    border-radius: 0.3rem;
}

.contact-input:focus {
    border: none;
    outline: 2px solid #2054dc;
}

#mensagem-contato {
    width: 100%;
    padding: 5px 10px;
    border-radius: 0.3rem;
    height: 6rem;
    resize: none;
}

#mensagem-contato:focus {
    border: none;
    outline: 2px solid #2054dc;
}

.form-button-container {
    display: flex;
    justify-content: center;
}

.contato-button {
    margin-top: 1rem;
    padding: 0.3rem 2rem;
    background-color: #2054dc;
    color: white;
    font-size: 16px;
    font-weight: 500;
    border-radius: 0.5rem;
}

.hide {
    display: none;
}

/* Results CSS */
#results {
    max-width: 60rem;
}

.results-loading {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.wm-container {
    margin-bottom: 2rem;
}

.results {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem; 
}

.results-for {
    text-align: left;
}

.text-x1 {
    margin-bottom: 1.5rem;
}

.text-base {
    text-align: left;
}

.ementa-title {
    display: flex;
    gap: 0.5rem;
    justify-content: left;
    align-items: center;
}

.ementa-title span {
    padding: 0.1rem 0.5rem;
    background-color: #f1f5f9    ;
    border-radius: 30px;
    color:#2b3950;
}

.info-ementa {
    margin: 1.5rem 0;
    text-align: left;
}
.results-button {
    display: flex;
    justify-content: right;
}

/* Copy Button */
.copy-button {
    display: flex;
    gap: 0.3rem;
    align-items: center;
    padding: 0.5rem 1.5rem;
    background-color: #007a5f;
    color: white;
    border-radius: 0.3rem;
    font-weight: 600; 
}

.copy-button:hover {
    background-color: #00664f;
}

#entre-em-contato {
    padding: 0.5rem 2rem;
    border-radius: 0.5rem;
    border: 1px solid grey;
}

#entre-em-contato:hover {
    text-decoration: none;
}

footer {
    display: flex;
    align-items: center;
    padding: 0 2rem;
}

.footer-text {
    color: #5c6f8a;
}

.footer-content {
    justify-content: center;
    gap: 50px;
}

@media screen and (max-width: 850px) {
    #contatoPopup {
        width: 360px;
    }
}


