/* 🧱 Estilo base */
* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-texto);
  background-color: var(--rest-fundo);
  color: var(--rest-texto);
  margin: 0;
  padding: 0;
  height: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body > *:not(footer) {
  flex: 1;
}


html {
  scroll-behavior: smooth;
}

input:focus+label {
  outline: none;
  border-color: #6b0400;
}

input:-webkit-autofill {
  box-shadow: 0 0 0px 1000px #ffffff inset !important;
  -webkit-text-fill-color: #000 !important;
  transition: background-color 5000s ease-in-out 0s;
}

*:focus:not(:focus-visible) {
  outline: none;
}

.admin-main-content {
  margin: 20px;
  margin-left: 90px;
  margin-top: 50px;
  margin-bottom: 50px !important;
  border-radius: 16px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  min-height: 100vh !important;
  height: 100%;
  transition: margin-left 0.3s ease;
  border: 1px solid var(--rest-borda);
}


.admin-main-content:not(.collapsed) {
  margin-left: 420px;
}

.admin-main-content.collapsed {
  margin-left: 90px;
}

body *,
*:not(input):not(textarea):not([contenteditable]) {
  caret-color: transparent !important;
}

::selection {
  background-color: #e53935;
  color: #ffffff;
}

::-moz-selection {
  background-color: #e53935;
  color: #ffffff;
}

html::-webkit-scrollbar {
  width: 10px;
}

html::-webkit-scrollbar-track {
  background: #ffffff;
  border-radius: 16px;
}

html::-webkit-scrollbar-thumb {
  background-color: var(--rest-primaria);
  border-radius: 16px;
  border: 2px solid transparent;
  background-clip: content-box;
}

html::-webkit-scrollbar-thumb:hover {
  background-color: var(--rest-hover);
}

/* Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--rest-primaria) #ffffff;
}

.geral-titulo {
  font-family: var(--font-josefin);
  font-size: 28px;
  font-weight: 700;
  color: var(--rest-texto);
  margin: 40px auto 54px 0;
  padding-left: 16px;
  border-left: 4px solid var(--rest-primaria);
  line-height: 1.3;
  width: fit-content;
  text-align: left;
}