/* app/static/css/style.css */
/*
styles.css
Version: 1.6

Changes since v1.5:
 - Removed max-width and max-height constraints from the
   `.sentence-block .img-thumbnail` rule to allow sentence images
   in the story form to display at larger sizes.
*/

body {
  background-color: #f8f9fa;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.navbar-brand {
  font-weight: bold;
}

.container {
  padding-top: 20px;
}

h2 {
  font-weight: 300;
  margin-bottom: 20px;
}

.form-group label {
  font-weight: 500;
}

.btn {
  font-size: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .container {
    padding: 15px;
  }
}

/* Thumbnail delete button styling removed */
/*
.sentence-image-thumb {
  position: relative;
  margin: 0.5rem;
}
.sentence-image-thumb .delete-btn {
  position: absolute;
  top: 0.25rem;
  right: 0.25rem;
  background-color: rgba(255,255,255,0.8);
  border-radius: 50%;
  padding: 0.2rem 0.4rem;
}
*/

/* Styling for pending placeholder in story form */
.sentence-image-pending {
  width: 150px; /* Match thumbnail size? */
  height: 150px;
  /* margin: 0.5rem; */ /* Handled by block structure now */
  background-color: #f0f0f0;
  border: 1px solid #ddd;
  border-radius: 0.25rem;
  display: flex; /* Keep flex for centering */
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Styling for sentence blocks in story form image gallery */
.sentence-block {
    border: 1px solid #e9ecef; /* Light border */
    padding: 0.75rem;
    border-radius: 0.25rem;
}

/* Styling for images within sentence blocks */
.sentence-block .img-thumbnail {
    margin-bottom: 0.5rem;
    /* The img-fluid class added in the HTML handles responsive max-width: 100% */
}
