/* style.css */
body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #333;
    color: #333;
    body {
    padding-top: env(safe-area-inset-top);
}

}

html, body {
    height: 100%;
}

.tab-bar {
    display: none;
    background-color: #333;
}

.tab-button {
    flex: 1;
    padding: 10px;
    background-color: #333;
    color: white;
    border: none;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s;
}

.tab-button:hover {
    background-color: #555;
}

.tab-content {
    padding: 5px;
    display: none;
    background-color: #333;
}

.container {
    max-width: 600px;
    margin: 10px auto;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
}

h1 {
    text-align: center;
    margin-bottom: 15px;
    font-size: 20px; 
}

h2 {
    text-align: center;
    margin-bottom: 15px;
    font-size: 16px; 
}

h3 {
    text-align: left;
    margin-bottom: 15px;
    font-size: 16px; 
}

textarea#promptInput {
    width: 98%;
    height: 150px;
    padding: 5px;
    font-size: 1em;
    margin-bottom: 5px;
    border: 1px solid #ccc;
    border-radius: 8px;
    resize: vertical;
}

.controls button {
    margin: 2px;
    width: 150px;       /* Largura do botão */
    height: 50px;       /* Altura do botão */
    font-size: 14px;    /* Tamanho da fonte */
    padding: 4px 4px;  /* Espaçamento interno (opcional) */
}

select, input[type="text"], input[type="email"], input[type="password"] {
    width: 100%;
    height: 50px; /* altura padronizada */
    padding: 10px;
    margin: 5px 0 15px 0;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1em;
    box-sizing: border-box; /* garante que padding não estique o input */
}


.response, .history {
    margin-top: 20px;
}

#loginScreen button {
  width: 100%;
  height: 50px; /* ← Altura fixa */
  margin-bottom: 10px;
  font-size: 16px; /* opcional: melhora visual */
}


#loginScreen.container {
    margin-top: 60px; /* Adicione isso se quiser o espaçamento superior */
}

#responseOutput, #historyList {
    padding: 10px;
    background-color: #e9e9e9;
    border-radius: 8px;
    min-height: 100px;
}

.modal {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  position: relative;
}

.close-button {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5em;
  cursor: pointer;
}

.privacy-policy {
    width: 100%;
    max-width: 100%;
    height: 300px;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    resize: vertical;
    box-sizing: border-box;
    overflow-y: auto;
    font-size: 0.9em;
    line-height: 1.4em;
}
