body {
  font-weight: 600;
  font-family: Montserrat, sans-serif;
  background-color: #F5F7FA;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

header nav {
  background-color: #fff;
  padding: 10px;
  text-align: center;
}

.promisetopay-hero {
  background-color: #f5f5f5;
  background-image: linear-gradient(#3e4850a6, #3e4850a6),
    url("https://cdn.prod.website-files.com/626be87513192931b754a9ab/6855825fc21952ece3bb7a30_locations-hero-1.jpg");
  background-position: 0 0, 50%;
  background-repeat: repeat, no-repeat;
  background-size: auto, cover;
  padding-top: 8rem;
  padding-bottom: 8rem;
  text-align: center;
  color: white;
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 900;
  margin: 0;
  font-family: Montserrat, sans-serif;
}

.orange-heading {
  color: #f26522;
  font-size: 1.75rem;
  margin-top: 2rem;
  text-align: center;
}

.container {
  max-width: 600px;
  margin: 40px auto;
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.portal-title a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.intro-text {
  font-size: 16px;
  margin-bottom: 20px;
  text-align: center;
}

.welcome-text {
  margin-bottom: 1rem;
  font-size: 1.1em;
}

.account-input, input[type="number"], input[type="date"] {
  padding: 10px;
  width: 100%;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.primary-btn {
  background-color: #E07724;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 10px;
  display: inline-block;
  font-weight: 600;
  font-family: Montserrat, sans-serif;
}
.primary-btn:hover {
  background-color: rgb(223, 117, 36);
}

.secondary-btn {
  background-color: #ccc;
  color: black;
  border: none;
  padding: 8px 16px;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 10px;
  font-weight: 600;
  font-family: Montserrat, sans-serif;
}

.error-text {
  color: red;
  font-weight: 500;
  margin-top: 10px;
  text-align: left;
}

.footer-link {
  text-align: center;
  margin-top: 40px;
  text-decoration: none;
}

@keyframes fadeInDown {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.fadeInDown {
  animation: fadeInDown 0.8s ease-out both;
}

[x-cloak] {
  display: none !important;
}

.footer_element {
  background-color: #3F4850;
  color: white;
  padding: 1px;
  text-align: center;
}

.radio-option {
  display: block;
  margin: 0.8rem 0;
  padding: 0.8rem;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  transition: all 0.2s;
}

.radio-option:hover {
  background-color: #f8f9fa;
  border-color: #adb5bd;
}

.radio-option input[type="radio"] {
  margin-right: 0.8rem;
}

.form-label {
  font-weight: 600;
  margin-bottom: 10px;
}

.spinner-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: opacity 0.3s ease;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 6px solid #ccc;
  border-top-color: #E07724;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

[x-cloak] { display: none !important; }

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

.success-text {
  color: green;
  font-weight: 600;
  margin-bottom: 20px;
}

.payment-summary {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 4px;
  margin: 1rem 0;
}

.balance-label {
  color: #333;
  font-weight: 500;
}

.past-due-label {
  color: #dc3545;
  font-weight: 500;
}