/* IDNI storefront theme – matches idni.digital landing page. Loaded after Twenty-One + Standard Cart CSS. */
html:root{
  --bg:#EEE8DA; --bg2:#E7E0CF; --card:#F4EFE4; --card2:#E7E0CF;
  --text:#1E1C24; --muted:#56524B; --line:#C9BFA8; --line-strong:#1E1C24;
  --accent:#24439B; --accent-dark:#1A3278; --on-accent:#F6F2E8;
  --pink:var(--accent); --violet:var(--accent); --mint:var(--accent); --sun:var(--accent);
  --grad:var(--accent);
  --font:"Public Sans",system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --display:"Libre Caslon Text",Baskerville,"Times New Roman",serif;
}
html,body.idni-theme{background:var(--bg)!important;color:var(--text);font-family:var(--font)}
body.idni-theme{font-size:16px;line-height:1.6}
.idni-theme h1,.idni-theme h2,.idni-theme h3,.idni-theme h4,.idni-theme h5,.idni-theme .h1,.idni-theme .h2,.idni-theme .h3{font-family:var(--display);color:var(--text);letter-spacing:-.01em}
.idni-theme a{color:var(--mint)}
.idni-theme a:hover{color:#1A3278}
.idni-theme .text-muted,.idni-theme small,.idni-theme .small{color:var(--muted)!important}
.idni-theme ::selection{background:var(--violet);color:#F6F2E8}
.idni-skip{position:absolute;left:-999px;top:8px;z-index:100;background:var(--mint);color:#F6F2E8;padding:8px 14px;border-radius:8px}
.idni-skip:focus{left:8px}

/* ---------- header (same as landing .site-header) ---------- */
.idni-header{position:sticky;top:0;z-index:1030;background:rgba(238,232,218,.75)!important;border-bottom:1px solid var(--line);box-shadow:none!important}
.idni-nav{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;min-height:66px}
.idni-logo{display:flex;align-items:center;gap:10px;color:var(--text)!important;text-decoration:none!important}
.idni-logo svg{color:var(--mint)}
.idni-logo-text{font-family:var(--display);font-weight:800;font-size:1.45rem;letter-spacing:.06em;color:var(--text)}
.idni-links{align-items:center;gap:26px}
.idni-links a{color:var(--muted)!important;text-decoration:none!important;font-weight:500;font-size:.95rem}
.idni-links a:hover{color:var(--text)!important}
.idni-links a.idni-cta{color:var(--text)!important;font-weight:700}
.idni-links a.idni-pill{border:1.5px solid var(--line);padding:8px 16px;border-radius:999px;color:var(--text)!important}
.idni-links a.idni-pill:hover{background:rgba(30,28,36,.08)}
.idni-menu-btn{background:none;border:1.5px solid var(--line);color:var(--text);border-radius:12px;width:44px;height:40px}
.idni-adminbar{background:var(--card2);font-size:.85rem;padding:4px 0;text-align:right}
@media (max-width:767.98px){
  .idni-links{width:100%;flex-direction:column;align-items:stretch;padding:6px 0 14px}
  .idni-links.show{display:flex}
  .idni-links a{padding:10px 0;border-top:1px solid var(--line)}
  .idni-links a.idni-pill{text-align:center;margin-top:10px}
}

/* ---------- footer (same as landing .site-footer) ---------- */
.idni-footer{border-top:1px solid var(--line);padding:46px 0 26px!important;background:var(--bg2)!important;color:var(--muted);margin-top:40px}
.idni-footer-grid{display:flex;flex-wrap:wrap;gap:24px;justify-content:space-between;align-items:flex-start}
.idni-footer-tag{color:var(--muted);margin:8px 0 0;font-size:.92rem}
.idni-footer-links{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:12px 26px}
.idni-footer-links a{color:var(--muted)!important;text-decoration:none}
.idni-footer-links a:hover{color:var(--text)!important}
.idni-footer-bottom{margin-top:30px;padding-top:20px;border-top:1px solid var(--line);color:var(--muted);font-size:.85rem}

/* ---------- page body ---------- */
.idni-theme #main-body{background:transparent!important;padding:40px 0 20px;position:relative}
.idni-theme #main-body::before{content:"";position:absolute;inset:0 0 auto 0;height:420px;pointer-events:none;
  background:var(--card),var(--card)}
.idni-theme #main-body>.container{position:relative}
.idni-theme .master-breadcrumb{display:none}
.idni-theme .card,.idni-theme .panel,.idni-theme .list-group-item,.idni-theme .well,.idni-theme .modal-content,.idni-theme .dropdown-menu,.idni-theme .popover{background:var(--card)!important;color:var(--text);border-color:var(--line)!important}
.idni-theme .card{border-radius:20px;box-shadow:none}
.idni-theme .card-header,.idni-theme .card-footer,.idni-theme .modal-header,.idni-theme .modal-footer{background:var(--card2)!important;border-color:var(--line)!important;color:var(--text)}
.idni-theme .card-title,.idni-theme .card-header h3{color:var(--text)}
.idni-theme .list-group-item.active,.idni-theme .list-group-item-action:hover{background:var(--card2)!important;color:var(--text)!important;border-color:var(--line)!important}
.idni-theme .list-group-item.active{box-shadow:inset 3px 0 0 var(--pink)}
.idni-theme .list-group-item-action{color:var(--muted)}
.idni-theme .dropdown-item{color:var(--text)}
.idni-theme .dropdown-item:hover{background:var(--card2);color:var(--text)}
.idni-theme hr{border-color:var(--line)}
.idni-theme .table,.idni-theme table{color:var(--text)}
.idni-theme .table td,.idni-theme .table th,.idni-theme .table thead th{border-color:var(--line)!important}
.idni-theme .table-striped tbody tr:nth-of-type(odd){background:rgba(30,28,36,.03)}
.idni-theme .table-list,.idni-theme .dataTables_wrapper .table-list>tbody>tr>td{background:var(--card)!important;color:var(--text)}
.idni-theme .dataTables_wrapper .table-list>thead>tr>th{background:var(--card2)!important;color:var(--text)!important}
.idni-theme .breadcrumb{background:transparent}
.idni-theme .header-lined h1,.idni-theme .header-lined{border-color:var(--line)!important;color:var(--text)}
.idni-theme .close{color:var(--text);text-shadow:none}

/* forms */
.idni-theme .form-control,.idni-theme .custom-select,.idni-theme select,.idni-theme input[type=text],.idni-theme input[type=email],.idni-theme input[type=password],.idni-theme input[type=tel],.idni-theme textarea,
.idni-theme #order-standard_cart .field,.idni-theme #order-standard_cart .form-control{
  background:rgba(30,28,36,.05)!important;border:1.5px solid var(--line)!important;color:var(--text)!important;border-radius:12px!important;min-height:44px}
.idni-theme select option{background:var(--bg2);color:var(--text)}
.idni-theme .form-control:focus,.idni-theme select:focus,.idni-theme #order-standard_cart .field:focus{border-color:var(--violet)!important;box-shadow:0 0 0 3px rgba(36,67,155,.3)!important;outline:none}
.idni-theme .form-control::placeholder,.idni-theme .field::placeholder{color:#7A746A}
.idni-theme .form-control[disabled],.idni-theme .form-control[readonly],.idni-theme #order-standard_cart .field[readonly]{background:rgba(30,28,36,.02)!important;color:var(--muted)!important}
.idni-theme label,.idni-theme .control-label{color:var(--text);font-weight:600}
.idni-theme .input-group-text,.idni-theme .input-group-addon,.idni-theme .prepend-icon .field-icon{background:var(--card2)!important;border-color:var(--line)!important;color:var(--muted)!important}
.idni-theme .iti__country-list{background:var(--bg2);color:var(--text)}

/* buttons – landing pill style */
.idni-theme .btn{border-radius:999px!important;font-weight:700;padding:.55rem 1.3rem;transition:transform .2s,box-shadow .2s}
.idni-theme .btn-lg{padding:.8rem 1.8rem}
.idni-theme .btn-primary,.idni-theme .btn-success,.idni-theme #order-standard_cart .btn-checkout,.idni-theme .btn-info{
  background:var(--grad)!important;!important;border:0!important;color:#F6F2E8!important;box-shadow:0 10px 30px rgba(36,67,155,.3)}
.idni-theme .btn-primary:hover,.idni-theme .btn-success:hover,.idni-theme #order-standard_cart .btn-checkout:hover{box-shadow:0 14px 40px rgba(36,67,155,.45);color:#F6F2E8!important}
.idni-theme .btn-default,.idni-theme .btn-secondary,.idni-theme .btn-light,.idni-theme .btn-outline-primary,.idni-theme .btn-link.btn-default{
  background:rgba(30,28,36,.04)!important;border:1.5px solid var(--line)!important;color:var(--text)!important}
.idni-theme .btn-default:hover,.idni-theme .btn-secondary:hover,.idni-theme .btn-light:hover{background:rgba(30,28,36,.1)!important}
.idni-theme .btn-danger{background:rgba(36,67,155,.15)!important;border:1.5px solid var(--pink)!important;color:var(--text)!important}
.idni-theme .btn-link{color:var(--mint)}

/* alerts & badges */
.idni-theme .alert{border-radius:14px;border:1px solid var(--line);color:var(--text)}
.idni-theme .alert-info{background:rgba(36,67,155,.15)}
.idni-theme .alert-success{background:rgba(36,67,155,.12)}
.idni-theme .alert-warning{background:rgba(30,28,36,.12)}
.idni-theme .alert-danger,.idni-theme .alert-error{background:rgba(36,67,155,.14)}
.idni-theme .alert a{color:var(--mint)}
.idni-theme .badge-info,.idni-theme .label-info{background:var(--violet)}

/* client-area tiles */
.idni-theme .tiles .tile{background:var(--card)!important;border-color:var(--line)!important;color:var(--text)}
.idni-theme .tiles .tile .stat{color:var(--text)}
.idni-theme .tiles .tile .title{color:var(--muted)}
.idni-theme .tiles .tile:hover{background:var(--card2)!important}
.idni-theme .client-home-cards .card-header{background:var(--card2)!important}

/* login / register */
.idni-theme .login-form .card,.idni-theme .logincontainer{max-width:520px;margin:0 auto}
.idni-theme .login-form .card-body h6{color:var(--muted)}
.idni-theme .providerLinkingFeedback{color:var(--muted)}

/* ---------- Standard Cart ---------- */
.idni-theme #order-standard_cart{color:var(--text)}
/* simplified cart: no category / domain sidebar */
.idni-theme #order-standard_cart .cart-sidebar,.idni-theme #order-standard_cart .sidebar-collapsed{display:none!important}
body.idni-theme #order-standard_cart .cart-body{width:100%!important;float:none!important;padding-left:15px;padding-right:15px}
.idni-theme #order-standard_cart .header-lined h1{font-size:2.2rem;border:0}
.idni-theme #order-standard_cart .sub-heading{border-color:var(--line)!important}
.idni-theme #order-standard_cart .sub-heading span,.idni-theme #order-standard_cart .sub-heading-borderless span{background:var(--bg)!important;color:var(--muted)!important;font-family:var(--display);letter-spacing:.04em;text-transform:uppercase;font-size:.85rem}
.idni-theme #order-standard_cart .product-info{background:var(--card)!important;border:1px solid var(--line)!important;border-radius:16px;color:var(--text)}
.idni-theme #order-standard_cart .product-info .product-title{color:var(--text);font-family:var(--display)}
.idni-theme #order-standard_cart .field-container,.idni-theme #order-standard_cart .product-configurable-options{background:transparent}
.idni-theme #order-standard_cart .summary-container,.idni-theme #order-standard_cart .order-summary{background:var(--card)!important;border:1px solid var(--line)!important;border-radius:20px;color:var(--text);overflow:hidden}
.idni-theme #order-standard_cart .order-summary h2{background:var(--card2)!important;color:var(--text)!important;font-family:var(--display);margin:0;padding:14px 18px;border-radius:0}
.idni-theme #order-standard_cart .order-summary .total-due-today .amt,.idni-theme #order-standard_cart .order-summary .amt{color:var(--text)!important}
.idni-theme #order-standard_cart .order-summary .total-due-today .amt{background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent!important;font-family:var(--display);font-weight:800}
.idni-theme #order-standard_cart .order-summary .summary-totals,.idni-theme #order-standard_cart .order-summary .bordered-totals{border-color:var(--line)!important}
.idni-theme #order-standard_cart .view-cart-items-header{background:var(--card2)!important;color:var(--text)!important;border-radius:16px 16px 0 0;border:1px solid var(--line)}
.idni-theme #order-standard_cart .view-cart-items{border-color:var(--line)!important}
.idni-theme #order-standard_cart .view-cart-items .item,.idni-theme #order-standard_cart .view-cart-items .item:nth-child(even){background:var(--card)!important;color:var(--text);border-color:var(--line)!important}
.idni-theme #order-standard_cart .view-cart-items .item-title,.idni-theme #order-standard_cart .view-cart-items .item-price{color:var(--text)}
.idni-theme #order-standard_cart .view-cart-items .item-group,.idni-theme #order-standard_cart .view-cart-items .item-domain{color:var(--muted)}
.idni-theme #order-standard_cart .empty-cart .btn{background:transparent!important;border:0!important;color:var(--muted)!important}
.idni-theme #order-standard_cart .view-cart-tabs .nav-tabs{border-color:var(--line)}
.idni-theme #order-standard_cart .view-cart-tabs .nav-tabs a{color:var(--muted)}
.idni-theme #order-standard_cart .view-cart-tabs .nav-tabs a[aria-selected="true"],.idni-theme #order-standard_cart .view-cart-tabs .nav-tabs a[aria-expanded="true"],.idni-theme #order-standard_cart .view-cart-tabs .tab-content{background:var(--card)!important;color:var(--text)!important;border-color:var(--line)!important}
.idni-theme #order-standard_cart .view-cart-promotion-code,.idni-theme #order-standard_cart .view-cart-gateway-checkout,.idni-theme #order-standard_cart .apply-credit-container,.idni-theme #order-standard_cart .cc-input-container,.idni-theme #order-standard_cart .account-select-container div.account{background:var(--card)!important;border-color:var(--line)!important;color:var(--text)}
.idni-theme #order-standard_cart .account-select-container div.account.active{background:var(--card2)!important;box-shadow:inset 0 0 0 2px var(--violet)}
.idni-theme #order-standard_cart .panel-addon{background:var(--card)!important;border-color:var(--line)!important;color:var(--text)}
.idni-theme #order-standard_cart .panel-addon .panel-price,.idni-theme #order-standard_cart .panel-addon .panel-add{background:var(--card2)!important;color:var(--text)!important}
.idni-theme #order-standard_cart .products .product,.idni-theme #order-standard_cart .products .product header{background:var(--card)!important;border-color:var(--line)!important;color:var(--text)}
.idni-theme #order-standard_cart .products .product header span{color:var(--text)}
.idni-theme #order-standard_cart .products .product .price{color:var(--mint)}
.idni-theme #order-standard_cart .checkout-security-msg,.idni-theme #order-standard_cart .marketing-email-optin{background:rgba(36,67,155,.08)!important;border-color:var(--line)!important;color:var(--text)!important;border-radius:14px}
.idni-theme #order-standard_cart .already-registered{color:var(--muted)}
.idni-theme #order-standard_cart .text-danger{color:#24439B!important}
.idni-theme .irs-line,.idni-theme .irs--modern .irs-line{background:var(--card2)!important;border-color:var(--line)!important}
.idni-theme .irs-bar,.idni-theme .irs--modern .irs-bar{background:var(--grad)!important}
.idni-theme .iCheck-helper{opacity:0!important}
.idni-theme .icheckbox_square-blue,.idni-theme .iradio_square-blue{filter:hue-rotate(40deg) saturate(1.3)}
/* hide domain register/transfer clutter if ever rendered */
.idni-theme a[href*="a=add&domain=register"],.idni-theme a[href*="a=add&domain=transfer"],.idni-theme a[href*="domainchecker.php"]{display:none!important}
.idni-theme #order-standard_cart label{color:var(--text)!important;font-size:.95rem;font-weight:600}
.idni-theme #order-standard_cart .field-help-text,.idni-theme #order-standard_cart .form-text{color:var(--muted)!important}
.idni-theme .idni-loc-note{color:var(--text)}
.idni-theme .idni-loc-note strong{color:var(--mint)}
.idni-theme #order-standard_cart .prepend-icon > .field,.idni-theme #order-standard_cart .prepend-icon > .form-control{padding-left:42px!important}
.idni-theme #order-standard_cart .prepend-icon .field-icon{background:transparent!important;border:0!important;color:var(--muted)!important;width:42px;display:flex;align-items:center;justify-content:center}
.idni-theme .progress{background:var(--card2)!important;border-radius:999px}
.idni-theme .progress-bar{background:var(--grad)!important}
/* Stripe card fields render dark text inside Stripe's iframe, so give them a light surface for contrast */
body.idni-theme #order-standard_cart .form-control.StripeElement{background:#F8F5EE!important;border:1px solid #8A8274!important;border-radius:2px!important;padding-top:.7rem}
body.idni-theme #order-standard_cart .form-control.StripeElement--focus{border-color:var(--violet)!important;box-shadow:0 0 0 3px rgba(36,67,155,.35)!important}
body.idni-theme #order-standard_cart .form-control.StripeElement--invalid{border-color:var(--pink)!important}
/* product description: technical line + friendly explanation */
.idni-theme #order-standard_cart .product-info p{font-size:.95rem;line-height:1.65;color:var(--muted)}
.idni-theme #order-standard_cart .product-info .product-title{font-size:1.25rem;color:var(--text);margin-bottom:.35em}
.idni-theme .idni-desc-q{display:inline-block;margin-top:.75em;color:var(--mint);font-weight:700}
/* payment method picker: pill cards */
.idni-theme #order-standard_cart #paymentGatewaysContainer .text-center{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin:6px 0 14px}
.idni-theme #order-standard_cart #paymentGatewaysContainer label.radio-inline{display:inline-flex;align-items:center;gap:10px;background:var(--card);border:1.5px solid var(--line);border-radius:14px;padding:12px 18px;margin:0;cursor:pointer;font-weight:600;color:var(--text);transition:border-color .2s,box-shadow .2s,background .2s}
.idni-theme #order-standard_cart #paymentGatewaysContainer label.radio-inline:hover{border-color:rgba(36,67,155,.6)}
.idni-theme #order-standard_cart #paymentGatewaysContainer label.radio-inline:has(.checked),.idni-theme #order-standard_cart #paymentGatewaysContainer label.radio-inline:has(input:checked){border-color:var(--violet);background:var(--card2);box-shadow:0 0 0 3px rgba(36,67,155,.25)}
@media (max-width:575.98px){.idni-theme #order-standard_cart #paymentGatewaysContainer label.radio-inline{width:100%;justify-content:flex-start}}

/* Footer language links */
.idni-langs{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:22px;font-size:.88rem}
.idni-langs a{color:var(--muted)!important;text-decoration:none}
.idni-langs a:hover{color:var(--text)!important}
.idni-langs a[aria-current]{color:var(--text)!important;font-weight:600}

/* ---------- Markdown message editor (submitticket.php step 2 + viewticket.php reply) ----------
   Scoped to .md-editor so the global pill/gradient .btn styles above don't leak into the toolbar. */
.idni-theme .md-editor{background:var(--card2)!important;border:1.5px solid var(--line)!important;border-radius:14px;overflow:hidden;box-shadow:none}
.idni-theme .md-editor.active{border-color:var(--violet)!important;box-shadow:0 0 0 3px rgba(36,67,155,.3)!important}
.idni-theme .md-editor>.md-header.btn-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:4px 2px;margin:0;padding:6px 8px;background:var(--card2)!important;border-bottom:1px solid var(--line)}
.idni-theme .md-editor .btn-toolbar .btn-group{display:inline-flex;flex-wrap:nowrap;float:none;margin:0 8px 0 0}
.idni-theme .md-editor .md-header .btn,
.idni-theme .md-editor .md-header .btn-primary,
.idni-theme .md-editor .md-header .btn-default{
  display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:34px;height:34px;margin:0;padding:0 .55rem;
  background:transparent!important;border:1px solid transparent!important;border-radius:8px!important;box-shadow:none!important;transform:none!important;
  color:var(--text)!important;font-size:.88rem;font-weight:600;line-height:1;opacity:1}
.idni-theme .md-editor .md-header .btn span{color:inherit;font-size:.95rem}
.idni-theme .md-editor .md-header .btn:hover,.idni-theme .md-editor .md-header .btn:focus{background:rgba(30,28,36,.1)!important;color:#fff!important;outline:none}
.idni-theme .md-editor .md-header .btn:focus-visible{box-shadow:0 0 0 2px var(--violet)!important}
/* Preview: compact outlined toggle, not a gradient CTA */
.idni-theme .md-editor .md-header .btn[data-handler="bootstrap-markdown-cmdPreview"]{border-color:var(--line)!important;color:var(--mint)!important;padding:0 .75rem}
.idni-theme .md-editor .md-header .btn[data-handler="bootstrap-markdown-cmdPreview"]:hover{background:rgba(36,67,155,.1)!important}
.idni-theme .md-editor .md-header .btn.active,.idni-theme .md-editor .md-header .btn[aria-pressed="true"]{background:rgba(36,67,155,.28)!important;border-color:var(--violet)!important;color:#fff!important}
.idni-theme .md-editor .md-header .btn:disabled,.idni-theme .md-editor .md-header .btn.disabled{opacity:.4}
/* help (?) and fullscreen controls */
.idni-theme .md-editor .md-header .btn[data-handler="bootstrap-markdown-cmdHelp"]{color:var(--muted)!important}
.idni-theme .md-editor .md-header .btn[data-handler="bootstrap-markdown-cmdHelp"]:hover{color:#fff!important}
.idni-theme .md-editor .md-controls{float:none;margin-left:auto;padding:0;display:flex;align-items:center}
.idni-theme .md-editor .md-controls .md-control{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;padding:0;border-radius:8px;color:var(--muted)!important;text-decoration:none}
.idni-theme .md-editor .md-controls .md-control:hover{background:rgba(30,28,36,.1);color:#fff!important}
/* writing area + preview */
.idni-theme .md-editor>textarea.markdown-editor,.idni-theme .md-editor>textarea.md-input,.idni-theme .md-editor>.md-preview{
  display:block;width:100%;margin:0;padding:14px 16px!important;min-height:220px;
  background:rgba(238,232,218,.55)!important;color:var(--text)!important;border:0!important;border-radius:0!important;box-shadow:none!important;
  font-family:var(--font);font-size:1rem;line-height:1.6}
.idni-theme .md-editor>textarea.markdown-editor:focus{background:rgba(238,232,218,.7)!important;box-shadow:none!important}
.idni-theme .md-editor>textarea::placeholder{color:#7A746A}
.idni-theme .md-editor .md-footer{padding:4px 12px;background:var(--card2)!important;border-top:1px solid var(--line)}
.idni-theme .md-editor .markdown-editor-status{padding:0;color:var(--muted);font-size:.78rem}
/* fullscreen mode */
.idni-theme .md-editor.md-fullscreen-mode{background:var(--bg)!important;border-radius:0}
.idni-theme .md-editor.md-fullscreen-mode>.md-header.btn-toolbar{background:transparent!important;border:0;justify-content:center;left:0}
.idni-theme .md-editor.md-fullscreen-mode .md-input,.idni-theme .md-editor.md-fullscreen-mode .md-preview,
.idni-theme .md-editor.md-fullscreen-mode .md-input:focus,.idni-theme .md-editor.md-fullscreen-mode .md-input:hover{background:var(--bg2)!important;color:var(--text)!important;border-radius:12px!important}
.idni-theme .md-editor.md-fullscreen-mode .md-fullscreen-controls a{color:var(--muted)}
.idni-theme .md-editor.md-fullscreen-mode .md-fullscreen-controls a:hover{color:#F6F2E8}
/* rendered markdown (editor preview + ticket replies on viewticket.php) */
.idni-theme .md-preview h1,.idni-theme .md-preview h2,.idni-theme .md-preview h3,.idni-theme .md-preview h4,
.idni-theme .markdown-content h1,.idni-theme .markdown-content h2,.idni-theme .markdown-content h3,.idni-theme .markdown-content h4{color:var(--text)}
.idni-theme .md-preview pre,.idni-theme .markdown-content pre{background:var(--bg)!important;color:var(--text);border:1px solid var(--line);border-radius:10px}
.idni-theme .md-preview code,.idni-theme .markdown-content code{color:var(--mint)}
.idni-theme .md-preview blockquote,.idni-theme .markdown-content blockquote{border-left-color:var(--violet);color:var(--muted)}
.idni-theme .md-preview table,.idni-theme .markdown-content table{background:transparent;border-color:var(--line)}
.idni-theme .md-preview table>thead>tr>th,.idni-theme .markdown-content table>thead>tr>th{background:var(--card2);border-color:var(--line)}
.idni-theme .md-preview table>tbody>tr>td,.idni-theme .markdown-content table>tbody>tr>td{border-color:var(--line)}
@media (max-width:575.98px){
  .idni-theme .md-editor>.md-header.btn-toolbar{padding:6px}
  .idni-theme .md-editor .btn-toolbar .btn-group{margin-right:4px}
  .idni-theme .md-editor .md-header .btn{min-width:32px;height:32px;padding:0 .45rem}
}

/* ---------- file attachment inputs (ticket forms) ---------- */
.idni-theme .custom-file,.idni-theme .custom-file-input{height:44px}
.idni-theme .custom-file-label{
  height:44px;margin:0;padding:.55rem .9rem;line-height:1.75;font-weight:500;
  background:rgba(30,28,36,.05)!important;border:1.5px solid var(--line)!important;border-radius:12px!important;color:var(--text)!important;overflow:hidden}
.idni-theme .custom-file-label::after{
  top:0;bottom:0;height:auto;padding:.55rem .9rem;line-height:1.75;font-weight:600;
  background:var(--card2)!important;color:var(--text)!important;border-left:1.5px solid var(--line)!important;border-radius:0 10px 10px 0!important}
.idni-theme .custom-file-input:focus~.custom-file-label{border-color:var(--violet)!important;box-shadow:0 0 0 3px rgba(36,67,155,.3)!important}
.idni-theme .custom-file-input:hover~.custom-file-label::after{background:rgba(30,28,36,.12)!important}
.idni-theme .attachment-group>.input-group-append{margin-left:8px}
.idni-theme .attachment-group>.input-group-append>.btn{border-radius:999px!important;white-space:nowrap}
@media (max-width:575.98px){
  .idni-theme .attachment-group>.custom-file{flex:1 1 100%}
  .idni-theme .attachment-group>.input-group-append{margin:8px 0 0}
}

/* ===== IDNI review 2026-10-07: register / cart / checkout fixes ===== */
/* phone country flags: the stock sprite in twenty-one/img is an empty placeholder */
.idni-theme .iti-flag{background-image:url(../img/flags.png)!important}
@media (min-resolution:2x),(-webkit-min-device-pixel-ratio:2){.idni-theme .iti-flag{background-image:url(../img/flags@2x.png)!important;background-size:5630px 15px!important}}
/* placeholders hidden under the field icons (register, contact, details) */
.idni-theme .prepend-icon{position:relative}
.idni-theme .prepend-icon > .field,.idni-theme .prepend-icon > .form-control,.idni-theme .prepend-icon > .input-group > .form-control{padding-left:42px!important}
.idni-theme .prepend-icon .field-icon{width:42px!important;display:flex;align-items:center;justify-content:center;pointer-events:none}
/* fields that are optional for IDNI (company, address, city, state, postcode, phone): not shown */
.idni-theme .form-group:has(#inputCompanyName),.idni-theme .form-group:has(#inputAddress1),.idni-theme .form-group:has(#inputAddress2),.idni-theme .form-group:has(#inputCity),.idni-theme .form-group:has(#inputState),.idni-theme .form-group:has(#stateselect),.idni-theme .form-group:has(#inputPostcode),.idni-theme .form-group:has(#inputPhone){display:none!important}
/* captcha: bigger, easier to read image */
.idni-theme #inputCaptchaImage{width:150px;height:auto;min-height:36px;image-rendering:auto;border-radius:6px;background:#fff}
/* cart: group name repeats the product name */
.idni-theme #order-standard_cart .view-cart-items .item-group{display:none!important}
/* cart: "Continue Shopping" link was dark on dark */
.idni-theme #order-standard_cart .btn-continue-shopping,.idni-theme #order-standard_cart #continueShopping{color:var(--muted)!important;text-decoration:underline;font-weight:600}
.idni-theme #order-standard_cart .btn-continue-shopping:hover{color:var(--text)!important}
/* cart: promo code tab blends into its panel */
.idni-theme #order-standard_cart .view-cart-tabs .nav-tabs{border:0!important;margin:0}
.idni-theme #order-standard_cart .view-cart-tabs .nav-tabs .nav-link,.idni-theme #order-standard_cart .view-cart-tabs .nav-tabs a{border:0!important;border-radius:12px 12px 0 0!important;background:var(--card)!important;color:var(--text)!important;font-weight:700;font-size:14px;padding:10px 16px}
.idni-theme #order-standard_cart .view-cart-tabs .tab-content{border-radius:0 14px 14px 14px!important;border:1px solid var(--line)!important}
/* checkout: Stripe card fields use the full width */
.idni-theme #stripeElements .stripe-cards-inputs{flex:0 0 100%;max-width:100%;margin-left:0!important}
.idni-theme #stripeElements label{color:var(--muted);font-weight:600;font-size:13px}
.idni-theme #order-standard_cart #inputDescriptionContainer{flex:0 0 100%;max-width:100%;margin-left:0!important}
/* checkout: payment-method radios line up on phones */
.idni-theme #order-standard_cart #paymentGatewaysContainer .text-center{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}
.idni-theme #order-standard_cart #paymentGatewaysContainer label.radio-inline > div,.idni-theme #order-standard_cart #paymentGatewaysContainer label.radio-inline > input{flex:0 0 auto;margin:0!important}
/* checkout: order summary (hook idni_checkout_ux.php) */
.idni-theme .idni-checkout-summary{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:14px 18px;margin:8px 0 18px}
.idni-theme .idni-cs-head{display:flex;justify-content:space-between;align-items:center;font-weight:700;margin-bottom:6px}
.idni-theme .idni-cs-head a{font-size:13px;font-weight:600;color:var(--mint,#24439B)}
.idni-theme .idni-checkout-summary ul{list-style:none;margin:0;padding:0}
.idni-theme .idni-checkout-summary li{display:flex;flex-wrap:wrap;gap:4px 16px;align-items:baseline;padding:6px 0;border-top:1px solid var(--line)}
.idni-theme .idni-checkout-summary li:first-child{border-top:0}
.idni-theme .idni-checkout-summary li strong{flex:1 1 100%;color:var(--text)}
.idni-theme .idni-checkout-summary li span{color:var(--muted);font-size:14px}
/* store page: product feature bullets indent on phones */
.idni-theme #order-standard_cart .product ul,.idni-theme .products .product ul{padding-left:1.15em;margin-bottom:.6em}
/* client area: email-verification banner was light grey on near-white (button unreadable) */
.idni-theme .verification-banner{background:var(--card2)!important;border-bottom:1px solid var(--line)!important;color:var(--text)!important}
.idni-theme .verification-banner .fas,.idni-theme .verification-banner .btn.close{color:var(--muted)!important}
.idni-theme .verification-banner .btn-resend-verify-email{background:var(--card)!important;border:1px solid var(--line)!important;color:var(--text)!important;border-radius:999px}
/* account details: no domains, affiliates or extra contacts at IDNI */
.idni-theme label:has(> #domainEmails),.idni-theme label:has(> #affiliateEmails),.idni-theme .form-group:has(#inputBillingContact){display:none!important}

/* ---------- Team dropdown (IDNI Team clients only; hooks/idni_team_portal.php) ---------- */
.idni-team .dropdown-toggle{color:var(--muted)!important;text-decoration:none!important;font-weight:500;font-size:.95rem}
.idni-team .dropdown-toggle:hover,.idni-team.show .dropdown-toggle{color:var(--text)!important}
.idni-team .dropdown-menu{min-width:210px;border-radius:12px;padding:6px;margin-top:12px;box-shadow:none}
.idni-links .idni-team .dropdown-item{color:var(--text)!important;padding:9px 14px;border-radius:8px;font-weight:500}
.idni-links .idni-team .dropdown-item:hover,.idni-links .idni-team .dropdown-item:focus{background:var(--card2)!important}
@media (max-width:767.98px){
  .idni-team{border-top:1px solid var(--line)}
  .idni-links .idni-team .dropdown-toggle{display:block;padding:10px 0;border-top:0}
  .idni-team .dropdown-menu{position:static!important;transform:none!important;float:none;margin:0 0 8px;box-shadow:none;background:var(--bg2)!important}
  .idni-links .idni-team .dropdown-item{border-top:0;padding:10px 14px}
}


/* ===== Calm dark theme (2026-10): Option A, solid mint buttons, muted cards, no glows ===== */
.idni-theme .card{border-radius:12px!important;box-shadow:none!important;border:1px solid var(--line)!important}
.idni-theme .btn{border-radius:8px!important;transition:background-color .15s!important;transform:none!important}
.idni-theme .btn-primary,.idni-theme .btn-success,.idni-theme #order-standard_cart .btn-checkout,.idni-theme .btn-info{
  background:var(--accent)!important;border:1px solid var(--accent)!important;color:var(--on-accent)!important;box-shadow:none!important}
.idni-theme .btn-primary:hover,.idni-theme .btn-success:hover,.idni-theme #order-standard_cart .btn-checkout:hover,.idni-theme .btn-info:hover,
.idni-theme .btn-primary:focus,.idni-theme .btn-success:focus{background:var(--accent-dark)!important;border-color:var(--accent-dark)!important;color:var(--on-accent)!important;box-shadow:none!important;transform:none!important}
.idni-theme .btn-default,.idni-theme .btn-secondary,.idni-theme .btn-light,.idni-theme .btn-outline-primary,.idni-theme .btn-link.btn-default{background:transparent!important;border:1px solid var(--line-strong)!important}
.idni-theme .btn-default:hover,.idni-theme .btn-secondary:hover,.idni-theme .btn-light:hover,.idni-theme .btn-outline-primary:hover{background:var(--card2)!important}
.idni-theme #main-body::before{display:none!important}
.idni-header{background:var(--bg)!important}
.idni-theme .form-control:focus,.idni-theme select:focus{box-shadow:0 0 0 2px rgba(36,67,155,.35)!important}
.idni-theme #order-standard_cart .order-summary .total-due-today .amt{background:none!important;-webkit-text-fill-color:currentColor;color:var(--text)!important}
.idni-theme .dropdown-menu{box-shadow:none!important}
.idni-theme *{animation:none!important}

/* 2026-10 follow-up: higher-specificity guards so stale cached copies of custom.css can't bring back the old gradient theme */
html body.idni-theme .btn-primary,html body.idni-theme .btn-success,html body.idni-theme .btn-info,html body.idni-theme #order-standard_cart .btn-checkout{background:#24439B!important;background-image:none!important;border:1px solid #24439B!important;color:#F6F2E8!important;box-shadow:none!important;transform:none!important}
html body.idni-theme .btn-primary:hover,html body.idni-theme .btn-success:hover,html body.idni-theme .btn-info:hover,html body.idni-theme #order-standard_cart .btn-checkout:hover,html body.idni-theme .btn-primary:focus,html body.idni-theme .btn-info:focus{background:#1A3278!important;border-color:#1A3278!important;color:#F6F2E8!important}
html body.idni-theme .btn-default,html body.idni-theme .btn-secondary,html body.idni-theme .btn-light,html body.idni-theme .btn-outline-primary{background:transparent!important;border:1px solid #1E1C24!important;color:#1E1C24!important;box-shadow:none!important}
html body.idni-theme .btn-default:hover,html body.idni-theme .btn-secondary:hover,html body.idni-theme .btn-light:hover,html body.idni-theme .btn-outline-primary:hover{background:#E7E0CF!important}
html body.idni-theme .btn-warning{background:transparent!important;border:1px solid #1E1C24!important;color:#1E1C24!important}
html body.idni-theme .btn-danger{background:transparent!important;border:1px solid #9B2B2B!important;color:#7A1F1F!important}
html body.idni-theme .alert-danger,html body.idni-theme .alert-error{background:rgba(155,43,43,.10)!important;border-color:rgba(155,43,43,.35)!important}
html body.idni-theme .form-control:focus,html body.idni-theme select:focus,html body.idni-theme input:focus,html body.idni-theme textarea:focus,html body.idni-theme #order-standard_cart .field:focus{border-color:#24439B!important;box-shadow:0 0 0 2px rgba(36,67,155,.35)!important;outline:none}
html body.idni-theme #main-body::before{display:none!important;background:none!important}
html body.idni-theme .card,html body.idni-theme #order-standard_cart .panel,html body.idni-theme #order-standard_cart .order-summary{box-shadow:none!important;background-image:none!important}
html body.idni-theme #order-standard_cart .order-summary .total-due-today .amt{background:none!important;-webkit-text-fill-color:currentColor!important;color:#1E1C24!important}
html body.idni-theme .idni-header{background:#EEE8DA!important}
html body.idni-theme *{animation:none!important}

/* ===== Ledger theme (2026-10-17): paper, ink, cobalt; flat ruled panels to match idni.digital ===== */
@font-face{font-family:"Libre Caslon Text";font-style:normal;font-weight:400;font-display:swap;src:url(/home-assets/fonts/caslon-400.woff2) format("woff2")}
@font-face{font-family:"Libre Caslon Text";font-style:normal;font-weight:700;font-display:swap;src:url(/home-assets/fonts/caslon-700.woff2) format("woff2")}
@font-face{font-family:"Public Sans";font-style:normal;font-weight:100 900;font-display:swap;src:url(/home-assets/fonts/publicsans-var.woff2) format("woff2")}
html:root{--card:#F4EFE4;--card2:#E7E0CF;--line:#C9BFA8;--line-strong:#1E1C24}
html body.idni-theme{background:#EEE8DA!important;color:#1E1C24;font-family:var(--font)}
.idni-theme h1,.idni-theme h2,.idni-theme h3,.idni-theme .h1,.idni-theme .h2,.idni-theme .h3,.idni-theme .header-lined h1{font-family:var(--display)!important;font-weight:700!important;letter-spacing:0;color:#1E1C24}
.idni-theme h4,.idni-theme h5,.idni-theme h6{font-family:var(--font);font-weight:700}
.idni-theme a{color:#24439B}
.idni-theme a:hover{color:#1A3278}
html body.idni-theme .idni-header{background:#EEE8DA!important;border-bottom:1px solid #1E1C24!important}
.idni-logo-text{font-family:var(--display)!important;font-weight:700!important;letter-spacing:.08em}
.idni-links a{color:#1E1C24!important}
.idni-links a:hover{color:#24439B!important;text-decoration:underline!important}
.idni-links a.idni-pill,.idni-menu-btn{border:1px solid #1E1C24!important;border-radius:2px!important}
.idni-footer{border-top:1px solid #1E1C24!important;background:#EEE8DA!important}
html body.idni-theme .card,html body.idni-theme .panel,html body.idni-theme .list-group-item,html body.idni-theme .well,html body.idni-theme .modal-content,html body.idni-theme .dropdown-menu,
html body.idni-theme #order-standard_cart .product-info,html body.idni-theme #order-standard_cart .summary-container,html body.idni-theme #order-standard_cart .order-summary,html body.idni-theme .idni-checkout-summary,html body.idni-theme .tiles .tile{border-radius:0!important;box-shadow:none!important;border-color:#C9BFA8!important}
html body.idni-theme .card,html body.idni-theme #order-standard_cart .order-summary,html body.idni-theme #order-standard_cart .product-info,html body.idni-theme .idni-checkout-summary{border-top:2px solid #1E1C24!important}
html body.idni-theme .card-header,html body.idni-theme .card-footer,html body.idni-theme .modal-header,html body.idni-theme .modal-footer,html body.idni-theme #order-standard_cart .order-summary h2,html body.idni-theme #order-standard_cart .view-cart-items-header{background:transparent!important;border-radius:0!important}
html body.idni-theme #order-standard_cart .order-summary h2{font-size:1.15rem;border-bottom:1px solid #C9BFA8}
html body.idni-theme #order-standard_cart .view-cart-items-header{border:0!important;border-bottom:1px solid #1E1C24!important;font-size:.8rem;letter-spacing:.08em;text-transform:uppercase}
html body.idni-theme #order-standard_cart .order-summary .total-due-today .amt{font-family:var(--display)!important;font-weight:400!important;color:#1E1C24!important}
html body.idni-theme .btn{border-radius:2px!important;font-weight:600}
html body.idni-theme .btn-primary,html body.idni-theme .btn-success,html body.idni-theme .btn-info,html body.idni-theme #order-standard_cart .btn-checkout{background:#24439B!important;border:1px solid #24439B!important;color:#F6F2E8!important}
html body.idni-theme .btn-primary:hover,html body.idni-theme .btn-success:hover,html body.idni-theme .btn-info:hover,html body.idni-theme #order-standard_cart .btn-checkout:hover{background:#1A3278!important;border-color:#1A3278!important;color:#F6F2E8!important}
html body.idni-theme .btn-default,html body.idni-theme .btn-secondary,html body.idni-theme .btn-light,html body.idni-theme .btn-outline-primary,html body.idni-theme .btn-warning{border:1px solid #1E1C24!important;color:#1E1C24!important;background:transparent!important}
html body.idni-theme .btn-default:hover,html body.idni-theme .btn-secondary:hover,html body.idni-theme .btn-light:hover,html body.idni-theme .btn-outline-primary:hover{background:#1E1C24!important;color:#EEE8DA!important}
html body.idni-theme .form-control,html body.idni-theme .custom-select,html body.idni-theme select,html body.idni-theme input[type=text],html body.idni-theme input[type=email],html body.idni-theme input[type=password],html body.idni-theme input[type=tel],html body.idni-theme textarea,html body.idni-theme #order-standard_cart .field{background:#F8F5EE!important;border:1px solid #8A8274!important;border-radius:2px!important}
html body.idni-theme .form-control:focus,html body.idni-theme select:focus,html body.idni-theme input:focus,html body.idni-theme textarea:focus,html body.idni-theme #order-standard_cart .field:focus{border-color:#24439B!important;box-shadow:0 0 0 1px #24439B!important}
html body.idni-theme .alert{border-radius:0!important;border:0!important;border-left:3px solid #24439B!important;background:#F4EFE4!important;color:#1E1C24!important}
html body.idni-theme .alert-danger,html body.idni-theme .alert-error{border-left-color:#9B2B2B!important}
html body.idni-theme #order-standard_cart .sub-heading span,html body.idni-theme #order-standard_cart .sub-heading-borderless span{background:#EEE8DA!important;font-family:var(--font)!important;font-weight:700}
html body.idni-theme #order-standard_cart .sub-heading{border-color:#1E1C24!important}
html body.idni-theme #order-standard_cart .view-cart-tabs .nav-tabs a,html body.idni-theme #order-standard_cart .view-cart-tabs .nav-tabs .nav-link{border-radius:0!important;background:transparent!important;border-bottom:2px solid #1E1C24!important}
html body.idni-theme #order-standard_cart .view-cart-tabs .tab-content{border-radius:0!important;background:#F4EFE4!important}
html body.idni-theme #order-standard_cart .account-select-container div.account,html body.idni-theme #order-standard_cart #paymentGatewaysContainer label{border-radius:0!important}
html body.idni-theme .list-group-item.active{box-shadow:inset 3px 0 0 #24439B!important}
html body.idni-theme .badge{border-radius:0}
html body.idni-theme .label,html body.idni-theme .status{border-radius:0!important}
html body.idni-theme .idni-cc-link,html body.idni-theme .idni-footer button.idni-cc-link{color:#1E1C24!important}html body.idni-theme #order-standard_cart .order-summary .summary-container{border:0!important;border-top:0!important}
html body.idni-theme #order-standard_cart .form-control.StripeElement{background:#F8F5EE!important;border:1px solid #8A8274!important;border-radius:2px!important}
html body.idni-theme input[type=radio],html body.idni-theme input[type=checkbox]{accent-color:#24439B}
@media (max-width:575.98px){html body.idni-theme #order-standard_cart .already-registered .btn{display:block;width:100%;margin:10px 0 0!important;float:none!important}}
