/* ==========================================================================
   VELOCITAS — on-screen invoice (viewinvoice.tpl) — Concept A
   Self-contained: load AFTER invoice.css. No dependency on velocitas.css.
   Add to /templates/<theme>/css/velocitas-invoice.css and link it in the
   <head> of viewinvoice.tpl (see the supplied viewinvoice.tpl).
   ========================================================================== */

/* paper card */
.invoice-container{
  max-width:880px;
  margin:26px auto;
  background:#fff;
  border:1px solid rgba(2,21,69,.06);
  border-radius:16px;
  box-shadow:0 20px 50px rgba(2,21,69,.12);
  position:relative;
  overflow:hidden;
  padding:0 0 30px;
  font-family:'Mont','Montserrat',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
}
.invoice-container::before{          /* gradient strip across the very top */
  content:"";
  position:absolute; top:0; left:0; right:0; height:6px;
  background:linear-gradient(90deg,#32daaa,#00b2ff,#8a40ff);
  z-index:2;
}

/* navy header band */
.invoice-header{
  background:#021545;
  color:#fff;
  margin:0;
  padding:30px 34px 26px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.invoice-header::before,.invoice-header::after{ content:none; }   /* cancel clearfix */
.invoice-header .invoice-col{ width:auto; float:none; padding:0; }
.invoice-header .invoice-col.text-center{ text-align:right !important; }
.invoice-header h2,.invoice-header h3{ color:#fff; margin:8px 0 0; font-weight:700; }
.invoice-header h3{ font-size:16px; color:rgba(255,255,255,.78); font-weight:500; }
.vx-inv-logo{ max-height:46px; width:auto; }
.invoice-header .small-text{ color:rgba(255,255,255,.82); margin-top:6px; }

/* status pills */
.invoice-status span{
  display:inline-block;
  padding:5px 16px;
  border-radius:60px;
  font-weight:600;
  font-size:13px;
  line-height:1.5;
}
.invoice-status .unpaid{ background:#ffb547; color:#5a3c00; }
.invoice-status .paid{ background:#32daaa; color:#04342c; }
.invoice-status .draft{ background:#e6e8ef; color:#021545; }
.invoice-status .cancelled{ background:#e6e8ef; color:#021545; }
.invoice-status .refunded{ background:#00b2ff; color:#fff; }
.invoice-status .collections{ background:#f080f9; color:#4b1528; }

/* pay-now button inside the header */
.payment-btn-container{ margin-top:10px; }
.payment-btn-container .btn,
.payment-btn-container input[type=submit],
.payment-btn-container button{
  background:#8a40ff !important;
  border:0 !important;
  color:#fff !important;
  border-radius:60px 60px 60px 0 !important;
  padding:10px 24px !important;
  font-weight:600 !important;
}
.payment-btn-container .btn:hover,
.payment-btn-container button:hover{ background:#7a32ec !important; }

/* body wrapper (added in viewinvoice.tpl) */
.invoice-body{ padding:24px 34px 0; }
.invoice-body > hr:first-child{ display:none; }   /* drop the rule under the band */
.invoice-body hr{ border-top-color:rgba(2,21,69,.08); }

/* address blocks */
.invoice-body strong{ color:#021545; }
.invoice-body address{ color:#5a6172; line-height:1.6; }

/* line-items + transactions panels */
.invoice-body .panel{
  border:1px solid rgba(2,21,69,.08);
  border-radius:12px;
  box-shadow:none;
  overflow:hidden;
}
.invoice-body .panel-heading{ background:#fff; border-bottom:1px solid rgba(2,21,69,.07); }
.invoice-body .panel-title,.invoice-body .panel-title strong{ color:#021545; font-weight:700; }

.invoice-body table.table{ margin-bottom:0; }
.invoice-body table.table thead td{
  background:#f6f4ff;
  color:#021545;
  border-bottom:2px solid rgba(138,64,255,.25);
  font-weight:700;
}
.invoice-body table.table tbody tr td{ vertical-align:middle; }
.invoice-body .total-row{ background:#fafbfe; }
/* final row = grand total -> navy emphasis */
.invoice-body .panel-body tbody tr:last-child .total-row{
  background:#021545;
  color:#fff;
  font-size:15px;
}
.invoice-body .panel-body tbody tr:last-child .total-row strong{ color:#fff; }

/* transactions table */
.transactions-container table.table thead td{
  background:#f6f4ff; color:#021545; border-bottom:2px solid rgba(138,64,255,.25);
}

/* print / download buttons */
.invoice-body .btn-default{
  background:#fff; color:#021545; border:1.5px solid rgba(2,21,69,.16);
  border-radius:60px 60px 60px 0; font-weight:600;
}
.invoice-body .btn-default:hover{ border-color:#8a40ff; color:#8a40ff; }

/* tax note + back link */
.invoice-body > p{ color:#6b7280; font-size:13px; }

/* print: keep it clean on paper */
@media print{
  .invoice-container{ box-shadow:none; border:0; margin:0; max-width:none; }
}

/* small screens */
@media (max-width:600px){
  .invoice-header{ flex-direction:column; align-items:flex-start; text-align:left; padding:24px 20px; }
  .invoice-header .invoice-col.text-center{ text-align:left !important; }
  .invoice-body{ padding:20px 20px 0; }
}
/* ==========================================================================
   VELOCITAS — client-area homepage (homepage.tpl)  v2 — stronger brand theming
   APPEND this to velocitas.css (replaces the earlier homepage block).
   Brand cues added: asymmetric pill buttons (60 60 60 0), gradient accents,
   gradient headline keywords, gradient-topped featured card, heading underline,
   lifted trust bar.
   ========================================================================== */

/* Reusable brand gradient + gradient-text helper */
.vx-grad-text{
  background:linear-gradient(90deg,#32daaa,#00b2ff,#8a40ff);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
  color:transparent;
}

/* ---- Hero ---- */
.vx-home-hero{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(120% 150% at 10% 0%, rgba(50,218,170,.20), transparent 42%),
    radial-gradient(120% 150% at 100% 100%, rgba(138,64,255,.30), transparent 46%),
    #021545;
  border-radius:22px;
  color:#fff;
  text-align:center;
  padding:56px 24px 50px;
  margin:10px 0 24px;
}
.vx-home-hero::before{
  content:"";
  position:absolute; top:0; left:0; right:0; height:6px;
  background:linear-gradient(90deg,#32daaa,#00b2ff,#8a40ff);
}
#main-body .vx-home-hero h1,
.vx-home-hero h1{
  color:#fff;
  font-weight:800;
  font-size:32px;
  line-height:1.16;
  max-width:780px;
  margin:6px auto 14px;
}
.vx-home-hero p{
  color:rgba(255,255,255,.82);
  font-size:16px;
  max-width:620px;
  margin:0 auto 28px;
}

/* ---- Domain search ---- */
.vx-domain-search{
  display:flex;
  gap:12px;
  max-width:560px;
  margin:0 auto 16px;
}
.vx-domain-search input[type=text]{
  flex:1;
  border:0;
  border-radius:60px;
  padding:15px 24px;
  font-size:15px;
  color:#021545;
  box-shadow:0 8px 24px rgba(0,0,0,.22);
}
.vx-domain-search input[type=text]:focus{
  outline:3px solid rgba(50,218,170,.55);
}
.vx-domain-search .btn{
  border-radius:60px 60px 60px 0;   /* brand asymmetric pill */
  font-weight:600;
  padding-left:28px;
  padding-right:28px;
}

.vx-hero-links{ font-size:13px; color:rgba(255,255,255,.7); }
.vx-hero-links a{ color:#fff; font-weight:600; text-decoration:none; }
.vx-hero-links a:hover{ color:#32daaa; }
.vx-hero-links span{ margin:0 9px; opacity:.45; }

/* ---- Trust bar (lifted into a soft white pill) ---- */
.vx-trust{
  display:inline-flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:12px 28px;
  background:#fff;
  border-radius:18px;
  padding:14px 28px;
  box-shadow:0 8px 26px rgba(2,21,69,.07);
  margin:0 0 38px;
}
.vx-trust-wrap{ text-align:center; }      /* optional centering wrapper */
.vx-trust-item{ color:#0f8c66; font-weight:600; font-size:14px; white-space:nowrap; }
.vx-trust-item i{ color:#32daaa; margin-right:7px; }

/* ---- Section heading + gradient underline ---- */
.vx-section-h{
  position:relative;
  text-align:center;
  color:#021545;
  font-weight:800;
  padding-bottom:16px;
  margin:0 0 26px;
}
.vx-section-h::after{
  content:"";
  position:absolute; left:50%; bottom:0; transform:translateX(-50%);
  width:64px; height:4px; border-radius:60px;
  background:linear-gradient(90deg,#32daaa,#00b2ff,#8a40ff);
}

/* ---- Plan tiles ---- */
.vx-plans{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
  margin:0 0 40px;
}
@media (max-width:900px){ .vx-plans{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:540px){ .vx-plans{ grid-template-columns:1fr; } }

.vx-plan{
  position:relative;
  background:#fff;
  text-align:center;
  border:1px solid rgba(8,8,8,.08);
  border-radius:14px;
  padding:24px 18px;
  transition:transform .15s, box-shadow .15s;
}
.vx-plan:hover{ transform:translateY(-5px); box-shadow:0 18px 38px rgba(2,21,69,.13); }

.vx-plan-featured{
  border:2px solid #8a40ff;
  box-shadow:0 18px 42px rgba(138,64,255,.18);
}
.vx-plan-featured::before{            /* gradient cap on the popular card */
  content:"";
  position:absolute; top:0; left:0; right:0; height:5px;
  border-radius:13px 13px 0 0;
  background:linear-gradient(90deg,#32daaa,#00b2ff,#8a40ff);
}
.vx-plan-flag{
  position:absolute; top:-13px; left:50%; transform:translateX(-50%);
  background:linear-gradient(90deg,#8a40ff,#00b2ff);
  color:#fff; font-size:11px; font-weight:700; letter-spacing:.02em;
  padding:5px 16px; border-radius:60px;
  box-shadow:0 6px 16px rgba(138,64,255,.35);
}
.vx-plan-name{ font-weight:700; color:#021545; font-size:17px; }
.vx-plan-price{ font-weight:800; color:#8a40ff; font-size:32px; margin:6px 0 14px; }
.vx-plan-featured .vx-plan-price{
  background:linear-gradient(90deg,#8a40ff,#00b2ff);
  -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color:transparent; color:transparent;
}
.vx-plan-price span{
  font-size:13px; color:#8a8f9c; font-weight:600;
  -webkit-text-fill-color:#8a8f9c;   /* keep /mo grey even on gradient price */
}
.vx-plan ul{ list-style:none; padding:0; margin:0 0 20px; color:#5a6172; font-size:13px; line-height:2; }

/* plan buttons — brand asymmetric pill */
.vx-plan .btn{ border-radius:60px 60px 60px 0; font-weight:600; display:block; width:100%; }
.vx-plan .btn-default{
  background:#fff; color:#021545; border:1.5px solid rgba(2,21,69,.16);
}
.vx-plan .btn-default:hover{ border-color:#8a40ff; color:#8a40ff; }

/* ---- Announcements ---- */
.vx-news{ max-width:760px; margin:0 auto 20px; }
.vx-news-item{
  display:flex; justify-content:space-between; align-items:center; gap:14px;
  padding:14px 18px; background:#fff;
  border:1px solid rgba(2,21,69,.07);
  border-left:3px solid #32daaa;
  border-radius:12px; margin-bottom:9px; text-decoration:none;
  transition:border-color .15s, transform .15s;
}
.vx-news-item:hover{ border-left-color:#8a40ff; transform:translateX(2px); }
.vx-news-title{ color:#021545; font-weight:600; }
.vx-news-date{ color:#8a8f9c; font-size:12px; white-space:nowrap; }