/* ================================================================
   LEGAL PAGES — Consolidated Stylesheet
   jobslistdaily.com
   ================================================================ */

/* === Common Base === */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

html {
  scroll-behavior: smooth;
}

header {
  min-height: 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  width: 100%;
  border-bottom: 1px solid #E2E6EE;
  padding: 20px 40px;
}

header img {
  height: 24px;
}

.page-privacy header img,
.page-terms header img {
  width: auto;
  display: block;
}

.page-unsubscribe header img {
  display: block;
}

.page-support header img {
  width: auto;
}

footer {
  background: #0F2347;
  margin-top: auto;
  padding: 0;
}

.footer-links {
  width: 100%;
  margin: 0 auto;
  background: #0F2347;
  padding: 27px 20px;
}

.f-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0;
}

.f-links li {
  margin: 0;
  display: flex;
  align-items: center;
}

.f-links a {
  text-decoration: none;
  padding: 0 11px;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.5);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 28px;
}

.f-links a:hover {
  color: #F59245;
  text-decoration: underline;
}

/* === Privacy Policy & Terms and Conditions === */

.page-privacy,
.page-terms {
  background: #F7F8FB;
  color: #1A2332;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-privacy .site-logo,
.page-terms .site-logo {
  display: inline-flex;
  align-items: center;
}

.page-privacy .wrapper,
.page-terms .wrapper {
  width: 100%;
  flex: 1;
  padding: 40px;
}

.page-privacy .leagal-container,
.page-terms .leagal-container {
  max-width: 1000px;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.page-privacy .leagal-container h1,
.page-terms .leagal-container h1 {
  background: linear-gradient(135deg, #E87722, #F59245);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: #E87722;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 40px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: normal;
  padding: 41px 10px 33px;
  text-align: center;
}

.legal-card {
  background: #FFFFFF;
  border: 1px solid #E2E6EE;
  border-radius: 16px;
  padding: 48px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.content-wrap {
  width: 100%;
  height: auto;
  color: #5A6577;
  padding: 0;
}

.content-wrap ul li,
.content-wrap p {
  font-size: 12px;
  line-height: 18px;
}

.content-wrap p {
  font-weight: 400;
  margin-bottom: 20px;
  color: #5A6577;
}

.content-wrap h2 {
  font-weight: bold;
  font-size: 14px;
  line-height: 18px;
  margin-bottom: 10px;
  color: #1A3A6B;
}

.content-wrap h3 {
  font-size: 12px;
  line-height: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #1A3A6B;
}

.content-wrap ul {
  margin-bottom: 40px;
}

.content-wrap ul li {
  list-style: disc;
  margin-left: 30px;
  color: #5A6577;
}

.content-wrap a {
  text-decoration: underline;
  color: #E87722;
}

.content-wrap a:hover {
  text-decoration: none;
  color: #C4611A;
}

/* === Unsubscribe === */

.page-unsubscribe {
  color: #1A2332;
}

.page-unsubscribe .wrapper {
  width: 100%;
  height: auto;
  min-height: calc(100vh - 134px);
  background: #F7F8FB;
  flex: 1;
  padding: 40px;
}

.page-unsubscribe .leagal-container {
  max-width: 1100px;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.page-unsubscribe .leagal-container h1 {
  background: linear-gradient(135deg, #E87722, #F59245);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: #E87722;
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 800;
  letter-spacing: -0.5px;
  font-size: 40px;
  font-style: normal;
  line-height: normal;
  padding: 41px 10px 33px;
  text-align: center;
}

.unsubscribe-inner {
  max-width: 1170px;
  width: 100%;
  min-height: auto;
  height: auto;
  margin: 0 auto;
  border-radius: 16px;
  background: #FFFFFF;
  border: 1px solid #E2E6EE;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  padding: 22px 40px 30px;
  font-size: 14px;
  line-height: 18px;
  color: #1A2332;
  text-align: left;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.accordion {
  width: 100%;
}

.accordion-item {
  background-color: #fff;
  color: #1A2332;
  margin: 0;
  padding: 0px;
}

.accordion-item-header {
  min-height: auto;
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  color: #1A3A6B;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 18px;
  padding: 33px 0px;
}

.accordion-item-header::after {
  content: "\002B";
  font-size: 32px;
  position: absolute;
  right: 31px;
  transition: transform 0.2s ease;
  color: #E87722;
}

.accordion-item-header.active::after {
  transform: rotate(45deg);
}

.accordion-item-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  border-bottom: 1px solid #E2E6EE;
}

.acc-items {
  margin-top: 20px;
  margin-bottom: 42px;
}

h3.acc-title {
  color: #1A3A6B;
  font-size: 18px;
  font-weight: 700;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

h4.acc-subtitle {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  line-height: 18px;
}

h4.acc-subtitle span {
  margin-left: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.acc-inner-content {
  display: flex;
  margin: 14px auto;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 300;
}

p.steps {
  max-width: 60px;
  min-height: 24px;
  height: 24px;
  border-radius: 2px;
  background: #FDF0E8;
  width: 100%;
  color: #000;
  font-weight: 600;
  line-height: 18px;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.page-unsubscribe p {
  width: 100%;
  font-size: 14px;
}

.acc-item-body-inner-content {
  border-bottom: 1px solid #E2E6EE;
  margin-bottom: 40px;
}

.acc-item-body-inner-content:last-child {
  border: none;
}

.email-title,
.sms-title {
  color: #1A3A6B;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 18px;
  margin-bottom: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.email-text,
.sms-text {
  color: #5A6577;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.email-text a,
.sms-text a {
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px;
  color: #E87722;
  text-decoration: underline;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.email-text a:hover,
.sms-text a:hover {
  color: #C4611A;
  text-decoration: none;
}

/* === Support / Contact === */

.page-support {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-support .wrapper {
  background: #F7F8FB;
  flex: 1;
}

.g-recaptcha {
  margin: 15px 0px;
}

#g-recaptcha-response {
  display: block !important;
  position: absolute;
  margin: -50px 0 0 0 !important;
  z-index: -999999;
  opacity: 0;
}

.formwrapper .error-text-msg {
  display: none;
}

.main-container {
  display: flex;
  justify-content: center;
  padding: 0 64px;
  margin: 64px 0;
  gap: 64px;
}

.left-section {
  flex: 1;
  max-width: 544px;
}

.right-section {
  flex: 1;
  max-width: 544px;
}

.gradient-text {
  background: linear-gradient(135deg, #E87722, #F59245);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-family: 'DM Serif Display', Georgia, serif;
}

.page-support h1 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 46.5px;
  line-height: 48px;
  font-weight: 700;
  margin-bottom: 24px;
  color: #1A2332;
}

.page-support h1.gradient-text {
  -webkit-text-fill-color: transparent;
}

.subtitle {
  color: #5A6577;
  font-size: 16.88px;
  line-height: 28px;
  margin-bottom: 0;
}

.get-in-touch {
  font-weight: 700;
  font-size: 17.72px;
  line-height: 28px;
  color: #1A2332;
}

.image-container {
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 55px;
}

.contact-image {
  width: 317px;
  height: 210px;
  object-fit: cover;
  border-radius: 8px;
}

.form-card {
  background-color: #fff;
  border-radius: 16px;
  padding: 38px 32px 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  border: 1px solid #E2E6EE;
}

.form-group {
  margin-bottom: 30px;
}

.page-support form .form-group:last-of-type {
  margin-bottom: 15px;
}

.page-support label {
  display: block;
  font-size: 13.13px;
  color: #1A2332;
  margin-bottom: 12px;
  line-height: 14px;
}

.page-support input,
.page-support select,
.page-support textarea {
  width: 100%;
  height: 40px;
  border: 1px solid #E2E6EE;
  border-radius: 6px;
  padding: 9px 13px;
  font-size: 13.23px;
  color: #1A2332;
}

.page-support input::placeholder,
.page-support textarea::placeholder {
  color: #8A92A2;
}

.page-support select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='4' viewBox='0 0 8 4' fill='none'%3E%3Cpath d='M4 4L0 0H8L4 4Z' fill='%23020817'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
}

.form-row {
  display: flex;
  gap: 16px;
}

.form-col {
  flex: 1;
}

.page-support textarea {
  height: 138px;
  resize: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.submit-btn {
  width: 100%;
  height: 44px;
  background: linear-gradient(135deg, #E87722, #C4611A);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 17.58px;
  line-height: 28px;
  cursor: pointer;
  margin-top: 20px;
}

.submit-btn:hover {
  background: linear-gradient(135deg, #C4611A, #E87722);
}

.error-text-msg {
  font-size: 14px;
  color: #ea7979;
  font-weight: 300;
  padding-top: 0;
  display: block;
}

.main-container a {
  color: #E87722;
}

.main-container a:hover {
  color: #C4611A;
}

#showoptoutdesp h2,
#showoptoutdesp .optoutdisc {
  color: #5A6577;
  text-align: center;
  font-weight: 400;
  margin: 33px auto 0;
  font-size: 13.25px;
  line-height: 24px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

#showoptoutdesp h2 a {
  color: #E87722;
}

#showoptoutdesp h2 a:hover {
  color: #C4611A;
  text-decoration: none;
}

/* === Responsive === */

@media screen and (max-width: 767px) {
  #recaptcha-container {
    transform: scale(0.88);
    transform-origin: 0 0;
  }
}

@media (max-width: 1200px) {
  .main-container {
    flex-direction: column;
    align-items: center;
    padding: 0 0 32px;
    gap: 85px;
  }

  .left-section,
  .right-section {
    max-width: 100%;
    width: 100%;
  }

  .left-section {
    padding: 0 21px;
  }

  .right-section {
    padding: 0 1px;
  }

  .get-in-touch {
    margin-top: 9px;
  }
}

@media (min-width: 768px) and (max-width: 1200px) {
  .page-support h1,
  .subtitle,
  .get-in-touch {
    text-align: center;
  }
}

@media (max-width: 768px) {
  /* Common footer responsive */
  footer {
    padding: 0;
  }

  .f-links a {
    font-size: 12px;
    line-height: 28px;
  }

  /* Privacy & Terms responsive */
  .page-privacy header,
  .page-terms header {
    padding: 16px 20px;
  }

  .page-privacy .wrapper,
  .page-terms .wrapper {
    padding: 24px 20px;
  }

  .page-privacy .legal-card,
  .page-terms .legal-card {
    padding: 24px;
  }

  .page-privacy .leagal-container h1,
  .page-terms .leagal-container h1 {
    font-size: 28px;
    padding: 24px 10px 16px;
  }

  .content-wrap a:hover {
    text-decoration: underline;
    color: #C4611A;
  }

  .content-wrap ul li,
  .content-wrap p {
    font-size: 11px;
    line-height: 17px;
  }

  .content-wrap h2 {
    font-size: 13px;
    line-height: 17px;
  }

  .content-wrap h3 {
    font-size: 11px;
    line-height: 17px;
  }

  /* Privacy, Terms & Unsubscribe footer responsive */
  .page-privacy .footer-links,
  .page-terms .footer-links,
  .page-unsubscribe .footer-links {
    justify-content: center;
    gap: 13px;
    font-size: 12px;
  }

  /* Unsubscribe responsive */
  .page-unsubscribe .leagal-container h1 {
    font-size: 30px;
    padding: 25px 10px 5px;
  }

  .unsubscribe-inner {
    padding: 22px 10px 30px;
  }

  .accordion-item-header {
    font-size: 22px;
    line-height: 24px;
    padding: 20px 0px;
  }

  .accordion-item-header::after {
    right: 0px;
  }

  .page-unsubscribe .footer-links a:hover {
    color: #F59245;
  }

  /* Support responsive */
  .disclaimer-section {
    padding: 0;
  }

  .disclaimer-text {
    font-size: 12px;
    padding: 96px 16px 105px;
  }

  #showoptoutdesp h2 a:hover {
    text-decoration: underline;
  }

  .page-support .f-links a:hover {
    color: #F59245;
    text-decoration: none;
  }

  .form-row {
    flex-direction: column;
    gap: 24px;
  }

  .submit-btn:hover {
    background: linear-gradient(135deg, #C4611A, #E87722);
  }
}

@media (max-width: 480px) {
  .footer-links {
    padding: 36px 20px 42px;
    gap: 12px;
  }

  .disclaimer-text {
    font-size: 15.59px;
    font-style: normal;
    font-weight: 400;
    line-height: 27px;
  }
}

@media screen and (max-width: 359px) {
  #recaptcha-container {
    transform: scale(0.75);
    transform-origin: 0 0;
  }

  .accordion-item-header {
    font-size: 20px;
    line-height: 22px;
  }
}
