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

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

/* WHMCS 8 ships Font Awesome 5: map the FA6 style prefixes Phox uses onto it */
.fa-solid, .fa-regular { -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; display: inline-block; font-style: normal; font-variant: normal; text-rendering: auto; line-height: 1; font-family: "Font Awesome 5 Pro"; }
.fa-solid { font-weight: 900; }
.fa-regular { font-weight: 400; }

/* EveVps: Terms / Privacy links in the footer */
.evevps-legal-links { white-space: nowrap; }
.evevps-legal-links a { margin-left: 14px; color: inherit; text-decoration: underline; text-underline-offset: 3px; opacity: .85; }
.evevps-legal-links a:hover { opacity: 1; color: var(--main-clr, inherit); }
@media (max-width: 575px) { .evevps-legal-links { display: block; margin-top: 6px; } .evevps-legal-links a:first-child { margin-left: 0; } }

/* EveVps: keep "Included With Every Plan" above the plans on screens where Phox reverses the cart layout */
@media screen and (max-width: 1199px) {
  .wdes-page-order #order-phox .cart-body .evevps-features-top { order: 99; margin-bottom: 30px !important; }
}

/* EveVps: VirtFusion OS picker + SSH key field readable in Phox dark mode */
.wdes-dark-mode .vf-os-category-header,
.wdes-dark-mode .vf-os-category-header span,
.wdes-dark-mode .vf-os-label,
.wdes-dark-mode .vfs-field-title { color: #f3f4f6 !important; }
.wdes-dark-mode .vf-os-version { color: #a1a1aa !important; }
.wdes-dark-mode .vf-os-category,
.wdes-dark-mode .vf-os-card { border-color: #3f3f46 !important; }
.wdes-dark-mode .vf-os-card:hover { border-color: #71717a !important; }
.wdes-dark-mode .vf-os-search,
.wdes-dark-mode #vf-ssh-paste {
  background-color: #1c1c1c !important;
  color: #e5e7eb !important;
  border-color: #3f3f46 !important;
}
.wdes-dark-mode .vf-os-search::placeholder,
.wdes-dark-mode #vf-ssh-paste::placeholder { color: #a1a1aa !important; }
.wdes-dark-mode .vfs-field-ssh .btn-outline-secondary {
  background-color: transparent !important;
  color: #e5e7eb !important;
  border-color: #52525b !important;
}
.wdes-dark-mode .vfs-field-ssh .btn-outline-secondary:hover {
  background-color: #2a2a2a !important;
  color: #ffffff !important;
}

/* EveVps: beat virtfusion-skin.css for the OS search box in dark mode */
.wdes-dark-mode .vfs-os-picker .vf-os-search { background-color: #1c1c1c !important; color: #e5e7eb !important; border-color: #3f3f46 !important; }

/* EveVps: OS group expand/collapse arrow in dark mode (dark circle, light arrow) */
.wdes-dark-mode .vf-os-category-header .vf-os-category-arrow { background-color: #3a3a3a !important; color: #e5e7eb !important; }
.wdes-dark-mode .vf-os-category-header:hover .vf-os-category-arrow { background-color: #4a4a4a !important; color: #ffffff !important; }

/* EveVps: dark palette for the VirtFusion skin (assets/css/virtfusion-skin.css) in Phox dark mode.
   html.wdes-dark-mode outranks the skin's :root, and body.wdes-dark-mode covers pages where only body gets the class. */
html.wdes-dark-mode,
body.wdes-dark-mode {
  --vfs-primary: #e5e7eb;
  --vfs-text:    #f3f4f6;
  --vfs-muted:   #a1a1aa;
  --vfs-faint:   #71717a;
  --vfs-bg:      #242424;
  --vfs-subtle:  #2c2c2c;
  --vfs-soft:    #333333;
  --vfs-line:    #3f3f46;
  --vfs-shadow:       0 1px 2px rgba(0, 0, 0, .30), 0 1px 3px rgba(0, 0, 0, .35);
  --vfs-shadow-hover: 0 4px 16px rgba(0, 0, 0, .45);
}
/* group rows: keep the text light on the (now dark) hover background */
.wdes-dark-mode .vf-os-category-header:hover { background: #2c2c2c !important; }
.wdes-dark-mode .vf-os-category-header:hover,
.wdes-dark-mode .vf-os-category-header:hover span { color: #ffffff !important; }
/* keep OS logo tiles light so dark logos stay visible */
.wdes-dark-mode .vf-os-category-icon, .wdes-dark-mode .vf-os-icon { background-color: #f4f5f7 !important; }
/* keep OS logo tiles light in dark mode so dark logos stay visible (beats virtfusion-skin.css) */
.wdes-dark-mode .vf-os-category-icon.vfs-has-logo,
.wdes-dark-mode .vf-os-icon.vfs-has-logo { background: #f4f5f7 !important; }
