/* =============================================================
   MODAL BÂTIMENT - ONGLET HISTOIRE
   ============================================================= */

/* Section Histoire */
.histoire-section {
  padding: 20px;
}

.histoire-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.histoire-header h3 {
  margin: 0;
  color: #2c3e50;
  font-size: 18px;
  font-weight: 600;
}

/* Textarea d'édition de l'histoire */
.histoire-textarea {
  width: 100%;
  min-height: 300px;
  padding: 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  resize: vertical;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.histoire-textarea:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.histoire-textarea::placeholder {
  color: #999;
  font-style: italic;
}

/* Actions en bas du formulaire */
.form-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 15px;
}

/* Responsive */
@media (max-width: 768px) {
  .histoire-section {
    padding: 15px;
  }

  .histoire-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .histoire-header h3 {
    font-size: 16px;
  }

  .histoire-textarea {
    min-height: 250px;
    font-size: 16px; /* Plus grand pour mobile */
  }

  .form-actions {
    flex-direction: column-reverse;
    width: 100%;
  }

  .form-actions button {
    width: 100%;
  }
}
