
/* =========================================
   ZULU Systems — Custom WHMCS Theme
   Brand Foundation
   ========================================= */

:root {
    --zulu-navy: #062642;
    --zulu-white: #ffffff;
    --zulu-orange: #f97316;
}

/* Preserve existing WHMCS layout and
   functionality during initial setup. */

/* =========================================
   ZULU Systems Header Foundation
   ========================================= */

#header.header {
    background-color: var(--zulu-navy);
}

#header .navbar,
#header .main-navbar-wrapper,
#header .topbar {
    background-color: var(--zulu-navy);
}

#header .navbar-brand .logo-img {
    width: 259px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

#header .navbar-nav .nav-link,
#header .navbar-nav .nav-link i {
    color: var(--zulu-white);
}

#header .navbar-nav .nav-link:hover {
    color: var(--zulu-orange);
}

/* =========================================
   ZULU Systems Footer Foundation
   ========================================= */

#footer.footer {
    background-color: var(--zulu-navy);
    color: var(--zulu-white);
}

#footer.footer a,
#footer.footer .copyright {
    color: var(--zulu-white);
}

#footer.footer a:hover {
    color: var(--zulu-orange);
}

#footer.footer .container {
    padding-top: 30px;
    padding-bottom: 30px;
}

/* =========================================
   ZULU Systems Navigation Text Fix
   ========================================= */

#header .main-navbar-wrapper .navbar-nav .nav-link,
#header .main-navbar-wrapper .navbar-nav .nav-link:visited,
#header .main-navbar-wrapper .navbar-nav .nav-link:focus,
#header .main-navbar-wrapper .navbar-nav .nav-link i {
    color: #ffffff !important;
}

/* Keep navigation text white on hover */
#header .main-navbar-wrapper .navbar-nav .nav-link:hover {
    color: #ffffff !important;
}

/* =========================================
   ZULU Systems Navigation - White Text Fix
   ========================================= */

#header .main-navbar-wrapper #nav > li > a,
#header .main-navbar-wrapper #nav > li > a:hover,
#header .main-navbar-wrapper #nav > li > a:focus,
#header .main-navbar-wrapper .navbar-nav > li > a,
#header .main-navbar-wrapper .navbar-nav > li > a:hover,
#header .main-navbar-wrapper .navbar-nav > li > a:focus,
#header .main-navbar-wrapper .dropdown-toggle {
    color: #ffffff !important;
}

#header .main-navbar-wrapper .navbar-nav > li > a i,
#header .main-navbar-wrapper .navbar-nav > li > a span {
    color: #ffffff !important;
}


/* =========================================
   ZULU Systems Footer - Centered Legal Area
   ========================================= */

#footer .row.align-items-center > .col-lg-8 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Legal links appear first */
#footer .row.align-items-center > .col-lg-8 > .mt-2 {
    order: 1;
    margin-top: 0 !important;
    margin-bottom: 12px;
}

/* Copyright appears centered below */
#footer .row.align-items-center .copyright {
    order: 2;
    text-align: center;
}

@media (min-width: 992px) {
    #footer .row.align-items-center > .col-lg-8 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    #footer .row.align-items-center > .col-lg-4 {
        position: absolute;
        right: 0;
        width: auto;
        max-width: none;
    }

    #footer .row.align-items-center {
        position: relative;
    }
}


/* =========================================
   ZULU Systems Footer - Final Spacing
   ========================================= */

#footer .row.align-items-center > .col-lg-8 > .mt-2 {
    margin-bottom: 4px !important;
}

#footer .row.align-items-center .copyright {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}


/* =========================================
   ZULU Systems Customer Dashboard
   Foundation Styles
   ========================================= */

.zulu-dashboard {
    width: 100%;
    color: #062642;
}

.zulu-dashboard .zulu-welcome {
    background-color: #062642;
    color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 24px;
}

.zulu-dashboard .zulu-stat-card {
    background-color: #ffffff;
    border: 1px solid #e5e9ef;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
}

.zulu-dashboard .zulu-stat-card .stat-value {
    font-size: 30px;
    font-weight: 700;
    color: #062642;
}

.zulu-dashboard .zulu-stat-card .stat-label {
    font-size: 14px;
    color: #64748b;
}

/* ZULU Systems Customer Dashboard Banner */
.zulu-dashboard .zulu-welcome {
    background-image:
        linear-gradient(
            90deg,
            rgba(3, 23, 43, 0.70) 0%,
            rgba(3, 23, 43, 0.30) 42%,
            rgba(3, 23, 43, 0) 70%
        ),
        url("/billing/assets/img/zulu-dashboard-banner.png");

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    min-height: 178px;
    padding: 28px 30px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.zulu-dashboard .zulu-welcome h2 {
    color: #ffffff;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.15;
    max-width: 420px;
}

.zulu-dashboard .zulu-welcome p {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.5;
    max-width: 470px;
}

@media (max-width: 767px) {
    .zulu-dashboard .zulu-welcome {
        min-height: 180px;
        padding: 22px;
        background-position: 58% center;
    }

    .zulu-dashboard .zulu-welcome h2 {
        font-size: 26px;
    }

    .zulu-dashboard .zulu-welcome p {
        font-size: 14px;
    }
}

/* =========================================
   ZULU Systems Dashboard Statistics Cards
   ========================================= */

.zulu-dashboard-stats .tiles {
    margin-bottom: 24px;
}

.zulu-dashboard-stats .tiles .row {
    margin-left: -7px;
    margin-right: -7px;
}

.zulu-dashboard-stats .tiles .row > div {
    padding-left: 7px;
    padding-right: 7px;
}

.zulu-dashboard-stats .tile {
    background: #ffffff;
    border: 1px solid #e5e9ef;
    border-radius: 10px;
    min-height: 112px;
    padding: 20px;
    margin-bottom: 14px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s ease;
}

.zulu-dashboard-stats .tile:hover {
    box-shadow: 0 6px 18px rgba(6, 38, 66, 0.10);
}

.zulu-dashboard-stats .tile .stat {
    color: #062642;
    font-size: 30px;
    font-weight: 700;
}

.zulu-dashboard-stats .tile .title {
    color: #475569;
    font-size: 14px;
    font-weight: 600;
}

.zulu-dashboard-stats .tile > i {
    color: #062642;
    opacity: 0.75;
    font-size: 30px;
}

.zulu-dashboard-stats .tile .highlight {
    display: none;
}

@media (max-width: 767px) {
    .zulu-dashboard-stats .tile {
        padding: 16px;
        min-height: 105px;
    }
}

/* =========================================
   ZULU Systems Customer Sidebar
   Initial Navy Styling
   ========================================= */

.zulu-client-sidebar .card-sidebar {
    background: #062642;
    border: 1px solid #123b5c;
    border-radius: 8px;
    overflow: hidden;
}

.zulu-client-sidebar .card-sidebar .card-header,
.zulu-client-sidebar .card-sidebar .card-body,
.zulu-client-sidebar .card-sidebar .card-footer,
.zulu-client-sidebar .card-sidebar .collapsable-card-body {
    background-color: #062642;
    color: #ffffff;
}

.zulu-client-sidebar .card-sidebar .card-title,
.zulu-client-sidebar .card-sidebar .card-title i,
.zulu-client-sidebar .card-sidebar .card-body,
.zulu-client-sidebar .card-sidebar .card-body a {
    color: #ffffff;
}

.zulu-client-sidebar .card-sidebar .list-group-item {
    background-color: #062642;
    color: #ffffff;
    border-color: #24445f;
}

.zulu-client-sidebar .card-sidebar .list-group-item:hover,
.zulu-client-sidebar .card-sidebar .list-group-item.active {
    background-color: #123b5c;
    color: #ffffff;
}

.zulu-client-sidebar .card-sidebar .list-group-item i {
    color: #ffffff;
}

/* =========================================
   ZULU Systems Dashboard Navigation
   ========================================= */

.zulu-client-sidebar .zulu-dashboard-navigation {
    background-color: #062642;
    border-radius: 8px;
    padding: 8px 0;
    margin-bottom: 18px;
    overflow: hidden;
}

.zulu-client-sidebar .zulu-dashboard-navigation .zulu-nav-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 20px;
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.zulu-client-sidebar .zulu-dashboard-navigation .zulu-nav-link i {
    width: 20px;
    text-align: center;
    font-size: 17px;
    color: #ffffff;
}

.zulu-client-sidebar .zulu-dashboard-navigation .zulu-nav-link:hover,
.zulu-client-sidebar .zulu-dashboard-navigation .zulu-nav-link:focus {
    background-color: #123b5c;
    color: #ffffff;
    text-decoration: none;
}

.zulu-client-sidebar .zulu-dashboard-navigation
.zulu-nav-link[href$="/clientarea.php"] {
    background: linear-gradient(90deg, #ff8a00, #ff3d00);
    color: #ffffff;
}

/* =========================================
   ZULU Systems - Prevent Duplicate Navigation
   ========================================= */

/* Hide custom navigation in secondary WHMCS sidebars */
#main-body .sidebar:not(.sidebar-secondary)
.d-none .zulu-dashboard-navigation {
    display: none;
}

/* Hide navigation in the extra desktop sidebar */
#main-body .d-none.d-lg-block.sidebar
.zulu-dashboard-navigation {
    display: none;
}

/* Hide navigation in the mobile secondary sidebar */
#main-body .d-lg-none.sidebar.sidebar-secondary
.zulu-dashboard-navigation {
    display: none;
}

/* =========================================
   ZULU Systems Dashboard Quick Actions
   ========================================= */

.zulu-client-sidebar .zulu-quick-actions {
    background-color: #062642;
    padding: 12px 0 18px;
    border-radius: 8px;
    margin-bottom: 18px;
}

.zulu-client-sidebar .zulu-quick-actions-heading {
    color: #b8c9d9;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 10px 20px 14px;
}

.zulu-client-sidebar .zulu-quick-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 20px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.zulu-client-sidebar .zulu-quick-link i {
    width: 20px;
    text-align: center;
    font-size: 17px;
    color: #ffffff;
}

.zulu-client-sidebar .zulu-quick-link:hover,
.zulu-client-sidebar .zulu-quick-link:focus {
    background-color: #123b5c;
    color: #ffffff;
    text-decoration: none;
}

/* Hide duplicate Quick Actions in secondary sidebars */
#main-body .d-none.d-lg-block.sidebar
.zulu-quick-actions,
#main-body .d-lg-none.sidebar.sidebar-secondary
.zulu-quick-actions {
    display: none;
}

/* =========================================
   ZULU Systems Customer Dashboard Panels
   ========================================= */

.zulu-dashboard ~ .client-home-cards .card {
    background: #ffffff;
    border: 1px solid #e5e9ef;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 18px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
}

.zulu-dashboard ~ .client-home-cards .card-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e9ef;
    padding: 16px 18px;
}

.zulu-dashboard ~ .client-home-cards .card-title {
    color: #062642;
    font-size: 17px;
    font-weight: 700;
}

.zulu-dashboard ~ .client-home-cards .card-body {
    padding: 18px;
    color: #334155;
}

.zulu-dashboard ~ .client-home-cards .list-group-item {
    border-color: #e5e9ef;
}

.zulu-dashboard ~ .client-home-cards .card-footer {
    background: #ffffff;
    border-top: 1px solid #e5e9ef;
}

/* ZULU Systems Promotional Cards */
.zulu-promo-cards .card {
    border: 1px solid #e8edf2;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.zulu-promo-cards .card-body {
    padding: 0;
    display: flex;
    flex-direction: column;
}

.zulu-promo-cards .card-body > img {
    width: 100%;
    height: 145px;
    object-fit: cover;
    display: block;
    border-radius: 0 !important;
    margin-bottom: 14px !important;
}

.zulu-promo-cards h4 {
    color: #062642;
    font-size: 17px;
    font-weight: 700;
    padding: 0 16px;
}

.zulu-promo-cards p {
    font-size: 13px;
    line-height: 1.5;
    padding: 0 16px;
}

.zulu-promo-cards .btn {
    margin: auto 16px 16px;
    align-self: flex-start;
    font-size: 12px;
}

/* =========================================
   ZULU Promotional Cards - Compact Alignment
   ========================================= */

.zulu-promo-cards .card {
    height: auto !important;
}

.zulu-promo-cards .card-body {
    display: flex;
    flex-direction: column;
    padding: 14px;
}

.zulu-promo-cards .card-body > img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    object-position: center;
    margin-bottom: 12px !important;
}

.zulu-promo-cards h4 {
    font-size: 16px;
    line-height: 1.3;
    padding: 0;
    margin-bottom: 10px;
}

.zulu-promo-cards p {
    font-size: 13px;
    line-height: 1.4;
    padding: 0;
    margin-bottom: 14px;
}

.zulu-promo-cards .btn {
    margin: auto 0 0;
    align-self: flex-start;
    font-size: 12px;
    padding: 8px 12px;
}

.zulu-promo-cards > div {
    display: flex;
}

.zulu-promo-cards > div > .card {
    width: 100%;
}

/* =========================================
   ZULU Promotional Cards - Final Alignment
   ========================================= */

.zulu-promo-cards .card-body {
    padding: 22px 18px 18px;
}

.zulu-promo-cards .card-body > img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    margin-bottom: 12px !important;
}

.zulu-promo-cards h4 {
    font-size: 16px;
    line-height: 1.3;
    margin-bottom: 10px;
    min-height: 21px;
}

.zulu-promo-cards p {
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 12px;
}

.zulu-promo-cards .btn {
    margin: auto 0 0;
    align-self: flex-start;
    font-size: 12px;
    padding: 8px 12px;
}

.zulu-promo-cards .card {
    height: auto !important;
}



