/* style-aromagpt.css — version harmonisée avec l'identité visuelle de Vanessences.fr */

body {
    background: #ede6e3 /* beige vanessences */
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    color: #5c5c5c;
  }
  
  .container {
    max-width: 720px;
    margin: auto;
    padding: 1.5em;
    box-sizing: border-box;
    background-color: #f3f2ed; /* beige doux */
    border-radius: 8px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.08);
  }
  
  h1 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6em;
    font-size: 2.2em;
    color: #b6cd26; /* vert anis Vanessences */
    margin-bottom: 1em;
    font-weight: 700;
    font-family: 'Open Sans', sans-serif;
    text-shadow: 0 1px 0 #ffffff;
  }
  
  
  .card {
    background: #fefefe;
    padding: 1.5em;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    margin-bottom: 2em;
  }
  
  label {
    font-weight: 600;
    display: block;
    margin: 0.3em 0 0.2em;
    color: #333;
  }
  
  input,
  textarea {
    width: 100%;
    padding: 0.5em;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1em;
    box-sizing: border-box;
    margin-bottom: 0.5em; /* réduit pour compacité */
    background-color: #fafafa;
  }
  
  textarea {
    resize: vertical;
    min-height: 100px;
  }
  
  .btn-green,
  .btn-blue,
  .btn-logout {
    display: inline-block;
    padding: 0.75em 1.5em;
    font-size: 1em;
    font-weight: bold;
    text-align: center;
    border: none;
    border-radius: 6px;
    margin: 0.8em auto 0;
    cursor: pointer;
    box-sizing: border-box;
  }
  
  .btn-green {
    background-color: #b6cd26; /* vert anis Vanessences */
    color: white;
  }
  
  .btn-green:hover {
    background-color: #9fb41c;
  }
  
  .btn-blue {
    background-color: #0073b7; /* bleu typique site */
    color: white;
  }
  
  .btn-blue:hover {
    background-color: #005b92;
  }
  
  .btn-logout {
    background-color: #e63946; /* rouge Vanessences */
    color: white;
    padding: 0.75em 1.5em;
    font-size: 1em;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    max-width: 240px;
  }
  
  .btn-logout:hover {
    background-color: #c9202f;
  }
  
  .separator {
    text-align: center;
    font-weight: bold;
    margin: 1.5em 0;
    color: #999;
    font-size: 1em;
  }
  
  footer {
    text-align: center;
    font-size: 0.85em;
    color: #666;
    margin-top: 2em;
    padding: 1em;
    border-top: 1px solid #ddd;
    background-color: #f9f9f9;
  }
  
  footer a {
    color: #0073b7;
    text-decoration: none;
  }
  
  footer a:hover {
    text-decoration: underline;
  }
  
  #chat {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 1em;
    height: 400px;
    overflow-y: auto;
    margin-bottom: 1em;
  }
  
  .msg {
    padding: 0.6em;
    margin: 0.5em 0;
    border-radius: 6px;
    max-width: 90%;
    line-height: 1.5;
    font-size: 1em;
  }
  
  .msg.user {
    background: #edf5e1;
    align-self: flex-end;
    text-align: right;
  }
  
  .msg.bot {
    background: #f4f9ec;
    align-self: flex-start;
  }
  
  #userInput {
    width: 100%;
    padding: 0.6em;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1em;
    margin-bottom: 0.5em;
    box-sizing: border-box;
  }
  
  #sendBtn {
    width: 100%;
    margin-top: 0.5em;
    padding: 0.6em 1.2em;
    font-size: 1em;
    font-weight: bold;
    background-color: #b6cd26;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
  }
  
  #sendBtn:hover {
    background-color: #9fb41c;
  }
  
  .logout-container {
    text-align: center;
    margin-top: 2em;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 1em;
    box-sizing: border-box;
  }
  
  @media screen and (max-width: 768px) {
    .btn-green,
    .btn-blue,
    .btn-logout {
      width: 100%;
      font-size: 1em;
    }
  
    #userInput {
      width: 100%;
      margin-bottom: 0.5em;
    }
  
    #sendBtn {
      width: 100%;
      margin-top: 0.5em;
    }
  }
  
  /* Footer pour aromadoc.html */
  .aroma-footer {
    text-align: center;
    font-size: 0.85em;
    color: #888;
    margin-top: 2em;
    padding: 1em;
    background-color: #f9f9f9;
    border-top: 1px solid #ddd;
  }
  
  .aroma-footer a {
    color: #b6cd26;
    font-weight: 600;
    text-decoration: none;
  }
  
  .aroma-footer a:hover {
    text-decoration: underline;
  }
  /* Couleur générale pour tous les liens du site */
a,
a:visited,
footer a,
.aroma-footer a {
  color: #b6cd26 !important;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

a:hover,
a:focus,
footer a:hover,
.aroma-footer a:hover {
  color: #9fb41c !important;
  text-decoration: underline;
}

/* Lien souligné uniquement dans les messages du bot */
.msg.bot a {
  text-decoration: underline !important;
}
@media (min-width: 768px) {
  #inputArea {
    flex-direction: column !important;
    align-items: flex-end;
  }

  #userInput {
    width: 100%;
  }

  #sendBtn {
    margin-top: 0.5rem;
  }
}
.header-note {
  font-size: 0.75rem;
  font-style: italic;
  color: #444;
  margin-top: 0.5em;
  font-family: 'Open Sans', sans-serif;
}

