/* *****************************************************

    ** Custom Stylesheet **

    Page-Zone WHMCS theme overrides to match the main
    site design at /css/style.css.

***************************************************** */

/* --------------------------------------------------------------------------
   General layout
   -------------------------------------------------------------------------- */

html {
    font-size: 16px;
}

body {
    background: var(--white);
    font-size: 16px;
}

/* Match the main site container width/padding instead of Bootstrap's 1170px */
.container {
    width: auto !important;
    max-width: 1200px !important;
    padding-right: 20px !important;
    padding-left: 20px !important;
    margin-right: auto;
    margin-left: auto;
}

#main-body {
    padding: 48px 0;
}

@media (max-width: 767px) {
    #main-body {
        padding: 32px 0;
    }
}

/* --------------------------------------------------------------------------
   Page header / title area
   -------------------------------------------------------------------------- */

.header-lined {
    background: linear-gradient(135deg, #1A3194, #43a1d3);
    color: var(--white);
    padding: 44px 28px;
    text-align: center;
    margin: 0 0 32px;
    border-radius: var(--radius);
}

.header-lined h1,
div.header-lined h1 {
    margin: 0 0 8px;
    padding: 0;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white);
    border: none;
}

.header-lined h1 small,
div.header-lined h1 small {
    color: #d3dde2;
    font-size: 1.1rem;
    display: block;
    margin-top: 6px;
    font-weight: 400;
    white-space: normal;
    overflow: visible;
}

/* Background header variants for Knowledgebase and Announcements pages */
.header-lined-knowledgebase,
.header-lined-announcements {
    background:
        url("/img/knowledgebase-header-bg.svg") no-repeat center center / cover,
        linear-gradient(135deg, #1A3194, #43a1d3);
    padding: 64px 28px;
}

.header-lined-announcements {
    background:
        url("/img/announcements-header-bg.svg") no-repeat center center / cover,
        linear-gradient(135deg, #1A3194, #43a1d3);
}

.page-breadcrumb {
    background: var(--bg-soft);
    border-bottom: 1px solid var(--border);
    padding: 14px 20px;
    text-align: center;
}

.page-breadcrumb .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
}

.page-breadcrumb .breadcrumb > li,
.page-breadcrumb .breadcrumb > .active,
.page-breadcrumb .breadcrumb a {
    color: var(--muted);
}

.page-breadcrumb .breadcrumb > li + li::before {
    content: "\203A";
    padding: 0 8px;
    color: var(--muted);
}

.page-breadcrumb .breadcrumb a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

@media (max-width: 767px) {
    .header-lined {
        padding: 32px 20px;
    }

    .header-lined-knowledgebase,
    .header-lined-announcements {
        padding: 48px 20px;
    }

    .header-lined h1 {
        font-size: 1.7rem;
    }
}

/* --------------------------------------------------------------------------
   Header dropdown scoping (reset global Bootstrap dropdown-menu, scope site
   dropdown styles to the site header nav only).
   -------------------------------------------------------------------------- */

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    list-style: none;
    font-size: 14px;
    text-align: left;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
}

.dropdown-menu.open,
.open > .dropdown-menu {
    display: block;
}

.site-header .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    box-shadow: var(--shadow);
    padding: 6px 0;
    margin: 4px 0 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
    display: block;
}

.site-header .nav-menu > li:hover > .dropdown-menu,
.site-header .nav-menu > li:focus-within > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.site-header .dropdown-menu a {
    padding: 8px 18px;
    border-radius: 0;
    color: var(--ink);
    font-weight: 500;
}

.site-header .dropdown-menu a:hover {
    background: var(--bg-soft);
    color: var(--primary-dark);
}

.site-header .dropdown-header {
    display: block;
    padding: 8px 18px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--muted);
    pointer-events: none;
    white-space: nowrap;
}

.site-header .dropdown-divider {
    height: 1px;
    margin: 6px 0;
    background: var(--border);
    list-style: none;
    padding: 0;
    overflow: hidden;
}

.site-header .nav-menu > li > a,
.site-header .nav-menu > li > button {
    font-size: 0.95rem;
    font-weight: 500;
}

.site-header .nav-menu .btn-logged-in-admin {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.site-header .nav-menu .btn-logged-in-admin:hover,
.site-header .nav-menu .btn-logged-in-admin:focus,
.site-header .nav-menu .btn-logged-in-admin:active {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
}

/* --------------------------------------------------------------------------
   Footer overrides so WHMCS matches the static site
   -------------------------------------------------------------------------- */

.site-footer .footer-cols h4 {
    color: var(--white);
    margin: 0 0 14px;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.site-footer .footer-cols .footer-nav-header {
    display: block;
    padding: 10px 0 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #8b979f;
    pointer-events: none;
    user-select: none;
    cursor: default;
}

.site-footer .footer-cols .footer-nav-divider {
    height: 1px;
    margin: 8px 0;
    background: #39434b;
    list-style: none;
    padding: 0;
    overflow: hidden;
}

.site-header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--white);
}

.site-header-wrapper .site-header {
    position: relative;
    top: auto;
}

.site-header .container.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 115px;
    width: auto;
    max-width: 1200px;
    padding: 0 20px;
    margin: 0 auto;
    transition: min-height 0.25s ease;
    position: relative;
}

.top-bar {
    position: absolute;
    top: 2px;
    right: 20px;
    z-index: 101;
}

.top-nav {
    display: flex;
    align-items: center;
    gap: 14px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.75rem;
    line-height: 1.3;
}

.top-nav > li {
    position: relative;
}

.top-nav a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--muted);
    padding: 2px 0;
}

.top-nav a:hover,
.top-nav a:focus {
    color: var(--primary-dark);
    text-decoration: none;
}

.top-nav .caret {
    display: inline-block;
    width: 0;
    height: 0;
    border-top: 4px solid currentColor;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
}

.top-nav .label {
    font-size: 0.65rem;
    padding: 2px 5px;
}

#languageChooserContent ul,
#languageChooserContent li {
    list-style: none;
    margin: 0;
    padding: 0;
}

#languageChooserContent a {
    display: block;
    padding: 6px 12px;
    color: var(--ink);
    white-space: nowrap;
}

#languageChooserContent a:hover {
    background: var(--bg-soft);
    text-decoration: none;
}

/* Reset the main site .nav flex layout for Bootstrap nav components */
.nav:not(.container) {
    display: block;
    min-height: auto;
    justify-content: initial;
    align-items: initial;
    gap: initial;
}

.site-header .container.nav .logo img {
    display: block;
    max-height: 115px;
    max-width: 300px;
    width: auto;
    transition: max-height 0.25s ease;
}

.site-header.shrunk .container.nav {
    min-height: 68px !important;
}

.site-header.shrunk .container.nav .logo img {
    max-height: 60px !important;
}

.site-header.shrunk .top-bar {
    display: none;
}

@media (max-width: 900px) {
    .site-header .container.nav {
        min-height: 80px;
    }

    .site-header .container.nav .logo img {
        max-height: 70px;
    }

    .top-bar {
        top: 0;
        right: 16px;
    }

    .top-nav {
        font-size: 0.7rem;
        gap: 10px;
    }

    .site-header.shrunk .container.nav {
        min-height: 60px !important;
    }

    .site-header.shrunk .container.nav .logo img {
        max-height: 50px !important;
    }

    .site-header .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        padding: 0 0 0 16px;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin: 0;
    }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
    font-weight: 600;
    border-radius: 6px;
    border-width: 2px;
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    transition: background 0.2s ease, color 0.2s ease, transform 0.1s ease, border-color 0.2s ease;
}

.btn:hover,
.btn:focus,
.btn:active {
    transform: translateY(-1px);
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.btn-primary {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.btn-default {
    background: #3d9acd;
    border-color: #3d9acd;
    color: var(--white);
}

.btn-default:hover,
.btn-default:focus,
.btn-default:active,
.btn-default.active {
    background: #193194;
    border-color: #193194;
    color: var(--white);
}

.btn-success {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
}

.btn-success:hover,
.btn-success:focus,
.btn-success:active,
.btn-success.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.btn-danger {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active,
.btn-danger.active {
    background: #d94440;
    border-color: #d94440;
    color: var(--white);
}

.btn-warning {
    background: #f0ad4e;
    border-color: #f0ad4e;
    color: var(--white);
}

.btn-info {
    background: #5bc0de;
    border-color: #5bc0de;
    color: var(--white);
}

.btn-link {
    background: transparent;
    border-color: transparent;
    color: var(--primary-dark);
}

.btn-link:hover,
.btn-link:focus,
.btn-link:active {
    background: transparent;
    border-color: transparent;
    color: var(--primary);
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.form-control {
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 12px 14px;
    font-size: 1rem;
    box-shadow: none;
    height: auto;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-soft);
}

.has-error .form-control,
.has-error .form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(244, 92, 87, 0.15);
}

.input-group .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group-btn:last-child > .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* --------------------------------------------------------------------------
   Panels
   -------------------------------------------------------------------------- */

.panel {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background: var(--white);
    margin-bottom: 24px;
}

.panel-heading {
    background: var(--bg-soft);
    border-bottom: 1px solid var(--border);
    border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;
    padding: 16px 18px;
}

.panel-title {
    font-size: 1.05rem;
    font-weight: 600;
}

.panel-body {
    padding: 18px;
}

.panel-footer {
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
    padding: 12px 18px;
}

.panel-primary {
    border-color: var(--primary);
}

.panel-primary > .panel-heading {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* Keep clientarea dashboard panel heading heights/borders aligned even when
   titles such as "Domain Registrations" wrap to two lines. */
.client-home-panels .panel-heading {
    min-height: 70px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
}

.client-home-panels .panel-title {
    margin: 0;
    width: 100%;
    line-height: 1.35;
}

/* --------------------------------------------------------------------------
   List groups
   -------------------------------------------------------------------------- */

.list-group-item {
    border-color: var(--border);
    padding: 12px 16px;
}

a.list-group-item.active,
a.list-group-item.active:hover,
a.list-group-item.active:focus {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

a.list-group-item:hover {
    background: var(--bg-soft);
}

/* --------------------------------------------------------------------------
   Alerts
   -------------------------------------------------------------------------- */

.alert {
    border: 1px solid transparent;
    border-radius: var(--radius);
    padding: 14px 18px;
}

.alert-info {
    background: var(--primary-soft);
    border-color: #d0eaf6;
    color: #0e5077;
}

.alert-success {
    background: #e6f7ed;
    border-color: #c3e9d4;
    color: #157a3e;
}

.alert-warning {
    background: #fff8e6;
    border-color: #f9e8b8;
    color: #8a6d3b;
}

.alert-danger {
    background: #ffeeed;
    border-color: #f9d0ce;
    color: #a94442;
}

/* --------------------------------------------------------------------------
   Tables
   -------------------------------------------------------------------------- */

.table {
    border-collapse: collapse;
}

.table > thead > tr > th {
    border-bottom: 2px solid var(--border);
    font-weight: 600;
    color: var(--ink);
    padding: 12px;
}

.table > tbody > tr > td,
.table > tbody > tr > th,
.table > tfoot > tr > td,
.table > tfoot > tr > th {
    border-top: 1px solid var(--border);
    padding: 12px;
}

.table-striped > tbody > tr:nth-of-type(odd) {
    background: #fafbfc;
}

/* --------------------------------------------------------------------------
   Pagination
   -------------------------------------------------------------------------- */

.pagination > li > a,
.pagination > li > span {
    color: var(--primary-dark);
    border: 1px solid var(--border);
    padding: 8px 14px;
}

.pagination > li > a:hover,
.pagination > li > span:hover,
.pagination > li > a:focus,
.pagination > li > span:focus {
    background: var(--bg-soft);
    color: var(--primary-dark);
    border-color: var(--border);
}

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* --------------------------------------------------------------------------
   Badges / labels
   -------------------------------------------------------------------------- */

.label {
    border-radius: 999px;
    padding: 4px 8px;
    font-size: 0.75rem;
    font-weight: 600;
}

.label-info {
    background: var(--primary);
}

.label-success {
    background: #1f9d52;
}

.label-warning {
    background: #f0ad4e;
}

.label-danger {
    background: var(--accent);
}

.badge {
    background: var(--primary);
    border-radius: 999px;
}

/* --------------------------------------------------------------------------
   Homepage shortcuts
   -------------------------------------------------------------------------- */

.home-shortcuts {
    background: var(--bg-soft);
    border-bottom: 1px solid var(--border);
    padding: 28px 0;
    color: var(--ink);
}

.home-shortcuts ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.home-shortcuts li {
    flex: 1 1 140px;
    max-width: 160px;
    float: none;
    width: auto;
    border: none;
    padding: 0;
}

.home-shortcuts li a {
    display: block;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 18px 12px;
    text-align: center;
    color: var(--ink);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.home-shortcuts li a:hover {
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(35, 42, 49, 0.12);
    border-color: var(--primary);
}

.home-shortcuts li:first-child,
.home-shortcuts li:last-child {
    border: none;
}

.home-shortcuts li a i {
    display: block;
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.home-shortcuts li a p {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 600;
    text-transform: none;
}

.home-shortcuts li a p span {
    color: var(--primary);
}

.domain-search .domain-form {
    justify-content: center;
}

.domain-search .form-control {
    max-width: 360px;
}

/* --------------------------------------------------------------------------
   Client area home tiles
   -------------------------------------------------------------------------- */

.tiles .row {
    display: flex;
    flex-wrap: wrap;
}

.tiles .tile {
    display: flex;
}

.tiles .tile a {
    display: flex;
    flex-direction: column;
    flex: 1;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px 16px;
    text-align: center;
    color: var(--ink);
    margin-bottom: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tiles .tile a:hover {
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(35, 42, 49, 0.12);
}

.tiles .tile .icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.tiles .tile .stat {
    font-size: 2rem;
    font-weight: 700;
}

.tiles .tile .title {
    color: var(--muted);
    font-size: 0.9rem;
}

.tiles .tile .highlight {
    margin-top: auto;
}

.home-kb-search {
    position: relative;
    margin: 24px 0;
}

.home-kb-search i {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
}

/* --------------------------------------------------------------------------
   Sidebar
   -------------------------------------------------------------------------- */

.sidebar .panel-heading {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.sidebar .panel-title {
    color: var(--white);
}

/* --------------------------------------------------------------------------
   Notification popover
   -------------------------------------------------------------------------- */

#accountNotificationsContent {
    min-width: 260px;
}

#accountNotificationsContent .client-alerts {
    list-style: none;
    margin: 0;
    padding: 0;
}

#accountNotificationsContent .client-alerts li {
    border-bottom: 1px solid var(--border);
}

#accountNotificationsContent .client-alerts li:last-child {
    border-bottom: none;
}

#accountNotificationsContent .client-alerts li a {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 10px 12px;
    color: var(--ink);
    white-space: normal;
}

#accountNotificationsContent .client-alerts li a:hover {
    background: var(--bg-soft);
    text-decoration: none;
}

#accountNotificationsContent .client-alerts li.none {
    padding: 12px;
    color: var(--muted);
}

/* --------------------------------------------------------------------------
   Bootstrap modal reset (keep Bootstrap modal behavior, style to match site)
   -------------------------------------------------------------------------- */

.modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    background-color: #000;
}

.modal-backdrop.fade {
    opacity: 0;
}

.modal-backdrop.fade.in {
    opacity: 0.5;
}

.modal {
    display: none;
    overflow: hidden;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    -webkit-overflow-scrolling: touch;
    outline: 0;
    background: transparent;
    border-radius: 0;
    max-width: none;
    width: auto;
    box-shadow: none;
}

.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto;
}

.modal-dialog {
    max-width: 600px;
    margin: 30px auto;
}

.modal-content {
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: none;
}

.modal-header {
    padding: 16px 18px;
    border-bottom: 1px solid var(--border);
}

.modal-title {
    font-size: 1.15rem;
    font-weight: 600;
}

.modal-body {
    padding: 18px;
}

.modal-footer {
    padding: 12px 18px;
    border-top: 1px solid var(--border);
}

/* Site login modal */
#login-modal.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(35, 42, 49, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 200;
    padding: 20px;
    opacity: 1;
}

#login-modal.modal-backdrop.open {
    display: flex;
}

#login-modal .modal,
#redirect-modal .modal,
#support-login-modal .modal {
    display: block;
    position: relative;
    background: var(--white);
    border-radius: 10px;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: auto;
    overflow: visible;
}

#redirect-modal.modal-backdrop,
#support-login-modal.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(35, 42, 49, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 200;
    padding: 20px;
    opacity: 1;
}

#redirect-modal.modal-backdrop.open,
#support-login-modal.modal-backdrop.open {
    display: flex;
}

/* --------------------------------------------------------------------------
   Login page container
   -------------------------------------------------------------------------- */

.logincontainer {
    max-width: 520px;
    margin: 0 auto;
}

.logincontainer .header-lined {
    margin-left: 0;
    margin-right: 0;
    border-radius: var(--radius);
}

/* --------------------------------------------------------------------------
   Announcements / homepage content
   -------------------------------------------------------------------------- */

.announcement-single {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 22px;
    margin-bottom: 22px;
}

.announcement-single h3 {
    margin: 0 0 12px;
    font-size: 1.1rem;
}

.announcement-single h3 .label {
    margin-right: 8px;
    font-weight: 600;
}

.announcement-single blockquote {
    border-left: 4px solid var(--primary);
    margin: 0;
    padding: 0 0 0 16px;
    color: var(--muted);
}

.announcement-single blockquote p {
    margin: 0;
}

.announcement-single img {
    max-width: 100%;
    max-height: 120px;
    width: auto;
    height: auto;
}

/* --------------------------------------------------------------------------
   Misc fixes
   -------------------------------------------------------------------------- */

.well {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: none;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
    border-top-color: var(--primary);
    border-top-width: 3px;
    color: var(--primary-dark);
    font-weight: 600;
}

.nav-tabs > li > a:hover {
    background: var(--bg-soft);
    border-color: var(--border);
}

.progress-bar {
    background: var(--primary);
}

/* --------------------------------------------------------------------------
   Server status page - checkmark style status indicators
   (matches the .ticklist checkmark style on /web-site-hosting/)
   -------------------------------------------------------------------------- */

.status-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
}

.status-icon.status-up {
    background: #43a1d3;
}

.status-icon.status-up::before {
    content: "\2713";
}

.status-icon.status-down {
    background: var(--accent);
}

.status-icon.status-down::before {
    content: "\2717";
}

/* --------------------------------------------------------------------------
   Page body buttons - add breathing room so they don't touch
   -------------------------------------------------------------------------- */

#main-body .btn {
    margin: 2px 4px;
    padding: 5px 10px;
}

/* --------------------------------------------------------------------------
   WHMCS main navigation bar (matches site domain-search gradient colors)
   -------------------------------------------------------------------------- */

.navbar-main,
.navbar-default {
    background: #1A3194;
    border-color: #1A3194;
}

.navbar-main .navbar-nav > li > a,
.navbar-default .navbar-nav > li > a,
.navbar-main .navbar-brand,
.navbar-default .navbar-brand {
    color: var(--white);
}

.navbar-main .navbar-nav > li > a:hover,
.navbar-main .navbar-nav > li > a:focus,
.navbar-main .navbar-nav > .active > a,
.navbar-main .navbar-nav > .active > a:hover,
.navbar-main .navbar-nav > .active > a:focus,
.navbar-main .navbar-nav > .open > a,
.navbar-main .navbar-nav > .open > a:hover,
.navbar-main .navbar-nav > .open > a:focus,
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus,
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus,
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus {
    color: var(--white);
    background: #43a1d3;
}

.navbar-main .navbar-toggle,
.navbar-default .navbar-toggle {
    border-color: rgba(255, 255, 255, 0.4);
}

.navbar-main .navbar-toggle .icon-bar,
.navbar-default .navbar-toggle .icon-bar {
    background: var(--white);
}

.navbar-main .navbar-toggle:hover,
.navbar-main .navbar-toggle:focus,
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background: #43a1d3;
    border-color: #43a1d3;
}

.navbar-main .dropdown-menu,
.navbar-default .dropdown-menu {
    background: var(--white);
    border-color: var(--border);
}

.navbar-main .dropdown-menu > li > a,
.navbar-default .dropdown-menu > li > a {
    color: var(--ink);
}

.navbar-main .dropdown-menu > li > a:hover,
.navbar-main .dropdown-menu > li > a:focus,
.navbar-main .dropdown-menu > .active > a,
.navbar-main .dropdown-menu > .active > a:hover,
.navbar-main .dropdown-menu > .active > a:focus,
.navbar-default .dropdown-menu > li > a:hover,
.navbar-default .dropdown-menu > li > a:focus,
.navbar-default .dropdown-menu > .active > a,
.navbar-default .dropdown-menu > .active > a:hover,
.navbar-default .dropdown-menu > .active > a:focus {
    color: var(--white);
    background: #43a1d3;
}

.navbar-main li.account,
.navbar-default li.account {
    background: #15287a;
}

@media (max-width: 767px) {
    .navbar-main .navbar-nav .open .dropdown-menu > li > a,
    .navbar-default .navbar-nav .open .dropdown-menu > li > a {
        color: var(--white);
    }

    .navbar-main .navbar-nav .open .dropdown-menu > li > a:hover,
    .navbar-main .navbar-nav .open .dropdown-menu > li > a:focus,
    .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
    .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
        color: var(--white);
        background: #43a1d3;
    }
}

/* --------------------------------------------------------------------------
   CVV helper popover
   -------------------------------------------------------------------------- */

.popover.cvv-popover {
    max-width: 360px;
}

.popover.cvv-popover .popover-content img {
    max-width: 100%;
    height: auto;
}
