.the-container{
  margin: 1% 5% !important;
  width: 90% !important;
}

.button-edit{
  color: #86A3C2;
}
.button-delete{
  color: #E30000;
}

.tt-suggestion {
  background-color: #f5f5f5;
  cursor: pointer;
  padding: 8px 12px;
}

.tt-suggestion:hover {
  background-color: #e0e0e0; 
}

.lds-default {
  display: block;
  position: relative;
  margin-left: 50% !important;
  width: 180px;
  height: 180px;
}
.lds-default div {
  position: absolute;
  width: 10px;
  height: 10px;
  background: #17a2b8;
  border-radius: 50%;
  animation: lds-default 1.2s linear infinite;
}
.lds-default div:nth-child(1) {
  animation-delay: 0s;
  top: 37px;
  left: 66px;
}
.lds-default div:nth-child(2) {
  animation-delay: -0.1s;
  top: 22px;
  left: 62px;
}
.lds-default div:nth-child(3) {
  animation-delay: -0.2s;
  top: 11px;
  left: 52px;
}
.lds-default div:nth-child(4) {
  animation-delay: -0.3s;
  top: 7px;
  left: 37px;
}
.lds-default div:nth-child(5) {
  animation-delay: -0.4s;
  top: 11px;
  left: 22px;
}
.lds-default div:nth-child(6) {
  animation-delay: -0.5s;
  top: 22px;
  left: 11px;
}
.lds-default div:nth-child(7) {
  animation-delay: -0.6s;
  top: 37px;
  left: 7px;
}
.lds-default div:nth-child(8) {
  animation-delay: -0.7s;
  top: 52px;
  left: 11px;
}
.lds-default div:nth-child(9) {
  animation-delay: -0.8s;
  top: 62px;
  left: 22px;
}
.lds-default div:nth-child(10) {
  animation-delay: -0.9s;
  top: 66px;
  left: 37px;
}
.lds-default div:nth-child(11) {
  animation-delay: -1s;
  top: 62px;
  left: 52px;
}
.lds-default div:nth-child(12) {
  animation-delay: -1.1s;
  top: 52px;
  left: 62px;
}
@keyframes lds-default {
  0%, 20%, 80%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.5);
  }
}

/* --- Estilo general del modal --- */
.modal-dialog {
  max-width: 750px;
  color: #111827;
}

.modal-content {
  border: none;
  border-radius: 1rem;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
  animation: fadeIn 0.3s ease-in-out;
}

/* --- Header --- */
.modal-header {
  background-color: #f9fafc;
  border-bottom: none;
  padding: 1.2rem 1.5rem;
}

.modal-title {
  font-weight: 600;
  font-size: 1.1rem;
  color: #1f2937; /* gris oscuro elegante */
}

/* --- Inputs y selects --- */
.form-control,
.form-select {
  border-radius: 0.5rem;
  border: 1px solid #d1d5db;
  padding: 0.65rem 0.75rem;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.2);
}

/* --- Espaciado entre campos --- */
.form-group {
  margin-bottom: 0.9rem;
}

/* --- Textarea --- */
textarea.form-control {
  min-height: 90px;
}

/* --- Footer --- */
.modal-footer {
  background-color: #f9fafc;
  border-top: none;
  border-radius: 0 0 1rem 1rem;
  padding: 1rem 1.5rem;
}

/* --- Botones --- */
.btn {
  font-weight: 500;
  border-radius: 0.5rem;
  padding: 0.55rem 1.1rem;
}

.btn-primary {
  background-color: #1d4ed8;
  border-color: #1d4ed8;
}

.btn-primary:hover {
  background-color: #1e40af;
  border-color: #1e40af;
}

.btn-secondary {
  background-color: #e5e7eb;
  color: #111827;
  border: none;
}

.btn-secondary:hover {
  background-color: #d1d5db;
}

/* --- Animación --- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
