/* ROOT */
:root {
    --color-form: #3b7ddd;
    --font-family: "Inter", "Helvetica Neue", Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --letterSpacing: 0.2vw;
    --mainBorderRadius: 2rem;

    /* JS */
    --font-size-x-small: 0.9vw;
    --font-size-small: 1.1vw;
    --font-size-avg: 1.3vw;
    --font-size-large: 1.5vw;
    --font-size-x-large: 2vw;
    --font-size-xx-large: 3vw;
    --imgWidth: 1.25vw;
    --imgWidthBuscador: 10vw;
    --imgWidthCardCriador: 10vw;
    --imgWidthLogo: 1.75vw;
    --hamburger-major: 36px;
    --btnPadding: 1.25vw;
    --border-width-3d: 2px 5px 5px 2px;
    --margin_bottom: 2vw;
    --padding-avg: 1.5vw;
    --margin-top-click: 4vw;
    --card-height: 75vh;
    --colorBody: #495057;
}

/* TAGS */
* {
    box-sizing: border-box;
    scroll-margin-top: 100px;
}

html {
    scroll-behavior: smooth;
}

footer {
    margin-top: 4rem;
}

div:has(> label):not([class]) {
    margin: 3vw 0 0 0;
}

label {
    font-size: var(--font-size-x-large);
}

details:not(.tip-section) {
    margin: 0.5vw 0 0.5vw 0;
}

img {
    width: var(--imgWidth);
}

details span {
    font-size: var(--font-size-small);
    font-style: italic;
}

body {
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    color: var(--colorBody);
    font-family: var(--font-family);
    font-size: var(--font-size-avg);
    line-height: 1.5;
    margin: 0;
    min-height: 100vh;
    opacity: 1 !important;
    overflow-y: scroll;
    width: 100%;
    z-index: 1;
}

/* h1 {
    font-size: var(--font-size-x-large);
    letter-spacing: var(--letterSpacing);
} */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: var(--margin_bottom);
}

hr {
    color: white;
    margin: 1vw 0 1vw 0;
    opacity: 0.5;
}

hr:not([size]) {
    height: 1px;
}

textarea {
    border: none;
    resize: none;
}

a {
    color: #3b7ddd;
    cursor: pointer;
    text-decoration: none;
}

a:hover {
    color: #2f64b1;
    text-decoration: none;
}

ol:not(.listCv),
ul:not(#divisao):not(.sidebar-nav):not(.card-social-list) {
    list-style: none;
    margin: 0 0 1vw 0;
    padding-left: 2vw;
}

#divisao {
    margin: 0 0 1vw 0;
}

p {
    margin-bottom: var(--margin_bottom);
    margin-top: 0;
}

button {
    border: 2px solid var(--color-form);
    border-color: black;
    border-radius: 8px;
    border-style: solid;
    border-width: var(--border-width-3d);
    color: #fff;
    cursor: pointer;
    font-family: monospace;
    font-weight: 600;
    letter-spacing: 1.5px;
    padding: var(--btnPadding);
    text-transform: none;
}

button:not(.copy-button):not(.anonimizador-btn):not(.card-opinion-btn):not(.pesquisarDelito button):not(#btnRecover):not(.cadastradorBlock button):not(.botaoCaderno):not(.limparCaderno):not(.imprimirCaderno):not(.botaoReportar):not(.botaoPula):not(.ql-snow button):not(#ratingWrapper button):not(.container-editor-btn button):not(#pesquisarInformativo):not(.acessarBuscador):not(.acessarChatjuris):not(.cadernoPronto):not(.buttonCadernoPronto):not(.toggle-btn):not(#resumo):not(#denuncia):not(#resposta_acusacao):not(#alegacoes_finais):not(#contrarrazoes):not(#sentenca) {
    background-color: var(--color-form);
    font-size: var(--font-size-avg);
    margin-top: 4vw;
    width: 100%;
}

#pesquisarInformativo {
    background-image: linear-gradient(to bottom, #2196F3, #8600ca);
    font-size: var(--font-size-x-large);
    margin-top: 4vw;
    width: 100%;
}

button:hover {
    opacity: 0.9;
}

select {
    word-wrap: normal;
}

/* LOADER */
.loader {
    animation: spin 1s linear infinite;
    border: 8px solid #ffffff;
    border-radius: 50%;
    border-top: 8px solid #3498db;
    height: 45px;
    margin: 2vw;
    width: 45px;
}

/* FORM */
#formContainer {
    padding: 3vw;
    text-align: left;
}

#formContainer label,
#formContainer fieldset {
    color: var(--color-form);
    margin-top: 20px;
}

#formContainer fieldset {
    border: 2px solid #f0f0f0;
    margin-bottom: 20px;
    padding: 15px 15px 0px 15px;
}

#formContainer select {
    font-size: var(--font-size-large);
}

#formContainer input:not([type='checkbox']),
#formContainer textarea:not(.mirrorReference):not(.buscador_textarea) {
    font-size: var(--font-size-small);
}

#formContainer input:not([type='checkbox']),
#formContainer textarea:not(.mirrorReference):not(.buscador_textarea),
#formContainer select {
    border: 2px solid #f0f0f0;
    border-radius: 4px;
    margin-bottom: 20px;
    padding: 10px;
}

#formContainer input:not([type='checkbox']):not([type='number']):not([type='date']):not(.numProc):not(.fakeDate),
#formContainer textarea:not(#user_message) {
    display: block;
    width: 95%;
}

#formContainer input[type='number'],
#formContainer input[type='date'],
#formContainer select {
    display: block;
    min-width: 10vw;
}

#formContainer input:focus,
#formContainer textarea:focus,
#formContainer select:focus {
    border-color: #777;
}

/* INDEX */
#wrapper {
    display: flex;
}

#content {
    flex: 1;
}

/* NAVBAR */
.navbar {
    align-items: center;
    background: #fff;
    border-bottom: 0;
    box-shadow: 0 0 2vw 0 rgba(33, 37, 41, .1);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 3vw 1vw 3vw 1vw;
    position: relative
}

.navbar-brand {
    font-size: var(--font-size-avg);
    font-weight: 500;
    padding: 0.5vw 0 0.5vw 0;
}

.navbar img {
    margin-left: 0.5vw;
    width: var(--imgWidthLogo);
}

/* SIDEBAR */
#sidebar img {
    filter: invert(99%) sepia(10%) saturate(585%) hue-rotate(174deg) brightness(97%) contrast(92%);
    margin-right: 5px;
    opacity: 0.5;
    vertical-align: middle;
}

.sidebar {
    max-width: 26vw;
    min-width: 26vw;
}

.sidebar,
.sidebar-content {
    background: #17102a;
    transition: margin-left .35s ease-in-out, left .35s ease-in-out, margin-right .35s ease-in-out, right .35s ease-in-out;
}

.sidebar-content {
    display: flex;
    flex-direction: column;
}

.sidebar-brand {
    color: #f8f9fa;
    display: block;
    font-size: var(--font-size-x-large);
    font-weight: 600;
    padding: 2vw 0 0 1.5vw;
}

.sidebar-brand:hover {
    color: orange;
}

.sidebar-nav {
    flex-grow: 1;
    list-style: none;
    margin-bottom: 0;
    padding-left: 0;
}

.sidebar-nav li {
    margin-bottom: 1vw;
}

.sidebar-header {
    background: transparent;
    color: #ced4da;
    font-size: var(--font-size-x-small);
    padding: 1vw 0 0.5vw 1.5vw;
}

.sidebar-item.active .sidebar-link {
    background: linear-gradient(90deg, rgba(59, 125, 221, .1), rgba(59, 125, 221, .0875) 50%, transparent);
    border-left: 0.75vw solid #3b7ddd;
    color: #e9ecef;
}

.sidebar-link {
    background: #17102a;
    border-left: 3px solid transparent;
    color: rgba(233, 236, 239, .5);
    cursor: pointer;
    display: block;
    font-weight: 400;
    padding: 0.75vw 1.5vw 0.75vw 1.5vw;
    position: relative;
    text-decoration: none;
    transition: background-color .1s ease-in-out;
}

.sidebar-link:hover {
    background: #17102a;
    border-left-color: transparent;
    color: rgba(117, 204, 255, 0.75);
}

.sidebar-toggle {
    cursor: pointer;
    display: flex;
    width: var(--hamburger-major);
}

.sidebar.collapsed {
    margin-left: -26vw;
}

/* HAMBURGUER */
.menu_hamburguer {
    height: auto;
}

.menu_hamburguer:hover {
    background-color: #bde1ff;
}

/* NAVMAINFOOTER */
#navMainFooter {
    background: #f5f7fb;
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-width: 0;
    overflow: visible;
    transition: margin-left .35s ease-in-out, left .35s ease-in-out, margin-right .35s ease-in-out, right .35s ease-in-out;
    width: 100%
}

/* REMOVE CALENDAR ICON */
input[type="date"]::-webkit-inner-spin-button,
input[type="date"]::-webkit-calendar-picker-indicator {
    -webkit-appearance: none;
    display: none;
}

/* FOOTER */
footer {
    background: #fff;
    color: #6c757d !important;
    padding: 3vw 1vw 3vw 1vw;
}

footer .left {
    float: left;
}

footer .right {
    float: right;
}

/* CARD DELITOS */
#cardDelitos {
    animation: fadeAndScale 1s;
    display: none;
    flex-direction: column;
    gap: .25vw;
}

.card-delitos-div {
    background-color: white;
    border: 1px solid black;
    display: block;
    gap: 2vw;
    margin-top: 2vw;
    padding: .5vw;
}

.card-delitos-div:hover {
    background: #e1fdff;
    cursor: pointer;
}

.card-delitos-header {
    margin-bottom: .25vw;
}

.card-delitos-body {
    color: #777;
    font-size: var(--font-size-x-small);
}

.card-delitos-warning {
    color: #ff6a6a;
    font-size: var(--font-size-x-small);
    font-weight: 600;
}

/* RECOVER BTN */
#btnRecover {
    background-color: rgb(150 107 87);
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    margin-bottom: 2vw;
    padding: 10px;
}

/* PESQUISAR INFRACAO */
.pesquisarDelito {
    border: 1px solid orange;
    margin-bottom: 2vw;
    padding: 2vw;
}

.pesquisarDelito button {
    background-color: orange;
    font-size: var(--font-size-small);
}

/* RATING */
#ratingWrapper {
    align-items: center;
    background-color: oldlace;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    display: none;
    flex-direction: column;
    gap: 1vw;
    margin: 3vw 0 0 0;
    padding: 1vw;
    text-align: center;
}

#ratingWrapper button {
    background-color: orange;
    border: 2px solid orange;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    font-size: var(--font-size-avg);
    margin-top: 3vw;
    width: 100%;
}

.ratingBox {
    margin: 1vw 0 2vw 0;
}

.ratingBox span:hover {
    color: orange;
}

.ratingBox span {
    font-size: var(--font-size-x-large);
    padding: 1vw 0 1vw 0;
}

#pedidoAnalise {
    margin: 0 10vw 3vw 10vw;
}

/* IMAGE ANIMATION */
.sidebar img:hover {
    animation: spin 2s linear infinite;
}

/* CHECKBOX */
.fakeLabel-circunstancias,
.fakeLabel-agravantes,
.fakeLabel-atenuantes,
.checkbox-block-circunstancias,
.checkbox-block-agravantes,
.checkbox-block-atenuantes {
    display: none;
}

.checkbox-block-circunstancias input[type=checkbox],
.checkbox-block-agravantes input[type=checkbox],
.checkbox-block-atenuantes input[type=checkbox] {
    display: inline;
    margin-top: 0.75vw;
}

.checkbox-block-circunstancias label,
.checkbox-block-agravantes label,
.checkbox-block-atenuantes label {
    color: var(--colorBody) !important;
    font-family: "Inter", "Helvetica Neue", Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: var(--font-size-x-small);
    line-height: 1.5;
    margin: 0 !important;
    width: 100%;
}

.checkbox-block-circunstancias label:after,
.checkbox-block-agravantes label:after,
.checkbox-block-atenuantes label:after {
    content: ' ';
    display: block;
}

.fakeLabel-circunstancias,
.fakeLabel-agravantes,
.fakeLabel-atenuantes {
    color: var(--color-form);
    font-size: var(--font-size-x-large);
    margin: 2vw 0 0 0;
}

/* HIDE ARROWS FROM INPUT NUMBER */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    appearance: textfield;
    -moz-appearance: textfield;
}

/* ANIMATION */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes animatetop {
    from {
        opacity: 0;
        top: -300px
    }

    to {
        opacity: 1;
        top: 0
    }
}

@keyframes shake {
    0% {
        transform: translate(1px, 1px) rotate(0deg);
    }

    10% {
        transform: translate(-1px, -2px) rotate(-1deg);
    }

    20% {
        transform: translate(-3px, 0px) rotate(1deg);
    }

    30% {
        transform: translate(3px, 2px) rotate(0deg);
    }

    40% {
        transform: translate(1px, -1px) rotate(1deg);
    }

    50% {
        transform: translate(-1px, 2px) rotate(-1deg);
    }

    60% {
        transform: translate(-3px, 1px) rotate(0deg);
    }

    70% {
        transform: translate(3px, 1px) rotate(-1deg);
    }

    80% {
        transform: translate(-1px, -1px) rotate(1deg);
    }

    90% {
        transform: translate(1px, 2px) rotate(0deg);
    }

    100% {
        transform: translate(1px, -2px) rotate(-1deg);
    }
}

/* CARD */
.card-profile {
    border-bottom: 1px solid #e1bee7;
    border-radius: 8px;
    border-right: 1px solid #e1bee7;
    border-top: 1px solid #e1bee7;
    margin: 5vw 0 0 0;
    overflow: hidden;
    padding: 1vw 7vw 5vw 7vw;
    position: relative;
    text-align: center !important;
}

.card-profile:before {
    background-color: #e1bee7;
    content: "";
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    transform: scaleY(1);
    transform-origin: bottom;
    transition: all 0.5s;
    width: 4px;
}

.card-profile:after {
    background-color: #8e24aa;
    content: "";
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: all 0.5s;
    width: 4px;
}

.card-profile:hover::after {
    color: inherit;
    transform: scaleY(1);
}

.card-profile-img-el {
    border-radius: 10%;
    display: block;
    margin: 6vw auto 1vw auto;
    transition: all 0.3s ease;
    width: var(--imgWidthBuscador);
}

.card-profile-img-el:hover {
    border-radius: 15%;
    filter: brightness(1.1);
    transform: scale(1.05);
}

.colorIntact,
.colorIntact:visited,
.colorIntact:hover,
.colorIntact:active {
    color: var(--colorBody);
}

.card-span {
    font-size: var(--font-size-small);
    margin: 1.5vw 0 1.5vw 0;
}

.card-materias {
    border-left: 2px solid lightblue;
    border-top: 2px solid lightblue;
    font-size: var(--font-size-x-small);
    font-style: italic;
    margin: 1.5vw 0 1.5vw 0;
    text-align: left;
    text-transform: uppercase;
}

.card-h4 {
    font-size: var(--font-size-x-avg);
    font-weight: 600;
    margin: 40px 0 30px 0;
}

#container .card-h4 {
    text-transform: uppercase;
}

.card-social-list {
    color: #8e24aa;
    display: flex;
    font-size: var(--font-size-avg);
    justify-content: center;
    list-style: none;
    margin: 1vw;
    padding: 0;
}

.card-tese {
    background-color: #d1ff94;
    border: 1px solid lightgray;
    font-size: var(--font-size-large);
    font-style: italic;
    font-weight: 600;
    margin: 2vw 0 1vw 0;
    padding: 1vw 1vw 1vw 1vw;
    text-align: justify;
}

.card-descricao {
    background-color: #fce8ff;
    border: 1px solid lightgray;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    font-size: var(--font-size-avg);
    font-style: italic;
    font-weight: 600;
    margin: 2vw 0 0 0;
    padding: 1.5vw;
    text-align: justify;
    transition: all 0.3s ease;
}

.card-descricao:hover {
    background-color: #f9d6ff;
    border-color: #e1bee7;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.card-resumo {
    font-size: var(--font-size-small);
    margin: 2.5vw 0 2.5vw 0;
    text-align: justify;
}

.card-data,
.card-julgados,
.card-julgadosRel,
.card-doutrinaRel,
.card-legislacao,
.card-notaRodape {
    border-left: 2px solid lightblue;
    border-top: 2px solid lightblue;
    font-size: var(--font-size-x-small);
    font-style: italic;
    padding: 0.25vw;
    text-align: justify;
}

.card-profile-ribbon-left {
    background: hsl(128, 38%, 46%);
    border-bottom: var(--r) solid #0000;
    border-left: var(--f) solid #0005;
    clip-path: polygon(var(--f) 0, 100% 0, 100% calc(100% - var(--r)), calc(50% + var(--f)/2) 100%, var(--f) calc(100% - var(--r)), var(--f) var(--f), 0 var(--f));
    color: #fff;
    font-size: var(--font-size-small);
    font-weight: bold;
    left: 20px;
    padding: .5em .2em .2em .2em;
    position: absolute;
    top: calc(-1*var(--f));
    --f: .5em;
    --r: .8em;
}

.card-profile-ribbon-right {
    background-color: #F07818;
    border-image: conic-gradient(#0008 0 0) 51%/var(--f);
    clip-path: polygon(100% calc(100% - var(--f)), 100% 100%, calc(100% - var(--f)) calc(100% - var(--f)), var(--f) calc(100% - var(--f)), 0 100%, 0 calc(100% - var(--f)), 999px calc(100% - var(--f) - 999px), calc(100% - 999px) calc(100% - var(--f) - 999px));
    color: #fff;
    font-size: var(--font-size-avg);
    font-weight: bold;
    line-height: 1.8;
    padding-bottom: var(--f);
    padding-inline: 1lh;
    position: absolute;
    right: 0;
    top: 0;
    transform: translate(calc((1 - cos(45deg))*100%), -100%) rotate(45deg);
    transform-origin: 0% 100%;
    --f: .5em;
}

.card-btn-green {
    color: rgb(0 176 0) !important;
}

.card-btn-red {
    color: rgb(255 102 102) !important;
}

.card-opinion {
    background-color: #f5f7fb;
    border: 1px solid #e1e5eb;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5vw;
    justify-content: center;
    margin: 2vw 0;
    padding: 0.2vw;
    position: relative;
    transition: all 0.3s ease;
}

.card-opinion:before {
    background: linear-gradient(45deg, #4285f4, #34a853, #fbbc05, #ea4335);
    border-radius: 8px 8px 0 0;
    content: "";
    height: 4px;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.card-opinion:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.card-opinion-btn {
    background-color: transparent;
    border: none;
    color: rgb(71, 71, 71);
    cursor: pointer;
    font-size: var(--font-size-x-large);
    margin: 1vw;
    outline: 0;
}

.card-opinion-btn:focus {
    outline: none;
}

.shake {
    animation: shake 0.5s;
}

/* CARD CRIADOR */
.cardCriador-container {
    padding: 2.5vw 4vw 2.5vw 4vw;
}

.cardCriador-profile {
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 4px 24px rgba(44, 62, 80, 0.10), 0 1.5px 4px rgba(44, 62, 80, 0.04);
    margin: 2vw auto 0 auto;
    max-width: 640px;
    text-align: center !important;
    position: relative;
    transition: box-shadow 0.22s, transform 0.22s;
}

.cardCriador-profile:hover {
    box-shadow: 0 8px 32px rgba(44, 62, 80, 0.18), 0 2px 8px rgba(44, 62, 80, 0.08);
    transform: translateY(-4px) scale(1.02);
}

.cardCriador-profile-img {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

.cardCriador-profile-img-el {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #314bac;
    box-shadow: 0 2px 16px rgba(49, 75, 172, 0.12);
    object-fit: cover;
    transition: box-shadow 0.22s, border-color 0.22s;
}

.cardCriador-profile:hover .cardCriador-profile-img-el {
    box-shadow: 0 4px 32px rgba(49, 75, 172, 0.18);
    border-color: #bfa76a;
}

.cardCriador-span {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.3rem;
}

.cardCriador-h4 {
    font-size: 1.1rem;
    font-weight: 500;
    color: #314bac;
    margin-bottom: 0.7rem;
}

.cardCriador-social-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1.2rem;
}

.cardCriador-social-list span.fa {
    font-size: 2rem;
    color: #bfa76a;
    background: #314bac11;
    border-radius: 50%;
    padding: 0.5rem 0.7rem;
    transition: background 0.18s, color 0.18s;
}

.cardCriador-profile:hover .cardCriador-social-list span.fa {
    color: #314bac;
    background: #bfa76a22;
}

.cardCriador-resumo {
    font-size: 1rem;
    color: #495057;
    background: #f8f9fa;
    border-radius: 1rem;
    padding: 1.2rem 1.5rem;
    font-style: italic;
    box-shadow: 0 1px 4px rgba(44, 62, 80, 0.04);
}

/* NUMPROC */
.imageEmailProc {
    border-radius: var(--mainBorderRadius);
    height: 100px;
    object-fit: cover;
    width: 100px;
}

.imageUnidadeEncontrada {
    border-radius: var(--mainBorderRadius);
    display: block;
    height: 100px;
    object-fit: cover;
    width: 100px;
}

.nameImage {
    display: block;
}

#dadosEstatDiv {
    animation: fadeAndScale 1s;
    display: none;
    margin-bottom: 4vw;
}

#numProcDiv {
    margin-bottom: 2vw;
}

@keyframes fadeAndScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* TITLE */
.banner-home {
    position: relative;
    --spot-x: 50vw;
    --spot-y: 9vw;
    --spot-visible: 0;
    align-items: center;
    background-image: url('/img/home-bg.webp');
    background-position: center;
    background-size: cover;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    height: 18vw;
    justify-content: center;
    min-height: 10vw;
    overflow: hidden;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse 18vw 9vw at var(--spot-x, 50vw) var(--spot-y, 9vw), rgba(255, 255, 255, calc(0.18 * var(--spot-visible, 1))) 0%, rgba(0, 0, 0, 0.45) 60%, rgba(0, 0, 0, 0.75) 100%);
    backdrop-filter: blur(1.5px);
    z-index: 1;
    pointer-events: none;
    transition: background 0.18s cubic-bezier(.4, 1, .3, 1);
}

.banner-overlay-dim {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.45) 60%, rgba(0, 0, 0, 0.75) 100%);
    backdrop-filter: blur(1.5px);
    z-index: 1;
    pointer-events: none;
}

.banner-title {
    position: relative;
    z-index: 3;
    color: #fff;
    font-family: monospace;
    font-size: 3vw !important;
    letter-spacing: var(--letterSpacing);
    padding: 0 5vw 0 5vw;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7), 0 1px 0 #222;
    display: inline-block;
    margin: 0 auto;
    max-width: 90vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.banner-subtitle {
    display: block;
    font-size: 1.3rem;
    color: #314bac;
    margin-top: 1.2rem;
    margin-bottom: 2rem;
    font-weight: 400;
    text-align: center;
}

.banner-cta {
    display: inline-block;
    background: linear-gradient(90deg, #314bac 0%, #bfa76a 100%);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0.9rem 2.2rem;
    border-radius: 2rem;
    text-decoration: none;
    box-shadow: 0 2px 8px #314bac22;
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
    margin-bottom: 1.5rem;
}

.banner-cta:hover {
    background: linear-gradient(90deg, #bfa76a 0%, #314bac 100%);
    color: #fff;
    box-shadow: 0 4px 16px #bfa76a33;
    transform: translateY(-2px) scale(1.04);
}

/* TABELA */
table {
    border-collapse: collapse;
    margin: 1vw 0 0 0;
}

table:not(#starsAggregation):not(.flip-card-table table) {
    width: 100%;
}

#starsAggregation table {
    width: auto;
}

th {
    background-color: rgb(236, 236, 236);
}

td,
th {
    border: 1px solid #ababab;
    padding: 0.75vw;
    text-align: left;
}

/* CADASTRADOR */
.cadastradorBlock,
.espelho {
    border: 1px solid #8f8fbf;
    border-radius: 8px;
    margin-bottom: 2vw;
    padding: 1vw;
}

.espelho {
    background-color: #f0edff;
}

.cadastradorBlock button {
    border: 2px solid var(--color-form);
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    font-size: var(--font-size-avg);
}

.espelho label,
.espelho p,
.espelho textarea {
    padding: 1vw 0 1vw 0;
}

.lightpink {
    background-color: rgb(255, 229, 232);
}

.red {
    background-color: rgb(255 111 131);
}

.green {
    background-color: rgb(36 185 72);
}

.blue {
    background-color: #0360a9;
}

/* RECONHECEDOR */
.reconhecedorDiv {
    margin: 3vw 0 0 0;
}

/* BUSCADOR */
#container {
    position: relative;
    overflow: visible;
}

.sticky-caderno {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    padding: 1.5vw 2vw 2.5vw 2vw;
    margin-bottom: 2vw;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.10), 0 2px 8px rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    width: 100%;
    box-sizing: border-box;
    transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 100px;
    max-height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
}

.sticky-caderno:hover {
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.15), 0 3px 10px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.sticky-caderno .fakeLabel-cv {
    margin: 0 0 1vw 0;
    font-size: var(--font-size-x-large);
    position: sticky;
    top: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: 1;
    padding: 0.5vw 0;
    color: white;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.sticky-caderno details {
    margin: 1vw 0;
    color: rgba(255, 255, 255, 0.9);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.sticky-caderno details summary {
    color: white;
    font-weight: 600;
    cursor: pointer;
    padding: 0.5vw 0;
    transition: color 0.3s ease;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.sticky-caderno details summary:hover {
    color: #f0f0f0;
}

.sticky-caderno details span {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.sticky-caderno #cadernoList {
    margin: 1vw 0;
    max-height: 200px;
    overflow-y: auto;
    padding-right: 0.5vw;
}

.sticky-caderno #cadernoList::-webkit-scrollbar {
    width: 6px;
}

.sticky-caderno #cadernoList::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.sticky-caderno #cadernoList::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.sticky-caderno #cadernoList::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.sticky-caderno #btns_cadernoList {
    position: sticky;
    bottom: 0;
    display: flex;
    gap: 0.5vw;
    flex-wrap: wrap;
}

.sticky-caderno #btns_cadernoList button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.sticky-caderno #outputDiv {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1vw;
    color: #fff;
    margin: 1vw 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.sticky-caderno #loaderBuscador {
    margin: 1vw auto;
}

.grid-container {
    display: grid;
    gap: 1.5rem;
    grid-template-areas:
        'step1Header step1Header step1Header step1Header step1Header step1Header'
        'step1Content step1Content step1Content step1Content step1Content step1Content'
        'step2Header step2Header step2Header step2Header step2Header step2Header'
        'step2Content step2Content step2Content step2Content step2Content step2Content'
        'step3Header step3Header step3Header step3Header step3Header step3Header'
        'top_L top_L top_C top_C top_R top_R'
        'bottom_L bottom_L bottom_C bottom_C bottom_R bottom_R';
    grid-template-columns: repeat(6, 1fr);
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px;
    padding: 2rem;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.08),
        0 4px 16px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

/* Step Headers */
.step-header {
    text-align: center;
    padding: 0.5rem 0;
    margin: 0.25rem 0;
    position: relative;
}

.step-header-1 {
    grid-area: step1Header;
}

.step-header-2 {
    grid-area: step2Header;
}

.step-header-3 {
    grid-area: step3Header;
}

.step-header .fakeLabel-cv {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    /* background: rgba(255, 255, 255, 0.9); */
    border: 1px solid rgba(102, 126, 234, 0.2);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
    display: inline-block;
    position: relative;
    z-index: 1;
}

/* Step Content Areas */
.item-main {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.step-content-1 {
    grid-area: step1Content;
}

.step-content-2 {
    grid-area: step2Content;
}

.item-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    opacity: 1;
}

.item-main:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow:
        0 8px 32px rgba(102, 126, 234, 0.15),
        0 4px 16px rgba(0, 0, 0, 0.05);
    transform: translateY(-4px);
}

/* Filter Items */
.item-top-left,
.item-top-center,
.item-top-right,
.item-bottom-left,
.item-bottom-center,
.item-bottom-right {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.item-top-left::before,
.item-top-center::before,
.item-top-right::before,
.item-bottom-left::before,
.item-bottom-center::before,
.item-bottom-right::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.item-top-left:hover,
.item-top-center:hover,
.item-top-right:hover,
.item-bottom-left:hover,
.item-bottom-center:hover,
.item-bottom-right:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow:
        0 8px 32px rgba(102, 126, 234, 0.15),
        0 4px 16px rgba(0, 0, 0, 0.05);
    transform: translateY(-4px);
}

.item-top-left:hover::before,
.item-top-center:hover::before,
.item-top-right:hover::before,
.item-bottom-left:hover::before,
.item-bottom-center:hover::before,
.item-bottom-right:hover::before {
    opacity: 1;
}

.item-top-left {
    grid-area: top_L;
}

.item-top-center {
    grid-area: top_C;
}

.item-top-right {
    grid-area: top_R;
}

.item-bottom-left {
    grid-area: bottom_L;
}

.item-bottom-center {
    grid-area: bottom_C;
}

.item-bottom-right {
    grid-area: bottom_R;
}

/* Uniformização dos elementos do buscador */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.checkbox-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    font-size: var(--font-size-small);
    line-height: 1.4;
    user-select: none;
}

.checkbox-item:hover {
    background-color: rgba(102, 126, 234, 0.05);
}

.checkbox-item input[type="checkbox"] {
    margin: 0;
    margin-top: 0.2rem;
    cursor: pointer;
    width: 1.2rem;
    height: 1.2rem;
    accent-color: #667eea;
    pointer-events: auto;
}

.checkbox-text {
    flex: 1;
    color: #2d3748;
    font-weight: 400;
    pointer-events: none;
}

.checkbox-text strong {
    color: #314bac;
    font-weight: 600;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.search-details {
    margin: 0.5rem 0;
    padding: 0.75rem;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 8px;
    border-left: 3px solid #667eea;
}

.search-details summary {
    color: #314bac;
    font-weight: 600;
    cursor: pointer;
    padding: 0.25rem 0;
}

.search-details span {
    color: #4a5568;
    font-size: var(--font-size-small);
    line-height: 1.5;
    margin-top: 0.5rem;
    display: block;
}

.color-option {
    margin-top: 0.5rem;
}

.filter-label {
    display: block;
    font-size: var(--font-size-small);
    font-weight: 600;
    color: #314bac;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.filter-select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background-color: #ffffff;
    color: #2d3748;
    font-size: var(--font-size-small);
    transition: all 0.2s ease;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.filter-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.filter-select:hover {
    border-color: #cbd5e0;
}

.filter-select optgroup {
    font-weight: 600;
    color: #4a5568;
}

.filter-select option {
    font-weight: 400;
    color: #2d3748;
    padding: 0.25rem;
}

/* Responsive design for grid container */
@media (max-width: 1024px) {
    .grid-container {
        gap: 1rem;
        padding: 1.5rem;
        border-radius: 16px;
    }

    .step-header {
        padding: 0.4rem 0;
        margin: 0.2rem 0;
    }

    .step-header .fakeLabel-cv {
        font-size: 1.1rem;
        padding: 0.4rem 1.2rem;
    }

    .item-main,
    .item-top-left,
    .item-top-center,
    .item-top-right,
    .item-bottom-left,
    .item-bottom-center,
    .item-bottom-right {
        padding: 1.25rem;
        border-radius: 12px;
    }

    .checkbox-item {
        font-size: var(--font-size-x-small);
        gap: 0.5rem;
    }

    .filter-label {
        font-size: var(--font-size-x-small);
    }

    .filter-select {
        padding: 0.6rem;
        font-size: var(--font-size-x-small);
    }
}

@media (max-width: 768px) {
    .grid-container {
        gap: 0.75rem;
        padding: 1rem;
        border-radius: 12px;
        grid-template-areas:
            'step1Header'
            'step1Content'
            'step2Header'
            'step2Content'
            'step3Header'
            'top_L'
            'top_C'
            'top_R'
            'bottom_L'
            'bottom_C'
            'bottom_R';
        grid-template-columns: 1fr;
    }

    .step-header {
        padding: 0.3rem 0;
        margin: 0.15rem 0;
    }

    .step-header .fakeLabel-cv {
        font-size: 1rem;
        padding: 0.3rem 1rem;
    }

    .item-main,
    .item-top-left,
    .item-top-center,
    .item-top-right,
    .item-bottom-left,
    .item-bottom-center,
    .item-bottom-right {
        padding: 1rem;
        border-radius: 8px;
    }

    .checkbox-group {
        gap: 0.5rem;
    }

    .checkbox-item {
        padding: 0.4rem;
        gap: 0.4rem;
    }

    .input-group {
        gap: 0.75rem;
    }

    .search-details {
        padding: 0.5rem;
        margin: 0.25rem 0;
    }

    .filter-label {
        margin-bottom: 0.4rem;
    }

    .filter-select {
        padding: 0.5rem;
    }
}

@media (max-width: 480px) {
    .grid-container {
        gap: 0.5rem;
        padding: 0.75rem;
        border-radius: 8px;
    }

    .step-header {
        padding: 0.25rem 0;
        margin: 0.1rem 0;
    }

    .step-header .fakeLabel-cv {
        font-size: 0.9rem;
        padding: 0.25rem 0.8rem;
    }

    .item-main,
    .item-top-left,
    .item-top-center,
    .item-top-right,
    .item-bottom-left,
    .item-bottom-center,
    .item-bottom-right {
        padding: 0.75rem;
        border-radius: 6px;
    }

    .checkbox-item {
        padding: 0.3rem;
        gap: 0.3rem;
    }

    .checkbox-item input[type="checkbox"] {
        width: 1rem;
        height: 1rem;
    }

    .input-group {
        gap: 0.5rem;
    }

    .search-details {
        padding: 0.4rem;
        margin: 0.2rem 0;
    }

    .filter-select {
        padding: 0.4rem;
    }
}

.mirrorReference {
    border: 2px solid #b1b1b1;
    border-radius: 4px;
    font-size: var(--font-size-small);
    margin: 1vw 0 1vw 0;
    padding: 10px;
}

.destaqueTextoAzul,
.destaqueTextoVerde,
.destaqueTextoAmarelo,
.destaqueTextoVermelho,
.destaqueTextoRoxo {
    border: 1px solid black;
    padding-right: 3px
}

.destaqueTextoAzul {
    background-color: rgb(138, 253, 255);
}

.destaqueTextoVerde {
    background-color: rgb(175, 255, 174);
}

.destaqueTextoAmarelo {
    background-color: lightyellow;
}

.destaqueTextoVermelho {
    background-color: lightpink;
}

.destaqueTextoRoxo {
    background-color: rgb(255 185 255);
}

#argumentos i {
    font-size: var(--font-size-avg);
}

.botaoCaderno,
.limparCaderno,
.imprimirCaderno,
.botaoReportar,
.botaoPula {
    font-size: var(--font-size-small);
    margin-right: 1vw;
}

.botaoCaderno {
    background-color: rgb(36 185 72);
}

.limparCaderno {
    background-color: rgb(255 111 131);
}

.imprimirCaderno {
    background-color: rgb(56 149 255);
}

.botaoReportar {
    background-color: rgb(255, 167, 72);
}

.botaoPula {
    background-color: rgb(205, 144, 255);
}

.fakeLabel {
    color: white;
    font-size: var(--font-size-x-large);
    font-weight: 600;
    margin: 0 0 1vw 0;
}

#arrow {
    font-size: var(--font-size-xx-large);
    margin: auto;
    position: relative;
    text-align: center;
    top: 0;
}

.resultados {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid #e9ecef;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    display: none;
    margin: 2rem 0 3rem 0;
    padding: 2rem;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.resultados:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.resultados::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #314bac 0%, #bfa76a 50%, #314bac 100%);
    border-radius: 16px 16px 0 0;
}

.resultados #qntdResultados {
    display: block;
    margin-bottom: 1.5rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border-left: 4px solid #314bac;
}

.resultados .card-opinion-btn {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    color: #4a5568;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0.5rem;
    padding: 0.75rem 1.25rem;
    outline: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.resultados .card-opinion-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.resultados .card-opinion-btn:hover::before {
    left: 100%;
}

.resultados .card-opinion-btn:hover {
    border-color: #314bac;
    color: #314bac;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(49, 75, 172, 0.15);
}

.resultados .card-opinion-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(49, 75, 172, 0.1);
}

.resultados .card-opinion-btn i {
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.resultados .card-opinion-btn:hover i {
    transform: scale(1.1);
}

.resultados .card-opinion-btn span {
    font-weight: 500;
    letter-spacing: 0.025em;
}

/* Specific button styles for different actions */
.resultados #recolher_minimizar_tudo {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
}

.resultados #recolher_minimizar_tudo:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    border-color: #5a67d8;
    color: white;
}

.resultados #add_all_caderno {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    border-color: #48bb78;
    color: white;
}

.resultados #add_all_caderno:hover {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
    border-color: #38a169;
    color: white;
}

.resultados #sort_score {
    background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
    border-color: #ed8936;
    color: white;
}

.resultados #sort_score:hover {
    background: linear-gradient(135deg, #dd6b20 0%, #c05621 100%);
    border-color: #dd6b20;
    color: white;
}

.resultados #sort_date {
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
    border-color: #4299e1;
    color: white;
}

.resultados #sort_date:hover {
    background: linear-gradient(135deg, #3182ce 0%, #2c5282 100%);
    border-color: #3182ce;
    color: white;
}

.resultados #sort_hiera {
    background: linear-gradient(135deg, #9f7aea 0%, #805ad5 100%);
    border-color: #9f7aea;
    color: white;
}

.resultados #sort_hiera:hover {
    background: linear-gradient(135deg, #805ad5 0%, #6b46c1 100%);
    border-color: #805ad5;
    color: white;
}

/* Responsive design */
@media (max-width: 768px) {
    .resultados {
        margin: 1.5rem 0 2rem 0;
        padding: 1.5rem;
        border-radius: 12px;
    }

    .resultados #qntdResultados {
        font-size: 1rem;
        margin-bottom: 1rem;
        padding: 0.5rem 0.75rem;
    }

    .resultados .card-opinion-btn {
        font-size: 0.85rem;
        margin: 0.25rem;
        padding: 0.6rem 1rem;
        flex-direction: column;
        gap: 0.25rem;
        min-width: 120px;
        text-align: center;
    }

    .resultados .card-opinion-btn span {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .resultados {
        padding: 1rem;
        margin: 1rem 0 1.5rem 0;
    }

    .resultados .card-opinion-btn {
        width: calc(50% - 0.5rem);
        margin: 0.25rem;
        min-width: auto;
    }
}

.buscador_textarea {
    background-color: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: var(--font-size-small);
    margin: 0;
    padding: 0.75rem;
    transition: all 0.2s ease;
    resize: vertical;
    min-height: 80px;
    font-family: var(--font-family);
    line-height: 1.5;
    color: #2d3748;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.buscador_textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background-color: #ffffff;
}

.buscador_textarea:hover {
    border-color: #cbd5e0;
}

.buscador_textarea::placeholder {
    color: #a0aec0;
    font-style: italic;
}

.buscador_match_style {
    background-color: white;
    border: solid 2px grey;
    font-weight: 600;
}

#cadernoList {
    margin-bottom: 2vw;
}

.cadernoPronto {
    align-items: center;
    background-color: #ff9f6f;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    color: white;
    cursor: pointer;
    display: inline-flex;
    font-size: var(--font-size-x-small);
    font-weight: 600;
    margin: 0.8vw 0 0.8vw 0;
    padding: 8px 12px;
    transition: background-color 0.3s, transform 0.2s;
}

.cadernoPronto:before {
    content: "📄";
    margin-right: 8px;
}

.cadernoPronto:hover {
    background-color: #fcbda5;
    transform: translateY(-2px);
}

.cadernoPronto:active {
    transform: translateY(1px);
}

/* BLOG */
.fake_aTag {
    color: #3b7ddd;
    cursor: pointer;
    display: block;
    text-decoration: none;
}

.fake_aTag:hover {
    color: orange;
}

/* TIMELINE */
.vis-item.red {
    background-color: lightpink;
    border-color: darkred;
}

.vis-item.green {
    background-color: rgb(203, 255, 175);
    border-color: rgb(25, 107, 0);
}

.vis-item.blue {
    background-color: rgb(173, 240, 255);
    border-color: rgb(5, 123, 142);
}

.vis-item.yellow {
    background-color: rgb(255, 241, 168);
    border-color: rgb(189, 158, 0);
}

.vis-item.purple {
    background-color: rgb(255, 187, 254);
    border-color: rgb(80, 1, 50);
}

.vis-item.orange {
    background-color: rgb(255, 188, 95);
    border-color: rgb(148, 79, 0);
}

.vis-item.grey {
    background-color: rgb(179, 179, 179);
    border-color: rgb(59, 59, 58);
}

.vis-item.red:hover,
.vis-item.green:hover,
.vis-item.blue:hover,
.vis-item.yellow:hover,
.vis-item.purple:hover,
.vis-item.orange:hover,
.vis-item.grey:hover {
    opacity: 0.7;
}

/* PENA/LEI */
#indexLeiDiv label,
#quesitoPenaDiv label,
#penaImpoDiv label,
#penaNovaDiv label {
    display: block;
}

#indexLeiDiv input,
#quesitoPenaDiv input,
#penaImpoDiv input,
#penaNovaDiv input {
    width: 40px;
}

#atoNormativoDiv,
#atoNormativoNumeroDiv,
#artigoDiv,
#paragrafoDiv,
#incisoDiv,
#alineaDiv,
#quesitoPenaAnoDiv,
#quesitoPenaMesDiv,
#quesitoPenaDiaDiv,
#penaImpoAnoDiv,
#penaImpoMesDiv,
#penaImpoDiaDiv,
#penaNovaAnoDiv,
#penaNovaMesDiv,
#penaNovaDiaDiv {
    display: inline-block;
}

/* FLASHCARDS */
.flip-card-container {
    display: grid;
    grid-gap: 0.5rem;
    grid-template-areas:
        'top_L top_L top_C top_C top_R top_R'
        'bottom_L bottom_L bottom_C bottom_C bottom_R bottom_R';
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
}

.flip-card-item1,
.flip-card-item2,
.flip-card-item3,
.flip-card-item4,
.flip-card-item5,
.flip-card-item6 {
    padding: var(--padding-avg);
}

.flip-card-item1 {
    grid-area: top_L;
}

.flip-card-item2 {
    grid-area: top_C;
}

.flip-card-item3 {
    grid-area: top_R;
}

.flip-card-item4 {
    grid-area: bottom_L;
}

.flip-card-item5 {
    grid-area: bottom_C;
}

.flip-card-item6 {
    grid-area: bottom_R;
}

.flip-card-container select {
    max-width: 90%;
}

.flip-card-front h1,
.flip-card-back h1,
.flip-card-front p,
.flip-card-back p {
    margin-left: 3vw;
    margin-right: 3vw;
    padding: 0 10px 0 10px;
}

.flip-card-container {
    border: 0.5px solid var(--color-form);
    border-radius: 8px;
}

.flip-card {
    height: var(--card-height);
    margin: 6vw 0 6vw 0;
    perspective: 1000px;
    width: 100%;
}

.flip-card-inner {
    box-shadow: 0 10px 16px 0 rgba(0, 0, 0, 0.4);
    height: 100%;
    position: relative;
    text-align: center;
    transform-style: preserve-3d;
    transition: transform 0.6s;
    width: 100%;
}

.flip-card-initial {
    background-image: url('/img/logo.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 20%;
    height: 100%;
    position: relative;
    width: 100%;
}

.flip-card-front,
.flip-card-back {
    backface-visibility: hidden;
    height: 100%;
    position: absolute;
    width: 100%;
}

.flip-card-front {
    background-color: #fffff0;
    color: rgb(84, 84, 84);
}

.flip-card-back {
    background-color: #2980b9;
    color: white;
    transform: rotateY(180deg);
}

.flip-card-img {
    border-radius: 10%;
    display: block;
    margin-bottom: 1vw;
    margin-left: auto;
    margin-top: var(--margin-top-click);
    width: var(--imgWidthBuscador);
}

.flip-card-table td {
    font-size: var(--font-size-x-small);
    text-align: center;
}

.flip-card-table table {
    margin: auto;
}

.progress-bar-container {
    background-color: rgb(213, 213, 213);
    position: absolute;
    width: 100%;
}

.progress-bar-inner {
    background-color: rgb(116, 194, 92);
    color: white;
    font-size: var(--font-size-small);
    padding: 1%;
    text-align: right;
    width: 0%;
}

.flashcard-radar {
    margin-top: 6vw;
    max-width: 700px;
    width: 100%
}

/* Estatísticas detalhadas dos flashcards */
.stats-container {
    background: linear-gradient(135deg, #2e43a2 0%, #010002 100%);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stats-header {
    text-align: center;
    margin-bottom: 2rem;
}

.stats-header h3 {
    color: white;
    font-size: 1.8rem;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stats-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.stats-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
    color: #ffd700;
}

.stats-content h4 {
    color: white;
    font-size: 1.1rem;
    margin: 0 0 0.5rem 0;
    text-align: center;
}

.stats-value {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    color: #ffd700;
    margin-bottom: 0.5rem;
}

.stats-comparison {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
}

.stats-label {
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
}

.performance-breakdown {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.performance-breakdown h4 {
    color: white;
    font-size: 1.3rem;
    margin: 0 0 1rem 0;
    text-align: center;
}

.performance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.performance-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
    transition: transform 0.2s ease;
}

.performance-item:hover {
    transform: scale(1.02);
}

.performance-item i {
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

.performance-item.nao-sabia i {
    color: #ff6b6b;
}

.performance-item.alguma-nocao i {
    color: #feca57;
}

.performance-item.esta-dominado i {
    color: #48dbfb;
}

.performance-item.pula i {
    color: #ff9ff3;
}

.performance-label {
    font-weight: 500;
    color: white;
}

.performance-value {
    font-weight: bold;
    font-size: 1.2rem;
    color: #ffd700;
}

.global-insights {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.global-insights h4 {
    color: white;
    font-size: 1.3rem;
    margin: 0 0 1rem 0;
    text-align: center;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.insight-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
    transition: transform 0.2s ease;
}

.insight-item:hover {
    transform: scale(1.02);
}

.insight-item i {
    font-size: 1.2rem;
    margin-right: 0.8rem;
    color: #ffd700;
}

.insight-item span {
    color: white;
    font-weight: 500;
}

.chart-container {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.chart-container canvas {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Responsividade para estatísticas */
@media (max-width: 768px) {
    .stats-container {
        padding: 1.5rem;
        margin: 1rem 0;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .performance-grid {
        grid-template-columns: 1fr;
    }

    .insights-grid {
        grid-template-columns: 1fr;
    }

    .stats-value {
        font-size: 2rem;
    }

    .stats-header h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .stats-container {
        padding: 1rem;
    }

    .stats-card {
        padding: 1rem;
    }

    .performance-item {
        padding: 0.8rem;
    }

    .stats-value {
        font-size: 1.8rem;
    }
}

#errorDiv {
    margin-top: 3vw;
}

.animation_run {
    animation: run 0.5s linear;
    position: relative;
}

@keyframes run {
    0% {
        left: 0;
    }

    50% {
        left: 100%;
    }

    100% {
        left: 0;
    }
}

/* QUILL CUSTOM BUTTONS */
#toolbar .fa {
    color: black;
}

/* BUSCADOR DE INFRAÇÕES PENAIS */
.labelInfo {
    color: white;
    padding: var(--padding-avg);
}

.labelInfo:hover {
    opacity: 0.7;
}

.listCv {
    margin: 2vw 0 0 0;
}

.fakeDate {
    display: block;
    width: 20%;
}

/* HOME */
.home {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    padding: 2rem 0 3rem 0;
    list-style: none;
    background: #f5f7fb;
    min-height: 60vh;
    border-radius: 2rem;
    margin-top: 0;
}

.home-card {
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 6px 24px rgba(33, 150, 243, 0.10), 0 1.5px 4px rgba(0, 0, 0, 0.04);
    margin: 0;
    transition: transform 0.25s cubic-bezier(.4, 2, .3, 1), box-shadow 0.25s;
    min-width: 260px;
    max-width: 320px;
    flex: 1 1 260px;
    display: flex;
    align-items: stretch;
}

.home-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 12px 32px rgba(33, 150, 243, 0.18), 0 2px 8px rgba(0, 0, 0, 0.08);
}

.home-card-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 2.5rem 1.5rem 2rem 1.5rem;
    text-decoration: none;
    color: inherit;
    min-height: 180px;
}

.home-card-icon {
    margin-bottom: 1.2rem;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-card-icon img {
    width: 64px;
    height: 64px;
    opacity: 0.85;
    filter: drop-shadow(0 2px 8px rgba(33, 150, 243, 0.10));
}

.home-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
    color: #314bac;
    letter-spacing: 0.01em;
    margin-top: 0.5rem;
}

.fakeLabel-cv {
    display: block;
    width: 100%;
    text-align: left;
    margin: 2.5rem 0 1.5rem 0;
    font-size: 2rem;
    font-weight: 700;
    background-image: linear-gradient(90deg, #2196F3 0%, #00BCD4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.home-card-description {
    font-size: 1rem;
    color: #495057;
    margin-top: 0.7rem;
    text-align: center;
    font-weight: 400;
    opacity: 0.85;
}

@media (max-width: 900px) {
    .home {
        gap: 1.2rem;
        padding: 1rem 0 2rem 0;
    }

    .home-card {
        min-width: 180px;
        max-width: 95vw;
    }

    .home-card-link {
        padding: 1.5rem 0.5rem 1.2rem 0.5rem;
    }

    .home-card-icon,
    .home-card-icon img {
        width: 48px;
        height: 48px;
    }

    .home-card-title {
        font-size: 1rem;
    }

    .fakeLabel-cv {
        font-size: 1.2rem;
    }

    .banner-title {
        font-size: 1.5rem;
        max-width: 90vw;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .banner-subtitle {
        font-size: 1rem;
    }

    .home-section-heading {
        font-size: 1.2rem;
        margin-top: 1.2rem;
        margin-bottom: 1.2rem;
    }

    .home-card-description {
        font-size: 0.95rem;
    }
}

@media (max-width: 600px) {
    .home {
        padding-left: 4vw;
        padding-right: 4vw;
        gap: 0.7rem;
    }

    .home-card {
        min-width: 90vw;
        max-width: 98vw;
        border-radius: 1rem;
    }

    .home-card-link {
        padding: 1rem 0.2rem 1rem 0.2rem;
        min-height: 120px;
    }

    .home-card-icon,
    .home-card-icon img {
        width: 36px;
        height: 36px;
    }

    .home-card-title {
        font-size: 0.98rem;
        margin-top: 0.3rem;
    }

    .fakeLabel-cv {
        font-size: 1rem;
        margin: 1.2rem 0 0.7rem 0;
        text-align: center;
    }
}

.home-section-heading {
    font-size: 2rem;
    font-weight: 700;
    color: #314bac;
    text-align: center;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    letter-spacing: 0.01em;
}

.home-welcome {
    text-align: center;
    margin: 3rem 0 2rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 1.5rem;
    border: 1px solid #dee2e6;
}

.home-welcome-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.home-welcome-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    font-weight: 400;
    margin: 0;
    line-height: 1.6;
}

.home-section-divider {
    width: 100%;
    margin: 3rem 0 2rem 0;
    text-align: center;
}

.home-section-divider .fakeLabel-cv {
    display: inline-block;
    margin: 0;
    padding: 0.5rem 2rem;
    background: linear-gradient(90deg, #2d3748 0%, #4a5568 100%);
    color: #fff !important;
    border-radius: 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(45, 55, 72, 0.2);
    background-clip: unset;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-image: linear-gradient(90deg, #2d3748 0%, #4a5568 100%);
}

.home-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    text-align: center;
}

.home-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
    color: #2d3748;
    letter-spacing: 0.01em;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.home-card-description {
    font-size: 0.95rem;
    color: #6c757d;
    margin-top: 0;
    text-align: center;
    font-weight: 400;
    line-height: 1.5;
    opacity: 0.9;
}

.home-card-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    text-decoration: none;
    color: inherit;
    min-height: 200px;
}

.home-card-icon {
    margin-bottom: 1.5rem;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.home-card-icon img {
    width: 48px;
    height: 48px;
    opacity: 0.8;
    filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.1));
}

@media (max-width: 900px) {
    .home-welcome-title {
        font-size: 2rem;
    }

    .home-welcome-subtitle {
        font-size: 1.1rem;
    }

    .home-section-divider .fakeLabel-cv {
        font-size: 1rem;
        padding: 0.4rem 1.5rem;
    }

    .home-card-title {
        font-size: 1.1rem;
    }

    .home-card-description {
        font-size: 0.9rem;
    }

    .home-card-link {
        min-height: 180px;
        padding: 1.5rem 1rem 1rem 1rem;
    }

    .home-card-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 1.2rem;
    }

    .home-card-icon img {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 600px) {
    .home-welcome {
        margin: 2rem 1rem 1.5rem 1rem;
        padding: 1.5rem;
    }

    .home-welcome-title {
        font-size: 1.8rem;
    }

    .home-welcome-subtitle {
        font-size: 1rem;
    }

    .home-section-divider {
        margin: 2rem 0 1.5rem 0;
    }

    .home-section-divider .fakeLabel-cv {
        font-size: 0.9rem;
        padding: 0.3rem 1.2rem;
    }

    .home-card-title {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }

    .home-card-description {
        font-size: 0.85rem;
    }

    .home-card-link {
        min-height: 160px;
        padding: 1.2rem 0.8rem 1rem 0.8rem;
    }

    .home-card-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 1rem;
    }

    .home-card-icon img {
        width: 32px;
        height: 32px;
    }
}

.acessarBuscador,
.acessarChatjuris {
    background-color: rgb(255 169 67);
    display: block;
    font-size: var(--font-size-avg);
    margin: 1vw auto 1vw auto;
}

.fakeLabel-cv {
    background-clip: text;
    background-image: linear-gradient(to bottom, #2196F3, #00BCD4);
    -webkit-background-clip: text;
    color: var(--color-form);
    font-size: var(--font-size-xx-large);
    font-weight: bold;
    -webkit-text-fill-color: transparent;
}

.buttonCadernoPronto {
    align-self: flex-start;
    background-color: #4CAF50;
    border: none;
    border-radius: 4px;
    color: white;
    cursor: pointer;
    padding: 4px 8px;
    width: 200px;
}

/* TOGGLE */
.toggle-container {
    display: inline-flex;
    margin: 1vw 0;
    overflow: hidden;
}

.toggle-btn {
    background-color: #656565;
    border: none;
    cursor: pointer;
    padding: 0.5vw 1vw;
    transition: all 0.3s ease;
}

.toggle-btn[data-value="N"].active {
    background-color: #ff3333;
    opacity: 1;
}

.toggle-btn[data-value="S"].active {
    background-color: #4CAF50;
    opacity: 1;
}

.toggle-btn:disabled {
    background-color: #cccccc;
    border-color: #999999;
    cursor: not-allowed;
}

.card-minimize_maximize {
    color: white;
    float: right;
    font-size: var(--font-size-x-large);
    font-weight: bold;
}

.card-minimize_maximize {
    color: rgb(255, 255, 255);
    float: left;
}

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

.orangeStar {
    color: orange;
}

.home-footer {
    margin-top: 3rem;
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid #e9ecef;
}

.home-footer p {
    margin-bottom: 0;
    font-size: var(--font-size-small);
    color: var(--colorBody);
}

.home-footer a {
    color: var(--color-form);
    text-decoration: none;
    transition: color 0.3s ease;
}

.home-footer a:hover {
    color: #2f64b1;
    text-decoration: underline;
}