/* START OF FILE public/css/style.css */
/* Coloque aqui todos os estilos que estavam na tag <style> do HTML/EJS */
body {
    margin: 0;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, #f0f4f8 0%, #d9e2ec 100%);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}
.section {
    padding: 0;
    width: 100%;
}
/* ... resto dos estilos ... */

.section-title {
    margin: 0.8rem 0 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #a3b3bf;;
    color: #2d3748;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}


#loadingIndicator {
    display: none; /* Hidden by default */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 20px 40px; /* More padding */
    border-radius: 8px;
    z-index: 1000;
    text-align: center;
    font-size: 1.2em;
    /* Add a spinner maybe */
}


/* Estilos para o container do formulário */
#formContainer {
    border: 1px solid #eee;
    padding: 1.5rem;
    margin-top: 1.5rem;
    border-radius: 6px;
    background-color: #fafafa;
    min-height: 100px; /* Altura mínima para feedback visual */
}

/* --- ESTILOS DO RODAPÉ --- */
.site-footer {
    text-align: center;
    padding: 1rem 0;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #718096;
    border-top: 1px solid #e2e8f0;
}
.site-footer p { margin-bottom: 0; }
.site-footer a { color: #4a5568; text-decoration: none; }
.site-footer a:hover { color: #2d3748; text-decoration: underline; }
/* --- FIM DOS ESTILOS DO RODAPÉ --- */
        
.button {
    border-radius: 8px;
    font-weight: 600;
    padding: 0.8rem 1.6rem;
    transition: all 0.3s ease;
}
.button.is-link {
    background: #4299e1;
    border-color: transparent;
}
.button.is-success {
    background: #48bb78;
    border-color: transparent;
}
/* Adicionado estilo para botão is-danger */
.button.is-danger {
    background-color: #f14668;
    border-color: transparent;
    color: #fff;
}
.button.is-link:hover {
    background: #3182ce;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.button.is-success:hover {
    background: #38a169;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
 /* Adicionado estilo de hover para is-danger */
.button.is-danger:hover {
    background-color: #ee3058; /* Um pouco mais escuro no hover */
    border-color: transparent;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Estilos para o aviso em dispositivos móveis (controlado por JS) */
#mobileWarning {
    /* display: none; é definido inline no HTML inicialmente */
    position: fixed; /* Fixa o elemento na tela */
    top: 0; /* Coloca no topo da tela */
    left: 0; /* Alinha à esquerda da tela */
    width: 100%; /* Ocupa toda a largura da tela */
    z-index: 1000; /* Garante que fique acima de outros elementos */
    border-radius: 0 !important; /* Remove bordas arredondadas para ocupar toda a largura */
    margin-bottom: 0 !important; /* Remove margem inferior */
    /* As classes do Bulma (notification, is-warning, etc.) cuidam das cores e texto */
  }
  
  /* Ajuste para o conteúdo principal não ficar sob o aviso fixo */
  body.mobile-warning-visible .section { /* Adiciona padding se o aviso estiver visível */
    padding-top: calc(3rem + 1.5rem); /* Altura aproximada do aviso + padding padrão da section */
  }

/* --- Responsive Adjustments for Button Group --- */
@media screen and (max-width: 768px) { /* Bulma's tablet breakpoint, targets mobile */

    .field.is-grouped {
      /* Override Bulma's default horizontal grouping on mobile */
      display: flex;          /* Garante que é flex */
      flex-direction: column; /* <<< DESCOMENTE ESTA LINHA para empilhar */
      align-items: center;    /* <<< DESCOMENTE ESTA LINHA para centralizar os itens empilhados */
    }

    /* Target the direct children .control divs within the grouped field */
    .field.is-grouped > .control {
      /* Remove the horizontal spacing added by is-grouped */
      margin-left: 0 !important; /* Pode manter ou remover se align-items: center for usado */
      margin-right: 0 !important;/* Pode manter ou remover se align-items: center for usado */
      /* Add vertical spacing between stacked buttons */
      margin-bottom: 0.75rem; /* Adjust as needed */
      /* Ensure controls don't shrink inappropriately if flex is still active */
       flex-grow: 0;
       flex-shrink: 0;
      /* Make control containers take up more width */
       width: 80%; /* Example: Adjust width as needed */
       max-width: 350px; /* Example: Prevent them from getting too wide */
       /* margin-left: auto !important;  Pode ser removido se align-items: center for usado no pai */
       /* margin-right: auto !important; Pode ser removido se align-items: center for usado no pai */
    }

    /* Remove margin from the last button in the stack */
    .field.is-grouped > .control:last-child {
      margin-bottom: 0;
    }

    /* Optional: Make the buttons themselves fill their container */
    .field.is-grouped > .control .button {
      width: 100%; /* Make button span the width of its control container */
    }
}

#useAiBtn.button.is-primary {
    background-color: #333333; /* --dark-gray do chat-header */
    color: white; /* Texto branco, consistente com o chat-header */
    border: none; /* Remove borda padrão do is-primary */
}

#useAiBtn.button.is-primary:hover {
    background-color: #666666; /* --medium-gray para hover, como na chat-input-area */
}

#useAiBtn.button.is-primary.is-focused:not(:active), .button.is-primary:focus:not(:active) {
    box-shadow: none;
}

/* END OF FILE public/css/style.css */

    

