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

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

/* =========================================================
   HorizonNode Hosting Custom Client Area
   ========================================================= */
:root {
    --hn-bg: #05061f;
    --hn-surface: #11122e;
    --hn-card: #211d3f;
    --hn-primary: #3EC1F3;
    --hn-secondary: #008FFE;
    --hn-text: #ffffff;
    --hn-muted: #aeb9d4;
    --hn-border: rgba(62, 193, 243, .16);
}

body.primary-bg-color { background: #070822 !important; color: var(--hn-text); }
body, button, input, select, textarea { font-family: Montserrat, "Open Sans", sans-serif; }

.hn-header { position: relative; z-index: 1000; background: rgba(5,6,31,.97); border-bottom: 1px solid var(--hn-border); box-shadow: 0 12px 40px rgba(0,0,0,.2); }
.hn-topbar { background: #030418; border-bottom: 1px solid rgba(255,255,255,.06); color: var(--hn-muted); font-size: 12px; }
.hn-topbar-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; }
.hn-topbar-left i { color: var(--hn-primary); margin-right: 7px; }
.hn-topbar-right { display: flex; align-items: center; gap: 16px; }
.hn-top-link, .hn-notification-btn { color: var(--hn-muted) !important; padding: 0 !important; font-size: 12px; }
.hn-top-link:hover { color: #fff !important; text-decoration: none; }
.hn-alert-count { display:inline-flex; min-width:17px; height:17px; align-items:center; justify-content:center; margin-left:3px; border-radius:50%; background:var(--hn-primary); color:#04101b; font-weight:800; }

.hn-navbar-wrap { background: rgba(5,6,31,.95); }
.hn-navbar { min-height: 82px; display: flex; align-items: center; }
.hn-brand, .hn-footer-logo { display:flex; align-items:center; gap:11px; color:#fff; text-decoration:none !important; }
.hn-logo-img { max-height: 48px; width: auto; max-width: 230px; }
.hn-brand-mark { width:42px; height:42px; border-radius:12px; display:inline-flex; align-items:center; justify-content:center; background:linear-gradient(135deg,var(--hn-primary),var(--hn-secondary)); color:#04101b; font-size:24px; font-weight:900; box-shadow:0 0 25px rgba(62,193,243,.28); }
.hn-brand-text { display:flex; flex-direction:column; line-height:1; }
.hn-brand-text strong { font-size:20px; letter-spacing:-.4px; }
.hn-brand-text small { margin-top:5px; color:var(--hn-primary); text-transform:uppercase; letter-spacing:3px; font-size:8px; }
.hn-mobile-toggle { display:none; margin-left:auto; border:1px solid var(--hn-border); color:#fff; background:var(--hn-card); border-radius:9px; width:42px; height:42px; }
.hn-nav-collapse { margin-left:auto; display:flex; align-items:center; }
.hn-main-nav { display:flex; align-items:center; gap:4px; }
.hn-main-nav > a, .hn-dropdown-toggle { color:#d9e1f2; padding:30px 13px; display:block; font-weight:600; font-size:13px; text-decoration:none !important; }
.hn-main-nav > a:hover, .hn-dropdown-toggle:hover { color:var(--hn-primary); }
.hn-dropdown { position:relative; }
.hn-dropdown-toggle i { font-size:9px; margin-left:4px; }
.hn-dropdown-menu { background:#12132f; border:1px solid var(--hn-border); padding:9px; min-width:285px; border-radius:12px; box-shadow:0 20px 50px rgba(0,0,0,.35); }
.hn-dropdown-menu .dropdown-item { display:flex; align-items:center; gap:13px; color:#fff; border-radius:8px; padding:12px; }
.hn-dropdown-menu .dropdown-item:hover { background:rgba(62,193,243,.1); color:#fff; }
.hn-dropdown-menu .dropdown-item > i { width:34px; height:34px; display:flex; align-items:center; justify-content:center; border-radius:8px; background:rgba(62,193,243,.12); color:var(--hn-primary); }
.hn-dropdown-menu span { display:flex; flex-direction:column; }
.hn-dropdown-menu small { color:var(--hn-muted); margin-top:3px; }
.hn-nav-actions { display:flex; align-items:center; gap:10px; margin-left:20px; }
.hn-icon-button { width:42px; height:42px; border:1px solid var(--hn-border); border-radius:9px; display:flex; align-items:center; justify-content:center; position:relative; color:#fff; background:rgba(255,255,255,.03); }
.hn-cart-count { position:absolute; top:-6px; right:-6px; min-width:18px; height:18px; padding:0 4px; border-radius:9px; background:var(--hn-primary); color:#04101b; font-size:10px; display:flex; align-items:center; justify-content:center; font-weight:800; }
.hn-login-link { color:#fff; font-weight:700; padding:11px 5px; }
.hn-client-button { background:linear-gradient(135deg,var(--hn-primary),var(--hn-secondary)); color:#04101b !important; padding:12px 17px; border-radius:9px; font-weight:800; text-decoration:none !important; box-shadow:0 10px 25px rgba(0,143,254,.2); }
.hn-client-button:hover { transform:translateY(-1px); box-shadow:0 14px 30px rgba(0,143,254,.3); }

.master-breadcrumb { background:#0b0c29; border-bottom:1px solid var(--hn-border); }
.master-breadcrumb .breadcrumb { background:transparent; }
.master-breadcrumb a { color:var(--hn-primary); }
#main-body { background:radial-gradient(circle at 85% 0, rgba(0,143,254,.09), transparent 33%), #070822; min-height:560px; padding-top:42px; padding-bottom:65px; }
.primary-content, .primary-content p, .primary-content label { color:#dbe4f5; }
.card, .panel, .sidebar .panel, .list-group, .modal-content { background:var(--hn-surface); border-color:var(--hn-border); color:#fff; border-radius:12px; }
.card-header, .panel-heading { background:var(--hn-card); border-color:var(--hn-border); color:#fff; }
.form-control, .custom-select { background:#0c0d29; border-color:rgba(174,185,212,.2); color:#fff; }
.form-control:focus, .custom-select:focus { background:#0c0d29; color:#fff; border-color:var(--hn-primary); box-shadow:0 0 0 .2rem rgba(62,193,243,.12); }
.table { color:#dbe4f5; }
.table td, .table th { border-color:rgba(174,185,212,.12); }
.table thead th { color:#fff; background:#151632; }
.btn-primary, .btn-success { border:none; background:linear-gradient(135deg,var(--hn-primary),var(--hn-secondary)); color:#04101b; font-weight:800; }
.btn-primary:hover, .btn-success:hover { background:linear-gradient(135deg,#62cef7,#1aa0ff); color:#04101b; }
a { color:var(--hn-primary); }
a:hover { color:#80d9fa; }

.hn-footer { background:#030418; color:var(--hn-muted); border-top:1px solid var(--hn-border); padding:64px 0 24px; }
.hn-footer-grid { display:grid; grid-template-columns:1.6fr repeat(4,1fr); gap:42px; }
.hn-footer-logo img { max-width:220px; max-height:60px; }
.hn-footer-brand p { max-width:360px; margin:22px 0; line-height:1.75; color:var(--hn-muted); }
.hn-footer-socials { display:flex; gap:9px; }
.hn-footer-socials a { width:38px; height:38px; border:1px solid var(--hn-border); border-radius:9px; display:flex; align-items:center; justify-content:center; color:#fff; background:rgba(255,255,255,.03); }
.hn-footer-socials a:hover { background:rgba(62,193,243,.12); color:var(--hn-primary); text-decoration:none; }
.hn-footer-column { display:flex; flex-direction:column; gap:10px; }
.hn-footer-column h4 { color:#fff; font-size:14px; margin:0 0 9px; }
.hn-footer-column a { color:var(--hn-muted); font-size:13px; text-decoration:none; }
.hn-footer-column a:hover { color:var(--hn-primary); }
.hn-footer-bottom { margin-top:48px; padding-top:22px; border-top:1px solid rgba(255,255,255,.08); display:flex; align-items:center; justify-content:space-between; font-size:12px; }
.hn-footer-bottom p { margin:0; }
.hn-footer-bottom > div { display:flex; align-items:center; gap:18px; }
.hn-language-button { color:var(--hn-muted); font-size:12px; padding:0; }

@media (max-width: 1199px) {
    .hn-mobile-toggle { display:block; }
    .hn-nav-collapse { width:100%; margin:0; padding:18px 0 24px; flex-direction:column; align-items:stretch; }
    .hn-navbar { flex-wrap:wrap; padding-top:14px; padding-bottom:14px; }
    .hn-main-nav { flex-direction:column; align-items:stretch; }
    .hn-main-nav > a, .hn-dropdown-toggle { padding:11px 5px; }
    .hn-dropdown-menu { position:static !important; transform:none !important; width:100%; margin:4px 0 10px; }
    .hn-nav-actions { margin:14px 0 0; }
}
@media (max-width: 991px) {
    .hn-footer-grid { grid-template-columns:repeat(2,1fr); }
    .hn-footer-brand { grid-column:1 / -1; }
}
@media (max-width: 575px) {
    .hn-topbar-left { display:none; }
    .hn-topbar-inner { justify-content:flex-end; }
    .hn-top-link { font-size:0; }
    .hn-top-link i { font-size:13px; }
    .hn-logo-img { max-width:180px; }
    .hn-footer-grid { grid-template-columns:1fr; gap:30px; }
    .hn-footer-brand { grid-column:auto; }
    .hn-footer-bottom { align-items:flex-start; flex-direction:column; gap:12px; }
    .hn-footer-bottom > div { align-items:flex-start; flex-direction:column; gap:8px; }
}
