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

    ** 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.
 */

: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 — BDLP brand blue (bedlampdm.com) */
    --primary-50: #e8f1fb;
    --primary-100: #d1e3f7;
    --primary-200: #a3c7ef;
    --primary-300: #75abe7;
    --primary-400: #478fdf;
    --primary-500: #0466c8;
    --primary-600: #0352a0;
    --primary-700: #024078;
    --primary-800: #012d50;
    --primary-900: #011a28;
    --primary-950: #000d14;
    --primary: #0466c8;
    --primary-lifted: #0352a0;
    --primary-accented: #024078;

    /* 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: #0466c8;
    --info-lifted: #0352a0;
    --info-accented: #024078;

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

    /* BDLP brand orange (bedlampdm.com) */
    --brand-orange: #fdc500;
    --brand-orange-lifted: #e5b100;
    --brand-orange-text: #0d193d;

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

/* Typography */
body,
.btn,
.form-control,
.navbar,
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif !important;
}

/* Accent colour on interactive elements */
a:hover,
a:focus {
    color: var(--primary);
}

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

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

.btn-success,
#order-standard_cart .products .product footer .btn-order-now {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
}

.btn-success:hover,
#order-standard_cart .products .product footer .btn-order-now:hover {
    background-color: var(--primary-lifted) !important;
    border-color: var(--primary-lifted) !important;
}

/* Hide WHMCS "Powered by" branding on order pages */
p:has(a[href*="whmcs.com"]),
p[style*="text-align:center"]:has(a[href*="whmcs.com"]),
.primary-content > p[style*="text-align:center"] {
    display: none !important;
}

/* Equal-height product cards */
#order-standard_cart .products .row.row-eq-height {
    display: flex;
    flex-wrap: wrap;
}

#order-standard_cart .products .row.row-eq-height > .col-md-6 {
    display: flex;
}

#order-standard_cart .products .product {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

#order-standard_cart .products .product .product-desc {
    flex: 1 1 auto;
}

#order-standard_cart .products .product footer {
    margin-top: auto;
}

/* Homepage product/service cards — 3-column centered grid */
.home-product-cards {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
}

.home-product-cards > [class*="col-"] {
    display: flex;
}

.home-product-cards .card {
    display: flex;
    flex-direction: column;
    width: 100%;
    border: 1px solid var(--border-muted);
    border-radius: var(--rounding-lg);
}

.home-product-cards .card-body {
    flex: 1 1 auto;
}

.home-product-cards .btn-outline-primary {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.home-product-cards .btn-outline-primary:hover,
.home-product-cards .btn-outline-primary:focus {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
}

/* Top bar notifications — BDLP brand orange */
header.header .topbar #accountNotifications {
    background-color: var(--brand-orange) !important;
    color: var(--brand-orange-text) !important;
    border: none;
    border-radius: var(--rounding-md);
    padding: 0.35rem 0.75rem;
    font-weight: 600;
    margin: 0.15rem 0;
}

header.header .topbar #accountNotifications i {
    color: var(--brand-orange-text) !important;
}

header.header .topbar #accountNotifications:hover,
header.header .topbar #accountNotifications:focus {
    background-color: var(--brand-orange-lifted) !important;
    color: var(--brand-orange-text) !important;
    box-shadow: 0 0 0 0.15rem rgba(253, 197, 0, 0.35);
}
