body {
  font-family: Arial, sans-serif;
  background-color: #f0fdf4;
  margin: 0;
  padding: 0;
}

header {
  background-color: #d1fae5;
  text-align: center;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

h1 {
  color: #065f46;
}

.logo-container {
  display: flex;
  justify-content: center;
  margin: 1rem 0;
}

.dropdown-container {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

select {
  padding: 0.5rem;
  border-radius: 10px;
  border: 1px solid #a7f3d0;
  background-color: #ecfdf5;
}

.chat-section {
  width: 90%;
  max-width: 800px;
  margin: auto;
  background: #ffffff;
  border-radius: 20px;
  padding: 1rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.chat-box {
  max-height: 400px;
  overflow-y: auto;
  border: 1px solid #d1fae5;
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1rem;
  background-color: #f9fdfb;
}

.chat-message {
  margin-bottom: 1rem;
}

.chat-message.bot {
  background-color: #e0f7ef;
  padding: 0.5rem;
  border-radius: 10px;
  position: relative;
}

.chat-message .copy-icon {
  position: absolute;
  top: 5px;
  right: 5px;
  cursor: pointer;
  font-size: 0.9rem;
  color: #065f46;
}

.chat-input-area {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#chat-input {
  flex-grow: 1;
  padding: 0.5rem;
  border-radius: 10px;
  border: 1px solid #a7f3d0;
}

button, .file-upload-label {
  background-color: #6ee7b7;
  color: #065f46;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s;
}

button:hover, .file-upload-label:hover {
  background-color: #34d399;
}

textarea#chat-input {
  flex-grow: 1;
  padding: 0.5rem;
  border-radius: 10px;
  border: 1px solid #a7f3d0;
  resize: vertical;
  min-height: 3rem;
  max-height: 200px;
}

/* CSS/style.css – minimale Ergänzungen für deaktivierte Elemente */

/* Buttons klar ausgegraut darstellen, ohne bestehendes Layout zu ändern */
button:disabled{opacity:.8;cursor:not-allowed;filter:grayscale(.8)}
.file-upload-label.is-disabled{opacity:.5;cursor:not-allowed;pointer-events:none;filter:grayscale(.3)}


/* Der "+"-Button ist ein <label>. Wir geben ihm im JS die Klasse .is-disabled */
.file-upload-label.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;    /* Klicks unterbinden */
  filter: grayscale(0.3);
}
/* === Usage Section Additions === */
.usage-section{
  width: min(960px, 92vw);
  margin: 2rem auto;
  background: #ffffff;
  border-radius: 16px;
  padding: 1.25rem 1.25rem 1.5rem;
  box-shadow: 0 4px 18px rgba(0,0,0,.06);
  border: 1px solid #e5f4ec;
}
.usage-section h2{
  margin: 0 0 .75rem;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  color: #064e3b;
  letter-spacing: .2px;
}
.usage-section h3{
  margin: 1.25rem 0 .5rem;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: #065f46;
}
.usage-section p{
  margin: .35rem 0;
  line-height: 1.55;
  color: #073b2c;
}
.usage-section a{
  color: #0b8a62;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.usage-section .table-wrap{
  overflow-x: auto;
  border: 1px solid #e1f3ea;
  border-radius: 12px;
  margin: .75rem 0 1rem;
}
.usage-section table.usage-table{
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}
.usage-section .usage-table th,
.usage-section .usage-table td{
  padding: .5rem .6rem;
  border-bottom: 1px solid #ecf8f3;
  text-align: left;
  white-space: nowrap;
}
.usage-section .usage-table thead th{
  background: #f3fcf8;
  font-weight: 700;
  position: sticky;
  top: 0;
}

