.tutorial-main{
    width: 50%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    align-items: start;
    text-align: start;
    margin-top: 5em;
    color: #f2f2f7;
    background-color: transparent;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    font-size: large; 
}  

.passo1{
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    padding: 1em;
    align-items: center;
    text-align: center;
    margin-top: 5em;
    color: #f2f2f7;
    background-color: transparent;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif; 
}

.passo2{
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    padding: 1em;
    align-items: center;
    text-align: center;
    margin-top: 5em;
    border-top: solid 1px #262729;
    color: #f2f2f7;
    background-color: transparent;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif; 
}

.passo3{
     width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    padding: 1em;
    align-items: center;
    text-align: center;
    margin-top: 5em;
    border-top: solid 1px #262729;
    color: #f2f2f7;
    background-color: transparent;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif; 

}

.passo4{
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    padding: 1em;
    align-items: center;
    text-align: center;
    margin-top: 5em;
    border-top: solid 1px #262729;
    color: #f2f2f7;
    background-color: transparent;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif; 

}

.passo5{
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    padding: 1em;
    align-items: center;
    text-align: center;
    margin-top: 5em;
    border-top: solid 1px #262729;
    color: #f2f2f7;
    background-color: transparent;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif; 

}

#try-ai {
  position: relative;
  margin-top: 2.5em;
  height: 3em;
  width: 12em;
  border-radius: 20px;
  background-color: #f2f2f7;
  border: none;
  font-size: large;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  font-weight: 600;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  z-index: 1;
  overflow: hidden;
  transition: transform 0.2s ease;
}

#try-ai:hover {
  transform: scale(1.03);
}

/* Gradiente da borda (inicialmente invisível) */
#try-ai::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(120deg, #ff7e29, #007bff, #ff7e29);
  background-size: 200% 200%;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
  animation: gradientBorder 3s ease infinite;
}

/* Fundo interno (para criar o "recorte" da borda) */
#try-ai::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  border-radius: 20px;
  background-color: #f2f2f7;
  z-index: -1;
}

/* Ao passar o mouse, a borda aparece */
#try-ai:hover::before {
  opacity: 1;
}

/* Animação do gradiente */
@keyframes gradientBorder {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}


.input-bubble {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 80%; 
    margin-top: 3em;
    background-color: rgba(255, 255, 255);
    border: 1px solid rgba(255, 255, 255);
    border-radius: 25px;
    padding: 8px 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

input[type="text"] {
    flex: 1;
    background-color: transparent;
    border: none;
    outline: none;
    font-size: 16px;
    color: #1c1c1e;
    padding: 8px 15px;
    box-sizing: border-box;
}

input[type="text"]::placeholder {
    color: #8e8e93;
    text-align: left;
}

.options_nav{
    border-right: solid 0.5px rgba(255, 255, 255, 0.5);
    padding-right: 10px;
}

/* ESTILO COMPACTO PARA O LAYOUT DE LINHA ÚNICA (OPÇÕES) */
.options-container {
    display: flex;
    align-items: center; 
    width: fit-content;
    max-width: fit-content; 
    padding: 8px 15px; 
    flex-wrap: nowrap; 
    margin-top: 3em;
    /* Aumentar o GAP entre os grupos para maior separação visual */
    gap: 18px; 
    justify-content: flex-start; 
    background-color: #202123;
    border-radius: 20px;
    /* Adicionar uma sombra sutil para "levantar" a barra */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}



.option-label {
    color: #f2f2f7;
    /* Fonte mais pesada para destacar a categoria (SEM DOIS PONTOS) */
    font-weight: 700; 
    white-space: nowrap; 
    padding-left: 0; 
}

.option-pills {
    display: flex;
    /* Reduzir o gap entre as pílulas individuais */
    gap: 3px; 
    flex-grow: 0; 
    justify-content: flex-start;
}

.activity-type-pills-group {
    /* Permitir que este grupo use o espaço extra para afastar a próxima coluna */
    /*flex-grow: 1;*/
}


/* 🌟 CORREÇÃO FINAL: Garante espaço para Tasks (5 e 7) 🌟 */
.options-container > div:nth-child(8) { 
    min-width: unset; 
}


/* Estilo para todas as pílulas (buttons) - ALTERADO (REMOÇÃO DE BORDAS) */
.audience-pill, .difficulty-pill, .activity-type-pill, .quantity-pill {
    padding: 4px 10px; /* Aumentar o padding horizontal */
    border-radius: 15px;
    background-color: transparent;
    color: #ffffff;
    border: none; /* REMOVIDO: border: 1px solid transparent; */
    cursor: pointer;
    /* AJUSTADO: Fonte ligeiramente mais pequena para aspeto mais limpo */
    font-size: 14px; 
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.2s ease-in-out;
}

/* 🌟 Estado Ativo: Foco na Nítidez e Visualização (REMOÇÃO DE BORDAS) 🌟 */
.audience-pill.active, .difficulty-pill.active, .activity-type-pill.active, .quantity-pill.active {
    background-color: #ffffff;
    color: #202123;
    /* Aumentar o peso da fonte para ser mais nítido e profissional */
    /*font-weight: 600; */
    /* Efeito de "Elevado" com sombra */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); 
    border: none; /* REMOVIDO: border: 1px solid rgba(0, 0, 0, 0.1); */
}

/* Hover Aprimorado: Mantido */
.audience-pill:not(.active):hover, .difficulty-pill:not(.active):hover, .activity-type-pill:not(.active):hover, .quantity-pill:not(.active):hover {
    background-color: rgba(255, 255, 255, 0.15); /* Mais claro que o anterior, mais elegante */
}

/* Ajuste específico para as pílulas de quantidade */
.quantity-pill {
    min-width: 25px; 
    text-align: center;
}

/* REMOÇÃO DE ESTILOS OBSOLETOS */
.difficulty-options, .quantity-options, .activity-type-options, .audience-options {
    display: contents; 
}
.difficulty-label, .quantity-label, .activity-type-label { display: none; }
.difficulty-pills, .quantity-pills, .activity-type-pills { display: flex; }
.option-bubble, .custom-select, .options-list, .selected-option, .option { /*display: none;*/ }

.barra-options{
    display: flex;
    gap: 1rem;
}



.titulo-tutorial{
    display: flex;
    flex-direction: row;
    width: 100%;
    height: fit-content;
    justify-content: space-between;
    align-items: center;
}

.branding{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5em;
}




.tasks-header-btn{
    display: flex;
    align-items: center; 
    padding: 0 15px;
    gap: 15px;
}

.copy-button {
    font-size: 14px;
    font-weight: 500;
    color: #f2f2f7;
    padding: 8px 15px;
    border-radius: 25px;
    background-color: #202123;
    margin-top: 3em;
    border: none;
    cursor: pointer;
}

.copy-button:hover {
   transform: scale(1.05);
   transition: 0.1s;
   background-color: #2c2d2f;
}

.download-button {
    font-size: 14px;
    font-weight: 500;
    color: #f2f2f7;
    padding: 8px 15px;
    border-radius: 25px;
    background-color: #202123;
    margin-top: 3em;
    border: none;
    cursor: pointer;
}

.download-button:hover {
    transform: scale(1.05);
    transition: 0.1s;
    background-color: #2c2d2f;
}


@media (max-width: 768px) {

    .passo1, .passo2, .passo3, .passo4, .passo5{
        padding: 1em 0;
    }

    .barra-options{
        display: flex;
        flex-direction: column;
        align-items: center;
        
    }

    /* Opções ficam roláveis horizontalmente */
    .options-container {
        justify-content: center;
        flex-wrap: nowrap;
        overflow-x: auto;
        /* Reduz o gap para caber mais */
        gap: 3px; 
        padding: 6px;
        max-width: 100%;
        width: 18rem;
        
    }

    .audience-pill,
    .difficulty-pill,
    .activity-type-pill,
    .quantity-pill {
        font-size: 12px;
        padding: 4px 8px;
    }

    .titulo-tutorial h1, h2{
        font-size: medium;
    }

    #logo-overview{
        height: 25px;
        width: 25px;
    }

    .tutorial-main{
        width: 95%;
    }

}