.form-container {
    width: 100%;
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}
.form-container h2 {
    color: #333;
    font-size: 22px;
}
.form-container p {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}
.form-container input {
    width: 100%;
    box-sizing: border-box; /* Ensures padding and borders are included in width calculation */
    padding: 15px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
    color: #333;
    font-size: 16px;
}
.form-container input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}
.form-container input[type="submit"] {
    width: 100%; /* Ensures the button takes up the full width */
    background-color: #ffcc00;
    color: #333;
    border: none;
    cursor: pointer;
    font-size: 18px;
    padding: 15px;
    margin-top: 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
.form-container .consent-text {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}
.form-container .small-print {
    font-size: 12px;
    color: #999;
    line-height: 1.5;
}
.form-container .message {
    font-size: 12px;
    color: red;
    margin-bottom: 10px;
    text-align: center;
}
.custom-alert {
    position: absolute;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 8px;
    border-radius: 4px;
    font-size: 14px;
    z-index: 1000;
    display: none;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.2);
}
.custom-alert::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 10px;
    border-width: 10px;
    border-style: solid;
    border-color: #f5c6cb transparent transparent transparent;
}
#loading {
  position: fixed; 
  top: 0;         /* Start at the top */
  left: 0;        /* Start at the left */
  height: 100%;   
  width: 100%;    
  z-index: 10001; /* Higher than the menu */
  background-color: rgba(0,0,0,0.10);
}
#loadingimg {
  z-index: 10002; /* Even higher, if needed */
  position: absolute; /* Position within the #loading container */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}