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

    ** Custom Stylesheet **

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

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

/* Custom CSS for Nexus Cart
 *
 * This block allows you to customize theme colors and styles for the entire Nexus Cart 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.
 */

html {
    font-size: 14px;
}

:root {
    --white: #fff;

    /* Neutral shades */
    --neutral-50: #fbf9fa;
    --neutral-100: #f4f5f7;
    --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: var(--neutral-200);
    --bg-inverted: var(--neutral-900);

    /* 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%;
}

/* Interconnect Direct Portal V2 - styles apply to all WHMCS pages. */
:root{--icd-navy:#10243a;--icd-blue:#2366d1;--icd-muted:#64748b;--icd-border:#e4ebf4;--icd-surface:#f5f8fc}
body{background:var(--icd-surface);color:#23364b;font-family:Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
.header{background:#fff!important;border-bottom:1px solid var(--icd-border);box-shadow:0 4px 24px rgba(14,35,60,.05)}
.header .navbar,.header .main-navbar{background:#fff!important}
.header .navbar-nav .nav-link,.header .navbar-nav a{color:#243c56}
.header .navbar-nav .nav-link:hover,.header .navbar-nav a:hover{color:var(--icd-blue)}
.header .logo-img{max-height:64px;max-width:240px;object-fit:contain}
.header .topbar{background:#10243a!important;color:#e9f2ff}
.header .topbar a,.header .topbar button{color:#e9f2ff}
.icd-quick-access{background:#eaf2fc;border-bottom:1px solid #d6e5f7;font-size:13px}
.icd-quick-access>.container{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:47px}
.icd-quick-access span{font-weight:650;color:#254567}
.icd-quick-access a{display:inline-flex;gap:8px;align-items:center;margin-left:12px;color:#174d91;font-weight:700;text-decoration:none}
.icd-quick-access a:first-child{background:#2366d1;color:#fff;border-radius:8px;padding:8px 14px}
.master-breadcrumb{background:transparent!important;border:0!important}
#main-body{padding-top:26px;padding-bottom:55px;min-height:55vh}
#main-body .primary-content>.card,.primary-content .card,.panel,.logincontainer .card{background:#fff;border:1px solid var(--icd-border);border-radius:14px;box-shadow:0 7px 25px rgba(20,40,65,.045)}
.card-header,.panel-heading{background:#f8fbff;border-bottom:1px solid var(--icd-border)}
.btn-primary,.btn-success,.btn-info{background:#2366d1!important;border-color:#2366d1!important;border-radius:9px;font-weight:650}
.btn-primary:hover,.btn-success:hover,.btn-info:hover{background:#164ea8!important;border-color:#164ea8!important}
.btn-default,.btn-outline-primary,.btn-secondary{border-radius:9px}
.form-control,.custom-select,select.form-control{border-radius:9px;border-color:#d8e3ef;min-height:41px}
.form-control:focus{border-color:#2366d1;box-shadow:0 0 0 3px rgba(35,102,209,.12)}
h1,h2,h3,h4,h5,.page-header{color:#10243a;letter-spacing:-.025em}
a{color:#2366d1}a:hover{color:#164ea8}
.sidebar .card,.sidebar .panel,.sidebar .list-group{border:1px solid var(--icd-border);border-radius:12px;overflow:hidden;background:#fff}
.sidebar .list-group-item.active{background:#2366d1;border-color:#2366d1}
.table thead th{background:#f4f8fd;color:#3d5570;border-bottom:1px solid #e0e9f3;font-size:12px;text-transform:uppercase;letter-spacing:.04em}
.table td{vertical-align:middle}
.tiles .tile{background:#fff;border:1px solid var(--icd-border);border-radius:13px;box-shadow:0 6px 22px rgba(20,40,65,.04);color:#10243a;overflow:hidden}
.tiles .tile:hover{box-shadow:0 10px 28px rgba(20,40,65,.1);transform:translateY(-2px)}
.tiles .tile .stat,.tiles .tile .title{color:#10243a}
#footer,.footer{background:#10243a!important;color:#d5e1ef!important;padding:38px 0}
#footer a,.footer a{color:#d5e1ef!important}
.icd-dashboard-hero{border-radius:17px;padding:28px 32px;margin-bottom:25px;background:linear-gradient(115deg,#10243a,#1b4e86);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:18px}
.icd-dashboard-hero h1{font-size:28px;font-weight:750;color:#fff;margin:0 0 8px}
.icd-dashboard-hero p{margin:0;color:#d9e8fa}
.icd-dashboard-hero a{display:inline-block;background:#fff;color:#153f73;border-radius:9px;padding:12px 17px;font-weight:750;text-decoration:none;white-space:nowrap}
.icd-dashboard-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 26px}
.icd-dashboard-actions a{border:1px solid var(--icd-border);border-radius:12px;padding:16px;background:#fff;text-decoration:none;color:#1d3653;font-weight:700;display:flex;gap:10px;align-items:center}
.icd-dashboard-actions i{color:#2366d1;font-size:19px}
@media(max-width:900px){.icd-dashboard-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.icd-quick-access>.container{flex-wrap:wrap;padding-top:9px;padding-bottom:9px}.icd-quick-access a{margin-left:6px}.icd-dashboard-hero{display:block;padding:24px}.icd-dashboard-hero a{margin-top:16px}.icd-dashboard-actions{grid-template-columns:1fr 1fr}.icd-dashboard-actions a{font-size:12px;padding:12px}}

/* Interconnect Portal V3 – refined navigation and account pages */
.header .navbar-brand .logo-img{max-height:64px;width:auto;max-width:310px;object-fit:contain}
.header .main-navbar-wrapper{background:#fff;border-top:1px solid #eef2f7;border-bottom:1px solid #e4ebf3}
.header .main-navbar-wrapper .nav-link{font-weight:650;color:#1b3550!important;padding-top:15px;padding-bottom:15px}
.header .main-navbar-wrapper .nav-link:hover{color:#1760ba!important}
.icd-quick-access{background:#f3f7fc}
.icd-quick-access a:first-child{background:#1763bc}
body{background:#f8fafc}
#main-body .container{max-width:1140px}
#main-body .icd-portal{max-width:1140px;margin-left:auto;margin-right:auto}
#main-body .icd-hero{box-shadow:0 18px 45px rgba(16,36,58,.14)}
@media(max-width:767px){.header .navbar-brand .logo-img{max-height:49px;max-width:225px}.icd-quick-access span{display:none}}
