/*table {
    border-collapse: collapse;
    border: 1px solid black;
}
td, th {
    border: 1px solid black;
}*/
.table td, .table th {
    padding: .05rem;
}
.output {
    background: lightgreen;
    font-family: monospace;
}

.line-edited .output {
  background: lightseagreen;
}

.fixfont {
  font-family: monospace;
}

table.table-fit {
    width: auto !important;
    table-layout: auto !important;
  }
  table.table-fit thead th,
  table.table-fit tbody td,
  table.table-fit tfoot th,
  table.table-fit tfoot td {
    width: auto !important;
  }

  table td, table th {
    border-left: solid 1px rgb(240, 240, 240);
    border-right: solid 1px rgb(240, 240, 240);    
  }

  select {
    display: block;
  }

  .row-alert {
    border-left: solid 3px orange;
  }

  .row-danger {
    border-left: solid 3px red;
  }


  .row-ignored {
    border-left: solid 3px purple;
    text-decoration: line-through;
  }

  .alert a {
    color: black;
    text-decoration: none;
  }
  
.operation-summary, .import_form {
  background-color: #ccc;
  padding: 1rem;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

/* Styles modernes pour le formulaire */
.operation_edit_form form {
  max-width: 800px;
  padding: 1rem;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.form-label {
  font-weight: 500;
  color: #374151;
  margin-right: 1rem;
}

.operation_edit_form .form-label {
  display: inline-block;
  width: 150px;
  text-align: right;
}

.import_form .form-label {
  display: inline-block;
  width: 250px;
}

.operation_edit_form .form-select, .operation_edit_form .form-control, .import_form .form-select, .import_form .form-control {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 0.5rem;
  width: calc(100% - 170px);
  display: inline-block;
  transition: all 0.2s ease;
}

.operation_edit_form .form-select:focus, .operation_edit_form .form-control:focus, .import_form .form-select:focus, .import_form .form-control:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
  outline: none;
}
/*
.danger-field {
  background: #fff5f5;
  border-left: 4px solid #ef4444;
  padding: 1rem;
  margin: 1.5rem 0;
  border-radius: 0 8px 8px 0;
}*/

.operation_edit_form .form-check, .import_form .form-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 150px;
}

.operation_edit_form .form-check-input, .import_form .form-check-input {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 4px;
  border: 2px solid #9ca3af;
}

.form-check-label {
  margin-left: 0.5rem;
}

.operation_edit_form #operation_edit_date_widget {
  background: #f9fafb;
  padding: 1rem;
  border-radius: 8px;
}

.das2-suggestion {
  margin-left: 170px;
}