/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

/* Override the color for btn btn-outline-primary */
.btn.btn-outline-primary {
  display: block;
  margin-bottom: 15px;
  width: 100%;
  border-radius: 5px;
  padding-left: 15px;
  padding-right: 15px;
  padding-bottom: 10px;
  padding-top: 10px;
  color: #012970; /* Set the text color to #012970 */
  background-color: white;
}

/* Optionally, you can also override the color on hover or focus states */
.btn.btn-outline-primary:hover,
.btn.btn-outline-primary:focus {
  cursor: pointer;
  color: #fff; /* Set the text color for hover or focus */
  background-color: #012970; /* Set the background color for hover or focus */
  border-color: #012970; /* Set the border color for hover or focus */
}

.btn-outline-primary:hover {
  color: white 80 !important; /* Set the text color for hover or focus */
}

#mo_digital_id-login-button-div {
  display: flex;
  flex-direction: column;
  gap: 10px; /* Adjust the gap as needed */
  padding-bottom: 25px;
}

.mo_digital_id-login-button {
  font-size: medium;
  display: flex;
  padding: 10px;
  background-color: #e7e9f1;
  border: 1px solid #b3adad;;
  border-radius: 5px;
  text-align: left;
  width: 92%;
  max-width: 400px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: background-color 0.3s;
}

.mo_digital_id-login-button:hover {
  background-color: #e0e0e0;
}

.mo_digital_id-login-button img {
  width: 24px; /* Adjust icon size as needed */
  height: 24px; /* Adjust icon size as needed */
  margin-right: 10px;
}

.mo_digital_id_wallet-name {
  font-size: 16px; /* Adjust font size as needed */
  font-weight: 500;
}

.mo_digital_id-modal {
  display: none; 
  position: fixed; 
  z-index: 1; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: rgb(0,0,0); 
  background-color: rgba(0,0,0,0.4); 
}
.mo_digital_id-modal-content {
  height: 340px;
  background-color: #fefefe;
  margin: 5% auto; 
  padding: 20px;
  border: 1px solid #888;
  width: 80%; 
  max-width: 300px; /* Ensure the modal content does not exceed 600px */
  box-sizing: border-box;
  overflow: hidden; /* Ensure content stays within the modal */
  padding-top: 0px;
  border-radius: 8px;
}
.mo_digital_id-close {
  position: absolute;
  transform: translateX(100%); /* Adjusts the close button position */
  margin-bottom: 2px;
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  margin-left: 14rem;
}
.mo_digital_id-close:hover,
.mo_digital_id-close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
#mo_digital_id-qrcode {
  max-width: 100%; /* Ensure QR code container does not exceed modal width */
  height: auto;
  text-align: center;
  padding: 20px 0; /* Add padding for better visual spacing */
  box-sizing: border-box;
}

.mo_digital_id-scan-message {
  margin: 0; /* Remove default margin */
  flex: 1; /* Allows the message to take up remaining space */
  text-align: center; /* Centers text within the flex item */
  font-size: 18px; /* Increase font size */
  color: #888; /* Light text color */
  margin-top: 10px;
  text-align: center; /* Center-align the message */
}

.mo_digital_id-scan-container {
  display: flex;
  align-items: center; /* Aligns items vertically centered */
  justify-content: center; /* Centers content horizontally */
  position: relative;
}

.mo_digital_id_qr_skeleton {
  padding:9px;
  max-width: 300px;
  background: #fff;
  margin-bottom: 20px;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  /* box-shadow: 0 3px 4px 0 rgba(0, 0, 0, .14), 0 3px 3px -2px rgba(0, 0, 0, .2), 0 1px 8px 0 rgba(0, 0, 0, .12); */
}
.mo_digital_id_qr_skeleton .square {
  height: 272px;
  width: 262px;
  border-radius: 5px;
  background: rgba(130, 130, 130, 0.2);
  background: -webkit-gradient(linear, left top, right top, color-stop(8%, rgba(130, 130, 130, 0.2)), color-stop(18%, rgba(130, 130, 130, 0.3)), color-stop(33%, rgba(130, 130, 130, 0.2)));
  background: linear-gradient(to right, rgba(130, 130, 130, 0.2) 8%, rgba(130, 130, 130, 0.3) 18%, rgba(130, 130, 130, 0.2) 33%);
  background-size: 800px 100px;
  animation: wave-squares 1s infinite ease-out;
}

.mo_digital_id_qr_skeleton-right{
  flex:1;
}

@keyframes wave-squares {
  0% {
      background-position: -468px 0;
  }
   100% {
      background-position: 468px 0;
  }
}

#mo_digital_id-message {
  margin-top: 66px;
  color: #979091;
  padding: 10px;
  margin-top: 109px;
  text-align: center;
  font-size: 1.5rem;
}
