  .modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
  }

  .modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 12px;
    max-width: 320px;
    font-family: Arial, sans-serif;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    position: relative;
  }

  .modal-content label {
    display: block;
    margin: 10px 0 4px;
    font-weight: bold;
    font-size: 0.95em;
  }

  .modal-content input {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #bbb;
    border-radius: 6px;
    box-sizing: border-box;
  }

  .modal-content button {
    background-color: #2c6ea5;
    color: #fff;
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.95em;
    transition: background-color 0.3s ease;
  }

  .modal-content button:hover {
    background-color: #1b4f82;
  }

  .close {
    float: right;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    color: #888;
  }

  .close:hover {
    color: #000;
  }

  .error-message {
    color: #c00;
    font-size: 0.9em;
    margin-top: 8px;
    display: none;
  }