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

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

/* ========================================
   NEVER-ENUFF CUSTOM STYLES - Feb 2026
   ======================================== */

/*
 * Never-Enuff WHMCS Custom CSS
 * Paste this into: WHMCS Admin → Setup → General Settings → Other → Custom CSS
 * Or save as a .css file and link it in your WHMCS template header
 *
 * This CSS overrides WHMCS default styles to match your main website design.
 */

/* ============================================
   FONT IMPORTS
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=DM+Sans:wght@400;500;600&display=swap');

/* ============================================
   COLOR VARIABLES (Reference)
   ============================================

   Primary Blues:
   --blue-900: #0c2340  (darkest - top bar, footer)
   --blue-800: #0d3158
   --blue-700: #0f4c81
   --blue-600: #1565a8  (primary buttons, links)
   --blue-500: #1976d2
   --blue-400: #42a5f5
   --blue-300: #90caf9
   --blue-200: #bbdefb
   --blue-100: #e3f2fd
   --blue-50:  #f0f7ff

   Grays:
   --gray-900: #0f172a
   --gray-800: #1e293b
   --gray-700: #334155
   --gray-600: #475569
   --gray-500: #64748b
   --gray-400: #94a3b8
   --gray-200: #e2e8f0
   --gray-100: #f1f5f9
   --gray-50:  #f8fafc

   Accent:
   --success: #10b981

   ============================================ */

/* ============================================
   GLOBAL STYLES
   ============================================ */
body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif !important;
    color: #1e293b;
    line-height: 1.6;
    background-color: #f8fafc;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-weight: 700;
    color: #0f172a;
}

a {
    color: #1565a8;
    transition: color 0.2s ease;
}

a:hover {
    color: #0f4c81;
    text-decoration: none;
}

/* ============================================
   NAVBAR / HEADER
   ============================================ */
.navbar,
.navbar-default,
#nav,
header.header {
    background: #ffffff !important;
    border: none !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
    padding: 0.75rem 0;
}

.navbar-brand,
.navbar-brand img {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 800;
}

.navbar-default .navbar-nav > li > a,
.navbar-nav > li > a,
.nav > li > a {
    font-family: 'DM Sans', sans-serif !important;
    font-weight: 500;
    color: #475569 !important;
    font-size: 0.95rem;
    padding: 10px 15px;
    transition: color 0.2s ease;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-nav > li > a:hover,
.nav > li > a:hover {
    color: #1565a8 !important;
    background: transparent !important;
}

.navbar-default .navbar-nav > .active > a,
.navbar-nav > .active > a {
    color: #1565a8 !important;
    background: transparent !important;
}

/* Dropdown menus */
.dropdown-menu {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
}

.dropdown-menu > li > a {
    padding: 0.6rem 1.25rem;
    color: #475569;
    font-size: 0.9rem;
}

.dropdown-menu > li > a:hover {
    background: #f0f7ff;
    color: #1565a8;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    font-family: 'DM Sans', sans-serif !important;
    font-weight: 600;
    border-radius: 8px;
    padding: 0.65rem 1.25rem;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    border: none;
    text-transform: none;
    letter-spacing: 0;
}

/* Primary Button (Blue) */
.btn-primary,
.btn-success {
    background: #1565a8 !important;
    border-color: #1565a8 !important;
    color: #ffffff !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-success:hover,
.btn-success:focus,
.btn-success:active {
    background: #0f4c81 !important;
    border-color: #0f4c81 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(21, 101, 168, 0.3);
}

/* Secondary/Default Button */
.btn-default {
    background: transparent !important;
    border: 2px solid #1565a8 !important;
    color: #1565a8 !important;
}

.btn-default:hover,
.btn-default:focus {
    background: #1565a8 !important;
    color: #ffffff !important;
}

/* Danger Button */
.btn-danger {
    background: #dc2626 !important;
    border-color: #dc2626 !important;
}

.btn-danger:hover {
    background: #b91c1c !important;
    border-color: #b91c1c !important;
}

/* Large Buttons */
.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 10px;
}

/* Block Buttons */
.btn-block {
    padding: 0.85rem 1.5rem;
}

/* ============================================
   PANELS / CARDS
   ============================================ */
.panel {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    background: #ffffff;
}

.panel-default > .panel-heading {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    border-radius: 16px 16px 0 0;
    padding: 1.25rem 1.5rem;
}

.panel-heading h3,
.panel-title {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 700;
    font-size: 1.1rem;
    color: #0f172a;
    margin: 0;
}

.panel-body {
    padding: 1.5rem;
}

.panel-footer {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-radius: 0 0 16px 16px;
    padding: 1rem 1.5rem;
}

/* ============================================
   FORMS
   ============================================ */
.form-control {
    font-family: 'DM Sans', sans-serif;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #ffffff;
    color: #1e293b;
}

.form-control:focus {
    border-color: #1976d2;
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.15);
    outline: none;
}

.form-control::placeholder {
    color: #94a3b8;
}

label,
.control-label {
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

/* Select dropdowns */
select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%2394a3b8' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.25rem;
    padding-right: 2.5rem;
}

/* ============================================
   TABLES
   ============================================ */
.table {
    border-collapse: separate;
    border-spacing: 0;
}

.table > thead > tr > th {
    background: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
    color: #475569;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 1rem;
}

.table > tbody > tr > td {
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
    color: #475569;
    vertical-align: middle;
}

.table > tbody > tr:hover > td {
    background: #f0f7ff;
}

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

/* ============================================
   ALERTS
   ============================================ */
.alert {
    border: none;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
}

.alert-info {
    background: #e3f2fd;
    color: #0c2340;
}

.alert-warning {
    background: #fef3c7;
    color: #92400e;
}

.alert-danger {
    background: #fee2e2;
    color: #991b1b;
}

/* ============================================
   SIDEBAR
   ============================================ */
.sidebar,
.list-group {
    border-radius: 12px;
    overflow: hidden;
}

.list-group-item {
    border: none;
    border-bottom: 1px solid #e2e8f0;
    padding: 0.85rem 1.25rem;
    color: #475569;
    font-weight: 500;
    transition: all 0.2s;
}

.list-group-item:last-child {
    border-bottom: none;
}

.list-group-item:hover {
    background: #f0f7ff;
    color: #1565a8;
}

.list-group-item.active {
    background: #1565a8;
    border-color: #1565a8;
    color: #ffffff;
}

/* ============================================
   BADGES / LABELS
   ============================================ */
.label,
.badge {
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.label-success,
.badge-success {
    background: #10b981;
}

.label-primary,
.badge-primary {
    background: #1565a8;
}

.label-warning,
.badge-warning {
    background: #f59e0b;
}

.label-danger,
.badge-danger {
    background: #dc2626;
}

.label-info,
.badge-info {
    background: #1976d2;
}

/* ============================================
   PRODUCT / SERVICE CARDS (Store)
   ============================================ */
.product,
.product-group .panel {
    border-radius: 16px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.product:hover,
.product-group .panel:hover {
    border-color: #90caf9;
    box-shadow: 0 15px 40px rgba(15, 76, 129, 0.12);
    transform: translateY(-4px);
}

.product-name,
.product h4 {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 700;
    color: #0f172a;
}

.product-price {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
}

/* Featured/Popular product */
.product.featured,
.panel-featured {
    border-color: #1976d2;
    box-shadow: 0 20px 50px rgba(15, 76, 129, 0.18);
}

/* ============================================
   FOOTER
   ============================================ */
footer,
.footer,
#footer {
    background: #0f172a !important;
    color: #94a3b8;
    padding: 2rem 0;
}

footer a,
.footer a,
#footer a {
    color: #90caf9;
}

footer a:hover,
.footer a:hover,
#footer a:hover {
    color: #ffffff;
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination > li > a,
.pagination > li > span {
    border: 1px solid #e2e8f0;
    color: #475569;
    padding: 0.5rem 0.85rem;
    margin: 0 2px;
    border-radius: 6px;
}

.pagination > li > a:hover {
    background: #f0f7ff;
    border-color: #1565a8;
    color: #1565a8;
}

.pagination > .active > a,
.pagination > .active > span {
    background: #1565a8;
    border-color: #1565a8;
    color: #ffffff;
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumb {
    background: transparent;
    padding: 0.75rem 0;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.breadcrumb > li + li::before {
    color: #94a3b8;
    content: "›";
    padding: 0 8px;
}

.breadcrumb > .active {
    color: #64748b;
}

/* ============================================
   MODALS
   ============================================ */
.modal-content {
    border: none;
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

.modal-header {
    border-bottom: 1px solid #e2e8f0;
    padding: 1.25rem 1.5rem;
    border-radius: 16px 16px 0 0;
}

.modal-title {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 700;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    border-top: 1px solid #e2e8f0;
    padding: 1rem 1.5rem;
    border-radius: 0 0 16px 16px;
}

/* ============================================
   INVOICE / ORDER PAGES
   ============================================ */
.invoice-header {
    background: linear-gradient(135deg, #0c2340, #0f4c81);
    color: #ffffff;
    padding: 2rem;
    border-radius: 16px 16px 0 0;
    margin: -1.5rem -1.5rem 1.5rem;
}

/* ============================================
   RESPONSIVE TWEAKS
   ============================================ */
@media (max-width: 768px) {
    .btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .panel-body {
        padding: 1rem;
    }

    .navbar-nav {
        margin: 0;
    }

    .navbar-nav > li > a {
        padding: 12px 15px;
    }
}

/* ============================================
   UTILITY OVERRIDES
   ============================================ */
.well {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: none;
}

.text-primary {
    color: #1565a8 !important;
}

.text-success {
    color: #10b981 !important;
}

.text-danger {
    color: #dc2626 !important;
}

.text-muted {
    color: #64748b !important;
}

.bg-primary {
    background-color: #1565a8 !important;
}

hr {
    border-color: #e2e8f0;
}

/* ============================================
   CUSTOM NEVER-ENUFF ADDITIONS
   ============================================ */

/* Add a top bar similar to main site */
.header-top-bar {
    background: #0c2340;
    color: #bbdefb;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    text-align: center;
}

.header-top-bar a {
    color: #bbdefb;
}

.header-top-bar a:hover {
    color: #ffffff;
}

/* Trust indicators */
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #e3f2fd;
    color: #0f4c81;
    padding: 0.4rem 0.85rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
}
