/* *****************************************************

    ** 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: #f2f7fd;
    --primary-100: #d9ebfb;
    --primary-200: #b5d6f6;
    --primary-300: #86baef;
    --primary-400: #4a95e3;
    --primary-500: #1c74d2;
    --primary-600: #125db1;
    --primary-700: #114c8f;
    --primary-800: #143f75;
    --primary-900: #17355f;
    --primary-950: #11213b;

    /* Primary colors */
    /* Use shades from comments if `primary` colors use other colors, then neutral */
    --primary: var(--primary-700);
    --primary-lifted: var(--primary-800);
    --primary-accented: var(--primary-900);

    /* Secondary colors */
    --secondary: #19a3a0;
    --secondary-lifted: #12817f;
    --secondary-accented: #0d6664;

    /* 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: #64748b;
    --text-lifted: #475569;
    --text-accented: #334155;
    --text: #162032;

    /* 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: #ffffff;
    --bg-muted: #f5f8fc;
    --bg-lifted: #edf3f9;
    --bg-accented: #dce8f5;
    --bg-inverted: #11213b;

    /* 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 {
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(25, 163, 160, 0.10), transparent 28%),
        linear-gradient(180deg, #f7fbff 0%, #ffffff 20%, #f3f7fb 100%);
}

a {
    color: var(--primary-600);
}

a:hover {
    color: var(--primary-800);
}

.topbar {
    background: var(--primary-950);
}

.dps-utility-bar {
    background: linear-gradient(90deg, var(--primary-950) 0%, var(--primary-800) 70%, #1d7d92 100%);
    color: #fff;
}

.dps-utility-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0.8rem 0;
}

.dps-utility-copy {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.95rem;
}

.dps-utility-tagline {
    font-weight: 700;
    letter-spacing: 0.01em;
}

.dps-utility-subcopy {
    color: rgba(255, 255, 255, 0.82);
}

.dps-utility-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dps-utility-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, 0.10);
    transition: 0.2s ease;
}

.dps-utility-link:hover {
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.18);
}

.dps-utility-link-accent {
    background: #fff;
    color: var(--primary-800);
}

.dps-utility-link-accent:hover {
    color: var(--primary-950);
    background: #e9f4fb;
}

.dps-brand-bar {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(20, 63, 117, 0.08);
}

.navbar-brand .logo-img {
    max-height: 72px;
}

.dps-brand-lockup {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.dps-wordmark {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    color: var(--primary-900);
}

.dps-portal-label {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(17, 33, 59, 0.06);
    color: var(--primary-900);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.main-navbar-wrapper {
    position: relative;
    z-index: 1100;
    background: rgba(17, 33, 59, 0.96);
    box-shadow: 0 16px 35px rgba(17, 33, 59, 0.18);
}

.main-navbar-wrapper .navbar-nav .nav-link,
.main-navbar-wrapper .dropdown-menu a {
    font-weight: 600;
}

.main-navbar-wrapper .dropdown-menu {
    margin-top: 0;
    padding: 0.45rem 0;
    border: 1px solid rgba(17, 33, 59, 0.12);
    border-radius: 1rem;
    box-shadow: 0 18px 34px rgba(17, 33, 59, 0.18);
    overflow: hidden;
}

.main-navbar-wrapper .navbar-nav .dropdown-menu {
    top: 100%;
    left: 0;
    transform: none !important;
    z-index: 1200;
}

.main-navbar-wrapper .navbar-nav > .dropdown > .dropdown-menu {
    top: calc(100% - 8px);
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.main-navbar-wrapper .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.84);
    display: inline-flex;
    align-items: center;
    min-height: 3rem;
}

.main-navbar-wrapper .navbar-nav .nav-link:hover,
.main-navbar-wrapper .navbar-nav .active > .nav-link {
    color: #fff;
    text-decoration: none;
}

.main-navbar-wrapper .navbar-nav > .nav-item {
    margin-right: 0.25rem;
    position: relative;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: 0 !important;
}

.main-navbar-wrapper .navbar-nav > .nav-item > .nav-link {
    padding: 0.9rem 0.9rem;
}

.main-navbar-wrapper .navbar-nav > .nav-item > .nav-link.dropdown-toggle::after {
    margin-left: 0.45rem;
    vertical-align: middle;
}

.main-navbar-wrapper .navbar-nav > .nav-item > .nav-link.active,
.main-navbar-wrapper .navbar-nav > .show > .nav-link,
.main-navbar-wrapper .navbar-nav > .nav-item > .nav-link:hover,
.main-navbar-wrapper .navbar-nav > .nav-item > .nav-link:focus {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 0.7rem;
}

.main-navbar-wrapper .navbar-nav > .dropdown > .nav-link.active,
.main-navbar-wrapper .navbar-nav > .dropdown.show > .nav-link {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.main-navbar-wrapper .navbar-nav > .nav-item::before,
.main-navbar-wrapper .navbar-nav > .nav-item::after {
    display: none !important;
    content: none !important;
}

.main-navbar-wrapper .navbar-nav.ml-auto > .nav-item > .nav-link {
    color: rgba(255, 255, 255, 0.72);
}

.main-navbar-wrapper .dropdown-menu li,
.main-navbar-wrapper .dropdown-menu .dps-nav-subitem {
    margin: 0;
    padding: 0;
    list-style: none;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.main-navbar-wrapper .dropdown-menu .dropdown-item {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0.7rem 1.2rem;
    background: transparent;
    border: 0;
    color: var(--primary-900);
    line-height: 1.35;
}

.main-navbar-wrapper .navbar-nav.ml-auto > .dps-right-nav-item {
    flex-shrink: 0;
}

.main-navbar-wrapper .navbar-nav .dps-account-dropdown {
    position: absolute;
    width: 19rem !important;
    min-width: 19rem !important;
    max-width: 19rem !important;
    overflow: visible;
}

.main-navbar-wrapper .navbar-nav .dps-account-dropdown .dropdown-item {
    white-space: normal;
    overflow-wrap: anywhere;
    padding-right: 1.5rem;
}

@media (max-width: 767.98px) {
    .main-navbar-wrapper .navbar-nav .dps-account-dropdown {
        width: min(19rem, calc(100vw - 2rem)) !important;
        min-width: min(19rem, calc(100vw - 2rem)) !important;
        max-width: min(19rem, calc(100vw - 2rem)) !important;
    }
}

.main-navbar-wrapper .dropdown-menu li.active,
.main-navbar-wrapper .dropdown-menu li.current,
.main-navbar-wrapper .dropdown-menu li.show,
.main-navbar-wrapper .dropdown-menu li.open {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.main-navbar-wrapper .dropdown-menu li > .dropdown-item {
    border: 0 !important;
    box-shadow: none !important;
}

.main-navbar-wrapper .dropdown-menu .dps-nav-subitem::before,
.main-navbar-wrapper .dropdown-menu .dps-nav-subitem::after {
    display: none !important;
    content: none !important;
}

.main-navbar-wrapper .dropdown-menu .dropdown-item:hover,
.main-navbar-wrapper .dropdown-menu .dropdown-item:focus,
.main-navbar-wrapper .dropdown-menu .dropdown-item.active,
.main-navbar-wrapper .dropdown-menu .dropdown-item:active {
    background: rgba(20, 63, 117, 0.08);
    color: var(--primary-950);
    text-decoration: none;
}

.main-navbar-wrapper .dropdown-menu li.active > .dropdown-item,
.main-navbar-wrapper .dropdown-menu li.current > .dropdown-item,
.main-navbar-wrapper .dropdown-menu li.show > .dropdown-item,
.main-navbar-wrapper .dropdown-menu li.open > .dropdown-item {
    background: rgba(20, 63, 117, 0.08) !important;
    color: var(--primary-950) !important;
    border: 0 !important;
    box-shadow: none !important;
}

.master-breadcrumb {
    background: transparent;
}

.dps-homepage .master-breadcrumb {
    display: none;
}

.dps-homepage #main-body > .container {
    max-width: 1240px;
}

.dps-hero {
    position: relative;
    overflow: hidden;
    padding: 3rem;
    margin: 2rem 0 2.5rem;
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(17, 33, 59, 0.96) 0%, rgba(20, 63, 117, 0.94) 60%, rgba(25, 163, 160, 0.92) 100%);
    color: #fff;
    box-shadow: 0 28px 60px rgba(17, 33, 59, 0.18);
}

.dps-hero-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.18), transparent 30%),
        radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.12), transparent 26%);
    pointer-events: none;
}

.dps-hero > .row {
    position: relative;
    z-index: 1;
}

.dps-eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #d7ecff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dps-hero h1,
.dps-section-heading h2 {
    font-weight: 800;
    letter-spacing: -0.03em;
}

.dps-hero h1 {
    max-width: 11ch;
    margin-bottom: 1rem;
    font-size: clamp(2.4rem, 4vw, 4.6rem);
    line-height: 0.96;
}

.dps-hero-copy {
    max-width: 42rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.08rem;
}

.dps-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}

.dps-btn-primary,
.dps-btn-secondary {
    padding: 0.9rem 1.35rem;
    border-radius: 999px;
    font-weight: 700;
}

.dps-btn-primary {
    background: #fff;
    color: var(--primary-900);
}

.dps-btn-primary:hover {
    color: var(--primary-950);
    background: #eef7ff;
}

.dps-btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.10);
    color: #fff;
}

.dps-btn-secondary:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
}

.dps-hero-points {
    display: grid;
    gap: 0.65rem;
    padding-left: 1.2rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
}

.dps-hero-panel {
    position: relative;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.08);
}

.dps-hero-panel h2 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
    color: #fff;
}

.dps-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.dps-stat-card {
    padding: 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
}

.dps-stat-label {
    display: block;
    margin-bottom: 0.35rem;
    color: rgba(255, 255, 255, 0.70);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.dps-stat-card strong {
    color: #fff;
    font-size: 1.05rem;
}

.dps-section {
    margin: 2.5rem 0;
}

.dps-section-muted {
    padding: 2.25rem;
    border: 1px solid rgba(20, 63, 117, 0.08);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 14px 30px rgba(17, 33, 59, 0.06);
}

.dps-home-shortcuts {
    margin: 2rem 0 3rem;
}

.dps-home-login {
    margin: 2rem 0 3rem;
}

.dps-home-login-card,
.dps-home-shortcuts-card {
    padding: 2.5rem;
    border: 1px solid rgba(20, 63, 117, 0.08);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 22px 48px rgba(17, 33, 59, 0.08);
}

.dps-home-login-card {
    background:
        linear-gradient(135deg, rgba(17, 33, 59, 0.96) 0%, rgba(20, 63, 117, 0.94) 55%, rgba(25, 163, 160, 0.88) 100%);
    color: #fff;
}

.dps-home-login-card h1 {
    max-width: 34rem;
    margin-bottom: 1rem;
    color: #fff;
    font-size: clamp(2rem, 3.2vw, 3.3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.dps-home-login-card p {
    max-width: 34rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.84);
}

.dps-home-login-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.dps-homepage .dps-home-login-links .btn,
.dps-homepage .dps-home-login-submit {
    min-height: 2.95rem !important;
    padding: 0.75rem 1.35rem !important;
    border-radius: 18px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

.dps-home-login-links .btn-default {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.dps-home-login-links .btn-default:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.dps-home-login-form {
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.dps-home-login-form .alert {
    margin-bottom: 1rem;
}

.dps-home-login-form .alert-danger,
.dps-home-login-form .alert-error,
.dps-home-login-form .alert-warning {
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
}

.dps-login-page .dps-home-login-form .text-center.margin-bottom {
    margin-top: 1rem;
}

.dps-home-login-form label {
    color: #fff;
    font-weight: 700;
}

.dps-home-login-form .form-control {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.96);
}

.dps-login-page .dps-login-password-group .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.dps-login-page .dps-login-password-group .input-group-append .btn {
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-left: 0;
    border-top-right-radius: 18px;
    border-bottom-right-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    color: #143f75;
}

.dps-login-page .text-white-50 a:hover {
    color: #fff;
}

.dps-homepage .dps-home-login-actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 0.25rem !important;
}

.dps-homepage .dps-home-login-remember {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 600;
    white-space: nowrap;
    margin-top: 1.1rem !important;
}

.dps-homepage .dps-home-login-remember .form-check-input {
    position: static;
    margin: 0;
}

.dps-homepage .dps-home-login-remember input[type="checkbox"] {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    transform: translateY(1px);
}

.dps-password-reset-page .dps-home-login-card h1 {
    font-size: clamp(2rem, 3vw, 2.9rem);
}

.dps-invite-page {
    margin: 2rem 0 3rem;
}

.dps-invite-card {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(20, 63, 117, 0.08);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--text);
    box-shadow: 0 22px 48px rgba(17, 33, 59, 0.08);
}

.dps-invite-header {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    max-width: none;
    margin: 0;
    padding: 2.2rem 2.4rem;
    background:
        linear-gradient(135deg, rgba(17, 33, 59, 0.96) 0%, rgba(20, 63, 117, 0.94) 60%, rgba(25, 163, 160, 0.88) 100%);
}

.dps-invite-header .dps-eyebrow {
    margin-bottom: 0.75rem;
}

.dps-invite-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    margin-top: 0.15rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 1.25rem;
}

.dps-invite-icon-danger {
    background: rgba(231, 0, 11, 0.18);
}

.dps-invite-header h1 {
    max-width: none;
    margin: 0 0 0.75rem;
    color: #fff;
    font-size: clamp(1.85rem, 2.4vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.dps-invite-header p {
    max-width: 48rem;
    margin: 0.45rem 0 0;
    color: rgba(255, 255, 255, 0.86);
}

.dps-invite-header strong {
    color: #fff;
}

.dps-invite-card > .alert {
    max-width: 48rem;
    margin: 1rem auto;
    border-radius: 18px;
    text-align: center;
}

.dps-invite-actions {
    margin: 0;
    padding: 2rem 2.25rem 2.25rem;
}

.dps-invite-panel {
    height: 100%;
    margin: 0;
    padding: 1.6rem;
    border: 1px solid rgba(20, 63, 117, 0.08);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96) !important;
    box-shadow: 0 14px 28px rgba(17, 33, 59, 0.06);
}

.dps-invite-panel h2 {
    margin-bottom: 1.35rem;
    color: var(--primary-950);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-align: center;
}

.dps-invite-panel label,
.dps-invite-panel .form-check,
.dps-invite-panel .form-check a {
    color: var(--primary-900);
    font-weight: 700;
}

.dps-invite-panel .form-control {
    height: 2.95rem;
    border: 1px solid rgba(20, 63, 117, 0.12);
    border-radius: 18px;
    background: #fff;
    box-shadow: none;
}

.dps-invite-panel .form-control:focus {
    border-color: rgba(20, 63, 117, 0.26);
    box-shadow: 0 0 0 3px rgba(20, 63, 117, 0.08);
}

.dps-invite-password-group .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.dps-invite-password-group .input-group-append .btn {
    min-height: 2.95rem;
    border: 1px solid rgba(20, 63, 117, 0.12);
    border-left: 0;
    border-top-right-radius: 18px;
    border-bottom-right-radius: 18px;
    background: #fff;
    color: var(--primary-800);
    font-weight: 700;
}

.dps-invite-panel .password-strength-meter p {
    margin-bottom: 0;
    color: var(--text-muted);
}

.dps-invite-panel .progress {
    overflow: hidden;
    border-radius: 999px;
    background: rgba(20, 63, 117, 0.08);
}

.dps-invite-panel .captchaimage {
    text-align: right;
}

.dps-invite-panel #default-captcha-domainchecker {
    align-items: center;
    justify-content: center;
}

.dps-invite-panel #default-captcha-domainchecker p {
    flex: 0 0 100%;
    max-width: 28rem;
    margin: 0 auto 1rem;
    color: var(--text-lifted);
    text-align: center;
}

.dps-invite-panel .captcha-container,
.dps-invite-panel .text-center.margin-bottom {
    margin-top: 1rem;
}

.dps-invite-panel .form-group.row {
    display: block;
    margin-left: 0;
    margin-right: 0;
}

.dps-invite-panel .form-group.row > div {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.dps-invite-submit {
    min-width: 9.4rem;
    min-height: 2.95rem;
    padding: 0.75rem 1.35rem;
    border-radius: 18px;
    font-weight: 800;
    line-height: 1.2;
}

.dps-invite-panel .dps-invite-submit {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    margin-top: 0.75rem;
}

.dps-invite-accept-form {
    padding: 2rem 2.25rem 2.25rem;
}

.dps-invite-missing {
    margin-bottom: 0;
}

body.dps-register-page .master-breadcrumb,
#registration ~ .master-breadcrumb,
.dps-register-page .master-breadcrumb {
    margin-top: 1rem;
    margin-bottom: 1.25rem;
    padding: 0.9rem 1.1rem;
    border: 1px solid rgba(20, 63, 117, 0.08) !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, 0.86) !important;
    box-shadow: 0 14px 28px rgba(17, 33, 59, 0.05) !important;
}

body.dps-register-page #registration,
#registration {
    margin-bottom: 3rem;
}

.dps-register-intro {
    margin: 2rem 0 2rem;
}

body.dps-register-page #registration .card,
body.dps-register-page .sidebar .card-sidebar,
body.dps-register-page .sidebar-secondary .card-sidebar,
#registration .card,
.page-clientregister .sidebar .card-sidebar,
.page-clientregister .sidebar-secondary .card-sidebar {
    overflow: hidden;
    border: 1px solid rgba(20, 63, 117, 0.08) !important;
    border-radius: 24px !important;
    background: rgba(255, 255, 255, 0.94) !important;
    box-shadow: 0 14px 28px rgba(17, 33, 59, 0.05) !important;
}

body.dps-register-page #registration .card-body,
#registration .card-body {
    padding: 1.6rem !important;
}

body.dps-register-page #registration .card-title,
body.dps-register-page .sidebar .card-sidebar .card-title,
body.dps-register-page .sidebar-secondary .card-sidebar .card-title,
#registration .card-title,
.page-clientregister .sidebar .card-sidebar .card-title,
.page-clientregister .sidebar-secondary .card-sidebar .card-title {
    color: var(--primary-950) !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
}

body.dps-register-page #registration .field,
body.dps-register-page #registration .form-control,
#registration .field,
#registration .form-control {
    height: 2.95rem !important;
    border: 1px solid rgba(20, 63, 117, 0.12) !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: none !important;
}

body.dps-register-page #registration .field:focus,
body.dps-register-page #registration .form-control:focus,
#registration .field:focus,
#registration .form-control:focus {
    border-color: rgba(20, 63, 117, 0.26) !important;
    box-shadow: 0 0 0 3px rgba(20, 63, 117, 0.08) !important;
}

body.dps-register-page #registration .prepend-icon .field,
#registration .prepend-icon .field {
    padding-left: 2.8rem !important;
}

body.dps-register-page #registration .field-icon,
#registration .field-icon {
    width: 2.6rem !important;
    color: rgba(20, 63, 117, 0.4) !important;
}

body.dps-register-page #registration .btn-primary,
body.dps-register-page #registration .btn-default,
body.dps-register-page .sidebar .card-sidebar .btn,
body.dps-register-page .sidebar-secondary .card-sidebar .btn,
#registration .btn-primary,
#registration .btn-default,
.page-clientregister .sidebar .card-sidebar .btn,
.page-clientregister .sidebar-secondary .card-sidebar .btn {
    min-height: 2.95rem !important;
    border-radius: 18px !important;
    font-weight: 700 !important;
}

body.dps-register-page #registration input[type="submit"].btn-primary,
#registration input[type="submit"].btn-primary {
    min-width: 13rem !important;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
}

body.dps-register-page .sidebar .card-sidebar .list-group-item,
body.dps-register-page .sidebar-secondary .card-sidebar .list-group-item,
.page-clientregister .sidebar .card-sidebar .list-group-item,
.page-clientregister .sidebar-secondary .card-sidebar .list-group-item {
    border-color: rgba(20, 63, 117, 0.08) !important;
}

body.dps-register-page .sidebar .card-sidebar p,
body.dps-register-page .sidebar-secondary .card-sidebar p,
.page-clientregister .sidebar .card-sidebar p,
.page-clientregister .sidebar-secondary .card-sidebar p {
    color: var(--text-lifted) !important;
}

body.dps-register-page .sidebar .card-sidebar:first-child,
.page-clientregister .sidebar .card-sidebar:first-child {
    display: none !important;
}

.dps-home-shortcuts-card h2 {
    max-width: 46rem;
    margin-bottom: 1.75rem;
    color: var(--primary-950);
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.dps-shortcuts-simple a {
    min-height: 11rem;
    border-radius: 24px;
    box-shadow: 0 14px 28px rgba(17, 33, 59, 0.08);
}

.dps-shortcuts-simple .ico-container {
    color: #c7d5e3;
}

.dps-dashboard-hero {
    margin: 0 0 2rem;
    padding: 2.4rem;
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(17, 33, 59, 0.96) 0%, rgba(20, 63, 117, 0.94) 55%, rgba(25, 163, 160, 0.88) 100%);
    color: #fff;
    box-shadow: 0 22px 48px rgba(17, 33, 59, 0.14);
}

.dps-dashboard-hero h1,
.dps-dashboard-company {
    margin-bottom: 0;
    font-size: 2rem !important;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.25;
}

.dps-dashboard-hero p {
    max-width: 46rem;
    color: rgba(255, 255, 255, 0.84);
}

.dps-dashboard-heading {
    padding-right: 1rem;
}

.dps-dashboard-welcome {
    margin: 0 0 0.35rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-transform: none;
}

.dps-dashboard-copy {
    margin-top: 1.6rem;
}

.dps-dashboard-intro,
.dps-dashboard-summary {
    max-width: none !important;
}

.dps-dashboard-intro {
    margin-bottom: 0.55rem;
    color: rgba(255, 255, 255, 0.94);
    font-size: 1rem;
    line-height: 1.6;
}

.dps-dashboard-summary {
    margin-bottom: 1.25rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.98rem;
    font-weight: 700;
}

.dps-dashboard-contact {
    padding: 1.2rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.10);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.dps-dashboard-contact h2 {
    margin-bottom: 0.5rem;
    color: #fff;
    font-size: 1.35rem;
}

.dps-dashboard-contact p {
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1rem;
    line-height: 1.45;
}

.dps-dashboard-contact-copy {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.dps-dashboard-contact-line {
    display: block;
}

.dps-dashboard-contact-copy .dps-dashboard-contact-line:first-child {
    white-space: nowrap;
}

.dps-dashboard-contact-or {
    font-weight: 600;
}

.dps-dashboard-contact a {
    color: #fff !important;
    font-weight: 700;
}

.dps-dashboard-contact a:hover {
    color: #e7f4ff !important;
    text-decoration: none;
}

.dps-dashboard-contact-links {
    display: grid;
    gap: 0.75rem;
}

.dps-dashboard-contact-links a {
    color: #fff;
    font-weight: 700;
}

.dps-dashboard-contact-links a:hover {
    color: #d8edff;
    text-decoration: none;
}

@media (min-width: 1200px) {
    .dps-dashboard-contact {
        max-width: 28rem;
        margin-left: auto;
    }
}

@media (max-width: 1199.98px) {
    .dps-dashboard-copy {
        margin-top: 1.25rem;
    }

    .dps-dashboard-heading {
        padding-right: 0;
        margin-bottom: 1rem;
    }
}

.dps-dashboard-stats {
    margin-bottom: 1rem;
}

.dps-client-dashboard .sidebar,
.dps-client-dashboard .primary-content {
    padding-top: 0;
}

.dps-dashboard-stats .row {
    margin-left: -10px;
    margin-right: -10px;
}

.dps-dashboard-stats .row > div {
    display: flex;
    padding-left: 10px;
    padding-right: 10px;
}

.dps-dashboard-stats .action-icon-btns > [class*="col-"],
.dps-dashboard-stats .dps-action-grid > [class*="col-"] {
    display: flex;
}

.dps-client-dashboard .sidebar .card-sidebar:nth-of-type(n+3),
.dps-client-dashboard .sidebar-secondary .card-sidebar:nth-of-type(n+3) {
    display: none;
}

.dps-client-dashboard .sidebar .card-sidebar,
.dps-client-dashboard .sidebar-secondary .card-sidebar {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(17, 33, 59, 0.96) 0%, rgba(20, 63, 117, 0.94) 55%, rgba(25, 163, 160, 0.88) 100%);
    box-shadow: 0 22px 48px rgba(17, 33, 59, 0.14);
}

.dps-client-dashboard .sidebar .card-sidebar .card-header,
.dps-client-dashboard .sidebar-secondary .card-sidebar .card-header {
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.08);
}

.dps-client-dashboard .sidebar .card-sidebar .card-title,
.dps-client-dashboard .sidebar-secondary .card-sidebar .card-title {
    color: #fff;
    font-weight: 800;
}

.dps-client-dashboard .sidebar .card-sidebar .list-group-item,
.dps-client-dashboard .sidebar-secondary .card-sidebar .list-group-item,
.dps-client-dashboard .sidebar .card-sidebar .card-body,
.dps-client-dashboard .sidebar-secondary .card-sidebar .card-body,
.dps-client-dashboard .sidebar .card-sidebar .card-footer,
.dps-client-dashboard .sidebar-secondary .card-sidebar .card-footer {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.92);
}

.dps-client-dashboard .sidebar .card-sidebar .btn,
.dps-client-dashboard .sidebar-secondary .card-sidebar .btn {
    border-radius: 999px;
}

.dps-client-dashboard .sidebar .card-sidebar .list-group-item,
.dps-client-dashboard .sidebar-secondary .card-sidebar .list-group-item,
.dps-client-dashboard .sidebar .card-sidebar .list-group-item a,
.dps-client-dashboard .sidebar-secondary .card-sidebar .list-group-item a,
.dps-client-dashboard .sidebar .card-sidebar p,
.dps-client-dashboard .sidebar-secondary .card-sidebar p,
.dps-client-dashboard .sidebar .card-sidebar div,
.dps-client-dashboard .sidebar-secondary .card-sidebar div {
    color: rgba(255, 255, 255, 0.92);
}

.dps-client-dashboard .sidebar .card-sidebar .list-group-item:hover,
.dps-client-dashboard .sidebar-secondary .card-sidebar .list-group-item:hover {
    background: rgba(255, 255, 255, 0.10);
}

.dps-client-dashboard .sidebar .card-sidebar .btn-default,
.dps-client-dashboard .sidebar-secondary .card-sidebar .btn-default {
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.dps-client-dashboard .sidebar .card-sidebar .btn-default:hover,
.dps-client-dashboard .sidebar-secondary .card-sidebar .btn-default:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.dps-dashboard-shortcuts .dps-dashboard-shortcut {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 13rem;
    overflow: hidden;
    padding: 1.75rem 1.25rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        linear-gradient(135deg, rgba(17, 33, 59, 0.96) 0%, rgba(20, 63, 117, 0.94) 55%, rgba(25, 163, 160, 0.88) 100%);
    box-shadow: 0 22px 48px rgba(17, 33, 59, 0.14);
}

.dps-dashboard-stats .action-icon-btns > [class*="col-"] > a,
.dps-dashboard-stats .dps-action-grid > [class*="col-"] > a {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 13rem !important;
    overflow: hidden;
    text-align: center;
}

.dps-dashboard-shortcut .ico-container {
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.82);
}

.dps-shortcut-stat {
    display: block;
    margin-bottom: 0.25rem;
    color: #fff;
    font-size: 2.3rem;
    font-weight: 800;
    line-height: 1;
}

.dps-shortcut-stat-placeholder {
    visibility: hidden;
}

.dps-shortcut-label {
    display: block;
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.dps-shortcut-subtext {
    display: block;
    max-width: 100%;
    margin-top: 0.4rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.25;
    overflow-wrap: anywhere;
    text-align: center;
    white-space: normal;
}

.dps-dashboard-stats .action-icon-btns > [class*="col-"] > a span,
.dps-dashboard-stats .dps-action-grid > [class*="col-"] > a span,
.dps-dashboard-stats .action-icon-btns > [class*="col-"] > a > *,
.dps-dashboard-stats .dps-action-grid > [class*="col-"] > a > * {
    max-width: 100%;
}

.dps-dashboard-stats .action-icon-btns > [class*="col-"] > a span:last-child,
.dps-dashboard-stats .dps-action-grid > [class*="col-"] > a span:last-child,
.dps-dashboard-stats .action-icon-btns > [class*="col-"] > a > :last-child,
.dps-dashboard-stats .dps-action-grid > [class*="col-"] > a > :last-child {
    max-width: calc(100% - 1rem);
    font-size: 0.9rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
    white-space: normal;
}

.dps-client-home-cards .card {
    overflow: hidden;
    border: 1px solid rgba(20, 63, 117, 0.08);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 14px 28px rgba(17, 33, 59, 0.05);
}

.dps-client-dashboard .primary-content .client-home-cards > .row,
.dps-client-dashboard .primary-content .dps-client-home-cards > .row {
    align-items: stretch;
}

.dps-client-dashboard .primary-content .client-home-cards > .row > [class*="col-"],
.dps-client-dashboard .primary-content .dps-client-home-cards > .row > [class*="col-"] {
    display: flex;
}

.dps-client-dashboard .primary-content .client-home-cards .card[style*="linear-gradient"],
.dps-client-dashboard .primary-content .dps-client-home-cards .card[style*="linear-gradient"] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    min-height: 14.5rem !important;
}

.dps-client-dashboard .primary-content .client-home-cards .card[style*="linear-gradient"] .card-body,
.dps-client-dashboard .primary-content .dps-client-home-cards .card[style*="linear-gradient"] .card-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: center;
}

.dps-client-dashboard .dps-dashboard-stats .action-icon-btns > [class*="col-"] > a,
.dps-client-dashboard .dps-dashboard-stats .dps-action-grid > [class*="col-"] > a,
.dps-client-dashboard .dps-dashboard-shortcuts > [class*="col-"] > a,
.dps-client-dashboard .dps-dashboard-shortcuts .dps-dashboard-shortcut {
    height: 14.5rem !important;
    min-height: 14.5rem !important;
}

.dps-client-dashboard .primary-content .action-icon-btns > [class*="col-"],
.dps-client-dashboard .primary-content .dps-action-grid > [class*="col-"] {
    display: flex !important;
}

.dps-client-dashboard .primary-content .action-icon-btns > [class*="col-"] > a,
.dps-client-dashboard .primary-content .dps-action-grid > [class*="col-"] > a,
.dps-client-dashboard .primary-content .dpse-support-shortcut,
.dps-client-dashboard .primary-content a.card-accent-midnight-blue,
.dps-client-dashboard .primary-content a[style*="linear-gradient"] {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 14.5rem !important;
    min-height: 14.5rem !important;
    max-height: 14.5rem !important;
    overflow: hidden !important;
    text-align: center !important;
}

.dps-client-dashboard .primary-content .dpse-support-shortcut .ico-container {
    margin-bottom: 0.75rem !important;
    color: rgba(255, 255, 255, 0.82) !important;
}

.dps-client-dashboard .primary-content .dpse-support-shortcut .dpse-stat {
    display: block !important;
    margin-bottom: 0.25rem !important;
    color: #fff !important;
    font-size: 2.3rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}

.dps-client-dashboard .primary-content .dpse-support-shortcut .dpse-label {
    display: block !important;
    color: #fff !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
}

.dps-client-dashboard .primary-content .dpse-support-shortcut .dpse-subtext {
    display: block !important;
    max-width: calc(100% - 1rem) !important;
    margin-top: 0.4rem !important;
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    overflow-wrap: anywhere !important;
    text-align: center !important;
    white-space: normal !important;
}

.dps-client-home-cards .card-header {
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid rgba(20, 63, 117, 0.08);
    background: linear-gradient(180deg, #ffffff 0%, #f3f7fc 100%);
}

.dps-client-home-cards .card-header .card-title {
    color: var(--primary-900);
    font-weight: 800;
}

.dps-client-home-cards .card-body,
.dps-client-home-cards .list-group-item,
.dps-client-home-cards .card-footer {
    background: transparent;
}

.dps-client-home-cards .list-group-item {
    border-color: rgba(20, 63, 117, 0.08);
}

.dps-client-home-cards .list-group-item.active {
    border-color: var(--primary-700);
    background: linear-gradient(135deg, var(--primary-700), var(--primary-800));
}

.dps-client-home-cards .btn.btn-default {
    border-radius: 999px;
}

.table-container[style*="linear-gradient(135deg"] .dataTables_wrapper .dataTables_filter label,
.table-container[style*="linear-gradient(135deg"] .dataTables_wrapper .dataTables_info,
.table-container[style*="linear-gradient(135deg"] .dataTables_wrapper .dataTables_paginate,
.table-container[style*="linear-gradient(135deg"] table.table-list thead th,
.table-container[style*="linear-gradient(135deg"] table.table-list tbody td {
    color: #fff !important;
}

.table-container[style*="linear-gradient(135deg"] .dataTables_wrapper .dataTables_filter label .form-control {
    border-color: rgba(255, 255, 255, 0.18) !important;
    background-color: rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
}

.table-container[style*="linear-gradient(135deg"] .dataTables_wrapper table.table-list,
.table-container[style*="linear-gradient(135deg"] table.table-list {
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 18px !important;
    overflow: hidden;
}

.table-container[style*="linear-gradient(135deg"] table.table-list thead th {
    background: rgba(255, 255, 255, 0.12) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.table-container[style*="linear-gradient(135deg"] .table-list > tbody > tr > td {
    background: rgba(255, 255, 255, 0.05) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.table-container[style*="linear-gradient(135deg"] .table-list > tbody > tr:hover > td {
    background: rgba(255, 255, 255, 0.10) !important;
}

.table-container[style*="linear-gradient(135deg"] .table-list a,
.table-container[style*="linear-gradient(135deg"] small.text-muted {
    color: rgba(255, 255, 255, 0.78) !important;
}

.dps-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.dps-section-heading h2 {
    margin: 0;
    font-size: clamp(1.8rem, 2.4vw, 2.8rem);
    color: var(--primary-950);
}

.dps-section-heading p {
    max-width: 32rem;
    margin: 0;
    color: var(--text-lifted);
}

.dps-service-card,
.dps-product-card {
    height: 100%;
    padding: 1.5rem;
    border: 1px solid rgba(20, 63, 117, 0.08);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 14px 28px rgba(17, 33, 59, 0.05);
}

.dps-service-card h3,
.dps-product-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-900);
}

.dps-service-card p,
.dps-product-card p {
    margin-bottom: 0.95rem;
    color: var(--text-lifted);
}

.dps-service-card a,
.dps-product-card a {
    font-weight: 700;
}

.dps-service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary-700), var(--secondary));
    color: #fff;
    font-size: 1.1rem;
}

.dps-action-grid a {
    border-radius: 22px;
    box-shadow: 0 14px 28px rgba(17, 33, 59, 0.08);
}

.search .form-control,
.search .btn,
.btn,
.card,
.dropdown-menu,
.form-control {
    border-radius: 14px;
}

.btn-primary,
.badge-info,
.page-item.active .page-link,
.pagination>.active>a,
.pagination>.active>span {
    background-color: var(--primary-700);
    border-color: var(--primary-700);
}

.btn-outline-primary {
    color: var(--primary-700);
    border-color: var(--primary-400);
}

.btn-outline-primary:hover {
    background-color: var(--primary-700);
    border-color: var(--primary-700);
}

.dps-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
    background:
        linear-gradient(180deg, #152540 0%, #11213b 100%);
    color: rgba(255, 255, 255, 0.82);
}

.dps-footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.dps-footer .list-inline {
    margin-bottom: 1rem !important;
}

.dps-footer-nav {
    margin-top: 0.5rem;
    justify-content: center !important;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
}

.dps-footer-nav .nav-link:hover,
.dps-footer .copyright {
    color: #fff;
}

.dps-footer-nav .nav-link {
    color: rgba(255, 255, 255, 0.74);
}

.dps-footer .copyright {
    margin-top: 0.75rem;
}

.dps-footer-legal {
    display: block;
    max-width: 56rem;
    margin: 0 auto;
    width: auto;
    text-align: center !important;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.7;
}

.dps-footer-legal-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
}

.dps-footer .dps-footer-legal,
.dps-footer .dps-footer-legal p,
.dps-footer-nav .nav-item {
    text-align: center !important;
}

.dps-footer-credit {
    margin: -0.25rem 0 1.25rem;
    color: rgba(255, 255, 255, 0.58);
    text-align: center;
    font-size: 0.85rem;
    line-height: 1.4;
}

.dps-footer-credit span {
    color: rgba(255, 255, 255, 0.72);
}

.sidebar a[href*="action=quotes"],
.sidebar a[href*="quotes.php"],
.sidebar a[menuitemname*="Quote"],
.sidebar a[menuitemname*="quote"],
.sidebar .list-group-item[menuitemname*="Quote"],
.sidebar .list-group-item[menuitemname*="quote"],
.sidebar a[href*="cart.php"],
.sidebar a[menuitemname*="Order New Services"],
.sidebar a[menuitemname*="order new services"],
.sidebar .list-group-item[menuitemname*="Order New Services"],
.sidebar .list-group-item[menuitemname*="order new services"],
.sidebar-secondary a[href*="action=quotes"],
.sidebar-secondary a[href*="quotes.php"],
.sidebar-secondary a[menuitemname*="Quote"],
.sidebar-secondary a[menuitemname*="quote"],
.sidebar-secondary .list-group-item[menuitemname*="Quote"],
.sidebar-secondary .list-group-item[menuitemname*="quote"],
.sidebar-secondary a[href*="cart.php"],
.sidebar-secondary a[menuitemname*="Order New Services"],
.sidebar-secondary a[menuitemname*="order new services"],
.sidebar-secondary .list-group-item[menuitemname*="Order New Services"],
.sidebar-secondary .list-group-item[menuitemname*="order new services"] {
    display: none !important;
}

body.primary-bg-color .sidebar [menuitemname*="Action"],
body.primary-bg-color .sidebar [menuitemname*="action"],
body.primary-bg-color .sidebar-secondary [menuitemname*="Action"],
body.primary-bg-color .sidebar-secondary [menuitemname*="action"] {
    display: none !important;
}

.dps-ticket-list {
    margin: 0 0 2.5rem;
}

.dps-ticket-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
    margin-bottom: 1.4rem;
}

.dps-ticket-summary-card {
    position: relative;
    overflow: hidden;
    min-height: 6.25rem;
    padding: 1.15rem 1.25rem 1.1rem;
    border: 1px solid rgba(20, 63, 117, 0.09);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 12px 24px rgba(17, 33, 59, 0.05);
}

.dps-ticket-summary-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--primary-600);
}

.dps-ticket-summary-card strong {
    display: block;
    margin-top: 0.35rem;
    color: var(--primary-950);
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1;
}

.dps-ticket-summary-label {
    display: block;
    color: var(--text-lifted);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dps-ticket-summary-open::before {
    background: var(--primary-500);
}

.dps-ticket-summary-answered::before {
    background: var(--success);
}

.dps-ticket-summary-closed::before {
    background: var(--neutral-500);
}

.dps-ticket-table-card {
    padding: 1.35rem;
    overflow: visible;
    border: 1px solid rgba(20, 63, 117, 0.09);
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 250, 253, 0.96) 100%);
    box-shadow: 0 24px 52px rgba(17, 33, 59, 0.08);
}

.dps-ticket-list .dataTables_wrapper .listtable {
    display: flex;
    flex-direction: column;
}

.dps-ticket-list .dataTables_wrapper .listtable > .dataTables_filter {
    order: 1;
}

.dps-ticket-list .dataTables_wrapper .listtable > .dataTables_info {
    order: 3;
}

.dps-ticket-list .dataTables_wrapper .listtable > .dataTable,
.dps-ticket-list .dataTables_wrapper .listtable > .dtr-inline {
    order: 2;
}

.dps-ticket-list .dataTables_wrapper .dataTables_filter,
.dps-ticket-list .dataTables_wrapper .dataTables_length,
.dps-ticket-list .dataTables_wrapper .dataTables_paginate {
    float: none;
}

.dps-ticket-list .dataTables_wrapper .dataTables_filter {
    align-self: flex-start;
    width: min(100%, 23.5rem);
    margin-left: 0;
    margin-right: auto;
    margin-bottom: 1.15rem;
}

.dps-ticket-list .dataTables_wrapper .dataTables_filter label {
    display: block;
    width: 100%;
    margin: 0;
}

.dps-ticket-list .dataTables_wrapper .dataTables_filter label .form-control {
    width: 100%;
    height: 3rem;
    padding: 0.72rem 1rem 0.72rem 2.85rem !important;
    border: 1px solid rgba(20, 63, 117, 0.12);
    border-radius: 999px;
    background-color: #fff;
    background-position: 0.95rem center;
    box-shadow: 0 8px 18px rgba(17, 33, 59, 0.04), inset 0 1px 2px rgba(17, 33, 59, 0.02);
    color: var(--text);
}

.dps-ticket-list .dataTables_wrapper .dataTables_filter label .form-control:focus,
.dps-ticket-list .dataTables_wrapper .dataTables_length select:focus {
    border-color: rgba(20, 63, 117, 0.28);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(20, 63, 117, 0.08);
}

.dps-ticket-list .dataTables_wrapper table.dps-ticket-table {
    width: 100% !important;
    margin: -0.45rem 0 1rem !important;
    overflow: visible;
    border: 0;
    border-collapse: separate;
    border-spacing: 0 0.82rem;
    border-radius: 0;
    background: transparent;
    table-layout: fixed;
}

.dps-ticket-list .dps-ticket-col-subject {
    width: 66%;
}

.dps-ticket-list .dps-ticket-col-status {
    width: 15%;
}

.dps-ticket-list .dps-ticket-col-updated {
    width: 19%;
}

.dps-ticket-list table.dps-ticket-table thead th {
    padding: 0.55rem 1.35rem 0.3rem;
    border-top: 0;
    border-bottom: 0;
    background-color: transparent !important;
    background-image: none !important;
    color: #a4afbd;
    font-size: 0.66rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-align: left;
    text-transform: uppercase;
    vertical-align: bottom;
    white-space: nowrap;
}

.dps-ticket-list table.dps-ticket-table thead th.sorting,
.dps-ticket-list table.dps-ticket-table thead th.sorting_asc,
.dps-ticket-list table.dps-ticket-table thead th.sorting_desc {
    background-color: transparent !important;
    background-image: none !important;
}

.dps-ticket-list table.dps-ticket-table thead th.sorting::before,
.dps-ticket-list table.dps-ticket-table thead th.sorting::after,
.dps-ticket-list table.dps-ticket-table thead th.sorting_asc::before,
.dps-ticket-list table.dps-ticket-table thead th.sorting_asc::after,
.dps-ticket-list table.dps-ticket-table thead th.sorting_desc::before,
.dps-ticket-list table.dps-ticket-table thead th.sorting_desc::after {
    display: none !important;
}

.dps-ticket-list table.dps-ticket-table thead th.text-center,
.dps-ticket-list table.dps-ticket-table thead th:nth-child(2) {
    text-align: center;
}

.dps-ticket-list table.dps-ticket-table thead th:nth-child(3),
.dps-ticket-list table.dps-ticket-table thead th.dps-ticket-head-updated {
    text-align: right;
}

.dps-ticket-list table.dps-ticket-table tbody td {
    overflow: hidden;
    padding: 1.18rem 1.35rem;
    border-top: 1px solid rgba(20, 63, 117, 0.06);
    border-bottom: 1px solid rgba(20, 63, 117, 0.06);
    background: #f9fbfe;
    background-clip: padding-box;
    color: var(--text);
    vertical-align: middle;
    transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.dps-ticket-list table.dps-ticket-table tbody tr.odd td,
.dps-ticket-list table.dps-ticket-table tbody tr.even td,
.dps-ticket-list table.dps-ticket-table tbody tr.odd > .sorting_1,
.dps-ticket-list table.dps-ticket-table tbody tr.even > .sorting_1 {
    background-color: #f9fbfe;
}

.dps-ticket-list table.dps-ticket-table tbody tr.dps-ticket-row-open td,
.dps-ticket-list table.dps-ticket-table tbody tr.dps-ticket-row-open.odd > .sorting_1,
.dps-ticket-list table.dps-ticket-table tbody tr.dps-ticket-row-open.even > .sorting_1 {
    border-color: rgba(28, 116, 210, 0.11);
    background-color: #f2f7ff;
}

.dps-ticket-list table.dps-ticket-table tbody tr.dps-ticket-row-answered td,
.dps-ticket-list table.dps-ticket-table tbody tr.dps-ticket-row-answered.odd > .sorting_1,
.dps-ticket-list table.dps-ticket-table tbody tr.dps-ticket-row-answered.even > .sorting_1 {
    border-color: rgba(0, 166, 62, 0.12);
    background-color: #f0faf5;
}

.dps-ticket-list table.dps-ticket-table tbody tr.dps-ticket-row-closed td,
.dps-ticket-list table.dps-ticket-table tbody tr.dps-ticket-row-closed.odd > .sorting_1,
.dps-ticket-list table.dps-ticket-table tbody tr.dps-ticket-row-closed.even > .sorting_1 {
    border-color: rgba(100, 116, 139, 0.12);
    background-color: #f3f6f9;
}

.dps-ticket-list table.dps-ticket-table tbody td:first-child {
    position: relative;
    border-left: 1px solid rgba(20, 63, 117, 0.06);
    border-top-left-radius: 18px;
    border-bottom-left-radius: 18px;
}

.dps-ticket-list table.dps-ticket-table tbody td:first-child::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    border-radius: 18px 0 0 18px;
    background: rgba(20, 63, 117, 0.28);
}

.dps-ticket-list table.dps-ticket-table tbody td:last-child {
    border-right: 1px solid rgba(20, 63, 117, 0.06);
    border-top-right-radius: 18px;
    border-bottom-right-radius: 18px;
}

.dps-ticket-list table.dps-ticket-table tbody tr:first-child td {
    border-top: 1px solid rgba(20, 63, 117, 0.06);
}

.dps-ticket-list .dps-ticket-row {
    cursor: pointer;
}

.dps-ticket-list .dps-ticket-row:hover td {
    border-color: rgba(20, 63, 117, 0.13);
    background-color: #fbfdff;
}

.dps-ticket-list table.dps-ticket-table tbody tr.dps-ticket-row-open:hover td {
    background-color: #edf5ff;
}

.dps-ticket-list table.dps-ticket-table tbody tr.dps-ticket-row-answered:hover td {
    background-color: #eaf8f1;
}

.dps-ticket-list table.dps-ticket-table tbody tr.dps-ticket-row-closed:hover td {
    background-color: #eef3f7;
}

.dps-ticket-list .dps-ticket-row:hover td:first-child {
    box-shadow: none;
}

.dps-ticket-list .dps-ticket-row:hover .dps-ticket-subject {
    color: var(--primary-700);
}

.dps-ticket-list .dps-ticket-row-open td:first-child,
.dps-ticket-list .dps-ticket-row-open:hover td:first-child,
.dps-ticket-list .dps-ticket-row-open.dps-ticket-row-unread td:first-child,
.dps-ticket-list .dps-ticket-row-open.dps-ticket-row-unread:hover td:first-child {
    box-shadow: none;
}

.dps-ticket-list .dps-ticket-row-open td:first-child::before {
    background: rgba(28, 116, 210, 0.82);
}

.dps-ticket-list .dps-ticket-row-answered td:first-child,
.dps-ticket-list .dps-ticket-row-answered:hover td:first-child,
.dps-ticket-list .dps-ticket-row-answered.dps-ticket-row-unread td:first-child,
.dps-ticket-list .dps-ticket-row-answered.dps-ticket-row-unread:hover td:first-child {
    box-shadow: none;
}

.dps-ticket-list .dps-ticket-row-answered td:first-child::before {
    background: rgba(0, 166, 62, 0.82);
}

.dps-ticket-list .dps-ticket-row-closed td:first-child,
.dps-ticket-list .dps-ticket-row-closed:hover td:first-child,
.dps-ticket-list .dps-ticket-row-closed.dps-ticket-row-unread td:first-child,
.dps-ticket-list .dps-ticket-row-closed.dps-ticket-row-unread:hover td:first-child {
    box-shadow: none;
}

.dps-ticket-list .dps-ticket-row-closed td:first-child::before {
    background: rgba(100, 116, 139, 0.76);
}

.dps-ticket-list .table-list > tbody > tr > td a.border-left,
.dps-ticket-list .dps-ticket-link {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    min-width: 14rem;
    padding-left: 0;
    border-left: 0;
    color: inherit;
    text-decoration: none;
}

.dps-ticket-list .dps-ticket-id {
    color: #426f9d;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 1.2;
}

.dps-ticket-list .dps-ticket-row-open .dps-ticket-id {
    color: #125db1;
}

.dps-ticket-list .dps-ticket-row-answered .dps-ticket-id {
    color: #01743a;
}

.dps-ticket-list .dps-ticket-row-closed .dps-ticket-id {
    color: #64748b;
}

.dps-ticket-list .dps-ticket-subject {
    color: var(--primary-950);
    font-size: 1.12rem;
    font-weight: 800;
    line-height: 1.25;
}

.dps-ticket-list .dps-ticket-subject.unread {
    color: var(--primary-700);
}

.dps-ticket-list .dps-ticket-meta {
    display: block;
}

.dps-ticket-list .dps-ticket-meta {
    color: #8290a3;
    font-size: 0.82rem;
    font-weight: 650;
    line-height: 1.35;
}

.dps-ticket-list .dps-ticket-detail-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.42rem;
    color: #8594a8;
    font-size: 0.82rem;
    font-weight: 650;
    line-height: 1.35;
}

.dps-ticket-list .dps-ticket-detail-separator {
    color: #c0cad6;
    font-size: 0.7rem;
    line-height: 1;
}

.dps-ticket-list .dps-ticket-department {
    display: block;
    color: #74859a;
    font-size: 0.82rem;
    font-weight: 650;
    line-height: 1.25;
}

.dps-ticket-list .dps-ticket-cell-updated .dps-ticket-meta {
    color: #7f8da0;
    font-size: 0.83rem;
    font-weight: 600;
}

.dps-ticket-list .dps-ticket-cell-status,
.dps-ticket-list .dps-ticket-cell-updated {
    white-space: nowrap;
}

.dps-ticket-list .dps-ticket-cell-status {
    text-align: center;
    vertical-align: middle;
}

.dps-ticket-list .dps-ticket-cell-updated {
    position: relative;
    padding-right: 2.05rem;
    text-align: right;
}

.dps-ticket-list .dps-ticket-cell-updated::after {
    content: "\f054";
    position: absolute;
    top: 50%;
    right: 0.8rem;
    transform: translateY(-50%);
    color: rgba(20, 63, 117, 0.22);
    font-family: "Font Awesome 6 Pro", "Font Awesome 5 Pro", "FontAwesome";
    font-size: 0.78rem;
    font-weight: 900;
    opacity: 0;
    transition: opacity 0.18s ease, right 0.18s ease, color 0.18s ease;
}

.dps-ticket-list .dps-ticket-row:hover .dps-ticket-cell-updated::after {
    right: 0.65rem;
    color: rgba(20, 63, 117, 0.42);
    opacity: 1;
}

.dps-ticket-list .dps-ticket-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 5.85rem;
    padding: 0.55rem 0.95rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.055em;
    line-height: 1;
    text-transform: uppercase;
    box-shadow: none;
}

.dps-ticket-list .dps-ticket-status-open,
.dps-ticket-list .status-open {
    border-color: rgba(28, 116, 210, 0.18);
    background: #e8f2ff;
    color: #125db1;
}

.dps-ticket-list .dps-ticket-status-answered,
.dps-ticket-list .status-answered {
    border-color: rgba(0, 166, 62, 0.18);
    background: #e8f8ee;
    color: #016630;
}

.dps-ticket-list .dps-ticket-status-closed,
.dps-ticket-list .status-closed {
    border-color: rgba(100, 116, 139, 0.18);
    background: #eef2f6;
    color: #475569;
}

.dps-ticket-list .dps-ticket-status-customer-reply,
.dps-ticket-list .status-customer-reply,
.dps-ticket-list .dps-ticket-status-in-progress,
.dps-ticket-list .status-in-progress {
    border-color: rgba(25, 163, 160, 0.2);
    background: #e7f8f7;
    color: #0d6664;
}

.dps-ticket-list .dps-ticket-status-on-hold,
.dps-ticket-list .status-on-hold {
    border-color: rgba(245, 74, 0, 0.18);
    background: #fff1e9;
    color: #9f2d00;
}

.dps-ticket-list .dps-ticket-status.status-custom {
    color: #fff;
}

.dps-ticket-list .dataTables_wrapper .dataTables_info {
    float: left;
    padding-top: 0.25rem;
    color: #8796aa;
    font-size: 0.82rem;
    font-weight: 650;
}

.dps-ticket-list .dataTables_wrapper .dataTables_length {
    clear: both;
    padding-top: 0.75rem;
}

.dps-ticket-list .dataTables_wrapper .dataTables_length label {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0;
    color: #8796aa;
    font-size: 0.84rem;
    font-weight: 700;
}

.dps-ticket-list .dataTables_wrapper .dataTables_length select {
    height: 2.45rem;
    min-width: 5rem;
    padding: 0.35rem 1.8rem 0.35rem 0.8rem;
    border: 1px solid rgba(20, 63, 117, 0.12);
    border-radius: 999px;
    background-color: #fff;
    color: var(--text);
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(17, 33, 59, 0.04);
}

.dps-ticket-list .dataTables_wrapper .dataTables_paginate {
    padding-top: 0.75rem;
}

.dps-ticket-list .dataTables_wrapper .pagination {
    gap: 0.55rem;
    margin: 0;
}

.dps-ticket-list .dataTables_wrapper .page-link,
.dps-ticket-list .dataTables_wrapper .pagination > li > a,
.dps-ticket-list .dataTables_wrapper .pagination > li > span {
    min-width: 2.45rem;
    min-height: 2.45rem;
    padding: 0.6rem 0.82rem;
    border: 1px solid rgba(20, 63, 117, 0.1);
    border-radius: 14px !important;
    background: #fff;
    color: var(--primary-800);
    font-weight: 750;
    line-height: 1.15;
    text-align: center;
    box-shadow: 0 8px 18px rgba(17, 33, 59, 0.035);
}

.dps-ticket-list .dataTables_wrapper .page-link:hover,
.dps-ticket-list .dataTables_wrapper .pagination > li > a:hover {
    border-color: rgba(20, 63, 117, 0.22);
    background: #eef6ff;
    color: var(--primary-950);
    transform: translateY(-1px);
}

.dps-ticket-list .dataTables_wrapper .page-item.active .page-link,
.dps-ticket-list .dataTables_wrapper .pagination > .active > a,
.dps-ticket-list .dataTables_wrapper .pagination > .active > span {
    border-color: var(--primary-700);
    background: var(--primary-700);
    color: #fff;
    box-shadow: 0 10px 20px rgba(20, 63, 117, 0.18);
}

.dps-ticket-list .dataTables_wrapper .page-item.disabled .page-link,
.dps-ticket-list .dataTables_wrapper .pagination > .disabled > a,
.dps-ticket-list .dataTables_wrapper .pagination > .disabled > span {
    border-color: rgba(20, 63, 117, 0.06);
    background: #f5f8fb;
    color: #98a6b8;
}

.dps-ticket-list table.dtr-inline.collapsed > tbody > tr > td.dtr-control::before,
.dps-ticket-list table.dtr-inline.collapsed > tbody > tr > th.dtr-control::before {
    border: 0;
    background: var(--primary-700);
    box-shadow: none;
}

.dps-ticket-list table.dataTable > tbody > tr.child ul.dtr-details {
    width: 100%;
}

.dps-ticket-list table.dataTable > tbody > tr.child ul.dtr-details > li {
    border-color: rgba(20, 63, 117, 0.08);
}

.dps-ticket-list table.dataTable > tbody > tr.child .dtr-title {
    color: #8d9aae;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

@media (max-width: 767.98px) {
    .dps-ticket-summary {
        grid-template-columns: 1fr;
    }

    .dps-ticket-table-card {
        padding: 0.85rem;
        border-radius: 20px;
    }

    .dps-ticket-list .dataTables_wrapper .dataTables_filter {
        align-self: stretch;
        width: 100%;
        margin-top: 0;
    }

    .dps-ticket-list .dataTables_wrapper table.dps-ticket-table {
        border-spacing: 0 0.65rem;
        border-radius: 0;
    }

    .dps-ticket-list table.dps-ticket-table thead th,
    .dps-ticket-list table.dps-ticket-table tbody td {
        padding: 1rem;
    }

    .dps-ticket-list .dps-ticket-col-subject,
    .dps-ticket-list .dps-ticket-col-status,
    .dps-ticket-list .dps-ticket-col-updated {
        width: auto;
    }

    .dps-ticket-list .dps-ticket-subject {
        font-size: 1.03rem;
    }

    .dps-ticket-list .dps-ticket-detail-line,
    .dps-ticket-list .dps-ticket-cell-updated .dps-ticket-meta {
        font-size: 0.78rem;
    }

    .dps-ticket-list .dps-ticket-status {
        min-width: 5.4rem;
        padding: 0.5rem 0.78rem;
    }

    .dps-ticket-list .dataTables_wrapper .dataTables_info,
    .dps-ticket-list .dataTables_wrapper .dataTables_paginate,
    .dps-ticket-list .dataTables_wrapper .dataTables_length {
        float: none;
        width: 100%;
        text-align: center;
    }

    .dps-ticket-list .dataTables_wrapper .dataTables_length label {
        justify-content: center;
        flex-wrap: wrap;
    }

    .dps-ticket-list .dataTables_wrapper .pagination {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 1199.98px) {
    .dps-utility-inner,
    .dps-section-heading {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 991.98px) {
    .dps-hero {
        padding: 2rem;
    }

    .dps-stat-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .dps-utility-actions,
    .dps-hero-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .dps-utility-link,
    .dps-btn-primary,
    .dps-btn-secondary {
        justify-content: center;
    }

    .dps-hero {
        padding: 1.5rem;
        margin-top: 1rem;
        border-radius: 22px;
    }

    .dps-section-muted {
        padding: 1.5rem;
    }

    .dps-home-login-card,
    .dps-home-shortcuts-card {
        padding: 1.5rem;
    }

    .dps-invite-header {
        flex-direction: column;
        padding: 1.5rem;
    }

    .dps-invite-actions,
    .dps-invite-accept-form {
        padding: 1.5rem;
    }

    .dps-home-login-actions {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Portal polish pass */
:root {
    --dps-panel-radius: 24px;
    --dps-control-radius: 16px;
    --dps-panel-border: rgba(255, 255, 255, 0.12);
    --dps-light-border: rgba(20, 63, 117, 0.09);
    --dps-panel-shadow: 0 22px 48px rgba(17, 33, 59, 0.14);
    --dps-soft-shadow: 0 16px 34px rgba(17, 33, 59, 0.07);
    --dps-portal-gradient: linear-gradient(135deg, rgba(17, 33, 59, 0.96) 0%, rgba(20, 63, 117, 0.94) 55%, rgba(25, 163, 160, 0.88) 100%);
}

#main-body {
    padding-top: 1.85rem;
    padding-bottom: 2rem;
}

#main-body > .container,
.topbar > .container,
.dps-utility-bar > .container,
.dps-brand-bar > .container,
.main-navbar-wrapper > .container {
    width: min(100%, 1480px);
    max-width: 1480px;
}

#main-body > .container {
    padding-left: clamp(1rem, 2.2vw, 2rem);
    padding-right: clamp(1rem, 2.2vw, 2rem);
}

#main-body .primary-content,
#main-body .sidebar {
    min-width: 0;
}

#main-body .row {
    row-gap: 1.65rem;
    align-items: flex-start;
}

.primary-content > h1,
.primary-content > h2,
.primary-content > h3 {
    margin-top: 0;
    margin-bottom: 1.45rem;
    color: var(--primary-950);
    font-weight: 800;
    letter-spacing: -0.01em;
}

.dps-portal-panel,
.dps-portal-table-card,
.sidebar .card-sidebar,
.sidebar-secondary .card-sidebar,
.dps-client-home-cards .card,
.dps-ticket-table-card,
.dps-ticket-summary-card {
    border-radius: var(--dps-panel-radius) !important;
}

.dps-portal-panel,
.dps-portal-table-card {
    overflow: hidden;
    border: 1px solid var(--dps-panel-border);
    background: var(--dps-portal-gradient);
    box-shadow: var(--dps-panel-shadow);
    color: #fff;
    transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.dps-portal-panel .card-body,
.dps-hosting-overview-card .card-body {
    background: transparent;
    color: #fff;
}

.dps-hosting-overview-card {
    min-height: 23rem;
    margin-bottom: 2rem;
}

.dps-hosting-overview-card .card-body {
    padding: clamp(1.55rem, 2.6vw, 2.45rem);
}

.dps-hosting-overview-card .product-details > .row {
    align-items: stretch;
}

.dps-hosting-overview-card .product-status {
    height: 100%;
    margin-bottom: 0 !important;
    padding: 1.35rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.dps-hosting-overview-card .product-icon h3,
.dps-hosting-overview-card .product-icon h4 {
    color: #11213b !important;
}

.dps-hosting-overview-card h4 {
    margin: 0 0 0.35rem;
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.dps-hosting-overview-card .product-actions-wrapper {
    margin-top: 1.1rem;
    row-gap: 0.85rem;
}

.dps-hosting-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.95rem;
    height: 100%;
}

.dps-hosting-meta-item {
    min-width: 0;
    padding: 1.08rem 1.12rem;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.09);
}

.dps-hosting-meta-wide {
    grid-column: 1 / -1;
}

.dps-hosting-meta-item p {
    margin: 0;
    color: #fff;
    font-size: 1rem;
    font-weight: 750;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.dps-portal-table-card {
    padding: clamp(1.18rem, 2vw, 1.75rem);
}

.dps-portal-table-card .dataTables_wrapper .listtable {
    display: flex;
    flex-direction: column;
}

.dps-portal-table-card .dataTables_wrapper .dataTables_filter,
.dps-portal-table-card .dataTables_wrapper .dataTables_length,
.dps-portal-table-card .dataTables_wrapper .dataTables_info,
.dps-portal-table-card .dataTables_wrapper .dataTables_paginate {
    float: none;
}

.dps-portal-table-card .dataTables_wrapper .dataTables_filter {
    align-self: flex-start;
    width: min(100%, 25rem);
    margin: 0 0 1.35rem;
}

.dps-portal-table-card .dataTables_wrapper .dataTables_filter label {
    display: block;
    width: 100%;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.84rem;
    font-weight: 750;
}

.dps-portal-table-card .dataTables_wrapper .dataTables_filter .form-control {
    width: 100%;
    min-height: 3.1rem;
    padding: 0.78rem 1rem 0.78rem 2.85rem !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 999px !important;
    background-color: rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
    box-shadow: inset 0 1px 2px rgba(17, 33, 59, 0.1);
}

.dps-portal-table-card .dataTables_wrapper .dataTables_filter .form-control::placeholder {
    color: rgba(255, 255, 255, 0.62);
}

.dps-portal-table-card table.table-list {
    width: 100% !important;
    margin: -0.1rem 0 1.12rem !important;
    border: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 0.86rem !important;
    background: transparent !important;
    table-layout: auto;
}

.dps-portal-table-card table.table-list thead th {
    padding: 0.62rem 1.12rem 0.34rem !important;
    border: 0 !important;
    background: transparent !important;
    color: rgba(255, 255, 255, 0.64) !important;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.dps-portal-table-card table.table-list tbody td {
    padding: 1.3rem 1.12rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: rgba(255, 255, 255, 0.075) !important;
    color: rgba(255, 255, 255, 0.92) !important;
    vertical-align: middle !important;
    line-height: 1.4;
}

.dps-portal-table-card table.table-list tbody td:first-child {
    border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-top-left-radius: 18px;
    border-bottom-left-radius: 18px;
}

.dps-portal-table-card table.table-list tbody td:last-child {
    border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-top-right-radius: 18px;
    border-bottom-right-radius: 18px;
}

.dps-portal-table-card table.table-list tbody tr:hover td {
    border-color: rgba(255, 255, 255, 0.18) !important;
    background: rgba(255, 255, 255, 0.13) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.dps-portal-table-card table.table-list a,
.dps-portal-table-card .dps-table-primary {
    color: #fff !important;
    font-size: 1.02rem;
    font-weight: 850;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.dps-portal-table-card .dps-table-title-cell {
    min-width: 15rem;
}

.dps-portal-table-card .dps-table-secondary,
.dps-portal-table-card small.text-muted {
    color: rgba(255, 255, 255, 0.68) !important;
    font-size: 0.84rem;
    font-weight: 620;
    line-height: 1.45;
}

.dps-portal-table-card .dps-table-money {
    color: rgba(255, 255, 255, 0.86) !important;
    font-weight: 760;
}

.dps-portal-table-card .dataTables_info {
    padding-top: 0.58rem;
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.82rem;
    font-weight: 650;
}

.dps-portal-table-card .dataTables_length {
    padding-top: 0.65rem;
}

.dps-portal-table-card .dataTables_length label {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.84rem;
    font-weight: 700;
}

.dps-portal-table-card .dataTables_length select {
    min-height: 2.45rem;
    border-color: rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.dps-portal-table-card .pagination {
    gap: 0.45rem;
    margin: 0.45rem 0 0;
}

.dps-portal-table-card .page-link,
.dps-portal-table-card .pagination > li > a,
.dps-portal-table-card .pagination > li > span {
    min-width: 2.55rem;
    min-height: 2.55rem;
    padding: 0.65rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.10);
    color: #fff;
    font-weight: 750;
    text-align: center;
}

.dps-portal-table-card table.dataTable > tbody > tr.child td,
.dps-portal-table-card table.dataTable > tbody > tr.child:hover td {
    padding: 1rem 1.1rem !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

.dps-portal-table-card table.dataTable > tbody > tr.child ul.dtr-details {
    width: 100%;
}

.dps-portal-table-card table.dataTable > tbody > tr.child ul.dtr-details > li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7rem 0;
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.dps-portal-table-card table.dataTable > tbody > tr.child .dtr-title {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.dps-portal-table-card table.dtr-inline.collapsed > tbody > tr > td.dtr-control::before,
.dps-portal-table-card table.dtr-inline.collapsed > tbody > tr > th.dtr-control::before {
    border: 0;
    background: #fff;
    color: var(--primary-900);
    box-shadow: none;
}

.dps-portal-table-card .page-link:hover,
.dps-portal-table-card .pagination > li > a:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.dps-portal-table-card .page-item.active .page-link,
.dps-portal-table-card .pagination > .active > a,
.dps-portal-table-card .pagination > .active > span {
    border-color: #fff;
    background: #fff;
    color: var(--primary-900);
}

#main-body .primary-content > .table-container:not(.dps-portal-table-card):not(.dps-ticket-table-card),
#main-body .primary-content form > .table-container:not(.dps-portal-table-card):not(.dps-ticket-table-card) {
    padding: clamp(1.15rem, 1.9vw, 1.58rem);
    overflow: hidden;
    border: 1px solid var(--dps-light-border);
    border-radius: var(--dps-panel-radius);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--dps-soft-shadow);
}

#main-body .primary-content > .table-container:not(.dps-portal-table-card):not(.dps-ticket-table-card) table.table-list,
#main-body .primary-content form > .table-container:not(.dps-portal-table-card):not(.dps-ticket-table-card) table.table-list {
    width: 100% !important;
    margin-bottom: 1.12rem !important;
    border: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 0.78rem !important;
    background: transparent !important;
}

#main-body .primary-content > .table-container:not(.dps-portal-table-card):not(.dps-ticket-table-card) table.table-list thead th,
#main-body .primary-content form > .table-container:not(.dps-portal-table-card):not(.dps-ticket-table-card) table.table-list thead th {
    padding: 0.58rem 1rem 0.28rem !important;
    border: 0 !important;
    background: transparent !important;
    color: #8a98aa;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

#main-body .primary-content > .table-container:not(.dps-portal-table-card):not(.dps-ticket-table-card) table.table-list tbody td,
#main-body .primary-content form > .table-container:not(.dps-portal-table-card):not(.dps-ticket-table-card) table.table-list tbody td {
    padding: 1.22rem 1.05rem !important;
    border-top: 1px solid rgba(20, 63, 117, 0.07) !important;
    border-bottom: 1px solid rgba(20, 63, 117, 0.07) !important;
    background: #f9fbfe !important;
    color: var(--text);
    vertical-align: middle !important;
    line-height: 1.4;
}

#main-body .primary-content > .table-container:not(.dps-portal-table-card):not(.dps-ticket-table-card) table.table-list tbody td:first-child,
#main-body .primary-content form > .table-container:not(.dps-portal-table-card):not(.dps-ticket-table-card) table.table-list tbody td:first-child {
    border-left: 1px solid rgba(20, 63, 117, 0.07) !important;
    border-top-left-radius: 16px;
    border-bottom-left-radius: 16px;
}

#main-body .primary-content > .table-container:not(.dps-portal-table-card):not(.dps-ticket-table-card) table.table-list tbody td:last-child,
#main-body .primary-content form > .table-container:not(.dps-portal-table-card):not(.dps-ticket-table-card) table.table-list tbody td:last-child {
    border-right: 1px solid rgba(20, 63, 117, 0.07) !important;
    border-top-right-radius: 16px;
    border-bottom-right-radius: 16px;
}

#main-body .primary-content > .table-container:not(.dps-portal-table-card):not(.dps-ticket-table-card) table.table-list tbody tr:hover td,
#main-body .primary-content form > .table-container:not(.dps-portal-table-card):not(.dps-ticket-table-card) table.table-list tbody tr:hover td {
    border-color: rgba(20, 63, 117, 0.13) !important;
    background: #eef6ff !important;
}

#main-body .primary-content > .table-container:not(.dps-portal-table-card):not(.dps-ticket-table-card) .dataTables_filter,
#main-body .primary-content form > .table-container:not(.dps-portal-table-card):not(.dps-ticket-table-card) .dataTables_filter {
    width: min(100%, 24rem);
    margin-bottom: 1rem;
}

#main-body .primary-content > .table-container:not(.dps-portal-table-card):not(.dps-ticket-table-card) .dataTables_filter label,
#main-body .primary-content form > .table-container:not(.dps-portal-table-card):not(.dps-ticket-table-card) .dataTables_filter label {
    display: block;
    width: 100%;
    margin: 0;
}

#main-body .primary-content > .table-container:not(.dps-portal-table-card):not(.dps-ticket-table-card) .dataTables_filter .form-control,
#main-body .primary-content form > .table-container:not(.dps-portal-table-card):not(.dps-ticket-table-card) .dataTables_filter .form-control {
    width: 100%;
    min-height: 2.85rem;
    border-radius: 999px;
}

.label.status,
.status,
.badge,
.dps-ticket-list .dps-ticket-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    min-height: 1.9rem;
    padding: 0.47rem 0.82rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.045em;
    line-height: 1.05;
    text-transform: uppercase;
    white-space: nowrap;
    overflow-wrap: anywhere;
}

.status-active,
.status-paid,
.status-open,
.label.status-active,
.label.status-paid,
.label.status-open {
    border-color: rgba(0, 166, 62, 0.22);
    background: #e8f8ee;
    color: #016630;
}

.status-pending,
.status-unpaid,
.status-pendingtransfer,
.status-pendingregistration,
.label.status-pending,
.label.status-unpaid,
.label.status-pendingtransfer,
.label.status-pendingregistration {
    border-color: rgba(245, 74, 0, 0.2);
    background: #fff1e9;
    color: #9f2d00;
}

.status-expired,
.status-cancelled,
.status-terminated,
.status-fraud,
.label.status-expired,
.label.status-cancelled,
.label.status-terminated,
.label.status-fraud {
    border-color: rgba(100, 116, 139, 0.2);
    background: #eef2f6;
    color: #475569;
}

.status-suspended,
.status-collections,
.status-overdue,
.label.status-suspended,
.label.status-collections,
.label.status-overdue {
    border-color: rgba(231, 0, 11, 0.2);
    background: #fff0f1;
    color: #9f0712;
}

.dps-domain-actions {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.62rem;
    width: 100%;
    padding: 0.95rem;
    border: 1px solid var(--dps-light-border);
    border-radius: var(--dps-panel-radius);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--dps-soft-shadow);
}

.dps-domain-actions > .btn,
.dps-domain-actions > .btn-group > .btn {
    min-height: 2.65rem;
    border-radius: 999px !important;
    font-weight: 750;
}

.dps-domain-actions > .btn:hover,
.dps-domain-actions > .btn-group > .btn:hover,
.dps-portal-table-card .btn:hover,
.dps-hosting-meta-item:hover {
    transform: translateY(-1px);
}

.dps-empty-state {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-height: 18rem;
    padding: clamp(1.5rem, 3vw, 2.6rem);
    border: 1px solid var(--dps-panel-border);
    border-radius: var(--dps-panel-radius);
    background: var(--dps-portal-gradient);
    color: #fff;
    box-shadow: var(--dps-panel-shadow);
}

.dps-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.4rem;
    height: 3.4rem;
    margin-bottom: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 1.35rem;
}

.dps-empty-state h2 {
    margin: 0 0 0.65rem;
    color: #fff;
    font-size: clamp(1.55rem, 2.1vw, 2.15rem);
    font-weight: 800;
    letter-spacing: -0.01em;
}

.dps-empty-state p {
    max-width: 38rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
}

.sidebar .card-sidebar,
.sidebar-secondary .card-sidebar {
    margin-bottom: 1.1rem !important;
    margin-top: 0 !important;
}

.sidebar .card-sidebar .card-header,
.sidebar-secondary .card-sidebar .card-header {
    padding: 1.08rem 1.22rem !important;
}

.sidebar .card-sidebar .list-group-item,
.sidebar-secondary .card-sidebar .list-group-item {
    padding: 0.96rem 1.22rem !important;
}

.sidebar-menu-item-wrapper {
    gap: 0.65rem;
}

.dps-footer {
    margin-top: 2rem;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

.dps-footer-inner {
    gap: 0.45rem;
}

.dps-footer-nav {
    flex-wrap: wrap;
    margin: 0 0 0.35rem !important;
}

.dps-footer-nav .nav-link {
    padding: 0.35rem 0.65rem;
}

.dps-footer-credit {
    margin: 0 0 0.45rem;
    font-size: 0.8rem;
}

.dps-footer-legal {
    line-height: 1.45;
    font-size: 0.82rem;
}

.dps-footer-legal p {
    margin-bottom: 0.15rem !important;
}

@media (min-width: 1200px) {
    #main-body .col-xl-3 {
        flex: 0 0 22.5%;
        max-width: 22.5%;
    }

    #main-body .col-xl-9 {
        flex: 0 0 77.5%;
        max-width: 77.5%;
    }
}

@media (max-width: 991.98px) {
    #main-body {
        padding-top: 1.28rem;
    }

    .sidebar {
        margin-bottom: 1rem;
    }

    .dps-hosting-overview-card {
        min-height: 0;
    }

    .dps-hosting-overview-card .product-status {
        height: auto;
        margin-bottom: 1rem !important;
    }

    .dps-portal-table-card .dataTables_wrapper .dataTables_filter,
    .dps-portal-table-card .dataTables_wrapper .dataTables_info,
    .dps-portal-table-card .dataTables_wrapper .dataTables_paginate,
    .dps-portal-table-card .dataTables_wrapper .dataTables_length {
        width: 100%;
        text-align: center;
    }

    .dps-portal-table-card .dataTables_wrapper .dataTables_filter {
        align-self: stretch;
        margin-bottom: 1.15rem;
    }

    .dps-portal-table-card .dataTables_length label,
    .dps-portal-table-card .pagination {
        justify-content: center;
        flex-wrap: wrap;
    }

    .dps-domain-actions {
        display: flex;
    }
}

@media (max-width: 767.98px) {
    #main-body > .container {
        padding-left: 0.9rem;
        padding-right: 0.9rem;
    }

    .dps-portal-table-card {
        padding: 1rem;
        border-radius: 20px !important;
    }

    .dps-portal-table-card table.table-list {
        border-spacing: 0 0.72rem !important;
    }

    .dps-portal-table-card table.table-list thead th {
        padding-left: 0.8rem !important;
        padding-right: 0.8rem !important;
    }

    .dps-portal-table-card table.table-list tbody td {
        padding: 1.08rem 0.88rem !important;
    }

    .dps-portal-table-card .dps-table-title-cell {
        min-width: 11rem;
    }

    .dps-portal-table-card table.table-list a,
    .dps-portal-table-card .dps-table-primary {
        font-size: 1rem;
    }

    .dps-portal-table-card .dps-table-secondary,
    .dps-portal-table-card small.text-muted {
        font-size: 0.82rem;
    }

    .dps-portal-table-card table.dataTable > tbody > tr.child ul.dtr-details > li {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.3rem;
        text-align: left;
    }

    .dps-portal-table-card table.dataTable > tbody > tr.child .dtr-data {
        width: 100%;
    }

    .dps-portal-table-card .dataTables_info {
        padding-top: 0.25rem;
    }

    .dps-portal-table-card .pagination {
        margin-top: 0.65rem;
    }

    .label.status,
    .status,
    .badge,
    .dps-ticket-list .dps-ticket-status {
        max-width: 100%;
        font-size: 0.68rem;
        letter-spacing: 0.035em;
        white-space: nowrap;
    }

    .dps-domain-actions,
    .dps-domain-actions > .btn,
    .dps-domain-actions > .btn-group {
        width: 100%;
    }

    .dps-domain-actions > .btn,
    .dps-domain-actions > .btn-group > .btn {
        justify-content: center;
        width: 100%;
        min-height: 2.8rem;
    }

    .dps-hosting-meta-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .dps-hosting-meta-item {
        padding: 1rem;
    }

    .dps-empty-state {
        min-height: 15rem;
        align-items: center;
        text-align: center;
    }

    .dps-footer {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
}
