/* Invoice view only: align actions with invoice and avoid empty administrative panels. */
.cvit-modern .cvit54-invoice-toolbar,
.cvit-modern .cvit54-invoice-card,
.cvit-modern .cvit54-invoice-actions {
  box-sizing:border-box;
  width:100%;
  max-width:880px;
  margin-left:auto;
  margin-right:auto;
}
.cvit-modern .cvit54-invoice-toolbar {
  display:flex;
  gap:12px;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  margin-top:10px;
  margin-bottom:14px;
}
.cvit-modern .cvit54-invoice-toolbar a {text-decoration:none;}
.cvit-modern .cvit54-invoice-pdf {background:#008cb5;color:#fff;border-color:#008cb5;}
.cvit-modern .cvit54-invoice-pdf:hover {background:#00769d;color:#fff;}
.cvit-modern .cvit54-invoice-actions {
  margin-top:20px;
  padding:24px;
  background:#fff;
  border:1px solid #c4d9e9;
  border-radius:12px;
  color:#18384f;
}
.cvit-modern .cvit54-invoice-actions h3 {margin-top:0;color:#133c57;}
.cvit-modern .cvit54-invoice-actions form + form {margin-top:16px;}
.cvit-modern .cvit54-invoice-actions label {color:#173a54;}
.cvit-modern .cvit54-invoice-actions input {background:#fff;color:#172d40;border:1px solid #b7cde0;}
.cvit-modern .cvit54-invoice-help {margin:0 0 16px;color:#50687b;font-size:13px;}
.cvit-modern .cvit54-billing-pdf-link {margin-left:8px;white-space:nowrap;color:#0077a4;font-weight:700;}
@media(max-width:680px){
 .cvit-modern .cvit54-invoice-card {padding:18px;}
 .cvit-modern .cvit54-invoice-card .invoice-heading,
 .cvit-modern .cvit54-invoice-card .invoice-row {gap:18px;}
 .cvit-modern .cvit54-invoice-actions {padding:18px;}
}
