/* 身分驗證頁面專屬樣式 */
.verification-container {
  max-width: 400px;
  margin: auto;
  text-align: center;
}
.verification-container img {
  max-width: 100%;
  height: auto;
}
.verification-container input {
  width: 60px;
  height: 60px;
  text-align: center;
  font-size: 24px;
  margin: 0 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.verification-container .btn-primary {
  margin-top: 20px;
  width:70%;
  max-width: 70%;
  display: block;
  margin-left: auto;
  margin-right: auto;
  background-color: #038FC7;
  border-color: #038FC7;
}
.verification-container .btn-primary:disabled {
  background-color: #D9D9D9;
  border-color: #D9D9D9;
    color: #666;
}
.verification-container .checkbox-container {
  text-align: left;
  margin-top: 20px;
}

.checkbox-container
{
    letter-spacing: 1px;
    text-align: justify; /* 加入文字左右對齊 */
}

.form-check-input {
  width: 20px;
  height: 20px;
}
.form-control.text-center {
  max-width: 200px;
  margin: auto;
  font-size: 18px;
    background-color: #D9D9D9;
}
.form-control.text-center.gap-2 {
  width: calc(100% - 1rem);
  max-width: 100%;
  margin: auto;
  font-size: 18px;
  background-color: #D9D9D9;
}
#privacy1, #privacy2 {
  width: 20px;
  height: 20px;
}

#privacy-info1, #privacy-info2
{
    color:#038FC7;
    text-decoration: underline;
}

.modal {
  display: flex; /* Use flexbox for centering */
  align-items: center; /* Center vertically */
  justify-content: center; /* Center horizontally */
  position: fixed; /* Stay in place */
  z-index: 1050; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
.modal-content {
  background-color: #fefefe;
  padding: 20px;
  border: 1px solid #888;
  width: 500px; /* Default for desktop */
  height: 500px; /* Default for desktop */
  max-width: calc(100% - 30px); /* For mobile */
  max-height: calc(100% - 30px); /* For mobile */
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  max-height: 80vh; /* Limit modal height to 80% of the viewport */
  overflow-y: auto; /* Add vertical scroll if content overflows */
}

/* Prevent scrolling when modal is open */
body.modal-open {
  overflow: hidden;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  appearance: textfield; /* Standard property for compatibility */
  -moz-appearance: textfield; /* Firefox */
}