#drop-area {
  border: 2px dashed #007bff;
  border-radius: 12px;
  padding: 2em;
  text-align: center;
  background: #eaf4ff;
  cursor: pointer;
  margin-bottom: 1em;
  transition: border-color 0.2s, background 0.2s;
}
.drop-region {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
}
.drop-icon {
  font-size: 2.5em;
  margin-bottom: 0.2em;
}
.file-label {
  color: #007bff;
  text-decoration: underline;
  cursor: pointer;
}
body {
  font-family: Arial, sans-serif;
  main {
    max-width: 1000px;
    margin: 2em auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 2em;
  }
  .main-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2em;
  }
  .left-column {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  #image-preview img {
    max-width: 100%;
    max-height: 300px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  }
  .right-column {
    display: flex;
    flex-direction: column;
    gap: 1em;
  }
  #positive-box textarea,
  #negative-box textarea,
  #metadata-box textarea {
    width: 100%;
    min-height: 3em;
    font-size: 1em;
    border-radius: 4px;
    border: 1px solid #bbb;
    padding: 0.5em;
    resize: vertical;
    background: #fff;
    box-sizing: border-box;
    margin-top: 0.5em;
  }
  .prompt-box {
    background: #f0f4fa;
    border-radius: 6px;
    padding: 1em;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  }
  #metadata-box {
    background: #f7f7f7;
    border-radius: 6px;
    padding: 1em;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
  }
  #prompt-actions {
    display: flex;
    gap: 0.5em;
    flex-wrap: wrap;
    margin-top: 0.5em;
  }
  #prompt-actions button {
    margin: 0.2em 0;
  }
  @media (max-width: 900px) {
    .main-grid {
      grid-template-columns: 1fr;
      gap: 1em;
    }
    main {
      padding: 1em;
      margin: 1em;
    }
  }
  border-radius: 6px;
  padding: 1em;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
#metadata-box {
  background: #f7f7f7;
  border-radius: 6px;
  padding: 1em;
  margin-bottom: 1em;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}
#param-list div {
  margin-bottom: 0.3em;
}
#prompt-actions {
  display: flex;
  gap: 0.5em;
  flex-wrap: wrap;
  margin-top: 1em;
}
#prompt-actions button {
  margin: 0.2em 0;
}
@media (max-width: 700px) {
  main {
    padding: 1em;
    margin: 1em;
  }
  .prompt-boxes {
    flex-direction: column;
  }
}
