body {
  background: #eee;
}

#customerApprovalContent {
  position: relative;
  margin: 0 auto;
  padding: 40px;
  max-width: 880px;
  width: 100%;
  background: #fff;
  overflow: hidden;
  box-sizing: border-box;
}
#customerApprovalContent div.header {
  margin-bottom: 36px;
  width: 100%;
  padding-top: 38%;  /* aspect ratio: 335/880 ≈ 38% */
  background: #09a4db;
  background-image: url('/images/customerApprovalContent_header.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
#customerApprovalContent div.headerDS {
  margin-bottom: 36px;
  width: 100%;
  padding-top: 38%;
  background: #09a4db;
  background-image: url('/images/customerApprovalContent_headerDS.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
#customerApprovalContent div.hero {
  width: 100%;
  text-align: center;
  overflow: hidden;
}

#customerApprovalContent div.hero h1 {
  margin: 0 0 20px 0;
  padding: 0;
  color: #666;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 24px;
  font-weight: normal;
  text-transform: uppercase;
  text-align: left;
}

#customerApprovalContent div.content {
  margin-top: 36px;
  width: 100%;
  overflow: hidden;
  color: #56564c;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 21px;
  line-height: 1.4em;
  -webkit-font-smoothing: antialiased;
}

#customerApprovalContent div.content div.copy {
  float: left;
  width: 65%;
  padding-right: 40px;
  border-right: 1px dashed #cfcece;
  box-sizing: border-box;
}

div.swiper-button-next, div.swiper-button-prev {
  top: 50%;
  transform: translateY(-50%);
}

div.swiper-container {
  position: relative;
  margin-bottom: 30px;
  overflow: hidden;
  padding-bottom: 40px;
}

div.swiper-container iframe,
div.swiper-container video,
div.swiper-container img {
  display: block;
  max-width: 100%;
  margin: 0 auto;
}

.custom-swiper-pagination {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 10;
}

#customerApprovalContent div.content div.copy p {
  margin-top: 0;
}

#customerApprovalContent div.sidebar {
  float: left;
  width: 35%;
  box-sizing: border-box;
  padding-left: 20px;
  color: #56564c;
  font-size: 13px;
  line-height: 1.3em;
}

.sidebar-info {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.sidebar-badge {
  flex-shrink: 0;
}

.sidebar-text {
  flex: 1;
}

.sidebar-date {
  margin-top: 15px;
}

#customerApprovalContent div.comments {
  margin-top: 36px;
  width: 100%;
  overflow: hidden;
  color: #56564c;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

#customerApprovalContent div.comments label {
  display: block;
  margin-bottom: 10px;
}

#customerApprovalContent div.comments textarea {
  padding: 20px;
  width: 100%;
  height: 82px;
  box-sizing: border-box;
  border: 1px solid #000;
  resize: vertical;
}

#customerApprovalContent div.agree {
  display: block;
  margin-bottom: 10px;
  color: #999;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.4em;
  -webkit-font-smoothing: antialiased;
}

#customerApprovalContent div.agree a {
  color: #20609f;
  text-decoration: none;
}

#customerApprovalContent div.agree a:hover {
  text-decoration: underline;
}

#inputAgree {
  display: inline-block;
  margin-top: -2px;
}

#customerApprovalContent div.actions {
  margin-top: 36px;
}

#customerApprovalContent div.actions a.action-button {
  display: inline-block;
  margin-right: 50px;
  width: 260px;
  background: #fff;
  border: 1px solid #cfcfcf;
  line-height: 40px;
  color: #20609f;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  text-decoration: none;
  text-align: center;
  -webkit-font-smoothing: antialiased;
}

#customerApprovalContent #buttonApprove {
  background: #20609f;
  border: 1px solid #20609f;
  line-height: 40px;
  color: #fff;
}

#customerApprovalContent #buttonApprove:hover {
  background: #16416e;
}

#customerApprovalContent #buttonReject:hover {
  background: #cfcfcf;
  color: #fff;
}

#modalContainer {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, .90);
  z-index: 1000;
}

#modalContainer div.centerer {
  display: flex;
  align-items: center;
  justify-content: center;
}

#modalThanks {
  position: relative;
  width: 600px;
  max-width: 90vw;
  margin: 0 auto;
  padding: 40px 20px;
  background: #fff;
  box-shadow: 0 0 20px 0 rgba(0,0,0,.35);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  box-sizing: border-box;
  text-align: center;
  -webkit-font-smoothing: antialiased;
}

#modalThanks h1 {
  padding-top: 20px;
  font-weight: normal;
  font-size: 22px;
}

#modalThanks a.action-button {
  display: inline-block;
  width: 260px;
  max-width: 100%;
  margin-top: 20px;
  background: #20609f;
  border: 1px solid #20609f;
  line-height: 40px;
  color: #fff;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  text-decoration: none;
  text-align: center;
  -webkit-font-smoothing: antialiased;
}

#modalThanks a.action-button:hover {
  background: #16416e;
}

#modalThanks img.modal-close-button {
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
}

/* ======================== */
/* Mobile responsive styles */
/* ======================== */
@media (max-width: 768px) {
  #customerApprovalContent {
    padding: 16px;
  }

  #customerApprovalContent div.header,
  #customerApprovalContent div.headerDS {
    padding-top: 45%;
    margin-bottom: 20px;
  }

  #customerApprovalContent div.hero h1 {
    font-size: 18px;
  }

  #customerApprovalContent div.content {
    font-size: 16px;
  }

  /* Stack copy and sidebar vertically on mobile */
  #customerApprovalContent div.content div.copy {
    width: 100%;
    float: none;
    padding-right: 0;
    border-right: none;
    border-bottom: 1px dashed #cfcece;
    padding-bottom: 20px;
    margin-bottom: 20px;
  }

  #customerApprovalContent div.sidebar {
    float: none;
    width: 100%;
    padding-left: 0;
  }


  #customerApprovalContent div.actions a.action-button {
    width: 100%;
    margin-right: 0;
    box-sizing: border-box;
  }

  .swiper-button-next,
  .swiper-button-prev {
    display: none !important;
  }

  #modalThanks h1 {
    font-size: 18px;
  }

  #modalThanks a.action-button {
    width: 90%;
  }
}
