html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  background-color: #f5f5f5;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* Top Bar Styles */
.top-bar {
  background-color: #ffffff;
  padding: 15px 0;
  border-bottom: 1px solid #e0e0e0;
}

.newsletter-section {
  display: inline-block;
  vertical-align: middle;
}

.newsletter-text-large {
  color: #E21C21;
  font-size: 25px;
  font-family: 'Inter', 'Nimbus Sans', sans-serif;
  margin: 0;
  line-height: normal;
  letter-spacing: normal;
}

.newsletter-text-small {
  color: #E21C21;
  font-size: 18px;
  font-family: 'Inter', 'Nimbus Sans', sans-serif;
  margin: 0;
  line-height: normal;
  letter-spacing: normal;
}

.envelope-icon-link {
  display: inline-block;
  vertical-align: middle;
  margin-left: 10px;
}

.envelope-icon {
  width: 30px;
  height: 30px;
  vertical-align: middle;
}

.hours-text {
  font-size: 17px;
  font-family: 'Inter', 'Nimbus Sans', sans-serif;
  font-weight: 400;
  letter-spacing: 0.08em;
  margin: 0 15px 0 0;
  display: inline-block;
  vertical-align: middle;
}

.hours-text-black {
  color: #222222;
}

.hours-text-red {
  color: #E21C21;
}

.btn-order-now {
  background-color: #E21C21;
  color: white;
  border: none;
  padding: 10px 25px;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  vertical-align: middle;
  font-size: 16px;
  transition: background-color 0.3s;
}

.btn-order-now:hover {
  background-color: #c82333;
  color: white;
  text-decoration: none;
}

/* Main Header Styles */
.main-header {
  background-color: #000000;
  color: white;
  padding: 20px 0;
}

.logo-link {
  display: inline-block;
}

.site-logo {
  height: 47px;
  width: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
  align-items: center;
}

.nav-item {
  position: relative;
  margin: 0;
}

.nav-link-header {
  color: white;
  text-decoration: none;
  font-size: 16px;
  padding: 5px 10px;
  display: block;
  line-height: 29px;
  transition: color 0.3s;
  font-family: 'Inter', 'Nimbus Sans', sans-serif;
}

.nav-link-header:hover {
  color: #ccc;
  text-decoration: none;
}

.nav-item.dropdown .dropdown-toggle::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 5px;
  vertical-align: middle;
  border-top: 5px solid white;
  border-right: 5px solid transparent;
  border-bottom: 0;
  border-left: 5px solid transparent;
}

.dropdown-menu {
  background-color: #000000;
  border: 1px solid #333;
  border-radius: 4px;
  padding: 5px 0;
  min-width: 180px;
  margin-top: 5px;
}

.dropdown-item {
  color: white;
  padding: 8px 20px;
  text-decoration: none;
  display: block;
  font-size: 14px;
  transition: background-color 0.3s;
}

.dropdown-item:hover {
  background-color: #333;
  color: white;
  text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .newsletter-text-large {
    font-size: 18px;
  }
  
  .newsletter-text-small {
    font-size: 14px;
  }
  
  .hours-text {
    font-size: 14px;
  }
  
  .nav-menu {
    flex-wrap: wrap;
  }
  
  .site-logo {
    height: 47px;
  }
}

/* Payment Form Styles */
.payment-form-container {
  background-color: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  margin: 30px auto;
  max-width: 900px;
}

.payment-form-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

.assistance-text {
  color: #666;
  margin-bottom: 20px;
}

.required-note {
  font-size: 12px;
  color: #666;
  text-align: right;
}

.form-section {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e0e0e0;
}

.form-section:last-child {
  border-bottom: none;
}

.section-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
}

.payment-method-logos {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.payment-logo {
  height: 40px;
  width: auto;
  max-width: 80px;
  object-fit: contain;
  opacity: 1;
  transition: opacity 0.3s;
}

.payment-logo:hover {
  opacity: 1;
}

.total-charge-display {
  background-color: #f8f9fa;
  padding: 15px;
  border-radius: 4px;
  font-size: 18px;
  font-weight: bold;
  color: #333;
}

.btn-payment {
  background-color: #dc3545;
  color: white;
  border: none;
  padding: 15px 40px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 4px;
  width: 100%;
  cursor: pointer;
  margin-top: 20px;
}

.btn-payment:hover {
  background-color: #c82333;
  color: white;
}

.btn-payment:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.convenience-fee-note {
  background-color: #fff3cd;
  padding: 15px;
  border-radius: 4px;
  margin-top: 15px;
  font-size: 14px;
  color: #856404;
}

.text-danger {
  color: #dc3545;
  font-size: 12px;
  margin-top: 5px;
}

.form-label {
  font-weight: 500;
  color: #333;
  margin-bottom: 5px;
}

.form-label .required {
  color: #dc3545;
}

/* Loading Overlay Styles */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.spinner-container {
  text-align: center;
  color: white;
}

.spinner-container .spinner-border {
  width: 3rem;
  height: 3rem;
  border-width: 0.3em;
}

.loading-text {
  margin-top: 20px;
  font-size: 18px;
  font-weight: 500;
}

.btn-payment .spinner-border-sm {
  width: 1rem;
  height: 1rem;
  border-width: 0.15em;
  margin-left: 10px;
}

.btn-payment:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}


@media (max-width: 480px) {
  a.btn.btn-order-now{
    padding: 10px 20px !important;
    font-size:14px !important;
    }
    .hours-text{
      font-size: 13px !important;
  }

  a.envelope-icon-link svg{
      height:20px !important;
      width:30px !important;
  }
      a.envelope-icon-link{
       float:right !important;
      }
      .row.align-items-center {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: row;
    }
    .row.align-items-center .col-md-4{
      width: 30% !important;
    }
    .row.align-items-center .col-md-8{
      width: 70% !important;
    }
    label.form-check-label{
      padding-right: 10px !important;
    }
    .convenience-fee-note{
      padding-right: 10px !important;
    }
    input#convenienceFeeCheck{
      width: 20px !important;
      height: 20px !important;
    }
    .required-note{
      float: left !important;
    }
    .assistance-text{
      margin-bottom: 0px !important;
    }
}

/* Payment Success Page Styles */
.payment-success-container {
  background-color: #f5f5f5;
  min-height: calc(100vh - 200px);
  display: flex;
  justify-content: center;

  
}

.success-content {
  text-align: center;
  max-width: 700px;
  width: 100%;
}

.success-icon {
  margin: 0 auto 30px;
  width: 200px;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.success-icon svg {
  width: 100%;
  height: 100%;
  max-width: 200px;
  max-height: 200px;
}

.success-title {
  font-size: 36px;
  font-weight: bold;
  color: #000000;
  margin-bottom: 20px;
  line-height: 1.2;
}

.success-message {
  font-size: 20px;
  color: #000000;
  margin-bottom: 30px;
  font-weight: 400;
}

.success-details {
  font-size: 16px;
  color: #000000;
  line-height: 1.6;
  margin-top: 20px;
}

.success-details p {
  margin: 0;
}

.contact-phone {
  color: #000000;
  text-decoration: none;
  font-weight: 500;
}

.contact-phone:hover {
  text-decoration: underline;
  color: #E01A2A;
}

@media (max-width: 768px) {
  .success-title {
    font-size: 28px;
  }
  
  .success-message {
    font-size: 18px;
  }
  
  .success-details {
    font-size: 14px;
  }
  
  .success-icon {
    width: 150px;
    height: 150px;
  }
}