body {background:#f3f5f8;color:#202b3c;}
#header.header {background:radial-gradient(ellipse at 78% 0%,#16374a 0%,transparent 55%),linear-gradient(120deg,#070d19,#111c2d);border-bottom:1px solid #26394e;}
#header .topbar {background:rgba(0,0,0,.2);border-bottom:1px solid rgba(255,255,255,.08);color:#c6d2e3;}
#header .topbar .btn,#header .topbar a {color:#dce6f3;}
#header .navbar,#header .main-navbar-wrapper {background:transparent;}
#header .domatic-header-logo {filter:invert(1);mix-blend-mode:screen;}
#header .navbar-brand {padding-top:5px;padding-bottom:5px;}
#header #nav > li > a {color:#e9eff8;font-weight:600;border-radius:8px;}
#header #nav > li > a:hover,#header #nav > li > a:focus {background:rgba(255,255,255,.09);color:#fff;}
#header .toolbar .btn {color:#e9eff8;border-color:#46566c;background:rgba(255,255,255,.04);}
#header .search .form-control {background:rgba(255,255,255,.06);border-color:#46566c;color:#fff;}
#header .search .form-control::placeholder {color:#bac8da;}
#header .search .btn {background:transparent;color:#bac8da;border-color:#46566c;}
.master-breadcrumb {background:#fff;border-bottom:1px solid #e4e9f0;color:#667085;}
.domatic-breadcrumb-row {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;column-gap:20px;}
.domatic-breadcrumb-row .breadcrumb {margin-bottom:0;}
.domatic-support-phone {display:inline-flex;align-items:center;gap:8px;margin-left:auto;padding:10px 0;color:#405a73;font-size:14px;line-height:1.5;white-space:nowrap;text-decoration:none;}
.domatic-support-phone i {font-size:12px;}
.domatic-support-phone strong {font-weight:600;color:#24364b;}
.domatic-support-phone:hover,.domatic-support-phone:focus {color:#24364b;text-decoration:underline;}
.domatic-support-phone:focus-visible {outline:2px solid #7193b4;outline-offset:3px;border-radius:2px;}
@media (max-width:575.98px) {.domatic-support-phone {font-size:13px;}}
#main-body {padding-top:30px;}
.domatic-welcome {margin:0 0 22px;}
.domatic-eyebrow {font-size:10px;letter-spacing:.16em;font-weight:700;color:#537087;margin-bottom:9px;}
.domatic-welcome h1 {font-size:27px;font-weight:650;letter-spacing:-.8px;color:#172335;margin:0 0 9px;line-height:1.25;}
.domatic-welcome p {font-size:14px;color:#66758a;margin:0;}
.domatic-actions {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:24px;}
.domatic-action {display:flex;align-items:center;gap:10px;padding:18px 14px;background:#fff;border:1px solid #dce4ed;border-radius:12px;color:#202f44;box-shadow:0 3px 12px rgba(24,40,64,.025);text-decoration:none;}
.domatic-action:hover,.domatic-action:focus {color:#172b45;text-decoration:none;border-color:#7193b4;box-shadow:0 5px 16px rgba(24,40,64,.08);}
.domatic-action strong {display:block;font-size:13px;font-weight:700;line-height:1.4;}
.domatic-action small {display:block;font-size:11px;color:#64748b;margin-top:4px;line-height:1.5;}
.domatic-action > .fa-arrow-right {font-size:10px;margin-left:auto;}
.domatic-action-icon {display:flex;align-items:center;justify-content:center;min-width:30px;height:34px;border-radius:9px;background:#edf3f9;color:#365d82;font-size:17px;}
.domatic-action-primary {background:#12283f;border-color:#12283f;color:#fff;}
.domatic-action-primary small {color:#c1d0df;}
.domatic-action-primary .domatic-action-icon {background:#233d57;color:#d2e7fa;}
.domatic-action-primary:hover,.domatic-action-primary:focus {background:#1c3753;color:#fff;}
.tiles {background:transparent;border:0;}
.tiles > .row {gap:10px;}
.tiles > .row > div {flex:1 1 0;max-width:none;}
.tiles > .row > div:nth-child(4) {order:-2;}
.tiles > .row > div:nth-child(3) {order:-1;}
.tiles .tile {border:1px solid #e0e6ee!important;border-radius:12px;background:#fff;padding:18px 20px;min-height:102px;box-shadow:0 3px 12px rgba(24,40,64,.025);}
.tiles .tile .stat {font-size:30px;font-weight:600;color:#182a40;}
.tiles .tile .title {font-size:10px;letter-spacing:.07em;color:#58677b;}
.tiles .tile i {font-size:33px;color:#d4dfeb;}
.tiles .tile .highlight {height:2px;opacity:.6;}
.card {border:1px solid #dfe6ee;border-radius:13px;box-shadow:0 3px 14px rgba(29,45,69,.025);overflow:hidden;}
.card-header {background:#fff;border-bottom:1px solid #e8edf3;padding:18px 20px;}
.card-header h3 {font-size:14px;font-weight:650;color:#243247;}
.card-body {color:#475569;}
.card-footer {background:#fafbfd;border-top:1px solid #edf1f5;}
.sidebar .card-header {padding:17px 19px;}
.sidebar .card-body {font-size:13px;line-height:1.7;}
.list-group-item {border-color:#edf1f5;}
.client-home-cards .list-group-item {padding-top:14px;padding-bottom:14px;font-size:13px;}
.btn {border-radius:8px;}
.btn-default {background:#fff;border-color:#d9e1eb;color:#34465c;}
.btn-default:hover {background:#edf3f9;color:#172c44;}
a:focus-visible,button:focus-visible {outline:3px solid #559bd5;outline-offset:3px;}
#footer.footer {background:#0c1422;color:#b6c2d3;border-top:1px solid #263347;}
@media(max-width:1199px){.domatic-actions{grid-template-columns:1fr;}.domatic-action{padding:14px 18px}.domatic-action small{font-size:12px}}
@media(max-width:767px){.domatic-welcome h1{font-size:24px}.tiles > .row{flex-wrap:wrap}.tiles > .row > div{flex:0 0 calc(50% - 5px)}#main-body{padding-top:20px}.domatic-action{min-height:76px}}
.master-breadcrumb .breadcrumb {background:transparent;}
@media(max-width:1199px){#header .main-navbar-wrapper{min-height:0;}#header .main-navbar-wrapper .navbar-collapse.show{padding:12px 0 18px;}#header .main-navbar-wrapper .navbar-collapse.collapsing{padding:12px 0;}}
@media(max-width:991px){.domatic-home #main-body > .container > .row > .primary-content{order:-1;}.domatic-home #main-body > .container > .row > .col-lg-4{margin-top:24px;}}
/* Calm blue for active services; other status colors retain their meaning. */
#servicesPanel .label-success {
    background:#e8f1fb;
    color:#285b8a;
    border:1px solid #cbdff2;
    border-radius:6px;
    padding:4px 9px;
    font-size:11px;
    font-weight:600;
    line-height:1.25;
    display:inline-block;
}
/* Shared positive-state palette throughout the portal. */
:root {--success:#285b8a;--success-lifted:#234f78;--success-accented:#1d4266;}
.label-success,.badge-success,.status-active,.status-paid,.status-completed,.status-open,.product-status-active {
 background:#e8f1fb!important;color:#285b8a!important;border:1px solid #cbdff2;border-radius:6px;
}
.label.status,.badge-success {padding:4px 9px;font-weight:600;}
.text-success {color:#285b8a!important;}
.bg-success,.bg-color-green {background-color:#285b8a!important;}
.border-success {border-color:#cbdff2!important;}
.alert-success,.list-group-item-success {background:#e8f1fb;border-color:#cbdff2;color:#285b8a;}
.alert-success .alert-link {color:#1d4266;}
.btn-success,.btn-outline-success {background:#e8f1fb;border-color:#cbdff2;color:#285b8a;}
.btn-success:hover,.btn-success:focus,.btn-success:not(:disabled):not(.disabled):active,.btn-outline-success:hover,.btn-outline-success:focus {background:#d5e6f7;border-color:#98bbdc;color:#1d4266;box-shadow:none;}
.domatic-ssl-label {display:inline-flex;flex-direction:column;align-items:center;gap:2px;font-size:10px;line-height:1.3;padding:5px 7px;border-radius:6px;border:1px solid #dfe5ec;color:#64748b;background:#f4f6f8;white-space:nowrap;}
.domatic-ssl-label strong {font-size:10px;font-weight:600;}
.domatic-ssl-label.is-detected {color:#285b8a;background:#e8f1fb;border-color:#cbdff2;}
img.domatic-ssl-replaced {display:none!important;}
body .sidebar .btn-success,body .primary-content .client-home-cards .card .btn-success {color:#fff;}
.domatic-transfer-lock {display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px;border:1px solid #dfe5ec;border-radius:10px;background:#f8fafc;}
.domatic-transfer-lock strong {font-size:14px;color:#243247;}
.domatic-transfer-lock p {margin:5px 0 0;font-size:12px;color:#64748b;}
.domatic-lock-state {padding:5px 12px;border-radius:6px;font-size:12px;font-weight:600;white-space:nowrap;}
.domatic-lock-state.is-on {background:#e8f1fb;color:#285b8a;border:1px solid #cbdff2;}
.domatic-lock-state.is-off {background:#f4eee4;color:#805e2a;border:1px solid #e8dcc7;}
#tabReglock .btn-lg {font-size:13px;padding:9px 16px;}
#tabReglock .btn-danger {background:#fff;color:#805e2a;border-color:#d8c5a5;}
/* Compact portal header, retaining comfortable navigation targets. */
#header .navbar-light {min-height:62px;}
#header .navbar-light > .container {margin-top:0!important;margin-bottom:0!important;}
#header .domatic-header-logo {width:190px!important;height:48px!important;}
#header .navbar-brand {padding-top:4px;padding-bottom:4px;}
#header .main-navbar-wrapper {min-height:48px;}
#header #nav > li > a {padding-top:12px;padding-bottom:12px;}
@media(max-width:1199px){#header .main-navbar-wrapper{min-height:0;}#header .navbar-light{min-height:68px;}}
.domatic-renew-state {display:inline-block;padding:6px 12px;min-width:44px;border-radius:6px;font-size:11px;line-height:1.3;font-weight:650;}
.domatic-renew-state.is-on {color:#285b8a;background:#e8f1fb;border:1px solid #cbdff2;}
.domatic-renew-state.is-off {color:#805e2a;background:#f4eee4;border:1px solid #e8dcc7;}
#tableDomainsList th:nth-child(2),#tableDomainsList td:nth-child(2) {white-space:nowrap;}

/* Hosting details lead; account metadata follows the control-panel action. */
.domatic-service-state {display:flex;justify-content:flex-end;margin-bottom:18px;}
.domatic-service-state .label {font-size:11px;letter-spacing:.04em;}
.domatic-service-account {margin-top:24px;padding-top:20px;border-top:1px solid #e5eaf0;}
.domatic-service-account .product-actions-wrapper {margin-top:18px;gap:8px;}

.domatic-ssl-control {font-size:13px;line-height:1.5;}
.domatic-ssl-status {display:inline-block;padding:3px 9px;border:1px solid #dfe5ec;border-radius:6px;background:#f4f6f8;color:#64748b;font-size:11px;font-weight:600;}
.domatic-ssl-control[data-state="active"] .domatic-ssl-status {background:#e8f1fb;color:#285b8a;border-color:#cbdff2;}
.domatic-ssl-control[data-state="expired"] .domatic-ssl-status,.domatic-ssl-control[data-state="invalid"] .domatic-ssl-status {background:#f4eee4;color:#805e2a;border-color:#e8dcc7;}
.domatic-ssl-enable {margin-left:7px;font-size:11px;}
.domatic-ssl-message {margin:6px 0 0;color:#64748b;font-size:12px;}
.domatic-ssl-renew {margin:3px 0 0;color:#285b8a;font-size:12px;}
.domatic-ssl-confirm {margin-top:10px;padding:12px;background:#f8fafc;border:1px solid #dfe5ec;border-radius:7px;}
.domatic-ssl-confirm p {margin:0 0 10px;}
.domatic-ssl-help {display:inline-block;margin-top:6px;font-size:12px;}
.domatic-ssl-control [hidden] {display:none!important;}

/* Readable product-order actions, overriding the parent cart's dark fill. */
#order-standard_cart .products .btn-order-now {
 background:#e8f1fb!important;color:#172335!important;border:1px solid #cbdff2!important;
 border-radius:8px;font-weight:600;box-shadow:none;
}
#order-standard_cart .products .btn-order-now:hover,
#order-standard_cart .products .btn-order-now:focus,
#order-standard_cart .products .btn-order-now:active {
 background:#d5e6f7!important;color:#101820!important;border-color:#98bbdc!important;
}
