/*
 * TechLink Global — Client Payment Experience
 * Classic, editorial, high-contrast payment page.
 */

.tlgh-payment-page,
.tlgh-payment-page *{box-sizing:border-box}

.tlgh-payment-page{
  --tlgh-ink:#17252c;
  --tlgh-navy:#102c38;
  --tlgh-navy-2:#183f4d;
  --tlgh-gold:#b38a45;
  --tlgh-gold-soft:#f6efe2;
  --tlgh-paper:#ffffff;
  --tlgh-cream:#f7f4ee;
  --tlgh-line:#e2ddd3;
  --tlgh-muted:#6b7478;
  --tlgh-teal:#167b84;
  --tlgh-success:#21734d;
  width:100%;
  margin:0;
  padding:0 20px 80px;
  color:var(--tlgh-ink);
  background:
    radial-gradient(circle at 10% 0%,rgba(179,138,69,.08),transparent 28%),
    linear-gradient(180deg,#f7f4ee 0%,#fbfaf7 42%,#f4f1eb 100%);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  line-height:1.55;
}

.tlgh-payment-shell{width:min(1160px,100%);margin:0 auto;padding-top:42px}

/* Hide the generic WordPress/Astra page title on the dedicated payment page. */
.tlgh-payment-page-body .entry-title,
.tlgh-payment-page-body .page-title,
.tlgh-payment-page-body .ast-archive-description{display:none!important}
.tlgh-payment-page-body .site-content{padding-top:0!important}

/* Header */
.tlgh-payment-hero{
  position:relative;
  overflow:hidden;
  min-height:290px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:54px 60px 52px;
  margin:0 0 24px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:4px;
  color:#fff;
  background:
    linear-gradient(110deg,rgba(16,44,56,.98),rgba(24,63,77,.96)),
    #102c38;
  box-shadow:0 24px 60px rgba(22,34,40,.16);
}
.tlgh-payment-hero:before{
  content:"";
  position:absolute;
  width:360px;height:360px;
  right:-150px;top:-180px;
  border:1px solid rgba(206,173,108,.28);
  border-radius:50%;
}
.tlgh-payment-hero:after{
  content:"";
  position:absolute;
  width:220px;height:220px;
  right:-70px;top:-110px;
  border:1px solid rgba(206,173,108,.18);
  border-radius:50%;
}
.tlgh-payment-brand,.tlgh-payment-kicker{
  position:relative;z-index:1;
  display:block;
  font-size:11px;
  line-height:1.2;
  font-weight:800;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:#d6b66f;
}
.tlgh-payment-hero h1{
  position:relative;z-index:1;
  margin:12px 0 12px;
  color:#fff!important;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(38px,5.2vw,62px);
  font-weight:500;
  letter-spacing:-.025em;
  line-height:1.02;
}
.tlgh-payment-hero p{
  position:relative;z-index:1;
  max-width:720px;
  margin:0;
  color:#d9e2e4!important;
  font-size:15px;
  line-height:1.75;
}

/* Status */
.tlgh-payment-alert{
  display:flex;
  align-items:flex-start;
  gap:16px;
  margin:0 0 22px;
  padding:16px 20px;
  border:1px solid #d9d4ca;
  border-left:4px solid var(--tlgh-gold);
  border-radius:3px;
  background:#fff;
  color:var(--tlgh-ink);
  box-shadow:0 8px 24px rgba(30,38,40,.05);
}
.tlgh-payment-alert strong{white-space:nowrap;font-size:13px;text-transform:uppercase;letter-spacing:.08em}
.tlgh-payment-alert span{font-size:14px;color:#5e696d}
.tlgh-payment-alert.success{border-left-color:var(--tlgh-success);background:#f7fcf9}
.tlgh-payment-alert.error{border-left-color:#a83e3e;background:#fff9f8}

/* Invoice summary */
.tlgh-payment-invoice-bar{
  display:grid;
  grid-template-columns:1fr 1fr;
  background:var(--tlgh-paper);
  border:1px solid var(--tlgh-line);
  border-radius:4px;
  overflow:hidden;
  margin:0 0 28px;
  box-shadow:0 10px 28px rgba(32,39,42,.06);
}
.tlgh-payment-invoice-bar>div{padding:23px 28px}
.tlgh-payment-invoice-bar>div+div{border-left:1px solid var(--tlgh-line);background:#fcfbf8}
.tlgh-payment-invoice-bar span{
  display:block;
  margin-bottom:6px;
  color:#7b817f;
  font-size:10px;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.tlgh-payment-invoice-bar strong{display:block;color:var(--tlgh-navy);font-family:Georgia,"Times New Roman",serif;font-size:25px;font-weight:500}
.tlgh-payment-invoice-bar>div:last-child strong{color:#a07431;font-size:28px}

/* Payment cards */
.tlgh-payment-methods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:stretch}
.tlgh-payment-method{
  position:relative;
  display:flex;
  flex-direction:column;
  min-width:0;
  padding:34px 34px 32px;
  border:1px solid var(--tlgh-line);
  border-radius:4px;
  background:#fff;
  box-shadow:0 16px 38px rgba(28,37,41,.07);
}
.tlgh-payment-method:before{content:"";position:absolute;top:0;left:28px;right:28px;height:3px;background:var(--tlgh-gold)}
.tlgh-payment-method-head{display:flex;align-items:center;gap:15px;margin-bottom:12px}
.tlgh-payment-number{
  flex:0 0 42px;width:42px;height:42px;
  display:grid;place-items:center;
  border:1px solid #d7c095;
  border-radius:50%;
  color:#916c30;
  background:#fbf7ef;
  font-family:Georgia,"Times New Roman",serif;
  font-size:14px;font-weight:600;
}
.tlgh-payment-method h2{
  margin:4px 0 0;
  color:var(--tlgh-navy)!important;
  font-family:Georgia,"Times New Roman",serif;
  font-size:27px;
  line-height:1.15;
  font-weight:500;
}
.tlgh-payment-method>p{min-height:80px;margin:13px 0 22px;color:#687276;font-size:14px;line-height:1.72}

/* Till */
.tlgh-till-box{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:18px 18px 18px 20px;
  margin:0 0 22px;
  border:1px solid #e2d7c0;
  border-radius:3px;
  background:var(--tlgh-gold-soft);
}
.tlgh-till-box span{display:block;color:#7d704f;font-size:10px;font-weight:800;letter-spacing:.13em;text-transform:uppercase}
.tlgh-till-box strong{display:block;margin-top:4px;color:#61491f;font-family:Georgia,"Times New Roman",serif;font-size:31px;font-weight:600;letter-spacing:.07em}
.tlgh-copy-btn{
  flex:0 0 auto;
  min-height:42px;
  padding:10px 16px;
  border:1px solid #b8975a;
  border-radius:3px;
  color:#61491f;
  background:#fff;
  font-size:12px;
  font-weight:800;
  letter-spacing:.04em;
  cursor:pointer;
  transition:.2s ease;
}
.tlgh-copy-btn:hover{background:#61491f;color:#fff;border-color:#61491f}

/* Forms */
.tlgh-payment-form{margin-top:auto}
.tlgh-payment-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:0 0 16px}
.tlgh-payment-fields label{display:flex;flex-direction:column;gap:7px;color:#35434a;font-size:12px;font-weight:800;letter-spacing:.01em}
.tlgh-payment-fields .optional{display:inline;color:#929a9c;font-size:9px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.tlgh-payment-fields input{
  width:100%!important;
  min-height:48px;
  padding:12px 13px!important;
  border:1px solid #d5d8d5!important;
  border-radius:3px!important;
  outline:none!important;
  color:#1e2b31!important;
  background:#fff!important;
  box-shadow:none!important;
  font:inherit;
  font-size:14px!important;
}
.tlgh-payment-fields input::placeholder{color:#a0a7a8}
.tlgh-payment-fields input:focus{border-color:#a88348!important;box-shadow:0 0 0 3px rgba(168,131,72,.10)!important}

.tlgh-pay-btn,.tlgh-paypal-link,.tlgh-outline-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:50px;
  padding:13px 18px;
  border-radius:3px;
  text-decoration:none!important;
  font-size:13px;
  font-weight:800;
  letter-spacing:.025em;
  cursor:pointer;
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease,border-color .18s ease;
}
.tlgh-pay-btn{border:1px solid var(--tlgh-navy);background:var(--tlgh-navy);color:#fff!important;box-shadow:0 7px 16px rgba(16,44,56,.12)}
.tlgh-pay-btn:hover{background:#0b2029;color:#fff!important;transform:translateY(-1px);box-shadow:0 10px 22px rgba(16,44,56,.17)}
.tlgh-paypal-link{margin:0 0 16px;border:1px solid #172d3a;background:#172d3a;color:#fff!important}
.tlgh-paypal-link:hover{background:#0d2029;color:#fff!important;transform:translateY(-1px);box-shadow:0 10px 22px rgba(16,44,56,.14)}

/* Footer information */
.tlgh-payment-note{
  display:flex;
  gap:18px;
  align-items:flex-start;
  margin-top:25px;
  padding:21px 24px;
  border:1px solid #dedbd4;
  border-radius:3px;
  background:#fff;
}
.tlgh-payment-note:before{content:"✓";display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border-radius:50%;background:#edf6f0;color:#21734d;font-weight:800}
.tlgh-payment-note strong{display:block;margin-bottom:3px;color:var(--tlgh-navy);font-size:13px;text-transform:uppercase;letter-spacing:.08em}
.tlgh-payment-note p{margin:0;color:#697377;font-size:13px;line-height:1.65}

.tlgh-payment-support{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:25px;
  margin-top:24px;
  padding:31px 34px;
  border-radius:4px;
  color:#fff;
  background:var(--tlgh-navy);
  box-shadow:0 18px 38px rgba(16,44,56,.13);
}
.tlgh-payment-support .tlgh-payment-kicker{color:#d6b66f}
.tlgh-payment-support h2{margin:6px 0 5px;color:#fff!important;font-family:Georgia,"Times New Roman",serif;font-size:27px;font-weight:500}
.tlgh-payment-support p{margin:0;color:#c8d5d8;font-size:13px;line-height:1.6}
.tlgh-outline-btn{width:auto;min-width:170px;border:1px solid #d6b66f;color:#fff!important;background:transparent}
.tlgh-outline-btn:hover{background:#d6b66f;color:#102c38!important}

/* Sign-in state */
.tlgh-payment-login{max-width:650px;margin:0 auto;padding:42px!important;border:1px solid var(--tlgh-line);border-radius:4px;background:#fff;box-shadow:0 18px 45px rgba(25,35,40,.08)}
.tlgh-payment-login h2{margin:0 0 8px;color:var(--tlgh-navy)!important;font-family:Georgia,"Times New Roman",serif;font-size:30px;font-weight:500}
.tlgh-payment-login p{color:#687276}

@media (max-width:900px){
  .tlgh-payment-hero{padding:46px 38px}
  .tlgh-payment-methods{grid-template-columns:1fr}
  .tlgh-payment-method>p{min-height:0}
}
@media (max-width:640px){
  .tlgh-payment-page{padding:0 12px 52px}
  .tlgh-payment-shell{padding-top:18px}
  .tlgh-payment-hero{min-height:260px;padding:38px 25px 36px;border-radius:3px}
  .tlgh-payment-hero h1{font-size:40px}
  .tlgh-payment-invoice-bar{grid-template-columns:1fr}
  .tlgh-payment-invoice-bar>div{padding:19px 20px}
  .tlgh-payment-invoice-bar>div+div{border-left:0;border-top:1px solid var(--tlgh-line)}
  .tlgh-payment-method{padding:28px 21px 24px}
  .tlgh-payment-fields{grid-template-columns:1fr}
  .tlgh-till-box{align-items:flex-start;flex-direction:column}
  .tlgh-copy-btn{width:100%}
  .tlgh-payment-support{align-items:flex-start;flex-direction:column;padding:27px 24px}
  .tlgh-outline-btn{width:100%}
}
