/* Extracted from assets/css/vatax.css on 2026-06-25. Do not edit vatax.css for page-only styles; edit this file. */

.terms-full-card{padding:42px;border-radius:30px;line-height:2;color:#314b4f;max-width:1050px;margin:auto}


.terms-full-card h2{margin:34px 0 12px;color:#002d2e;border-bottom:1px solid rgba(0,90,92,.12);padding-bottom:10px}


.terms-full-card p{margin:0 0 10px;font-size:16px}


.terms-lang-note{padding:16px 20px;border-radius:18px;background:#e9f5f5;color:#005a5c;font-weight:800;margin-bottom:24px}


@media (max-width:760px){
.content-rich-card,.team-card,.package-card,.terms-full-card{padding:24px}
}


.inline-check,.terms-check{display:flex;align-items:center;gap:8px;font-weight:800;color:#425c60}


.inline-check input,.terms-check input{width:auto!important}


.terms-modal{position:fixed;inset:0;z-index:9999;display:none}


.terms-modal.open{display:block}


.terms-modal-backdrop{position:absolute;inset:0;background:rgba(0,14,15,.62);backdrop-filter:blur(4px)}


.terms-modal-card{position:relative;width:min(720px,calc(100% - 28px));max-height:82vh;overflow:auto;margin:8vh auto;background:#fff;border-radius:28px;padding:34px;box-shadow:0 30px 90px rgba(0,0,0,.32);border:1px solid #d8e6e9}


.terms-close{position:absolute;top:18px;inset-inline-end:18px;width:42px;height:42px;border-radius:14px;border:1px solid #d5e2e5;background:#fff;display:grid;place-items:center;cursor:pointer}


.terms-modal-card.service-terms-modal-card{max-width:min(760px,calc(100vw - 28px));max-height:86vh;display:flex;flex-direction:column;gap:14px}


.terms-modal-scroll{overflow:auto;max-height:48vh;padding-inline-end:8px;border-block:1px solid #dce9ec;padding-block:14px}


.terms-modal-scroll p{margin:0 0 12px;color:#425d62;line-height:1.8;font-weight:700}


.terms-layout-card{background:#fff;border:1px solid #d7e6e9;border-radius:34px;padding:36px;box-shadow:0 24px 70px rgba(0,50,54,.08)}


.terms-accordion-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:28px}


.terms-section-card{position:relative;border:1px solid #d8e8ea;border-radius:24px;background:linear-gradient(180deg,#fff,#f8fbfc);padding:24px;overflow:hidden;box-shadow:0 12px 30px rgba(0,40,44,.04)}


.terms-section-no{display:grid;place-items:center;width:42px;height:42px;border-radius:15px;background:#e6f4f4;color:#006466;font-weight:1000;margin-bottom:14px}


.terms-section-card h3{margin:0 0 14px;font-size:22px;color:#061112;font-weight:1000}


.terms-section-card p{margin:0 0 10px;color:#536d72;line-height:1.82;font-weight:700}


@media (max-width:900px){
.terms-accordion-grid{grid-template-columns:1fr}
.terms-layout-card{padding:24px}
}


/* VATAX service submit: final review/payment is a real wizard step; keep it hidden until active */
.service-submit-card .terms-payment-step{gap:24px;}


.service-submit-card .terms-payment-step.active{display:grid;}


.terms-step-head{max-width:880px;margin:0 auto 8px;text-align:center;}


.terms-step-head h2{margin:12px 0 10px!important;text-align:center!important;font-size:clamp(30px,4vw,48px)!important;}


.terms-step-head p{margin:0 auto;color:#5c7479;line-height:1.9;font-weight:750;max-width:780px;}


.terms-payment-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;align-items:stretch;direction:inherit;}


.terms-payment-card{position:relative;overflow:hidden;border:1px solid rgba(8,56,70,.12);border-radius:30px;background:linear-gradient(180deg,#fff,#f8fcfd);box-shadow:0 24px 70px rgba(8,56,70,.095);padding:28px;display:grid;grid-template-columns:auto minmax(0,1fr);gap:18px;min-height:330px;}


.terms-payment-card:before{content:"";position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,var(--teal),var(--gold));opacity:.9;}


.terms-payment-card:after{content:"";position:absolute;width:220px;height:220px;border-radius:50%;background:radial-gradient(circle,rgba(4,92,96,.08),transparent 68%);inset:auto -70px -90px auto;pointer-events:none;}


.dir-ltr .terms-payment-card:after{inset:auto auto -90px -70px;}


.terms-card-icon{position:relative;z-index:1;width:58px;height:58px;border-radius:20px;display:grid;place-items:center;background:linear-gradient(135deg,#eaf8f8,#fff);color:var(--teal);border:1px solid rgba(4,92,96,.16);box-shadow:0 12px 30px rgba(4,92,96,.10);}


.terms-card-icon.gold{background:linear-gradient(135deg,#fff7e6,#fff);color:#b87408;border-color:rgba(223,151,34,.22);}


.terms-card-icon .icon{width:28px;height:28px;}


.terms-card-copy{position:relative;z-index:1;min-width:0;}


.terms-card-kicker{display:inline-flex;align-items:center;width:max-content;border-radius:999px;background:rgba(4,92,96,.08);border:1px solid rgba(4,92,96,.12);color:var(--teal);font-size:12px;font-weight:1000;padding:6px 12px;margin-bottom:10px;}


.terms-payment-card h3{margin:0 0 10px!important;font-size:clamp(22px,2vw,28px);font-weight:1000;color:#09282c;}


.terms-payment-card p{color:#526d72;line-height:1.85;font-weight:750;margin:0 0 14px;}


.terms-points-list{list-style:none;padding:0;margin:16px 0 18px;display:grid;gap:12px;}


.terms-points-list li{display:flex;align-items:flex-start;gap:10px;color:#24494e;font-weight:850;line-height:1.65;}


.terms-points-list .icon{flex:0 0 auto;color:var(--teal);margin-top:2px;}


.terms-read-link{display:inline-flex!important;align-items:center;gap:8px;border:1px solid rgba(4,92,96,.18)!important;border-radius:999px!important;background:#fff!important;color:var(--teal)!important;padding:10px 16px!important;font-weight:1000;text-decoration:none!important;}


.terms-accept-card{display:grid!important;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:14px;border:1px solid rgba(4,92,96,.18);background:linear-gradient(135deg,#f1fbfb,#fff);border-radius:24px;padding:18px 20px;color:#193d42!important;box-shadow:0 16px 40px rgba(8,56,70,.07);cursor:pointer;}


.terms-accept-card input{position:absolute!important;opacity:0!important;pointer-events:none!important;}


.terms-accept-box{width:34px;height:34px;border-radius:12px;border:2px solid #c5d8dc;background:#fff;color:transparent;display:grid!important;place-items:center;transition:.2s;}


.terms-accept-box .icon{width:20px;height:20px;}


.terms-accept-card input:checked + .terms-accept-box{background:var(--teal);border-color:var(--teal);color:#fff;box-shadow:0 10px 24px rgba(4,92,96,.2);}


.terms-accept-card strong{display:block;font-size:16px;font-weight:1000;color:#12373b;}


.terms-accept-card small{display:block;margin-top:4px;color:#647f84;font-weight:750;line-height:1.6;}


.terms-actions{margin-top:0!important;border-top:1px solid #e0ecee;padding-top:22px;}


.terms-actions .btn{min-width:180px;justify-content:center;}


@media (max-width:980px){
.terms-payment-grid{grid-template-columns:1fr}
.terms-payment-card{min-height:auto}
.terms-step-head{text-align:start}
.terms-step-head h2{text-align:inherit!important}
.terms-actions{display:grid!important;grid-template-columns:1fr}
.terms-actions .btn{width:100%;}
}


@media (max-width:620px){
.terms-payment-card{grid-template-columns:1fr;padding:22px;border-radius:24px}
.terms-card-icon{width:52px;height:52px}
.terms-accept-card{grid-template-columns:auto 1fr;padding:16px}
.terms-payment-grid{gap:16px}
}


/* VATAX final review/payment step - official redesign */
.service-submit-card .terms-payment-step{display:none;gap:0!important;}


.service-submit-card .terms-payment-step.active{display:block!important;}


.terms-official-list{display:grid;gap:10px;margin-top:2px;}


.terms-official-list div{display:grid;grid-template-columns:42px minmax(0,1fr);gap:11px;align-items:start;border:1px solid rgba(8,56,70,.09);background:#f8fcfd;border-radius:17px;padding:12px;}


.terms-official-list b{width:42px;height:42px;border-radius:14px;background:#eef8f8;color:var(--teal);display:grid;place-items:center;font-weight:1000;direction:ltr;}


.terms-official-list span{color:#24494e;font-weight:850;line-height:1.65;}


@media (max-width:620px){
.terms-official-list div{grid-template-columns:36px 1fr}
.terms-official-list b{width:36px;height:36px}
}


/* VATAX final review/payment step - official card layout matching the requested reference */
.service-submit-card .terms-payment-step{display:none!important;}


.service-submit-card .terms-payment-step.active{display:block!important;}


/* VATAX final review step - stacked official horizontal sections update */
.service-submit-card .terms-payment-step{display:none!important;}


.service-submit-card .terms-payment-step.active{display:block!important;}


/* Terms page: show sections as one readable vertical page, not side-by-side cards. */
body.public-body:not(.admin-body) .terms-full-section .terms-layout-card{
  max-width:1080px!important;
  margin-inline:auto!important;
}


body.public-body:not(.admin-body) .terms-full-section .terms-accordion-grid{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:16px!important;
}


body.public-body:not(.admin-body) .terms-full-section .terms-section-card{
  width:100%!important;
  min-height:auto!important;
  border-radius:24px!important;
  padding:clamp(20px,2.5vw,30px)!important;
}


body.public-body:not(.admin-body) .terms-full-section .terms-section-card p{
  max-width:100%!important;
  line-height:1.9!important;
}


/* VATAX 2026-06-27: continuous terms document, no boxed/card grid fragmentation */
body.public-body.page-terms-body .terms-layout-card,
body.public-body.page-terms-body .terms-accordion-grid,
body.public-body.page-terms-body .terms-section-card{display:block!important;box-shadow:none!important;background:transparent!important;border:0!important;padding:0!important;}
body.public-body.page-terms-body .terms-document-card{max-width:1060px;margin:0 auto;background:#fff;border:1px solid rgba(7,57,68,.10);border-radius:30px;box-shadow:0 24px 70px rgba(7,57,68,.08);padding:clamp(22px,4vw,46px);}
body.public-body.page-terms-body .terms-document-head{margin-bottom:28px!important;padding-bottom:20px;border-bottom:1px solid rgba(7,57,68,.10);}
body.public-body.page-terms-body .terms-document-flow{display:grid;gap:26px;}
body.public-body.page-terms-body .terms-document-section{padding:0 0 24px;border-bottom:1px solid rgba(7,57,68,.10);}
body.public-body.page-terms-body .terms-document-section:last-child{border-bottom:0;padding-bottom:0;}
body.public-body.page-terms-body .terms-section-title-row{display:flex;align-items:flex-start;gap:14px;margin-bottom:13px;}
body.public-body.page-terms-body .terms-section-title-row .terms-section-no{flex:0 0 auto;display:inline-grid;place-items:center;min-width:38px;height:38px;border-radius:14px;background:#073944;color:#fff;font-weight:1000;font-size:15px;line-height:1;}
body.public-body.page-terms-body .terms-section-title-row h3{margin:3px 0 0;color:#073944;font-size:clamp(20px,2.1vw,27px);line-height:1.45;font-weight:1000;}
body.public-body.page-terms-body .terms-section-content{display:grid;gap:9px;color:#294c53;}
body.public-body.page-terms-body .terms-line{margin:0;font-size:15.5px;line-height:2.05;color:#294c53;font-weight:650;}
body.public-body.page-terms-body .terms-bullet-line{position:relative;padding-inline-start:24px;}
body.public-body.page-terms-body .terms-bullet-line::before{content:"";position:absolute;inset-inline-start:5px;top:.9em;width:7px;height:7px;border-radius:50%;background:#E8A11D;box-shadow:0 0 0 4px rgba(232,161,29,.12);}
html[dir="rtl"] body.public-body.page-terms-body .terms-document-card{text-align:right;direction:rtl;}
html[dir="ltr"] body.public-body.page-terms-body .terms-document-card{text-align:left;direction:ltr;}
@media(max-width:640px){body.public-body.page-terms-body .terms-document-card{border-radius:22px;padding:20px 16px;}body.public-body.page-terms-body .terms-section-title-row{gap:10px;}body.public-body.page-terms-body .terms-section-title-row .terms-section-no{min-width:34px;height:34px;border-radius:12px;}body.public-body.page-terms-body .terms-line{font-size:14px;line-height:1.95;}}


/* VATAX follow-up 2026-06-27: sections 20 and 21 as standalone disclaimer boxes */
body.public-body.page-terms-body .terms-document-section.terms-disclaimer-box{
  position:relative!important;
  margin-top:10px!important;
  padding:clamp(20px,3vw,30px)!important;
  border:1px solid rgba(232,161,29,.30)!important;
  border-radius:24px!important;
  background:linear-gradient(180deg,#fffdf7,#ffffff)!important;
  box-shadow:0 18px 48px rgba(7,57,68,.075)!important;
  overflow:hidden!important;
}
body.public-body.page-terms-body .terms-document-section.terms-disclaimer-box::before{
  content:"Disclaimer";
  position:absolute;
  inset-block-start:14px;
  inset-inline-end:18px;
  padding:6px 12px;
  border-radius:999px;
  background:rgba(232,161,29,.13);
  color:#8a5b00;
  font-weight:1000;
  font-size:12px;
  letter-spacing:.02em;
  direction:ltr;
}
html[dir="rtl"] body.public-body.page-terms-body .terms-document-section.terms-disclaimer-box::before{content:"تنويه";}
body.public-body.page-terms-body .terms-document-section.terms-disclaimer-box .terms-section-title-row{padding-inline-end:110px;}
html[dir="rtl"] body.public-body.page-terms-body .terms-document-section.terms-disclaimer-box .terms-section-title-row{padding-inline-end:0;padding-inline-start:110px;}
body.public-body.page-terms-body .terms-document-section.terms-disclaimer-main .terms-section-title-row .terms-section-no{background:#E8A11D;color:#1f1400;}
body.public-body.page-terms-body .terms-document-section.terms-disclaimer-ack{border-color:rgba(7,57,68,.18)!important;background:linear-gradient(180deg,#f6fbfc,#ffffff)!important;}
body.public-body.page-terms-body .terms-document-section.terms-disclaimer-ack .terms-section-title-row .terms-section-no{background:#073944;color:#fff;}
@media(max-width:640px){
  body.public-body.page-terms-body .terms-document-section.terms-disclaimer-box::before{position:static;display:inline-flex;margin-bottom:12px;}
  body.public-body.page-terms-body .terms-document-section.terms-disclaimer-box .terms-section-title-row,
  html[dir="rtl"] body.public-body.page-terms-body .terms-document-section.terms-disclaimer-box .terms-section-title-row{padding-inline:0!important;}
}
