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

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

body {
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    background: linear-gradient(180deg, #fefefe 0%, #f7f8fa 100%);
    color: #2f3d4a;
}

.container {
    max-width: 100%;
    width: 100%;
    padding-left: 1.75rem;
    padding-right: 1.75rem;
}

#main-body {
    min-height: calc(100vh - 240px);
    background:
        radial-gradient(1000px 420px at 8% -5%, rgba(242, 127, 34, 0.12), transparent 62%),
        radial-gradient(900px 360px at 94% -10%, rgba(41, 91, 154, 0.10), transparent 60%);
}

#main-body .primary-content {
    background: #ffffff;
    border: 1px solid #e8ecf2;
    border-radius: 16px;
    box-shadow: 0 16px 34px rgba(32, 38, 54, 0.10);
    padding: 1.35rem;
}

.topbar {
    background: linear-gradient(90deg, #fefaf6 0%, #f7eee5 45%, #edf2f8 100%);
    border-bottom: 1px solid #d8e1eb;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.85), 0 6px 16px rgba(18, 30, 45, 0.08);
    color: #24384d;
}

.topbar .btn,
.topbar a,
.topbar .input-group-text,
.topbar .btn-active-client {
    color: #24384d !important;
    font-weight: 600;
}

.topbar .btn:hover,
.topbar a:hover,
.topbar .btn:focus,
.topbar a:focus {
    color: #b85a0c !important;
    text-decoration: none;
}

.topbar #accountNotifications {
    background: linear-gradient(180deg, #fff 0%, #fff4e9 100%);
    border: 1px solid #e5c8aa;
    border-radius: 10px;
}

.topbar .active-client .btn {
    background: #ffffff;
    border: 1px solid #d9e2ec;
}

.topbar .active-client .btn:hover {
    background: linear-gradient(180deg, #fff7ef 0%, #ffeddc 100%);
    border-color: #e0b184;
}

.topbar .client-alerts .message {
    color: #2a3a4b;
}

.navbar.navbar-light {
    background: linear-gradient(100deg, #ffffff 0%, #fbf4ee 52%, #f6f7f9 100%);
    border-bottom: 1px solid #dde5ee;
    box-shadow: 0 10px 26px rgba(18, 30, 45, 0.08);
}

.main-navbar-wrapper {
    background: linear-gradient(90deg, #243447 0%, #1f2e3f 76%, #2f3f52 100%);
    border-bottom: 2px solid #f27f22;
    box-shadow: 0 8px 24px rgba(15, 26, 38, 0.22);
}

.main-navbar-wrapper .nav-link,
.main-navbar-wrapper .dropdown-toggle {
    color: #fff !important;
    font-weight: 600;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
}

.main-navbar-wrapper .nav-link:hover,
.main-navbar-wrapper .nav-link:focus,
.main-navbar-wrapper .show > .nav-link {
    color: #ffd8b6 !important;
}

.btn-primary,
.btn-success,
.btn-info,
.btn-warning,
.btn.btn-default:hover,
.main-navbar-wrapper .btn,
.main-navbar-wrapper .nav-link.cart-btn {
    background: linear-gradient(180deg, #ff9c4a 0%, #f27f22 100%);
    border-color: #d9670d !important;
    color: #fff !important;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.32);
    box-shadow: 0 8px 16px rgba(242, 127, 34, 0.28);
}

.btn-primary:hover,
.btn-success:hover,
.btn-info:hover,
.btn-warning:hover {
    background: linear-gradient(180deg, #ffac63 0%, #f58f3d 100%);
    border-color: #dc701a !important;
}

.btn {
    border-radius: 10px;
    transition: transform .14s ease, box-shadow .18s ease, background .18s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(20, 29, 45, 0.14);
}

.card,
.panel,
.list-group-item,
.form-control,
.custom-select,
.input-group-text {
    border-color: #dfe6ef;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7), 0 4px 12px rgba(24, 39, 58, 0.05);
}

.card,
.panel,
.list-group-item {
    border-radius: 12px;
}

.master-breadcrumb {
    background: #f3f6fa;
    border-top: 1px solid #e7edf5;
    border-bottom: 1px solid #e1e7ef;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

#footer {
    background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
    border-top: 1px solid #d9e2ec;
    color: #334a61;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

#footer .nav-link,
#footer .btn,
#footer .copyright,
#footer .list-inline-item {
    color: #334a61 !important;
}

#footer .nav-link:hover,
#footer .btn:hover {
    color: #c0600f !important;
}

#footer .nav-link {
    font-weight: 600;
}

#footer .copyright {
    opacity: 1;
    font-weight: 500;
}

#footer .iti-flag {
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.service-submenu-wrapper {
    background: linear-gradient(90deg, #ffffff 0%, #f8fbff 100%);
    border-bottom: 1px solid #dee6f0;
    box-shadow: 0 6px 14px rgba(24, 39, 58, 0.08);
}

.service-submenu-wrapper .container {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 3.1rem;
    overflow-x: auto;
    white-space: nowrap;
}

/* Logged-in nav stabiliteit */
.topbar .d-flex {
    flex-wrap: wrap;
    gap: .5rem;
}

.topbar .input-group.active-client {
    max-width: 100%;
}

.main-navbar-wrapper .navbar-nav {
    flex-wrap: wrap;
}

.main-navbar-wrapper .dropdown-menu {
    border-radius: 10px;
    border: 1px solid #dce4ee;
    box-shadow: 0 14px 30px rgba(20, 31, 47, 0.17);
    backdrop-filter: blur(4px);
}

.main-navbar-wrapper .dropdown-item:hover,
.main-navbar-wrapper .dropdown-item:focus {
    background: linear-gradient(180deg, #fff3e8 0%, #ffe8d2 100%);
    color: #ba5b0a;
}

/* Cart + auto-add notices */
.cart .alert-info,
.cart .alert-danger {
    border-radius: 10px;
    border-width: 1px;
}

#order-standard_cart .summary-container,
#order-standard_cart .view-cart-items {
    border-radius: 12px;
    border: 1px solid #e1e8f0;
    box-shadow: 0 6px 18px rgba(17, 28, 44, 0.08);
    background: linear-gradient(180deg, #ffffff 0%, #fdfefe 100%);
}

/* Product grouping cards */
.domain-grouped-services .card {
    border: 1px solid #dfe7f0;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(18, 30, 47, 0.08);
}

.domain-grouped-services .card-header {
    background: linear-gradient(95deg, #f7faff 0%, #fff5ea 100%);
    border-bottom: 1px solid #e0e7f0;
}

/* Domain cancel button alignment */
#tableDomainsList td .btn-danger.btn-xs {
    white-space: nowrap;
}

.table.table-list tbody tr {
    transition: background .16s ease, transform .14s ease;
}

.table.table-list tbody tr:hover {
    background: linear-gradient(90deg, #fffdfb 0%, #fff4ea 45%, #f7fbff 100%);
}

.label.status {
    border-radius: 999px;
    padding: .3rem .58rem;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .25);
}

.label.status.status-active {
    background: linear-gradient(180deg, #3ac06e 0%, #289f53 100%);
}

.label.status.status-cancelled,
.label.status.status-terminated {
    background: linear-gradient(180deg, #737b87 0%, #5a616b 100%);
}

.label.status.status-suspended,
.label.status.status-pending {
    background: linear-gradient(180deg, #ffb45a 0%, #f28a22 100%);
}

.form-control:focus,
.custom-select:focus,
input:focus,
select:focus,
textarea:focus {
    border-color: #f39a4a !important;
    box-shadow: 0 0 0 3px rgba(242, 127, 34, 0.17) !important;
}

.master-breadcrumb .breadcrumb {
    margin-bottom: 0;
}

.master-breadcrumb .breadcrumb a {
    color: #9b4f0e;
}

.master-breadcrumb .breadcrumb a:hover {
    color: #c36110;
}

@media (max-width: 991px) {
    .main-navbar-wrapper .navbar-nav {
        gap: .25rem;
    }
}

.service-submenu-title {
    font-size: 0.79rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #4d6174;
    font-weight: 700;
}

.service-submenu-nav {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.2rem 0;
}

.service-submenu-nav .service-submenu-link {
    display: inline-block;
    padding: 0.42rem 0.85rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    color: #2f3d4a;
    background: #edf3fa;
    border: 1px solid #d8e2ed;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65);
}

.service-submenu-nav .service-submenu-link:hover,
.service-submenu-nav .service-submenu-link.active {
    color: #fff;
    background: linear-gradient(180deg, #ff9c4a 0%, #f27f22 100%);
    border-color: #da6e15;
    box-shadow: 0 7px 14px rgba(242, 127, 34, 0.24);
}

.service-overview-card-hidden {
    display: none !important;
}

@media (max-width: 1199.98px) {
    .service-submenu-wrapper .container {
        min-height: 2.8rem;
    }
}

@media (max-width: 991.98px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    #main-body .primary-content {
        border-radius: 10px;
        padding: 1rem;
    }
}
