/* contentmodal.css */

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: #fff;
  margin: 15% auto;
  padding: 2rem;
  border: 1px solid #888;
  width: 80%;
  max-width: 400px;
  text-align: center;
  border-radius: 10px;
  position: relative;
}



.modal-content-inline .loading-bar {
  margin-bottom: 0.8rem; /* adjust up/down as needed */
}

.loading-bar {
  width: 80px;
  height: 6px;
  margin-top: 1rem;
  background: #ccc;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}


.loading-bar::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 40%;
  background: #666;
  animation: slide 1s infinite ease-in-out;
  border-radius: 4px;
}

@keyframes slide {
  0% {
    left: -40%;
  }
  50% {
    left: 50%;
  }
  100% {
    left: 100%;
  }
}


/* Button NEW */
.button {
  display: inline-block;           /* NEW: make anchor behave like a button box */
  background-color: #ff6500;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: normal !important;
  transition: background-color 0.2s ease;
  text-decoration: none;           /* ensure no underline on <a> */
  line-height: 1;                  /* avoid extra inline spacing issues */
  margin-top: 0.75rem;             /* NEW: spacing from text above */
}




.button:hover {
  background-color: #ff4500;
}

.button:active {
  background-color: grey;
}






.close-btn {
  position: absolute;
  right: 1rem;
  top: 0.5rem;
  font-size: 1.5rem;
  cursor: pointer;
}

@media print {
  body {
      -webkit-print-color-adjust: exact;
  }
}

