.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 4px;
    color: white;
    font-weight: 500;
    transform: translateY(-100%);
    animation: slideIn 0.5s forwards;
    z-index: 9999;
  }

  .notification.error {
    background-color: #cc0000;
    box-shadow: 0 4px 6px rgba(204, 0, 0, 0.2);
  }

  .notification.success {
    background-color: #28a745;
    box-shadow: 0 4px 6px rgba(40, 167, 69, 0.2);
  }

  @keyframes slideIn {
    to {
      transform: translateY(0);
    }
  }

  @keyframes fadeOut {
    to {
      opacity: 0;
    }
  }

  /* Estilos para el modal */
  .modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
  }

  .modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border-radius: 5px;
    width: 80%;
    max-width: 500px;
    position: relative;
  }

  .close {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
  }

  .close:hover {
    color: #cc0000;
  }

  .modal-header {
    margin-bottom: 20px;
  }

  .modal-body {
    margin-bottom: 20px;
  }

  .modal-footer {
    text-align: right;
  }

  .btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
  }

  .btn-primary {
    background-color: #cc0000;
    color: white;
  }

  .btn-primary:hover {
    background-color: #990000;
  }

  .btn-secondary {
    background-color: #6c757d;
    color: white;
    margin-right: 10px;
  }

  .btn-secondary:hover {
    background-color: #5a6268;
  }