/* ==========================================================
   legal.css — Consolidated styles for legal pages
   dailycareersfinder.com
   ========================================================== */

/* ── CSS Custom Properties (union of all pages) ── */
:root{
  --midnight:#0F2027;
  --deep:#1A3A4A;
  --accent:#4DB8E8;
  --accent-glow:rgba(77,184,232,.15);
  --amber:#FFD700;
  --surface:#F6F8FA;
  --surface-alt:#EEF2F6;
  --text-primary:#0F2027;
  --text-secondary:#4A5568;
  --white:#FFFFFF;
  --radius-lg:20px;
  --radius-md:14px;
  --shadow-soft:0 10px 30px rgba(0,0,0,.05);
  --shadow-lift:0 20px 40px rgba(77,184,232,.12);
}

/* ── Base Reset ── */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:'Plus Jakarta Sans',sans-serif;color:#1a1a2e;background:#fff;-webkit-font-smoothing:antialiased}

/* ── Page-Specific Body ── */
.page-support{min-height:100vh;display:flex;flex-direction:column}

/* ==========================================================
   Header (common)
   ========================================================== */
.site-header{
  display:flex;align-items:center;justify-content:center;
  padding:10px 24px;
  background:#122027;
  backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(15,32,39,.06);
}
.site-header .brand{display:flex;align-items:center;gap:10px;text-decoration:none}
.site-header .brand img{height:36px;width:auto}

/* ==========================================================
   Page-Specific Layout
   ========================================================== */

/* ── Privacy Policy ── */
.page-privacy .page-title-section{
  padding:52px 24px 40px;
  text-align:center;
}
.page-privacy .page-title-section h1{
  font-family:'Sora',sans-serif;
  font-size:40px;
  font-weight:800;
  background:linear-gradient(135deg,var(--accent) 0%,var(--amber) 100%);
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;
  background-clip:text;
  line-height:normal;
}
.page-privacy .legal-container{
  max-width:1100px;
  width:100%;
  margin:0 auto;
  padding:0 20px 58px;
}
.page-privacy .content-wrap{
  width:100%;
  color:var(--text-secondary);
}

/* ── Terms & Conditions ── */
.page-terms .wrapper{width:100%}
.page-terms .leagal-container{
  max-width:1100px;
  width:100%;
  height:auto;
  margin:0 auto;
}
.page-terms .leagal-container h1{
  font-family:'Sora',sans-serif;
  font-size:40px;
  font-weight:800;
  line-height:normal;
  padding:41px 10px 33px;
  text-align:center;
  background:linear-gradient(135deg,var(--accent) 0%,var(--amber) 100%);
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;
  background-clip:text;
}
.page-terms .content-wrap{
  width:100%;
  height:auto;
  color:var(--text-secondary);
  padding:0px 20px 58px;
}

/* ── Unsubscribe ── */
.page-unsubscribe .wrapper{
  width:100%;
  min-height:calc(100vh - 134px);
}
.page-unsubscribe .leagal-container{
  max-width:1100px;
  width:100%;
  margin:0 auto;
}
.page-unsubscribe .leagal-container h1{
  font-family:'Sora',sans-serif;
  font-size:40px;
  font-weight:800;
  line-height:normal;
  padding:41px 10px 33px;
  text-align:center;
  background:linear-gradient(135deg,var(--accent) 0%,var(--amber) 100%);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
}

/* ── Support ── */
.page-support .wrapper{
  background:var(--surface);
  flex:1;
  padding:56px 24px 72px;
}

/* ==========================================================
   Content Styles
   ========================================================== */

/* ── Content Wrap (shared child selectors for Privacy & Terms) ── */
.content-wrap ul li,.content-wrap p{
  font-size:12px;
  line-height:18px;
}
.content-wrap p{
  font-weight:400;
  margin-bottom:20px;
  color:var(--text-secondary);
}
.content-wrap h2{
  font-weight:bold;
  font-size:14px;
  line-height:18px;
  margin-bottom:10px;
  color:var(--deep);
}
.content-wrap h3{
  font-size:12px;
  line-height:18px;
  font-weight:700;
  margin-bottom:20px;
}
.content-wrap ul{
  margin-bottom:40px;
}
.content-wrap ul li{
  list-style:disc;
  margin-left:30px;
}
.content-wrap a{
  text-decoration:underline;
  color:var(--accent);
}
.content-wrap a:hover{
  text-decoration:none;
  color:var(--amber);
}

/* ==========================================================
   Unsubscribe Content
   ========================================================== */
.unsubscribe-inner{
  max-width:1170px;
  width:100%;
  margin:0 auto;
  background:#fff;
  padding:22px 40px 30px;
  font-size:14px;
  line-height:18px;
  color:var(--text-primary);
  text-align:left;
  font-family:'Plus Jakarta Sans',sans-serif;
}

/* ── Accordion ── */
.accordion{width:100%}

.accordion-item{
  background-color:#fff;
  color:var(--text-primary);
  margin:0;
  padding:0;
}

.accordion-item-header{
  min-height:auto;
  display:flex;
  align-items:center;
  position:relative;
  cursor:pointer;
  color:var(--text-primary);
  font-family:'Sora',sans-serif;
  font-size:22px;
  font-weight:600;
  line-height:18px;
  padding:33px 0;
}

.accordion-item-header::after{
  content:"\002B";
  font-size:32px;
  position:absolute;
  right:31px;
  transition:transform .2s ease;
  color:var(--text-primary);
}

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

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

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

h3.acc-title{
  color:var(--text-primary);
  font-size:18px;
  font-weight:700;
  font-family:'Sora',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:rgba(77,184,232,.15);
  width:100%;
  color:var(--text-primary);
  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 #CECECE;
  margin-bottom:40px;
}

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

.email-title,
.sms-title{
  color:var(--text-primary);
  font-size:18px;
  font-weight:700;
  line-height:18px;
  margin-bottom:10px;
  font-family:'Sora',sans-serif;
}

.email-text,
.sms-text{
  color:var(--text-secondary);
  font-size:14px;
  font-weight:400;
  line-height:18px;
  font-family:'Plus Jakarta Sans',sans-serif;
}

.email-text a,
.sms-text a{
  font-size:14px;
  font-weight:400;
  line-height:18px;
  color:var(--accent);
  text-decoration:underline;
  font-family:'Plus Jakarta Sans',sans-serif;
}

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

/* ==========================================================
   Support Content
   ========================================================== */
.contact-heading{
  text-align:center;
  margin-bottom:40px;
}
.contact-heading h1{
  font-family:'Sora',sans-serif;
  font-size:47px;
  font-weight:700;
  line-height:1.1;
  margin-bottom:16px;
  background:linear-gradient(135deg,#4DB8E8 0%,#FFD700 100%);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
}
.contact-heading .subtitle{
  color:var(--text-secondary);
  font-size:16.88px;
  line-height:28px;
  margin-bottom:4px;
}
.contact-heading .get-in-touch{
  font-weight:700;
  font-size:17.72px;
  line-height:28px;
  color:var(--text-primary);
}

.form-card{
  max-width:640px;
  margin:0 auto;
  background:var(--white);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-soft);
  padding:38px 32px;
}

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

.page-support label{
  display:block;
  font-size:13.13px;
  color:var(--text-primary);
  margin-bottom:12px;
  line-height:14px;
  font-weight:500;
}

.page-support input,
.page-support select,
.page-support textarea{
  width:100%;
  height:44px;
  border:1px solid #e2e8f0;
  border-radius:8px;
  padding:9px 13px;
  font-size:13.23px;
  color:var(--text-primary);
  font-family:'Plus Jakarta Sans',sans-serif;
  outline:none;
  transition:border-color .2s;
}
.page-support input:focus,
.page-support select:focus,
.page-support textarea:focus{
  border-color:var(--accent);
}

.page-support input::placeholder,
.page-support textarea::placeholder{
  color:var(--text-secondary);
}

.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='%230F2027'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 13px center;
  background-color:#fff;
}

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

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

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

.submit-btn{
  width:100%;
  height:48px;
  border:none;
  border-radius:var(--radius-md);
  background:#FFD700;
  color:var(--midnight);
  font-family:'Sora',sans-serif;
  font-size:16px;
  font-weight:700;
  letter-spacing:.3px;
  cursor:pointer;
  margin-top:20px;
  transition:transform .2s,box-shadow .2s;
  box-shadow:0 8px 24px rgba(77,184,232,.25);
}
.submit-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 28px rgba(77,184,232,.3);
}

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

#showoptoutdesp h2,
#showoptoutdesp .optoutdisc{
  color:#374151;
  text-align:center;
  font-weight:400;
  margin:33px auto 0;
  font-size:13.234px;
  line-height:24px;
}
#showoptoutdesp h2 a{color:inherit}
#showoptoutdesp h2 a:hover{text-decoration:none}

/* ==========================================================
   Footer (common)
   ========================================================== */
.site-footer{
  background:var(--midnight);
  padding:32px 48px;
}
.footer-inner{
  max-width:1320px;margin:0 auto;
  display:flex;flex-direction:column;align-items:center;gap:20px;
}
.footer-links{
  display:flex;flex-wrap:wrap;justify-content:center;gap:20px;
}
.footer-links a{
  font-size:13px;font-weight:400;
  color:rgba(255,255,255,.55);
  text-decoration:none;
  transition:color .25s;
}
.footer-links a:hover{color:var(--accent)}

/* ==========================================================
   Responsive
   ========================================================== */

/* ── Common ── */
@media(max-width:768px){
  .content-wrap a:hover{text-decoration:underline}
  .site-footer{padding:28px 20px}
  .footer-links{gap:14px}
  .footer-links a{font-size:12px}
}

/* ── Privacy Policy ── */
@media(max-width:768px){
  .page-privacy .page-title-section{padding:32px 20px 24px}
  .page-privacy .page-title-section h1{font-size:30px}
  .page-privacy .legal-container{padding:0 20px 40px}
}

/* ── Terms & Conditions ── */
@media(max-width:768px){
  .page-terms .content-wrap{padding:27px 20px}
  .page-terms .leagal-container h1{font-size:30px;padding:25px 10px 5px}
}

/* ── Unsubscribe ── */
@media(max-width:768px){
  .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 0;
  }
  .accordion-item-header::after{
    right:0;
  }
}
@media(max-width:359px){
  .accordion-item-header{
    font-size:20px;
    line-height:22px;
  }
}

/* ── Support ── */
@media(max-width:768px){
  .page-support .wrapper{padding:40px 16px 56px}
  .contact-heading h1{font-size:36px}
  .form-card{padding:28px 20px}
  .form-row{flex-direction:column;gap:24px}
  #showoptoutdesp h2 a:hover{text-decoration:underline}
  .submit-btn:hover{transform:none;box-shadow:0 8px 24px rgba(77,184,232,.25)}
}
@media screen and (max-width:767px){
  #recaptcha-container{transform:scale(0.88);transform-origin:0 0}
}
@media screen and (max-width:359px){
  #recaptcha-container{transform:scale(0.75);transform-origin:0 0}
}
