  /* Modal Styles */
  .modal {
    display: none; /* hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }
  .modal-content {
    background: white;
    padding: 20px 30px;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.3s ease-in-out;
  }
  .modal-content h2 {
    color: #333;
    margin-bottom: 10px;
  }
  .modal-content p {
    color: #555;
    margin-bottom: 20px;
  }
  .modal-content button {
    background: orange;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
  }
  .modal-content button:hover {
    background: darkorange;
  }
  @keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
  }

  /* Validation Error Style */
  .error {
    border: 2px solid red;
  }
  .error-message {
    color: red;
    font-size: 0.9rem;
    margin-top: 5px;
    display: none;
  }
