body {
  font-family: "Inter", sans-serif;
  background-color: #f0f2f5;
}
.modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.3s ease-in-out;
}
.modal-content {
  background-color: #fefefe;
  margin: 5% auto;
  padding: 24px;
  border: 1px solid #888;
  width: 90%;
  max-width: 700px;
  border-radius: 12px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  animation: slideIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: translateY(-30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.calendar-day {
  min-height: 80px;
}
.calendar-day.has-deadline {
  background-color: #fef3c7; /* amber-100 */
  border: 1px solid #fcd34d; /* amber-300 */
}
.calendar-day.today {
  background-color: #dbeafe; /* blue-100 */
}
.status-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.status-presupuestado {
  background-color: #e0e7ff;
  color: #4338ca;
}
.status-en-curso {
  background-color: #dbeafe;
  color: #1d4ed8;
}
.status-completado {
  background-color: #d1fae5;
  color: #065f46;
}
.status-enviado-entregado {
  background-color: #e5e7eb;
  color: #374151;
}
.status-cancelado {
  background-color: #fee2e2;
  color: #991b1b;
}

.payment-pendiente {
  background-color: #fef3c7;
  color: #92400e;
}
.payment-pagado {
  background-color: #d1fae5;
  color: #065f46;
}

#toast-notification {
  position: fixed;
  bottom: 20px;
  right: 20px;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transform: translateY(150%);
  transition: transform 0.5s ease-in-out;
  z-index: 200;
}
#toast-notification.show {
  transform: translateY(0);
}
.action-btn-group button {
  transition: all 0.2s ease-in-out;
}
/* --- ESTILOS PARA LA EXPANSIÓN DE TARJETAS --- */
.pieces-list {
  overflow: hidden;
  transition: max-height 0.4s ease-in-out;
}

.pieces-list.collapsed {
  max-height: 0;
}

.expand-btn .fas {
  transition: transform 0.3s ease-in-out;
}
