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

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

#nuvEmailAccountsPanel {
    margin-top: 0;
}

#nuvEmailAccountsPanel .nuv-email-usage {
    min-width: 110px;
    height: 18px;
    margin-bottom: 0;
}

#nuvEmailAccountsPanel .nuv-email-usage .progress-bar {
    min-width: 32px;
    font-size: 11px;
    line-height: 18px;
}

.div-service-buttons .btn-manage-account span {
    display: inline !important;
}

.tiles .tile {
    margin-bottom: 18px;
}

.tiles .tile:nth-last-child(-n+2) {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    div[menuitemname='Active Products/Services'] .panel-heading .badge,
    div[menuitemname='Active Products/Services'] .list-group-item .badge {
        display: inline-block;
        min-width: 28px;
        white-space: nowrap;
    }

    div[menuitemname='Active Products/Services'] .list-group-item {
        overflow: visible;
    }

    .div-service-item {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 12px;
    }

    .div-service-status {
        flex: 0 0 auto;
    }

    .div-service-status .label {
        width: auto !important;
        min-width: 82px;
        overflow: visible;
        text-overflow: clip;
        text-align: center;
    }

    .div-service-name {
        flex: 1 1 220px;
        margin: 0;
    }

    .div-service-name > span {
        white-space: normal;
        overflow: visible;
        text-overflow: initial;
        word-break: break-word;
    }

    .div-service-buttons {
        display: flex;
        flex: 1 1 100%;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start;
        gap: 8px;
        margin-left: 0;
        overflow: visible;
    }

    .div-service-buttons .btn-group,
    .div-service-buttons .btn {
        margin: 0;
        max-width: 100%;
    }

    .div-service-buttons .btn-group-secondary,
    .div-service-buttons .btn-view-details span:not(.sr-only) {
        display: inline-flex !important;
    }

    .div-service-buttons .btn-view-details {
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

    .div-service-buttons .btn-group-primary {
        display: inline-flex;
    }

    .div-service-buttons i:not(.fa-spinner) {
        display: inline-block;
    }

    .div-service-buttons span:not(.sr-only):not(.caret):not(.loading) {
        display: inline !important;
    }

    .div-service-item .dropdown-menu {
        max-width: 280px;
    }

    .div-service-buttons .btn,
    .div-service-buttons .btn-group {
        max-width: 100%;
    }
}

.cpanel-feature-row .cpanel-shortcut-icon {
    display: flex;
    width: 54px;
    height: 54px;
    margin: 0 auto 8px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #337ab7;
    box-shadow: 0 4px 10px rgba(51, 122, 183, 0.2);
    color: #fff;
    font-size: 25px;
    line-height: 54px;
}

.cpanel-feature-row > div {
    margin-bottom: 18px;
    text-align: center;
}

#cPanelQuickShortcutsPanel .cpanel-feature-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: flex-start;
}

#cPanelQuickShortcutsPanel .cpanel-feature-row:before,
#cPanelQuickShortcutsPanel .cpanel-feature-row:after {
    display: none;
}

#cPanelQuickShortcutsPanel .cpanel-feature-row > [class*="col-"] {
    float: none;
    display: flex;
}

.cpanel-feature-row > div > a {
    display: flex;
    min-height: 86px;
    width: 100%;
    padding: 4px 6px;
    align-items: center;
    flex-direction: column;
    justify-content: flex-start;
    color: #337ab7;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
}

.cpanel-feature-row > div > a:hover,
.cpanel-feature-row > div > a:focus {
    color: #23527c;
    text-decoration: none;
}

.cpanel-feature-row > div > a:hover .cpanel-shortcut-icon,
.cpanel-feature-row > div > a:focus .cpanel-shortcut-icon {
    transform: translateY(-2px);
    filter: brightness(1.06);
}

.cpanel-feature-row .cpanel-shortcut-icon {
    transition: transform 0.15s ease, filter 0.15s ease;
}

.cpanel-feature-row > div:nth-child(4n + 2) .cpanel-shortcut-icon {
    background: #5cb85c;
    box-shadow: 0 4px 10px rgba(92, 184, 92, 0.2);
}

.cpanel-feature-row > div:nth-child(4n + 3) .cpanel-shortcut-icon {
    background: #f0ad4e;
    box-shadow: 0 4px 10px rgba(240, 173, 78, 0.2);
}

.cpanel-feature-row > div:nth-child(4n + 4) .cpanel-shortcut-icon {
    background: #5bc0de;
    box-shadow: 0 4px 10px rgba(91, 192, 222, 0.2);
}

.table-list > tbody > tr > td:last-child {
    white-space: nowrap;
    width: 1%;
}

.domain-actions {
    display: inline-block !important;
    width: auto !important;
    min-width: 0;
    white-space: nowrap;
    vertical-align: middle;
}

.domain-actions > .btn,
.domain-actions > .dropdown-toggle {
    float: left !important;
    display: block;
    min-width: 34px;
}

.domain-actions > .dropdown-toggle .caret {
    margin-top: 0;
}

.domain-actions .dropdown-menu > li > a {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.domain-actions .dropdown-menu > li > a > i {
    width: 14px;
    text-align: center;
}

.table-container,
.dataTables_wrapper,
.dataTables_wrapper .listtable {
    overflow: visible !important;
}

#tableDomainsList,
#tableDomainsList_wrapper,
#tableDomainsList_wrapper .table-container {
    overflow: visible !important;
}

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