
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    /*padding: 40px 16px 16px 16px;*/
    padding: 5vh 3vh 120vh 3vh;
    /*margin-bottom: 100vh;*/
    /*padding-left: 10vw;*/
    /**/
    /*padding-bottom: 50vh; !* Adds 15% of the screen height as extra scroll space *!*/
    font-family: system-ui, -apple-system, sans-serif;
    /*margin: 0;*/


    background-color: #000000;
    color: #bdbdbd;
    text-align: center;
}

.mobile-form {
  max-width: 480px;
  margin: 0 auto;
  background: #ffffff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.form-field {
    padding-bottom: 25px;
}
.form-group {
  margin-bottom: 50px;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

input, select, textarea, button {
  width: 100%;
  /* 16px prevents Safari/iOS from auto-zooming on focus */
  font-size: 16px;
  font-family: inherit;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  /* Minimum 44px height for easy thumb tapping */
  min-height: 44px;
}

input:focus, select:focus, textarea:focus {
  outline: 2px solid #0066cc;
  border-color: #0066cc;
}

button {
  background-color: #0066cc;
  color: white;
  font-weight: bold;
  border: none;
  cursor: pointer;
  margin-top: 8px;
}

button:active {
  background-color: #004c99;
}

.idPreview {
    width: 200px;        /* Set desired width */
    height: 200px;       /* Set desired height */
    object-fit: cover;   /* Crops image to fill the box without stretching */
    border-radius: 8px;  /* Optional rounded corners */
    margin-top: 10px;
}

/* CSS */
.button {
  background-color: #2588c6;
  border-radius: 8px;
  border-style: none;
  box-sizing: border-box;
  color: #FFFFFF;
  cursor: pointer;
  display: inline-block;

    font-family: system-ui, -apple-system, sans-serif;
  /*font-family: "Haas Grot Text R Web", "Helvetica Neue", Helvetica, Arial, sans-serif;*/
  font-size: 14px;
  font-weight: 500;
  height: 40px;
  line-height: 20px;
  list-style: none;
  margin: 0;
  outline: none;
  padding: 10px 16px;
  position: relative;
  text-align: center;
  text-decoration: none;
  transition: color 100ms;
  vertical-align: baseline;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.button:hover,
.button:focus {
  background-color: #65afea;
}

.hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
    z-index: -1;
}

.custom-upload-btn {
    display: inline-block;
    padding: 10px 18px;
    background-color: #2563eb;
    color: #ffffff;
    font-family: sans-serif;
    border-radius: 6px;
    cursor: pointer;
  }

.custom-upload-btn:hover {
    background-color: #1d4ed8;
  }

  /* Restore keyboard focus ring on the label */
.hidden:focus + .custom-upload-btn {
    outline: 2px solid #93c5fd;
    outline-offset: 2px;
  }

/* Form Validation Error Styling */
.error-container {
    color: red;
}
.error-container > ul {
    padding: 0;
    list-style: none;
}