@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&display=swap');

* {
    box-sizing: border-box;
}

#body_login {
    min-height: 100vh;
    background: url('../img/cristo.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    font-family: "Montserrat", sans-serif;
    margin: 0;
    overflow-x: hidden;
    max-height: 100vh;
}



/* .barraSeparacao {
    width: 1px;
    height: 35px;
    background-color: #ffffff;
} */

@media (max-width: 576px) {
    .imgLogos {
        flex-direction: column;
        gap: 10px;
        height: auto;
        top: 15px;
    }

    .barraSeparacao {
        display: none;
    }

    .imgLogos img {
        max-width: 60%;
        height: auto;
    }
}

.main-center {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 0px;
    margin-top: 0px;
    position: relative;
    z-index: 2;
}



/* TELA DE LOGIN/CÓDIGO/CADASTRO */
.login-container {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 40px 30px;
    border-radius: 25px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37);
    width: 100%;
    max-width: 400px;
    text-align: center;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 40px;
}

.login-container h2,
h3 {
    color: white;
    margin-bottom: 30px;
    font-weight: 700;
    font-size: 30pt;
}

.form-label {
    color: white;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 5px;
}


.form-check-label {
    color: white;
    font-size: 14px;
}

/* .form-check-input {
    margin-top: 0.25rem;
} */



.form-control,
.form-select,
textarea {
    height: 40px;
    border-radius: 8px;
    border: none;
    padding: 8px 12px;
    font-size: 14px;
    background-color: rgba(255, 255, 255, 0.9);
}

.form-control:focus,
.form-select:focus,
textarea:focus {
    border: 2px solid #00a1e4;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.9);
}

textarea {
    min-height: 40px;
    height: auto;
}

.btn-login,
.btn-primary,
.btn-salvar {
    background: #007bbd;
    border: none;
    border-radius: 12px;
    color: white;
    height: 50px;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-login:hover,
.btn-primary:hover,
.btn-salvar:hover {
    background: #006996;
    color: white;
}

.btn-secondary {
    border-radius: 12px;
    height: 50px;
    font-weight: bold;
    font-size: 16px;
}

.footer-text {
    margin-top: 10px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

.loader {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid #fff;
    border-radius: 50%;
    border-top: 2px solid transparent;
    animation: spin 0.6s linear infinite;
    vertical-align: middle;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.codigo-input {
    width: 50px;
    height: 55px;
    font-size: 24px;
    font-weight: bold;
    border: 2px solid #ccc;
}

.codigo-input:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 5px rgba(13, 110, 253, 0.5);
}

.codigo-input.is-invalid {
    border-color: #dc3545 !important;
}

#reenviar-codigo {
    background: #f97c00 !important;
    color: #fff;
}

#btn-verificar-existente, #btn-verificar-novo {
    background: #007bbd;
    color: #fff;
}


#caminhoEmail {
    color: #fff;
    font-size: 13pt;
}

.camposCodigo,
#form-cadastro {
    margin-top: 30px;
}

.bloqueado,
.bloqueado:focus,
.bloqueado:hover {
    cursor: not-allowed !important;
    background-color: #f5f5f5 !important;
    color: #888 !important;
}

.is-invalid {
    border-color: #dc3545 !important;
}

#logo_usuario {
    background-color: #005a96;

}

#tela_usuario {
    background: linear-gradient(105deg, #f7fafc 60%, #e3f3f5 100%);
    box-shadow: 0 4px 18px #dee6ef80;
}

#usuario-perfil-main {
    width: 100%;
    min-height: 82vh;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    margin-top: 18px;
    margin-bottom: 18px;
    padding: 0;
}

#usuario-perfil-card {
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 2px 10px #dde3ef99;
    padding: 30px 30px 18px 30px;
    max-width: 1080px;
    width: 100%;
    min-height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.perfil-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 18px;
}

.perfil-header img {
    background: #e5eff9;
    border-radius: 50%;
    padding: 7px;
    width: 62px;
    height: 62px;
    object-fit: cover;
}

.perfil-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #184c6c;
}

.perfil-cnpj {
    font-size: 0.98rem;
    color: #788899;
    margin-bottom: 4px;
}

#form-usuario-perfil {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 8px;
}

#form-usuario-perfil label {
    font-weight: 500;
    font-size: 0.99rem;
    margin-bottom: 4px;
}

#form-usuario-perfil input,
#form-usuario-perfil select,
#form-usuario-perfil textarea {
    font-size: 0.97rem;
    border-radius: 7px;
    border: 1px solid #dde3ef;
    padding: 6px 10px;
    background: #f9fbfd;
    resize: none;
    width: 100%;
}

.form-section2 input,
.form-section2 select,
.form-section2 textarea {
    font-size: 0.97rem;
    border-radius: 7px;
    border: 1px solid #dde3ef;
    padding: 6px 10px;
    margin: 10px 0 10px 0;
    background: #f9fbfd;
    resize: none;
    width: 100%;
}

.residuo-detalhes input {
    font-size: 0.97rem;
    border-radius: 7px;
    border: 1px solid #dde3ef;
    padding: 6px 10px;
    margin: 10px 0 10px 0;
    background: #f9fbfd;
    resize: none;
    width: 100%;
}

#form-usuario-perfil textarea {
    min-height: 29px;
    max-height: 42px;
}

#form-usuario-perfil .full {
    grid-column: 1 / 3;
}

.perfil-botoes {
    margin-top: 13px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

@media (max-width: 1000px) {
    #usuario-perfil-card {
        padding: 20px 3vw;
    }

    #form-usuario-perfil {
        gap: 10px 12px;
    }
}

@media (max-width: 760px) {
    #usuario-perfil-card {
        padding: 7px 2vw;
    }

    #form-usuario-perfil {
        grid-template-columns: 1fr;
    }

    #form-usuario-perfil .full {
        grid-column: 1;
    }
}

#perfil_qsa,
#perfil_cnae,
#perfil_residuos_natureza,
#perfil_residuos_quantidade,
#perfil_cnpj_destinadores {
    height: 100px !important;
    min-height: 100px !important;
    max-height: none !important;
    resize: vertical;
}

.btn-orange {
    background: #ee8802;
    border: none;
    border-radius: 12px;
    color: white;
    height: 50px;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
}

#alerta-sucesso {
    animation: blink 0.3s linear 3;
    /* piscar */
}

@keyframes blink {
    50% {
        opacity: 0.3;
    }
}

.btn-link {
    color: #f7c006;
    text-decoration: none;
}

.btn-link:hover {
    color: #f76606;
    text-decoration: none;
    cursor: help;
}

/* by rodrigo */

.login-container-novo {
    background: rgba(88, 87, 87, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37);
    width: 100%;
    max-width: 62%;
    text-align: center;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin: 100px auto 20px;
    color: white;
    display: flex;
    flex-direction: column;
    position: relative;
    max-height: 100vh;
}




.login-container-novo h2,
h3 {
    color: white;
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 26px;
}

.formcheck {
    color: white;
    font-weight: 500;
    text-align: left !important;


}


@media (max-width: 768px) {
    .login-container-novo {
        padding: 20px 15px;
        max-width: 95%;
    }

    .residuo-item {
        flex: 1 1 100%;
    }
}

.form-section {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
}

.form-section-title {
    color: #fff;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 8px;
}

hr {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 20px 0;
}

/* .imgLogos {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
} */

/* LOGOS */
.imgLogos {
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    z-index: 0;
    width: 100%;
    pointer-events: none;
}

.imgLogos img {
    pointer-events: auto;
}

.form-container-scrollable {
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 15px;
    margin-bottom: 20px;
}

.form-container-scrollable::-webkit-scrollbar {
    width: 8px;
}

.form-container-scrollable::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.form-container-scrollable::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.form-container-scrollable::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.altura {
    height: 120px !important;
}


.perfil-residuo-bloco {
    border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.perfil-residuo-topo {
    font-size: 0.97rem;
    border-radius: 7px;
    resize: none;
}

.perfil-label {
    margin: 0;
    font-weight: bold;
}


.perfil-btn-buscar, .perfil-btn-buscar-descarte {
    padding: 4px 10px;
    font-size: 0.85rem;
    height: 38px;
    line-height: normal;
    box-sizing: border-box;
    margin-top: 11px;
}

/* HTML: <div class="loader"></div> */
.loader2 {
    width: 50px;
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        radial-gradient(farthest-side, #ffa516 94%, #0000) top/8px 8px no-repeat,
        conic-gradient(#0000 30%, #ffa516);
    -webkit-mask: radial-gradient(farthest-side, #0000 calc(100% - 8px), #000 0);
    animation: l13 1s infinite linear;
}

@keyframes l13 {
    100% {
        transform: rotate(1turn)
    }
}

.text-muted {
    font-size: 14px;
    color: #6c757d;
}

.input-user{
    cursor: not-allowed;
}