body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;    
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
}

h1 {
    margin: 0px;
}

hr { 
    border: none;
    border-top: 1px dashed #dbdbdb;
    margin: 20px 0; /* optional spacing */    
}

form {
    background: #fff;
    padding: 20px 25px;
    border: 1px solid #f1f1f4;
    border-radius: 8px;
    max-width: 500px;
    width: 100%;
    box-shadow: 5px 6px 16px -8px rgba(0,0,0,0.62);
    -webkit-box-shadow: 5px 6px 16px -8px rgba(0,0,0,0.62);
    -moz-box-shadow: 5px 6px 16px -8px rgba(0,0,0,0.62);
}

form label {
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
    font-size: 12px;
    font-weight: bold;
    color: #252f4a;
}

form input[type="number"],
form input[type="text"],
form input[type="email"],
form input[type="file"],
form select {
    width: 100%;
    padding: 10px;
    border: 1px solid #f9f9f9;
    border-radius: 6px;
    font-size: 14px;
    background: #f9f9f9;
    box-sizing: border-box;
    transition: border 0.2s ease;
}

form input:focus {
    outline: none;
    border-color: #4a90e2;
}

form button {
    margin-top: 20px;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 6px;
    background: #4a90e2;
    color: white;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s ease;
}

form button:hover {
    background: #357abd;
}

.error {
    color: red;
    font-size: 13px;
    margin-top: 3px;
}

.frm-links {
    color: #1b84ff;
    text-decoration: none;
    font-size: 14px;
    margin-left: 6px;
}

.frm-links:hover {
    opacity: .75;    
}

#form-message {
    border-radius: 6px;
    font-weight: bold;
    font-size: 14px;      
    display: block;
    clear: both;
    padding: 10px 15px;
    display: none;
    margin-top: 10px;
}

#form-message.success {
    color: green;
    background: #dfffea;
    border: 1px dashed green;
}

#form-message.error {
    color: red;
    background: #ffeef3;
    border: 1px dashed red;
}

label.required::after {
  content: " *";
  color: red;
}

#check-info {
    text-decoration: none;
    font-size: 13px;
    border-radius: 3px;
    padding: 4px 6px;
    margin-top: 5px;
    display: inline-block;
    background-color: #1b84ff;
    color: #fff;
    text-transform: uppercase;
}

#check-info:hover {
    background-color: #056ee9;
}

#pop-notice {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* semi-transparent overlay */
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

#pop-notice .popup-content {
  background: #fff;
  padding: 20px 30px;
  border-radius: 10px;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  min-width: 250px;
}

#close-popup {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ff4d4d;
  color: white;
  border: none;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  cursor: pointer;
  font-weight: bold;
}

#loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none; /* hidden by default */
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.spinner {
  border: 5px solid #f3f3f3;
  border-top: 5px solid #252f4a; /* your preferred color */
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}