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

    ** Custom Stylesheet **

    Any custom styling you want to apply should be
    defined here.

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

/* Custom CSS for Nexus Theme
 *
 * This file allows you to customize the theme colors and styles for the entire Nexus template.
 *
 * To customize colors:
 * - Replace the var() references with your own hex colors or other CSS values.
 * - For example, instead of --primary: #4b5563; use --primary: #your-color;
 * - You can also override any CSS properties here.
 */

.UNotifyPage .bg-yellow-100 {
    background-color: #d45500;
    color: #ffffff;
    background-image: url("/templates/orderforms/nexus_cart/images/tldLogos/lk.png");
}

.btn.btn-primary {
    background-color: #d3510d !important;
    border-color: #d3510d !important;
    color: #ffffff !important;
    transition: all 0.2s ease-in-out;
}

.btn.btn-primary:hover {
    background-color: #D4520DCF !important;
    border-color: #d3510d !important;
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(211, 81, 13, 0.25);
}

#footer .btn.btn-icon {
    background-color: #6b7280 !important;
}

.kb-article-item small{
    color: #111827 !important;
}

body {
      font-family: 'Lato', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Viga", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 400;
}

#mainNavbar * {
    font-weight: 700 !important;
}

:root {
    --white: #fff;

    /* Neutral shades */
    --neutral-50: #fbf9fa;
    --neutral-100: #f2efef;
    --neutral-200: #e4e4e7;
    --neutral-300: #d0d5dd;
    --neutral-400: #9ca3af;
    --neutral-500: #6b7280;
    --neutral-600: #4b5563;
    --neutral-700: #374151;
    --neutral-800: #1f2937;
    --neutral-900: #111827;
    --neutral-950: #030712;

    /* Neutral shades */
    /* define own pallet with brand colors */
    --primary-50: var(--neutral-50);
    --primary-100: var(--neutral-100);
    --primary-200: var(--neutral-200);
    --primary-300: var(--neutral-300);
    --primary-400: var(--neutral-400);
    --primary-500: var(--neutral-500);
    --primary-600: var(--neutral-600);
    --primary-700: var(--neutral-700);
    --primary-800: var(--neutral-800);
    --primary-900: var(--neutral-900);
    --primary-950: var(--neutral-900);

    /* Primary colors */
    /* Use shades from comments if `primary` colors use other colors, then neutral */
    --primary: var(--neutral-900);          /* var(--primary-600) */
    --primary-lifted: var(--neutral-800);   /* var(--primary-700) */
    --primary-accented: var(--neutral-700); /* var(--primary-800) */

    /* Secondary colors */
    --secondary: var(--neutral-500);
    --secondary-lifted: var(--neutral-600);
    --secondary-accented: var(--neutral-700);

    /* Success colors */
    --success: #00a63e;
    --success-lifted: #008236;
    --success-accented: #016630;

    /* Info colors */
    --info: #155dfc;
    --info-lifted: #1447e6;
    --info-accented: #193cb8;

    /* Notice colors */
    --notice: #7f22fe;
    --notice-lifted: #7008e7;
    --notice-accented: #5d0ec0;

    /* Warning colors */
    --warning: #f54a00;
    --warning-lifted: #ca3500;
    --warning-accented: #9f2d00;

    /* Error colors */
    --error: #e7000b;
    --error-lifted: #c10007;
    --error-accented: #9f0712;

    /* Grayscale colors */
    --grayscale: var(--neutral-900);
    --grayscale-lifted: var(--neutral-800);
    --grayscale-accented: var(--neutral-700);

    /* Neutral colors */
    --neutral: var(--neutral-500);
    --neutral-lifted: var(--neutral-600);
    --neutral-accented: var(--neutral-700);

    /* Text neutral colors */
    --text-inverted: var(--white);
    --text-muted: var(--neutral-400);
    --text-lifted: var(--neutral-500);
    --text-accented: var(--neutral-600);
    --text: var(--neutral-900);

    /* Border neutral colors */
    --border-muted: var(--neutral-200);
    --border: var(--neutral-300);
    --border-lifted: var(--neutral-400);
    --border-accented: var(--neutral-600);

    /* Background neutral colors */
    --bg: var(--white);
    --bg-muted: var(--neutral-50);
    --bg-lifted: var(--neutral-100);
    --bg-accented: #eee2dc;
    --bg-inverted: #1f1f32;

    /* Additional colors */
    --yellow-200: #fff085;
    --yellow-300: #ffdf20;
    --teal-300: #46edd5;
    --teal-400: #00d5be;
    --emerald-300: #5ee9b5;
    --pink-400: #fb64b6;

    /* Additional custom properties */
    /* Font sizes */
    --text-xs: 0.625rem;
    --text-sm: 0.75rem;
    --text-md: 0.875rem;
    --text-lg: 1rem;

    /* Spacing */
    --outline-sm: 1px;
    --outline-md: 2px;
    --outline-lg: 3px;

    /* Rounding */
    --rounding-sm: 0.25rem;
    --rounding-md: 0.5rem;
    --rounding-lg: 0.75rem;

    /* Other */
    --letter-spacing: 0em;
    --disabled-opacity: 25%;
}


/* =====================================================
   Provider.lk v4: header, footer, fonts and colours
   Matches the www.provider.lk WordPress theme.
   Everything below overrides theme.min.css; nothing
   above this line was changed.
   ===================================================== */

/* ---------- Fonts (self-hosted, Latin subset) ---------- */
@font-face{font-family:"Lato";font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/lato-latin-400-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Lato";font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/lato-latin-700-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Viga";font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/viga-latin-400-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* ---------- Colours (same tokens as the WordPress theme) ---------- */
:root {
    --plk-brand: #D3510D;
    --plk-brand-hover: #D4520DCF;
    --plk-ink: #231F1C;
    --plk-muted: #5E5550;
    --plk-line: #E8E2DD;
    --plk-box: #F8F8F8;
    --plk-tint: #FDF2EC;
    --plk-night: #1B1714;
    --plk-night-2: #2A2420;
    --plk-night-text: #E6DED8;
    --plk-night-muted: #B5AAA2;
    --plk-peach: #FFB38A;

    /* Warm the Nexus neutrals to match the site */
    --text: var(--plk-ink);
    --primary: var(--plk-ink);
    --grayscale: var(--plk-ink);
    --grayscale-accented: var(--plk-ink);
    --bg-inverted: var(--plk-night);
}
body { color: var(--plk-ink); }
:focus-visible { outline: 3px solid var(--plk-brand); outline-offset: 2px; }

/* ---------- Top bar ---------- */
.plk-topbar {
    background: var(--plk-ink);
    color: #E9E3DE;
    font-size: 13.5px;
    line-height: 1.3;
    position: relative;
    z-index: 1031;
}
.plk-topbar > .container {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
}
.plk-topbar-left { display: flex; align-items: center; gap: 4px 12px; min-width: 0; flex-wrap: wrap; }
.plk-topbar-right { margin-left: auto; display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }

/* Logged-in bits (same markup as before; theme.css targeted them inside <header>) */
.plk-topbar .btn { font-size: 13.5px; line-height: 1; color: rgba(255,255,255,.75); box-shadow: none; }
.plk-topbar .btn:hover, .plk-topbar .btn:focus { color: #fff; }
.plk-topbar #accountNotifications { padding: 6px 4px; }
.plk-topbar .active-client { line-height: 1; width: auto; flex-wrap: nowrap; }
.plk-topbar .active-client .input-group-text { padding: .25rem; font-size: 13px; color: rgba(255,255,255,.75); background: transparent; border: 0; }
.plk-topbar .active-client .btn { color: rgba(255,255,255,.75); padding: 6px 8px; }
.plk-topbar .active-client .btn.btn-active-client span { border-bottom: 1px dashed rgba(255,255,255,.65); }
.plk-topbar .active-client .btn:hover { color: #fff; }

/* Knowledgebase search */
.plk-kb-search {
    align-items: center;
    width: 280px;
    height: 32px;
    background: rgba(255,255,255,.08);
    border-radius: 999px;
    padding: 0 4px 0 12px;
    margin: 0;
}
.plk-kb-search:focus-within { background: rgba(255,255,255,.14); box-shadow: 0 0 0 2px rgba(255,179,138,.45); }
.plk-kb-search .fa-search { color: var(--plk-night-muted); font-size: 12px; }
.plk-kb-search .form-control {
    flex: 1; min-width: 0; height: 30px;
    background: transparent; border: 0; box-shadow: none;
    color: #fff; font-size: 13.5px; padding: 0 8px;
}
.plk-kb-search .form-control::placeholder { color: var(--plk-night-muted); }
.plk-kb-search .btn {
    height: 24px; padding: 0 10px; border-radius: 999px;
    background: rgba(255,255,255,.1); color: #fff; font-size: 12px; font-weight: 700;
}
.plk-kb-search .btn:hover { background: var(--plk-brand); }

/* Back to Provider.lk + cart */
.plk-topbar .plk-back {
    display: inline-flex; align-items: center; gap: 7px;
    height: 32px; padding: 0 12px; border-radius: 999px;
    background: rgba(255,255,255,.08); color: #fff; font-weight: 700;
}
.plk-topbar .plk-back:hover { background: var(--plk-brand); color: #fff; text-decoration: none; }
.plk-topbar .plk-back .fa-arrow-left { font-size: 11px; }

.plk-topbar .plk-cart {
    position: relative;
    overflow: visible; /* theme.css sets .btn { overflow: hidden }, which clipped the count */
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 32px; padding: 0;
    border-radius: 8px; color: #fff; font-size: 17px; line-height: 1;
}
.plk-topbar .plk-cart:hover { background: rgba(255,255,255,.08); color: #fff; }
.plk-topbar .plk-cart #cartItemCount {
    position: absolute; top: -3px; right: -3px;
    min-width: 20px; height: 20px; padding: 0 5px;
    border: 2px solid var(--plk-ink); border-radius: 999px; box-sizing: border-box;
    background: var(--plk-brand); color: #fff;
    font: 700 11px/16px "Lato", sans-serif; text-align: center;
}

/* Notifications popover: brand the hover */
.popover-user-notifications ul.client-alerts li a:hover { background-color: var(--plk-tint); }

/* ---------- Main bar (sticky) ---------- */
header.header.plk-header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1030;
    background: #fff;
    border-bottom: 1px solid var(--plk-line);
}
header.header.plk-header .main-navbar-wrapper { padding: 0; }
header.header.plk-header .navbar { min-height: 72px; }
header.header.plk-header .navbar > .container { gap: 0 24px; flex-wrap: wrap; }
header.header.plk-header .navbar-brand { padding: 0; margin: 0; flex: 0 0 auto; }
header.header.plk-header .logo-img { display: block; height: 44px; width: auto; max-width: 220px; max-height: none; }
header.header.plk-header .plk-toggler {
    margin-left: auto;
    width: 44px; height: 44px; padding: 0;
    display: grid; place-items: center;
    border: 1px solid var(--plk-line); border-radius: 10px;
    color: var(--plk-ink); font-size: 18px; background: #fff;
}

/* WHMCS menus. Note: scripts.js autoCollapse('#nav', 30) moves items into "More" once #nav
   is 30px or taller, so links stay 28px tall in layout; the 44px hover pill is a pseudo-element. */
header.header.plk-header .navbar-nav { margin: 0; gap: 2px; }
header.header.plk-header #nav { gap: 2px; }
header.header.plk-header .navbar-nav > li > a {
    position: relative;
    z-index: 0;
    display: flex; align-items: center; gap: 4px;
    height: 28px; padding: 0 12px;
    font-size: 15.5px; color: var(--plk-ink); white-space: nowrap;
}
header.header.plk-header .navbar-nav > li > a::before {
    content: ""; position: absolute; z-index: -1;
    left: 0; right: 0; top: -8px; bottom: -8px;
    border-radius: 8px; background: transparent; transition: background .15s;
}
header.header.plk-header .navbar-nav > li > a:hover,
header.header.plk-header .navbar-nav > li.show > a,
header.header.plk-header .navbar-nav > li.active > a { color: var(--plk-brand); text-decoration: none; }
header.header.plk-header .navbar-nav > li > a:hover::before,
header.header.plk-header .navbar-nav > li.show > a::before { background: var(--plk-box); }
header.header.plk-header .navbar-nav .badge { background: var(--plk-tint); color: var(--plk-brand); }

/* Dropdowns */
header.header.plk-header .dropdown-menu {
    margin-top: 21px;
    padding: 8px;
    border: 1px solid var(--plk-line);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(35,31,28,.12);
    min-width: 220px;
}
header.header.plk-header .dropdown-menu li.dropdown-item { padding: 0; background: transparent; }
header.header.plk-header .dropdown-menu a.dropdown-item {
    display: block; padding: 8px 10px !important; border-radius: 8px;
    font-size: 15px; color: var(--plk-ink); line-height: 1.35;
}
header.header.plk-header .dropdown-menu a.dropdown-item:hover,
header.header.plk-header .dropdown-menu a.dropdown-item:focus { background: var(--plk-tint); color: var(--plk-brand); }
header.header.plk-header .dropdown-item.active,
header.header.plk-header .dropdown-item:active { background: var(--plk-tint); color: var(--plk-brand); }
header.header.plk-header .dropdown-divider { margin: 6px 4px; border-color: var(--plk-line); }

/* Mobile / tablet: menu opens below the bar */
@media (max-width: 1199.98px) {
    header.header.plk-header .navbar { min-height: 64px; }
    header.header.plk-header .navbar > .container { padding-left: 16px; padding-right: 16px; }
    header.header.plk-header .logo-img { height: 38px; }
    header.header.plk-header #mainNavbar { flex-basis: 100%; }
    header.header.plk-header #mainNavbar.show,
    header.header.plk-header #mainNavbar.collapsing { padding: 4px 0 16px; max-height: calc(100vh - 64px); overflow-y: auto; }
    header.header.plk-header .navbar-nav > li > a { height: 44px; font-size: 16px; }
    header.header.plk-header .navbar-nav > li > a::before { top: 0; bottom: 0; }
    header.header.plk-header .dropdown-menu { margin: 0 0 6px; box-shadow: none; background: var(--plk-box); border: 0; }
    header.header.plk-header .plk-secondary-nav { border-top: 1px solid var(--plk-line); margin-top: 8px; padding-top: 8px; }
    header.header.plk-header .plk-kb-search-mobile .search { border: 1px solid var(--plk-line); border-radius: 10px; width: 100%; }
    header.header.plk-header .plk-kb-search-mobile .btn,
    header.header.plk-header .plk-kb-search-mobile .form-control { border: 0; background: transparent; box-shadow: none; }
}
@media (max-width: 575.98px) {
    header.header.plk-header .navbar > .container { justify-content: space-between; }
    .plk-topbar .plk-back span { display: none; }
    .plk-topbar .plk-back { width: 32px; padding: 0; justify-content: center; }
    .plk-topbar .active-client .btn.btn-active-client span { display: inline-block; max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
}

/* Brand accents across the client area */
.master-breadcrumb .breadcrumb a:hover { color: var(--plk-brand); }
a:hover { color: var(--plk-brand); }

/* ---------- Footer ---------- */
footer.footer.plk-footer {
    padding: 0;
    background: var(--plk-night);
    color: var(--plk-night-text);
    font-size: 15px;
}
footer.footer.plk-footer a { color: var(--plk-night-text); }
footer.footer.plk-footer a:hover { color: #fff; text-decoration: underline; }

.plk-foot-mid {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    gap: 20px; padding: 28px 0 24px;
}
.plk-news { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.plk-news .lbl { font-weight: 700; color: #fff; }
footer.footer.plk-footer .plk-news-btn {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
    border: 0; border-radius: 8px; background: var(--plk-brand); color: #fff; font-weight: 700; font-size: 15px;
}
footer.footer.plk-footer .plk-news-btn:hover { background: var(--plk-brand-hover); color: #fff; text-decoration: none; }

.plk-social { display: flex; gap: 6px; }
.plk-social .list-inline-item { margin: 0; }
#footer.plk-footer .plk-social .btn.btn-icon {
    display: grid; place-items: center;
    width: 40px; height: 40px; margin: 0 !important; padding: 0;
    border: 0; border-radius: 10px;
    background-color: var(--plk-night-2) !important; color: var(--plk-night-text);
}
#footer.plk-footer .plk-social .btn.btn-icon:hover { background-color: var(--plk-brand) !important; color: #fff; text-decoration: none; }

.plk-foot-trust {
    border-top: 1px solid var(--plk-night-2);
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    gap: 16px; padding: 20px 0;
}
.plk-pay { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--plk-night-muted); }
.plk-pay .p { border: 1px solid #4A403A; border-radius: 6px; padding: 4px 9px; font-weight: 700; color: var(--plk-night-text); }
.plk-badges { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13.5px; color: var(--plk-night-muted); }
.plk-badges span { display: inline-flex; align-items: center; gap: 8px; }
.plk-badges i { color: var(--plk-peach); }

.plk-legal { background: #141110; color: var(--plk-night-muted); font-size: 13.5px; }
.plk-legal > .container {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    gap: 10px 24px; padding-top: 16px; padding-bottom: 16px;
}
footer.footer.plk-footer .plk-legal .copyright { margin: 0; text-align: left; font-size: 13.5px; color: var(--plk-night-muted); }
.plk-legal .nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; }
footer.footer.plk-footer .plk-legal .nav-link { padding: 0; color: var(--plk-night-text); }
footer.footer.plk-footer .plk-legal .btn-outline-light {
    padding: 4px 12px; font-size: 13px; border-color: #4A403A; color: var(--plk-night-text); border-radius: 8px;
}
footer.footer.plk-footer .plk-legal .btn-outline-light:hover { background: var(--plk-night-2); color: #fff; }
footer.footer.plk-footer .plk-legal .iti-flag { margin-right: 4px; }
