.submit-button[disabled],
input[type="submit"][disabled],
button[type="submit"][disabled],
.submit-button.ccs-sending,
input[type="submit"].ccs-sending,
button[type="submit"].ccs-sending,
#reset-button[disabled],
#reset-button.ccs-sending {
  background: #ccc !important;
  color: #fff !important;
  cursor: not-allowed !important;
  opacity: 0.7;
  box-shadow: none !important;
  border: 1px solid #bbb !important;
}
#reset-button[disabled]:hover,
#reset-button.ccs-sending:hover {
  background: #ccc !important;
  color: #fff !important;
  cursor: not-allowed !important;
  opacity: 0.7;
}
/* Désactive visuellement le bouton submit lors de l'envoi du commentaire */
.submit-button[disabled],
input[type="submit"][disabled],
button[type="submit"][disabled],
.submit-button.ccs-sending,
input[type="submit"].ccs-sending,
button[type="submit"].ccs-sending {
  background: #ccc !important;
  color: #fff !important;
  cursor: not-allowed !important;
  opacity: 0.7;
  box-shadow: none !important;
  border: 1px solid #bbb !important;
}
.submit-button[disabled]:hover,
input[type="submit"][disabled]:hover,
button[type="submit"][disabled]:hover,
.submit-button.ccs-sending:hover,
input[type="submit"].ccs-sending:hover,
button[type="submit"].ccs-sending:hover {
  background: #ccc !important;
  color: #fff !important;
  cursor: not-allowed !important;
  opacity: 0.7;
}
/*
 * Drag & Drop Attachment UI for Comment Form
 * This CSS mimics the guestpost-form-template.php upload area style
 */
.upload-area {
  border: 2px dashed #ddd;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  background: #fafafa;
  transition: all 0.3s ease;
  cursor: pointer;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 5px;
  position: relative;
}
.upload-area:hover {
  border-color: #3498db;
  background: #f0f8ff;
}
.upload-area.has-file {
  border-color: #27ae60;
  background: #f0fff4;
  padding: 10px;
}
.upload-area input[type="file"] {
  display: none;
}
.upload-label {
  font-size: 15px;
  color: #666;
  cursor: pointer;
}
.upload-label strong {
  color: #3498db;
}
.upload-icon {
  font-size: 40px;
  margin-bottom: 10px;
  color: #bbb;
}
