
/* Shared storefront and client-portal design. Native Bootstrap behaviour is preserved. */
body.dyd-theme{--dyd-primary:#016a96;--dyd-ink:#1c2227;--dyd-muted:#55626e;background:#f4f7f9;color:var(--dyd-ink);font-family:system-ui,-apple-system,"Segoe UI",sans-serif}
.dyd-theme a{color:#016a96}
.dyd-sitebar{background:#fff;border-bottom:1px solid #dfe6eb}
.dyd-sitebar-inner{max-width:1120px;width:92%;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 0}
.dyd-brand img{width:240px;max-width:100%;height:auto}
.dyd-sitebar nav{display:flex;gap:25px;align-items:center;flex-wrap:wrap}
.dyd-sitebar nav a{font-weight:650;color:#1c2227;text-decoration:none}
.dyd-sitebar nav a:hover{text-decoration:underline}
.dyd-sitebar nav .dyd-account{background:#016a96;color:#fff;padding:12px 18px;border-radius:10px}
.dyd-theme .dyd-native-logo{display:none}
.dyd-theme .header{background:transparent;min-height:0;padding:0;border:0}
.dyd-theme .header .container-md{min-height:0}
.dyd-theme .header .top-nav,.dyd-theme .header .badge{margin-top:10px;margin-bottom:10px}
.dyd-theme .nav-content{background:#fff;border-bottom:1px solid #dfe6eb}
.dyd-theme .navbar{background:#fff!important;max-width:1160px;margin:auto}
.dyd-theme .navbar-dark .navbar-nav .nav-link{color:#1c2227}
.dyd-theme .navbar-dark .navbar-nav .active>.nav-link,.dyd-theme .navbar-dark .navbar-nav .nav-link:hover{color:#016a96;background:#e6f2f7;border-radius:8px}
.dyd-theme .navbar-toggler{background:#016a96;border-color:#016a96}
.dyd-theme .title{background:#0b2230;border:0;padding:30px 0;margin-bottom:28px}
.dyd-theme .title h3{color:#fff;font-weight:800;letter-spacing:-.04em}
.dyd-theme .card,.dyd-theme .card-blesta{border:1px solid #dfe6eb;border-radius:15px;box-shadow:0 4px 16px #0b22300a;overflow:visible}
.dyd-theme .card-header{background:#fff;color:#1c2227;border-bottom:1px solid #dfe6eb;border-radius:15px 15px 0 0;font-weight:700}
.dyd-theme .card-body{color:#1c2227}
.dyd-theme .btn{border-radius:9px;font-weight:650}
.dyd-theme .btn-primary{background:#016a96;border-color:#016a96;color:#fff}
.dyd-theme .btn-primary:hover,.dyd-theme .btn-primary:focus{background:#014e6f;border-color:#014e6f;color:#fff}
.dyd-theme .btn-outline-primary{color:#016a96;border-color:#016a96}
.dyd-theme .btn-outline-primary:hover{background:#016a96;color:#fff}
.dyd-theme .form-control,.dyd-theme .custom-select{border-color:#cfd9e0;border-radius:8px}
.dyd-theme .form-control:focus{border-color:#016a96;box-shadow:0 0 0 .2rem #016a9624}
.dyd-theme .table thead th{background:#f4f7f9;border-bottom-color:#dfe6eb}
.dyd-theme .list-group-item.active,.dyd-theme .page-item.active .page-link{background:#016a96;border-color:#016a96;color:#fff}
.dyd-theme .dropdown-item.active,.dyd-theme .dropdown-item:active{background:#016a96;color:#fff}
.dyd-theme .login{padding-top:38px}
.dyd-theme .footer{margin-top:40px;color:#55626e}
.dyd-footer-links{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:15px;padding:25px 0;border-top:1px solid #dfe6eb}
.dyd-theme a:focus-visible,.dyd-theme button:focus-visible{outline:3px solid #016a96;outline-offset:3px}
@media(max-width:767px){.dyd-sitebar-inner{align-items:flex-start;flex-direction:column;gap:18px}.dyd-sitebar nav{gap:16px;font-size:14px}.dyd-brand img{width:215px}.dyd-theme .title{padding:20px 0}.dyd-footer-links{justify-content:flex-start}}

/* v1.1: explicit foreground/background pairs override Blesta's theme priorities. */
body.dyd-theme{--dyd-primary:#016a96}
.dyd-theme a:where(:not(.btn):not(.nav-link):not(.dropdown-item):not(.list-group-item):not(.page-link):not(.badge)){color:#016a96}
.dyd-theme a:where(:not(.btn):not(.nav-link):not(.dropdown-item):not(.list-group-item):not(.page-link):not(.badge)):hover{color:#014e6f}
.dyd-theme .nav-content{background:#0b2230;border-color:#0b2230}
.dyd-theme .nav-content nav.navbar{background:#0b2230!important}
.dyd-theme .nav-content nav.navbar .navbar-nav>li>a{color:#fff!important}
.dyd-theme .nav-content nav.navbar .navbar-nav>li>a:hover,
.dyd-theme .nav-content nav.navbar .navbar-nav>li>a:focus,
.dyd-theme .nav-content nav.navbar .navbar-nav>.active>a,
.dyd-theme .nav-content nav.navbar .navbar-nav>.show>a{color:#fff!important;background:#016a96;border-radius:8px}
.dyd-theme .nav-content nav.navbar .navbar-nav .dropdown-menu .dropdown-item{color:#016a96!important;background:#fff}
.dyd-theme .nav-content nav.navbar .navbar-nav .dropdown-menu .dropdown-item:hover,
.dyd-theme .nav-content nav.navbar .navbar-nav .dropdown-menu .dropdown-item:focus{color:#014e6f!important;background:#e6f2f7}
.dyd-theme .nav-tabs{border-bottom:2px solid #016a96;gap:3px}
.dyd-theme .nav-tabs .nav-link,
.dyd-theme .nav-pills .nav-link{color:#016a96;background:#eef5f8;border:1px solid #a9c6d3;font-weight:650}
.dyd-theme .nav-tabs .nav-link:hover,
.dyd-theme .nav-tabs .nav-link:focus,
.dyd-theme .nav-pills .nav-link:hover,
.dyd-theme .nav-pills .nav-link:focus{color:#014e6f;background:#d5e9f1;border-color:#016a96}
.dyd-theme .nav-tabs .nav-link.active,
.dyd-theme .nav-tabs .nav-item.show .nav-link,
.dyd-theme .nav-pills .nav-link.active{color:#fff;background:#016a96;border-color:#016a96}
.dyd-theme .nav-tabs .nav-link.disabled,
.dyd-theme .nav-pills .nav-link.disabled{color:#596575;background:#eef0f3;border-color:#bdc5cf}
.dyd-theme .card-blesta>.card-header{color:#fff;background:#0b2230;border-bottom-color:#0b2230}
.dyd-theme .card-blesta>.card-header a:not(.btn){color:#fff}
.dyd-theme .card-blesta>.card-header a:not(.btn):hover{color:#fff;text-decoration:underline}
.dyd-theme .card-blesta>.card-header .dropdown-menu a.dropdown-item{color:#016a96!important;background:#fff}
.dyd-theme .card-blesta>.card-header .dropdown-menu a.dropdown-item:hover{color:#014e6f!important;background:#e6f2f7}
.dyd-theme .list-group-item{color:#016a96;background:#fff}
.dyd-theme a.list-group-item:hover,
.dyd-theme a.list-group-item:focus{color:#014e6f;background:#e6f2f7!important}
.dyd-theme a.list-group-item.active,
.dyd-theme a.list-group-item.active:hover,
.dyd-theme a.list-group-item.active:focus{color:#fff;background:#016a96!important;border-color:#016a96}
.dyd-theme .list-group-item h4{color:inherit!important}
.dyd-theme .btn-primary,.dyd-theme a.btn-primary{color:#fff!important;background:#016a96!important;border-color:#016a96!important}
.dyd-theme .btn-primary:hover,.dyd-theme .btn-primary:focus{color:#fff!important;background:#014e6f!important;border-color:#014e6f!important}
.dyd-theme .btn-outline-primary{color:#016a96!important;border-color:#016a96!important;background:transparent}
.dyd-theme .btn-outline-primary:hover,.dyd-theme .btn-outline-primary:focus{color:#fff!important;background:#016a96!important}
.dyd-theme .page-link{color:#016a96;background:#fff}
.dyd-theme .page-item.active .page-link{color:#fff;background:#016a96;border-color:#016a96}
.dyd-theme .page-item.disabled .page-link{color:#596575;background:#eef0f3}
.dyd-theme .top-nav .dropdown a.dropdown-toggle,
.dyd-theme .top-nav .dropdown a.dropdown-toggle:hover,
.dyd-theme .top-nav .dropdown a.dropdown-toggle:focus{color:#016a96!important}
.dyd-theme .dyd-sitebar nav a.dyd-account{color:#fff;background:#016a96}
.dyd-theme .dyd-sitebar nav a.dyd-account:hover{color:#fff;background:#014e6f}
.dyd-theme a:focus-visible,.dyd-theme button:focus-visible{outline:3px solid #b65300;outline-offset:3px}

/* v1.2: matches the public website (logo blue #016a96, teal #02989d, navy #0b2230). */
body.dyd-theme{--dyd-primary:#016a96;font-family:"Segoe UI",system-ui,-apple-system,"Helvetica Neue",Arial,sans-serif}
.dyd-sitebar-inner{max-width:1160px;padding:14px 0}
.dyd-brand img{width:218px;height:auto;display:block}
.dyd-sitebar nav{gap:6px}
.dyd-sitebar nav a{font-weight:600;font-size:15.5px;padding:9px 13px;border-radius:8px}
.dyd-sitebar nav a:hover{background:#f4f7f9;text-decoration:none}
.dyd-theme .dyd-sitebar nav a.dyd-account{margin-left:8px;padding:11px 17px;border-radius:9px}
.dyd-theme .title{height:auto;padding:16px 0}
.dyd-theme .title h3{display:block;margin:0 15px;line-height:1.3}
.dyd-theme .btn-success{background:#016a96!important;border-color:#016a96!important;color:#fff!important}
.dyd-theme .btn-success:hover,.dyd-theme .btn-success:focus{background:#014e6f!important;border-color:#014e6f!important}
.dyd-theme .package-block.active h3,.dyd-theme .section-title h3{color:#0b2230}
.dyd-theme .slider-selection,.dyd-theme .slider-handle{background:#016a96}
.dyd-footer-links span{display:flex;flex-wrap:wrap;gap:6px 20px}
.dyd-footer-links strong{color:#0b2230}
@media(max-width:767px){.dyd-sitebar nav{gap:2px}.dyd-sitebar nav a{padding:7px 9px;font-size:14px}.dyd-theme .dyd-sitebar nav a.dyd-account{margin-left:0}}
