@font-face { 
  font-family: Oswald;
    src: local("Oswald"), url('../fonts/Oswald-VariableFont_wght.ttf'); 
}

@font-face { 
  font-family: Roboto;
    src: local("Roboto"), url('../fonts/Roboto-Regular.ttf'); 
}

/* Reset de estilos */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  height: -webkit-fill-available;
}
  
body {
  display: flex;
  flex-direction: column;
  margin: 0;
  height: 100vh;
  height: -webkit-fill-available;
}

.container {
  width: 90%;
  margin: 0 auto;
  max-width: 1200px;
}

header {
  /*background: linear-gradient(to bottom, #FFF 48%, #111 150%);*/
  color: #111;
  padding: 26px 0;
  text-align: center;
  font-family: Oswald; 
}

header a {
  color: #FFF;
  text-decoration: none;
}

header h1 {
  font-size: 2.3em;
}

header h2 {
  font-size: 1.2em;
}

.header-top {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.header-logo {
  width: 75%;
  max-width: 600px;
}

.date-info {
  text-align: center;
  /*margin-top: 15px;*/
}

.event-description {
  font-size: 0.9rem;
  font-family: Roboto;
  line-height: 1.5;
  margin-top: 20px;
  padding: 15px;
  text-align: justify;
  background-color: #F1F1F1;
  border-radius: 5px;
}

/*** Menu Principal ***/

nav {
  background-color: #d10000;
  color: #fff;
  font-family: Roboto;
  /*padding: 0px;*/
}

nav ul {
  list-style-type: none;
  text-align: center;
}

nav ul li {
  display: inline-block;
  margin: 0 18px;
}

nav ul li a {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  padding: 10px 18px;
  @media only screen and (max-width: 1161px) {
    padding: 12px 6px;
  }
}

nav ul li a:hover {
  text-decoration: underline;
}

.active {
  background-color: #960000;
/*  padding: 8px 0px;
  margin: -8px 10px;*/
}

/*** Fim - Menu Principal ***/

/*** Menu Program ***/

/*.menu-program {
  display: flex;
  justify-content: space-evenly;
  margin-top: 30px;
  margin-bottom: -25px;
  padding: 12px;
  @media only screen and (max-width: 660px) {
    margin-top: 5px;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
  }
}

.menu-program a {
  display: inline-block;
  color: #FFF;
  background-color: #aa0000;
  padding: 9px 21px;
  width: 181px;
  text-align: center;
  text-decoration: none;
  @media only screen and (max-width: 660px) {
    width: 280px;
    margin: 12px 5px;
    padding: 12px 21px;
  }
}

.menu-program a:hover {
  text-decoration: underline;
} */

/*** Fim - Menu Program ***/

main {
  font-family: Roboto;
  color: #333;
  flex: 1;
}

main h2 {
  padding-top: 30px;
  padding-bottom: 22px;
}

main ul {
  padding: 0px 26px 30px 26px;
}

main li {
  /* padding: 10px 0px;*/
  padding: 3px 0px;
}

main ul li a {
  color: #002c35;
  text-decoration: none;
}

.home-title {
  font-size: 1.21em;
  font-weight: bolder;
  padding: 44px 0px;
  line-height: 1.4;
}

.goals {
  font-size: 1.18em;
  font-style: italic;
  font-weight: bolder;
}

.poster {
  text-align: center;
  margin-top: 10px;
  margin-bottom: 22px;
}

.poster a {
  padding: 10px 16px;
  font-size: 120%;
  color:#FFF;
  text-decoration: none;
  background-color: #00606c;
}


.advice {
  font-size: 16px;
  font-style: italic;
  padding-left: 10px ;
  position: relative;
  top: -3px;
}

.payment-table {
  width: auto;
  border-collapse: collapse;
  margin-top: 44px;
  max-width: 376px;
  min-width: 376px;
  border: 1px solid #252525;
}

.payment-table caption {
  background-color: #363636;
  color: #FFF;
  padding: 10px;
  font-weight: bolder;
}

.payment-table td {
  border: none;
  padding: 10px 8px;
}

.payment-table td:first-child {
  text-align: initial;
  min-width: 184px;
}

.payment-table tr:nth-child(odd) {
  background-color: #eee;
}

.payment-table tr:nth-child(even) {
  background-color: #ccc;
}

.payment-table td:nth-child(2) {
  width: 94px;
}

.payment-table .payment-link {
  background-color: #aaa;
  text-align: center;
  width: 80px;
}

.payment-table .payment-link a {
  text-decoration: none;
  color: #FFF;
  background-color: #666;
  padding: 7px 13px;
  border-radius: 9px;
}

.notice {
  /*font-size: 13px;*/
  font-size: 16px;
  color: red;
  font-weight: bolder;
  font-style: italic;
  padding: 4px 5px 36px 4px;
  width: 360px;
  text-align: right;
}

form {
  max-width: 360px;
  /*margin-bottom: -70px;*/
}

.form-group {
  padding: 10px 8px;
}

#current-status {
  display: block;
  width: 100%;
  padding: 10px;
  margin-bottom: 12px;
}

input, button {
  margin-bottom: 10px;
  width: 100%;
  padding: 10px;
}

.check {
  display: flex;
  align-items: center;
  margin: 15px 50px;
  border: 1px solid #bbb;
  border-radius: 3px;
}

.check input {
  width: 20px;
  margin: 0px 12px;
  padding: 0px 10px;
  height: 18px;
  margin-top: -1px;
}

textarea {
  width: 100%;
  padding: 8px;
}

.password {
  opacity: 0;
}

.password input {
  pointer-events: none;
}

.g-recaptcha {
  display: flex;
  justify-content: center;
  position: relative;
  top: -100px;
}

.required {
  border: 3px solid #f00;
  border-radius: 5px;
  margin: 0px 12px;
}

.submit-button {
  position: relative;
  top: -90px;
  padding: 12px 0px;
  margin-top: 18px;
}

.popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  z-index: 999;
  padding-top: 60px;
}

.popup-content {
  background-color: #fefefe;
  margin: auto 45px;
  padding: 20px;
  border-radius: 8px;
  max-width: 270px;
  min-width: 270px;
  text-align: center;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  line-height: 20px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.chair {
  font-weight: bolder;
}

footer {
  background-color: #333;
  padding: 14px 0;
  margin-top: 45px;
  text-align: center;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  a {
    @media only screen and (max-width: 468px) {
      width: 100%;
    }    
  }
}

footer img {
  margin: 0 10px;
  padding: 14px;
}


/* table - program */
/*.program-vc {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0px 30px 0px;
}

.program th, .program td {
  border: 1px solid #252525;
  padding: 8px;
  text-align: left;
  min-width: 111px;
}

.program .first-line {
  background-color: #363636;
  color: #FFF;
}

.program td:first-child {
  text-align: center;
}

.program-vc td:not(:first-child) {
  min-width: 217px;
}

.program tr:nth-child(odd) {
  background: #ccc;
}

.program tr:nth-child(even) {
  background: #eee;
}

.program .center {
  text-align: center;
}*/

/*** Tabela Programação ***/

.table-wrapper {
    overflow-x: auto;
    padding: 0;
}

[class^='program'] {
    width: 100%;
    border-collapse: collapse;
    background: white;
    font-size: 0.9rem;
}

[class^='program'] th {
    background: linear-gradient(135deg, #34495e, #2c3e50);
    color: white;
    padding: 15px 20px;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.3px;
    position: sticky;
    top: 0;
    z-index: 10;
}

[class^='program'] th:first-child {
    width: 19%;
    /*min-width: 140px;*/
}

[class^='program'] th:nth-child(2),
[class^='program'] th:nth-child(3) {
    width: 40.5%;
}

[class^='program'] td {
    padding: 20px;
    background-color: white;
    vertical-align: top;
    border-bottom: 1px solid #e8ecf0;
    transition: background-color 0.3s ease;
    line-height: 1.5;
}

[class^='program'] tr:not(:first-child):hover {
    background-color: #f8f9fa;
}

[class^='program'] tr:last-child td {
    border-bottom: none;
}

[class^='program'] td:first-child {
    background: linear-gradient(135deg, #ecf0f1, #d5dbdb);
    font-weight: 600;
    text-align: center;
    color: #2c3e50;
    border-right: 3px solid #3498db;
    position: relative;
}

[class^='program'] td:first-child::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #3498db, #2980b9);
}

[class^='program'] td b {
    color: #2c3e50;
    font-size: 1rem;
    display: block;
    margin-bottom: 5px;
}

[class^='program'] td:nth-child(2),
[class^='program'] td:nth-child(3) {
    background: white;
}

[class^='program'] td.even:not(:first-child) {
  background-color: #f8f9fa;
}

[class^='program'] td.odd:not(:first-child) {
    background-color: #f0f1f3;
}

/* Estilização das atividades */
[class^='program'] td:not(:first-child) {
    color: #555;
}

[class^='program'] td br {
    margin-bottom: 8px;
}

/* Destacar horários */
[class^='program'] td:not(:first-child) {
    font-family: 'Segoe UI', system-ui, sans-serif;
}

/* Estilo para células vazias */
[class^='program'] td:empty {
    position: relative;
}

[class^='program'] td:empty::after {
    content: '—';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #bdc3c7;
    font-size: 1.5rem;
}

/* Responsividade */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    h3 {
        padding: 15px 20px;
        font-size: 1.3rem;
    }

    [class^='program'] {
        font-size: 0.8rem;
    }

    [class^='program'] th,
    [class^='program'] td {
        padding: 12px;
    }

    [class^='program'] th {
        font-size: 0.9rem;
    }

    [class^='program'] td:first-child {
        min-width: 120px;
    }

    [class^='program'] td b {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        border-radius: 8px;
    }

    h3 {
        font-size: 1.2rem;
        padding: 12px 15px;
    }

    [class^='program'] {
        font-size: 0.75rem;
    }

    [class^='program'] th,
    [class^='program'] td {
        padding: 8px;
    }

    [class^='program'] td:first-child {
        min-width: 100px;
    }
}

/* Animação suave ao carregar */
/*.container {
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}*/

/* Efeito hover nas linhas */
/*.program tbody tr {
    transition: all 0.3s ease;
}

.program tbody tr:hover {
    transform: translateX(2px);
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.15);
} */

/* Scroll suave */
/*.table-wrapper {
    scrollbar-width: thin;
    scrollbar-color: #bdc3c7 #ecf0f1;
}

.table-wrapper::-webkit-scrollbar {
    height: 8px;
}

.table-wrapper::-webkit-scrollbar-track {
    background: #ecf0f1;
    border-radius: 4px;
}

.table-wrapper::-webkit-scrollbar-thumb {
    background: #bdc3c7;
    border-radius: 4px;
}

.table-wrapper::-webkit-scrollbar-thumb:hover {
    background: #95a5a6;
}*/


/* Tabela Visão Comparativa */

.program-vc td:not(:first-child) {
  min-width: 217px;
}


/* table - program */
/*.program {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0px 30px 0px;
}

.program th, .program td {
  border: 1px solid #252525;
  padding: 8px;
  text-align: left;
  min-width: 111px;
}

.program .first-line {
  background-color: #363636;
  color: #FFF;
}

.program td:first-child {
  text-align: center;
}

.program-vc td:not(:first-child) {
  min-width: 217px;
}

.program tr:nth-child(odd) {
  background: #ccc;
}

.program tr:nth-child(even) {
  background: #eee;
}

.program .center {
  text-align: center;
}*/



/*** Fim - Tabela Programação ***/



/* Participantes */

.participants {
  border-collapse: collapse;
  border: 1px solid #252525;
  width: 100%;
  margin: 12px 0px;
  text-align: left;
}

.participants th {
  background-color: #363636;
  color: #FFF;
  padding: 10px;
  font-weight: bolder;
}

.participants tr:nth-child(odd) {
  background-color: #ccc;
}

.participants tr:nth-child(even) {
  background-color: #eee;
}

.participants td:nth-child(1), .participants td:nth-child(2) {
  width: 110px;
}

.participants td:nth-child(3) {
  width: 236px;
}

.participants td:nth-child(5) {
  width: 181px;
}

.participants td {
  border: none;
  padding: 10px;
}

.generate-pdf-button {
  display: flex;
  justify-content: center;
}

.generate-pdf-button a {
  text-decoration: none;
  color: #FFF;
  background-color: #4c8d97;
  padding: 7px 13px;
  margin: 16px 10px;
  border-radius: 9px;
}

/* Fim - Participantes */


/* Eventos (Plenaristas, Sessões Temáticas, Minicursos) */

#evento-container-outter {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.evento-item {
    border-bottom: 1px solid #e0e0e0;
    transition: all 0.2s ease;
}

.evento-item:last-child {
    border-bottom: none;
}

.evento-item:hover {
    background-color: #f8f9fa;
}

.evento-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.evento-header:hover {
    background-color: #f0f0f0;
}

.evento-content {
    flex: 1;
    min-width: 0;
}

.evento-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 3px;
    line-height: 1.5;
}

.evento-professor {
    font-size: 0.95rem;
    color: #7f8c8d;
    font-weight: 500;
}

.evento-dia-hora {
    padding-top: 6px;
    font-size: 0.95rem;
    color: #7f8c8d;
    font-weight: 500;
}

.botao {
  width: 50px;
}

.toggle-button {
    background: #3498db;
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1px;
}

.toggle-button:hover {
    background: #2980b9;
    transform: scale(1.1);
}

.toggle-button.active {
    background: #e74c3c;
    transform: rotate(45deg);
}

.evento-abstract {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out;
    background-color: #f8f9fa;
}

.evento-abstract.active {
    max-height: 400px;
    border-top: 1px solid #e0e0e0;
}

.abstract-content {
    padding: 20px;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.2s ease-out 0.1s, transform 0.2s ease-out 0.1s;
}

.evento-abstract.active .abstract-content {
    opacity: 1;
    transform: translateY(0);
}

.abstract-content {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    text-align: justify;
}

.abstract-content a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
}

.abstract-content a:hover {
    text-decoration: underline;
}

.abstract-content br {
    margin-bottom: 10px;
}

/* Responsividade */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .evento-header {
        /*flex-direction: column;
        align-items: flex-start;*/
        align-items: center;
        position: relative;
        padding: 15px;
    }

    .evento-content {
        width: 100%;
        padding-right: 50px;
    }

    .evento-title {
        font-size: 1rem;
        /*margin-bottom: 10px;*/
    }

    .evento-professor {
        font-size: 0.9rem;
        margin-top: 5px;
    }

    .toggle-button {
        position: absolute;
        top: 15px;
        right: 15px;
        margin-left: 0;
    }

    .evento-abstract.active .abstract-content {
        padding: 15px;
    }

    .abstract-content {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .evento-header {
        padding: 12px;
    }

    .evento-content {
        /*padding-right: 45px;*/
        padding-right: 10px;
    }

    .evento-title {
        font-size: 0.95rem;
    }

    .evento-professor {
        font-size: 0.85rem;
    }

    .toggle-button {
        width: 28px;
        height: 28px;
        font-size: 1rem;
        top: 12px;
        right: 12px;
    }

    .abstract-content {
        font-size: 0.85rem;
    }
}

/* Animação suave para o conteúdo */
.evento-abstract {
    will-change: max-height;
}

.abstract-content {
    will-change: opacity, transform;
}

/* Fim - Minicursos */


/* Eventos */

.eventos h3 {
  padding-bottom: 10px;
}

.eventos p {
  padding-bottom: 15px;
}

.eventos ul, .eventos ol {
  padding: 2px 8px 2px 26px;
}

/* Fim - Eventos */

/* Mensagens */

.form-message {
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 4px;
  color: white;
  font-weight: bold;
  justify-content: space-between;
  align-items: center;
}
.form-message.success {
  background-color: #4CAF50;
}
.form-message.error {
  background-color: #f44336;
}
.form-message {
transition: opacity 0.5s ease-out;
box-shadow: 0 2px 5px rgba(0,0,0,0.2);
position: relative;
}

/* Efeito de fade out quando some */
.form-message.hiding {
  opacity: 0;
}

/* Ícone opcional */
.form-message::before {
  content: '';
  display: inline-block;
  margin-right: 10px;
  width: 24px;
  height: 24px;
  background-size: contain;
  vertical-align: middle;
}
.success::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234CAF50'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");;
}
.error::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23F44336'%3E%3Cpath d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/%3E%3C/svg%3E");
}

#message-text {
  width: 100%;
}

/* Fim - Mensagens */


/* General Style */
.justify {
  text-align: justify;
}

/* Inscrição */
.add-minicurso-btn {
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 8px 16px;
  margin-top: 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

.minicursos-selecionados {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 10px;
  margin-top: 15px;
  min-height: 50px;
}

.minicurso-item-form {
  display: flex;
  align-items: center;
  background-color: #f9f9f9;
  padding: 10px;
  margin: 5px 0;
  border-radius: 4px;
  border: 1px solid #ddd;
}

.minicurso-handle {
  cursor: move;
  margin-right: 10px;
  color: #888;
  font-size: 20px;
}

.minicurso-prioridade {
  background-color: #3498db;
  color: white;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 12px;
  margin-right: 10px;
  min-width: 80px;
}

.minicurso-info {
  flex-grow: 1;
}

.minicurso-remove {
  background: none;
  border: none;
  color: #e74c3c;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  padding: 5px;
  width: auto;
  margin-bottom: 0px;
}

.minicurso-ghost {
  opacity: 0.5;
  background: #f0f0f0;
}

.instrucoes {
  margin-top: 15px;
  padding: 10px;
  background-color: #f8f9fa;
  border-radius: 4px;
  font-size: 14px;
}

.instrucoes h4 {
  margin-top: 0;
  margin-bottom: 10px;
}

.instrucoes ol {
  margin: 0;
  padding-left: 20px;
}

/* Tabelas */
/* Estilos Gerais para Todas as Tabelas */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 5px;
  margin-bottom: 12px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

/* Cabeçalho das Tabelas */
table thead {
  background-color: #2c3e50;
  color: white;
}

table thead th {
  padding: 10px 12px;
  text-align: left;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.82em;
  letter-spacing: 0.5px;
}

/* Corpo das Tabelas */
table tbody tr {
  font-size: 0.94em;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
}

table tbody tr:nth-child(even) {
  background-color: #f8f9fa;
}

table tbody tr:hover {
  font-weight: normal;
  /*background-color: #f1f5fd;*/
}

table .th-pos, table .td-pos {
  min-width: 119px
}

table .th-mc, table .td-mc {
  max-width: 132px
}

table tbody td {
  padding: 8px 10px;
  color: #333;
}

/* Estilo Especial para Células de Destaque */
table tbody td strong {
  color: #2c3e50;
  font-weight: 600;
}

/* Rodapé (se aplicável) */
table tfoot {
  background-color: #f1f5fd;
  font-weight: bold;
}

/* Tabelas com Rolagem Horizontal */
@media (max-width: 768px) {
  .table-scroll {
    overflow-x: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    /*box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);*/
  }
}

/* Responsividade */
@media (max-width: 768px) {
  table {
    display: block;
    overflow-x: auto;
  }
  
  table thead th {
    padding: 8px 10px;
    font-size: 0.8em;
  }
  
  table tbody td {
    padding: 8px 10px;
    font-size: 0.9em;
  }
}

[class^='estat-dist-'] h4 {
  padding: 10px 4px 5px 10px;
}

/* Estilo Específico para Tabelas de Estatísticas */
.stats-table {
  margin-top: 2px;
}

.stats-table h4 {
  color: #2c3e50;
  margin-bottom: 15px;
  font-size: 1.1em;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 5px;
}

.stats-table tbody tr:last-child {
  font-weight: bold;
}

/* Estilo para Tabelas de Minicursos */
.minicursos-table {
  background-color: white;
  margin-bottom: 0px;
}

.minicursos-table thead {
  background-color: #2c3e50;
}

/* Zebrado para tabelas de prioridades */
.priority-table tbody tr:nth-child(odd) {
  background-color: #f8f9fa;
}

.priority-table tbody tr:hover {
  background-color: #e3f2fd;
}

.priority-table tbody td:not(:first-child), .minicursos-table tbody td:not(:first-child) {
  text-align: right;
}

.estat-participantes {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

[class^='estat-dist-'] {
  flex: 1;
  min-width: 300px;  
}

.minicurso-soma {
  padding: 15px 20px;
  margin-bottom: 5px;
}

.minicurso-percentual {
  padding: 5px 0px 32px 15px;
  color: #444;
}

.btn-container {
  display: flex;
  justify-content: space-around;
}

.btn-container a {
  display: inline-block;
  width: 254px;
  padding: 14px 25px;
  background-color: #B2560D;
  color: #FFF;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s;
}

.btn-container a:hover {
  background-color: #A04D0C;
}

/* Inscrições */

.valor-simbolico {
  padding-bottom: 24px;
}

.valor-simbolico-ti {
  display: flex;
  justify-content: space-between;
  align-items: center;
  column-gap: 30px;
  @media (max-width: 768px) {
    flex-direction: column;
  }
}

/* Tabela */
.inscricoes {
  border-collapse: collapse;
  background: white;
  font-size: 1rem;
  min-width: 60%;
  display: table;
  @media (max-width: 768px) {
    min-width: 100%;
  }
}

.valor-simbolico-ti .mais-info {
  font-size: 15px;
  min-width: 40%;
  text-align: justify;
  line-height: 1.4;
}

.inscricoes th {
  background: linear-gradient(135deg, #34495e, #2c3e50);
  color: #FFF;
  padding: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.inscricoes td:first-child::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, #3498db, #2980b9);
}

.inscricoes td:first-child {
  background: linear-gradient(135deg, #ecf0f1, #d5dbdb);
  font-weight: 600;
  color: #2c3e50;
  border-right: 3px solid #3498db;
  position: relative;
  padding-left: 15px;
}

.inscricoes td {
  vertical-align: top;
  color: #333;
  padding: 8px;
  border-bottom: 1px solid #e8ecf0;
  transition: background-color 0.3s ease;
  line-height: 1.5;
}

/* Estilos Gerais do Formulário */
#registrationForm {
  max-width: 800px;
  margin: 26px auto 0px auto;
  padding: 30px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Títulos e Labels */
#registrationForm h2 {
  color: #2c3e50;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 600;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
}

.form-group small {
  display: block;
  margin-top: 5px;
  font-size: 0.85em;
  color: #7f8c8d;
}

/* Campos de Input */
.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.3s;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #3498db;
  outline: none;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

/* Checkbox e Radio Buttons */
.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 10px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  background-color: #f8f9fa;
  border-radius: 6px;
  padding: 10px 15px;
  transition: all 0.3s ease;
  border: 1px solid #e0e0e0;
  flex: 1 1 calc(50% - 15px); /* 2 colunas com gap */
  min-width: 250px;
}

.checkbox-item:hover {
  background-color: #e9f5ff;
  border-color: #3498db;
}

/* Checkbox personalizado */
.checkbox-item input[type="checkbox"] {
  margin-right: 10px;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

/* Label estilizado */
.checkbox-item label {
  cursor: pointer;
  user-select: none;
  color: #34495e;
  font-weight: normal;
  margin-bottom: 0;
  flex-grow: 1;
}

/* Responsividade */
@media (max-width: 768px) {
  .checkbox-item {
    flex: 1 1 100%; /* 1 coluna em mobile */
  }
}

/* Estilo para o campo "Outro" (caso especial) */
.checkbox-item.outro-especial {
  flex-direction: column;
  align-items: flex-start;
}

.checkbox-item.outro-especial #outro-especificar {
  margin-top: 8px;
  margin-left: 28px; /* Alinhar com o texto do label */
  width: calc(100% - 28px);
}


#participacao-error {
  color: red;
  display: none;
  padding: 10px 18px;
}

/* Botão de Envio */
#register-btn, .download-btn {
  background-color: #3498db;
  color: white;
  border: none;
  margin-top: 20px;
  padding: 14px 25px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  width: 100%;
  font-weight: 500;
  transition: background-color 0.3s;
}

#register-btn:hover, .download-btn:hover {
  background-color: #2980b9;
}

#register-btn:disabled {
  background-color: #95a5a6;
  cursor: not-allowed;
}

/* Mensagens de Erro/Sucesso */
.form-message {
  padding: 15px;
  margin-bottom: 25px;
  border-radius: 6px;
  display: none;
}

.form-message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

#close-message {
  background: none;
  border: none;
  cursor: pointer;
  font-weight: bold;
  margin-bottom: 0px;
  width: 40px;
}

/* Seção de Inscrição em Minicursos */
.minicurso-container {
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-top: 30px;
}

.minicurso-container .instrucoes {
  background-color: #e9ecef;
  padding: 15px;
  border-radius: 6px;
  margin: 15px 0;
  font-size: 0.9em;
}

.minicurso-container .instrucoes h4 {
  margin-top: 0;
  color: #2c3e50;
}

.add-minicurso-btn {
  background-color: #2ecc71;
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 4px;
  margin-top: 0px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.add-minicurso-btn:hover {
  background-color: #27ae60;
}

/* Responsividade */
@media (max-width: 768px) {
  #registrationForm {
    padding: 20px;
  }
  
  .form-group input[type="text"],
  .form-group input[type="email"],
  .form-group select,
  .form-group textarea {
    padding: 10px 12px;
  }
  
  #outro-especificar {
    width: 100%;
    margin-left: 0;
    margin-top: 5px;
  }
}

/* Esconde o checkbox padrão */
.checkbox-item input[type="checkbox"] {
  position: absolute;
  opacity: 0;
}

/* Cria um checkbox customizado */
.checkbox-item label::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid #3498db;
  border-radius: 4px;
  margin-right: 10px;
  vertical-align: middle;
}

/* Estilo quando marcado */
.checkbox-item input[type="checkbox"]:checked + label::before {
  background-color: #3498db;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* Estilo para o estado "Período encerrado" */
div[style*="text-align: center"] h2 {
  color: #e74c3c;
  font-weight: 500;
}

.sala {
  color: #777;
  text-align: center;
  font-size: 87%;
  padding: 0px 11px;
  width: 55px;
}

.botoes {
  display: flex;
  justify-content: space-between;
}

.botoes form {
  width: 209px;
}

/********** Página Memória **********/

.memoria-container *{
    box-sizing:border-box;
}

.memoria-container{
    width:100%;
    max-width:1400px;
    margin:auto;
    padding:40px 20px;
}

.memoria-title{
    text-align:center;
    margin-bottom:40px;
}

.memoria-title h1{
    font-size:2.5rem;
    margin-bottom:10px;
}

.memoria-title p{
    opacity:0.8;
}

.gallery-buttons{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
    gap:20px;
    margin-bottom:40px;
    width:100%;
    isolation:isolate;
}

.gallery-btn{
    width:100%;
    padding:14px 24px;
    border:none;
    border-radius:10px;
    cursor:pointer;
    font-size:1rem;
    font-weight:600;
    transition:0.3s;
    display:flex;
    align-items:center;
    justify-content:center;
}

.gallery-btn:hover{
    background-color: #b9b9b9;
    transform:translateY(-2px);
}

.gallery-btn.memoria-active{
    background-color: #c9c9c9;
    transform:scale(1.03);
}

.gallery-section{
    display:none;
    animation:fadeIn .4s ease;
}

.gallery-section.gallery-active{
    display:block;
}

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(200px,1fr));
    gap:18px;
}

.gallery-item{
    overflow:hidden;
    border-radius:12px;
    position:relative;
    background:#f5f5f5;
    aspect-ratio:1/1;
}

.gallery-item img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:0.4s;
    display:block;
}

.gallery-item:hover img{
    transform:scale(1.05);
}

.gallery-counter{
    text-align:right;
    margin-bottom:25px;
    font-weight:500;
    opacity:0.8;
    font-size: 13px;
}

@keyframes fadeIn{
    from{
        opacity:0;
        transform:translateY(10px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

.gslide-description{
    font-size:1rem !important;
    line-height:1.5;
}

.glightbox-clean .gslide-title {
  font-size: 1.2em;
  margin-bottom: 0px;
}

@media(max-width:768px){

    .gallery-grid{
        grid-template-columns:repeat(2,1fr);
        gap:12px;
    }

}

@media(max-width:480px){

    .gallery-grid{
        grid-template-columns:1fr;
    }

}

/******* Fim - Página Memória *******/


/********** Estilos Gerais **********/

.hr {
  padding: 1px;
  background-color: #BBB;
  margin: 50px 20px 50px 20px;
}

/******* Fim - Estilos Gerais *******/
