* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Sarala", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Libre Franklin", sans-serif;
}

html {
  font-size: 62.5%;
}

main {
  display: flex;
}

.barra_lateral {
  position: fixed;
  display: flex;
  flex-direction: column;
  box-shadow: 5px 5px 5px 5px #151515;
  width: 250px;
  height: 100vh;
  padding: 50px 0px;
  background-color: #151515;
}
.barra_lateral .logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.barra_lateral .logo img {
  width: 50%;
}
.barra_lateral ul {
  display: flex;
  flex-direction: column;
  padding: 50px 0px;
  width: 100%;
  height: 100%;
}
.barra_lateral ul li {
  padding: 15px 20px;
  display: flex;
  align-items: center;
  font-family: "Sarala", sans-serif;
  font-weight: 600;
  cursor: pointer;
  color: #b8b8b8;
  font-size: 1.6rem;
  position: relative;
  transition: 0.3s ease;
}
.barra_lateral ul li::after {
  content: "";
  opacity: 0;
  padding: 5px;
  border-radius: 50%;
  background-color: #954dd8;
  right: 20px;
  position: absolute;
  transition: 0.3s ease;
}
.barra_lateral ul li.active {
  color: #fff;
}
.barra_lateral ul li.active::after {
  opacity: 1;
}
.barra_lateral ul li:hover {
  color: #fff;
}
.barra_lateral ul li:hover::after {
  opacity: 1;
}

.sections_divs {
  padding: 100px 0px;
  margin-left: 250px;
  width: calc(100% - 250px);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgb(21, 23, 26);
}
.sections_divs .form_organizador {
  background-color: rgba(149, 77, 216, 0.15);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border: 1px solid #954dd8;
  padding: 50px;
  border-radius: 5px;
}
.sections_divs .form_organizador h2 {
  color: #ffffff;
  font-family: "Libre Franklin", "Salara", sans-serif;
  font-size: 4rem;
}
.sections_divs .form_organizador form {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  color: #fff;
}
.sections_divs .form_organizador form .form-step {
  display: flex;
  align-items: center;
  justify-content: center;
  align-items: stretch;
  gap: 10px;
}
.sections_divs .form_organizador form .form-step input[type=text] {
  padding: 15px;
  background-color: transparent;
  border: 1px solid #954dd8;
  font-size: 1.2rem;
  box-sizing: border-box;
  border-radius: 5px;
  color: #fff;
  transition: all 0.3s ease;
  font-family: "Sarala", sans-serif;
  flex: 1;
}
.sections_divs .form_organizador form .form-step input[type=text]::-moz-placeholder {
  -moz-transition: all 0.3s ease;
  transition: all 0.3s ease;
  color: #fff;
  font-size: 1.4rem;
}
.sections_divs .form_organizador form .form-step input[type=text]::placeholder {
  transition: all 0.3s ease;
  color: #fff;
  font-size: 1.4rem;
}
.sections_divs .form_organizador form .form-step input[type=text]:focus {
  transition: all 0.3s ease;
  outline: none;
  background: rgba(149, 77, 216, 0.15);
}
.sections_divs .form_organizador form .form-step input[type=text]:focus::-moz-placeholder {
  -moz-transition: all 0.3s ease;
  transition: all 0.3s ease;
  color: #fff;
}
.sections_divs .form_organizador form .form-step input[type=text]:focus::placeholder {
  transition: all 0.3s ease;
  color: #fff;
}
.sections_divs .form_organizador form .text_areas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 10px;
}
.sections_divs .form_organizador form .text_areas textarea {
  padding: 15px;
  background-color: transparent;
  border: 1px solid #954dd8;
  font-size: 1.2rem;
  height: 250px;
  box-sizing: border-box;
  border-radius: 5px;
  color: #ffffff;
  transition: all 0.3s ease;
  font-family: "Sarala", sans-serif;
}
.sections_divs .form_organizador form .text_areas textarea::-moz-placeholder {
  -moz-transition: all 0.3s ease;
  transition: all 0.3s ease;
  color: #fff;
  font-size: 1.4rem;
}
.sections_divs .form_organizador form .text_areas textarea::placeholder {
  transition: all 0.3s ease;
  color: #fff;
  font-size: 1.4rem;
}
.sections_divs .form_organizador form .text_areas textarea:focus {
  transition: all 0.3s ease;
  outline: none;
  background: rgba(149, 77, 216, 0.15);
}
.sections_divs .form_organizador form .text_areas textarea:focus::-moz-placeholder {
  -moz-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.sections_divs .form_organizador form .text_areas textarea:focus::placeholder {
  transition: all 0.3s ease;
}
.sections_divs .form_organizador form .buttons {
  width: 100%;
  justify-content: flex-end;
  align-items: flex-end;
  display: flex;
  margin-top: 20px;
}
.sections_divs .form_organizador form .buttons button {
  border-radius: 5px;
  padding: 15px 25px;
  border: none;
  background: #954dd8;
  color: #fff;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Libre Franklin", "Sarala", sans-serif;
}
.sections_divs .form_organizador form .buttons button:hover {
  color: #954dd8;
  border: 1px solid #954dd8;
  background-color: #fff;
}
.sections_divs .form_organizador form textarea {
  padding: 15px;
  background-color: transparent;
  border: 1px solid #954dd8;
  font-size: 1.2rem;
  height: 250px;
  box-sizing: border-box;
  border-radius: 5px;
  color: #ffffff;
  transition: all 0.3s ease;
  font-family: "Sarala", sans-serif;
}
.sections_divs .form_organizador form textarea::-moz-placeholder {
  -moz-transition: all 0.3s ease;
  transition: all 0.3s ease;
  color: #fff;
  font-size: 1.4rem;
}
.sections_divs .form_organizador form textarea::placeholder {
  transition: all 0.3s ease;
  color: #fff;
  font-size: 1.4rem;
}
.sections_divs .form_organizador form textarea:focus {
  transition: all 0.3s ease;
  outline: none;
  background: rgba(149, 77, 216, 0.15);
}
.sections_divs .form_organizador form textarea:focus::-moz-placeholder {
  -moz-transition: all 0.3s ease;
  transition: all 0.3s ease;
  color: #fff;
}
.sections_divs .form_organizador form textarea:focus::placeholder {
  transition: all 0.3s ease;
  color: #fff;
}
.sections_divs .form_organizador form .inputselects {
  align-items: stretch;
  display: flex;
  width: 100%;
  gap: 10px;
  color: #fff;
}
.sections_divs .form_organizador form .inputselects select {
  padding: 15px;
  color: #fff;
  background: #954dd8;
  width: 100%;
}
.sections_divs .form_organizador.active {
  display: flex;
}
.sections_divs .historico_sect {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 50px;
  border-radius: 5px;
}
.sections_divs .historico_sect.active {
  display: flex;
}
.sections_divs .historico_sect .historico-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.prevText {
  color: #fff;
  font-size: 1.2rem;
}

#previewEmail {
  color: #fff;
  font-size: 1.2rem;
}
#previewEmail a {
  color: #954dd8;
}

.button_copiar {
  border-radius: 5px;
  padding: 15px 25px;
  border: none;
  background: #954dd8;
  color: #fff;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Libre Franklin", "Sarala", sans-serif;
}
.button_copiar:hover {
  color: #954dd8;
  border: 1px solid #954dd8;
  background-color: #fff;
}

#sucesso_email {
  text-align: center;
  font-size: 1.6rem !important;
  padding: 15px 35px;
  display: none;
  margin: 25px;
  border: 1px solid #954dd8;
  border-radius: 5px;
}

/* acessibilidade: esconde sem tirar do foco */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.file-uploader {
  border: 1px solid #954dd8;
  border-radius: 5px;
  padding: 14px;
}

.uploader-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #6d399b;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 10px 14px;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.uploader-cta:hover {
  filter: brightness(1.05);
}

.uploader-drop {
  margin-top: 10px;
  border: 2px dashed #954dd8;
  border-radius: 5px;
  padding: 18px;
  text-align: center;
  color: #ffffff;
  /* background: #fff; */
  transition: 0.15s ease-in-out;
}

.uploader-drop.dragover {
  background: #f3eafe;
  border-color: #6d399b;
  color: #4b5563;
}

.uploader-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  max-height: 170px;
  overflow: auto;
}

.uploader-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 6px 8px;
  border-bottom: 1px solid #eee;
  font-size: 13px;
}

.uploader-item .uploader-meta {
  opacity: 0.75;
  font-variant-numeric: tabular-nums;
}

.uploader-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  font-size: 12px;
  color: #ffffff;
}

.uploader-clear {
  background: none;
  border: none;
  color: #6d399b;
  font-weight: 600;
  cursor: pointer;
}

.historico_sect {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  padding: 8px;
  margin-top: 18px;
}
.historico_sect .historico-loading,
.historico_sect .historico-empty,
.historico_sect .historico-error {
  grid-column: 1/-1;
  background: #ffffff;
  border: 1px dashed rgb(196.9410377358, 167.6297169811, 222.8702830189);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  color: #6d399b;
}
.historico_sect .historico-error {
  border-color: #e3b2b2;
  color: #b00020;
}
.historico_sect .spinner {
  width: 16px;
  height: 16px;
  border: 2px solid #e6dff0;
  border-top-color: #6d399b;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.historico_sect .historico-card {
  background: #ffffff;
  border: 1px solid #eee9f6;
  border-radius: 5px;
  padding: 20px 35px;
  box-shadow: 0 6px 18px rgba(109, 57, 155, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.historico_sect .historico-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(109, 57, 155, 0.12);
  border-color: #d7c4ee;
}
.historico_sect .historico-card .historico-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.historico_sect .historico-card .historico-header .historico-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  color: rgb(82.7783018868, 43.2877358491, 117.7122641509);
  letter-spacing: 0.2px;
}
.historico_sect .historico-card .historico-header .historico-data {
  font-size: 1.2rem;
  color: rgb(56.5566037736, 29.5754716981, 80.4245283019);
  background: #f5f0fb;
  border: 1px solid #eadff8;
  padding: 4px 8px;
  border-radius: 8px;
  white-space: nowrap;
}
.historico_sect .historico-card .historico-body {
  margin-top: 2px;
}
.historico_sect .historico-card .historico-body .historico-meta {
  margin: 0;
  font-size: 0.95rem;
  color: #3b3b3b;
}
.historico_sect .historico-card .historico-body .historico-meta strong {
  color: #6d399b;
  font-weight: 700;
}
@media (max-width: 480px) {
  .historico_sect .historico-card {
    padding: 14px;
  }
  .historico_sect .historico-card .historico-header .historico-title {
    font-size: 1rem;
  }
  .historico_sect .historico-card .historico-header .historico-data {
    font-size: 0.8rem;
  }
}

.historico-filters {
  margin-top: 8px;
  margin-bottom: 8px;
  padding: 25px 40px;
  background: #281f36;
  border: 1px solid #954dd8;
  border-radius: 5px;
  width: 100%;
  box-shadow: 0 3px 10px rgba(109, 57, 155, 0.06);
  -webkit-backdrop-filter: saturate(120%) blur(2px);
  backdrop-filter: saturate(120%) blur(2px);
}
.historico-filters.is-sticky {
  position: sticky;
  top: 0;
  z-index: 5;
}
.historico-filters.is-compact {
  padding: 8px;
}
.historico-filters.is-compact .f-row {
  gap: 8px;
}
.historico-filters.is-compact label {
  margin-bottom: 4px;
  font-size: 0.8rem;
}
.historico-filters.is-compact select,
.historico-filters.is-compact input[type=date] {
  padding: 8px 10px;
  font-size: 0.9rem;
}
.historico-filters.is-compact .f-actions #f-limpar,
.historico-filters.is-compact .f-actions .btn-primary {
  padding: 8px 12px;
}
.historico-filters .f-row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
  align-items: end;
}
.historico-filters .f-col {
  grid-column: span 3;
  min-width: 180px;
}
.historico-filters label {
  display: block;
  font-size: 1.6rem;
  color: #ffffff;
  margin-bottom: 6px;
  font-weight: 700;
}
.historico-filters select,
.historico-filters input[type=date] {
  width: 100%;
  border: 1px solid #954dd8;
  background: transparent;
  border-radius: 5px;
  padding: 10px 12px;
  font-size: 1.4rem;
  color: #ffffff;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.historico-filters select:focus,
.historico-filters input[type=date]:focus {
  border-color: #954dd8;
  box-shadow: 0 0 0 3px rgba(109, 57, 155, 0.12);
  background: rgba(149, 77, 216, 0.15);
}
.historico-filters select:disabled,
.historico-filters input[type=date]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.historico-filters .f-actions {
  grid-column: span 3;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.historico-filters .f-actions #f-limpar {
  border: 1px solid #954dd8;
  background: #954dd8;
  color: #ffffff;
  padding: 10px 14px;
  border-radius: 5px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.historico-filters .f-actions #f-limpar:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(109, 57, 155, 0.12);
  background: #ffffff;
  color: #954dd8;
}
.historico-filters .f-actions #f-limpar:active {
  transform: translateY(0);
}
.historico-filters .f-actions .btn-primary {
  border: 1px solid transparent;
  background: #954dd8;
  color: #fff;
  padding: 10px 14px;
  border-radius: 5px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.historico-filters .f-actions .btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}
.historico-filters .f-actions .btn-primary:active {
  transform: translateY(0);
}
.historico-filters .f-actions .btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.historico-filters .f-actions .f-count {
  font-size: 0.9rem;
  color: #ffffff;
  background: rgba(149, 77, 216, 0.06);
  border: 1px solid #eee9f6;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1;
}
@media (max-width: 900px) {
  .historico-filters .f-col {
    grid-column: span 6;
  }
  .historico-filters .f-actions {
    grid-column: span 12;
    justify-content: space-between;
  }
}
@media (max-width: 560px) {
  .historico-filters .f-col,
  .historico-filters .f-actions {
    grid-column: span 12;
  }
}
@media (prefers-color-scheme: dark) {
  .historico-filters {
    background: #1d1724;
    border-color: #2a2034;
    box-shadow: none;
  }
  .historico-filters label {
    color: #bba7d6;
  }
  .historico-filters select,
  .historico-filters input[type=date] {
    background: rgb(34.013559322, 26.9762711864, 42.2237288136);
    color: #e9e3f0;
    border-color: #2a2034;
  }
  .historico-filters select:focus,
  .historico-filters input[type=date]:focus {
    border-color: rgb(178.8949308756, 127.200921659, 226.999078341);
    box-shadow: 0 0 0 3px rgba(181, 140, 234, 0.22);
    background: rgb(41.5338983051, 32.9406779661, 51.5593220339);
  }
  .historico-filters .f-actions #f-limpar {
    border-color: #2a2034;
    background: rgb(47, 31.1, 63);
    color: #e9e3f0;
  }
  .historico-filters .f-actions #f-limpar:hover {
    background: rgb(85.5, 81, 90.75);
    box-shadow: 0 4px 12px rgba(181, 140, 234, 0.22);
  }
  .historico-filters .f-actions .btn-primary {
    background: rgb(163.9474654378, 102.1004608295, 221.4995391705);
    border-color: transparent;
    color: #fff;
  }
  .historico-filters .f-actions .f-count {
    color: #bba7d6;
    background: rgba(255, 255, 255, 0.04);
    border-color: #2a2034;
  }
}