@import url("voltron-public-approved-ui.css");

/*
 * Voltron Xtreme customer portal design layer.
 * Derived templates remain compatible with WHMCS Twenty-One.
 * All visual overrides are scoped to .vx-core-client.
 */

.vx-core-client {
    --vx-core-bg: #07101f;
    --vx-core-bg-elevated: #0d1a2e;
    --vx-core-surface: #111f35;
    --vx-core-surface-soft: #162943;
    --vx-core-border: rgba(148, 181, 229, 0.18);
    --vx-core-border-strong: rgba(70, 162, 255, 0.45);
    --vx-core-text: #eff7ff;
    --vx-core-text-muted: #a8b9cf;
    --vx-core-primary: #2997ff;
    --vx-core-primary-strong: #0878e3;
    --vx-core-cyan: #37d6f2;
    --vx-core-success: #36d399;
    --vx-core-warning: #ffbd59;
    --vx-core-danger: #ff667d;
    --vx-core-radius-sm: 10px;
    --vx-core-radius: 16px;
    --vx-core-radius-lg: 22px;
    --vx-core-shadow: 0 18px 50px rgba(0, 0, 0, 0.26);
    --vx-core-shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.18);
    min-height: 100vh;
    color: var(--vx-core-text);
    background:
        radial-gradient(circle at 12% -10%, rgba(41, 151, 255, 0.24), transparent 34rem),
        radial-gradient(circle at 92% 12%, rgba(55, 214, 242, 0.10), transparent 28rem),
        var(--vx-core-bg);
}

.vx-core-client,
.vx-core-client button,
.vx-core-client input,
.vx-core-client select,
.vx-core-client textarea {
    font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.vx-core-client a {
    color: #6ec2ff;
}

.vx-core-client a:hover {
    color: #a7ddff;
}

.vx-core-client .vx-core-skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 10000;
    padding: 10px 14px;
    color: #07101f;
    background: #fff;
    border-radius: var(--vx-core-radius-sm);
    transform: translateY(-160%);
    transition: transform 160ms ease;
}

.vx-core-client .vx-core-skip-link:focus {
    transform: translateY(0);
}

.vx-core-client :focus-visible {
    outline: 3px solid rgba(55, 214, 242, 0.88);
    outline-offset: 3px;
}

.vx-core-client .header {
    color: var(--vx-core-text);
    background: rgba(7, 16, 31, 0.92);
    border-bottom: 1px solid var(--vx-core-border);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(18px);
}

.vx-core-client .header .topbar {
    color: var(--vx-core-text-muted);
    background: rgba(255, 255, 255, 0.025);
    border-bottom: 1px solid var(--vx-core-border);
}

.vx-core-client .header .topbar .btn,
.vx-core-client .header .toolbar .nav-link,
.vx-core-client .header .btn-active-client {
    color: var(--vx-core-text);
}

.vx-core-client .header .navbar-light {
    min-height: 84px;
}

.vx-core-client .header .navbar-brand {
    display: inline-flex;
    align-items: center;
    min-height: 52px;
    color: var(--vx-core-text);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.vx-core-client .header .logo-img {
    width: auto;
    max-width: 220px;
    max-height: 54px;
    object-fit: contain;
}

.vx-core-client .main-navbar-wrapper {
    background: transparent;
    border-top: 1px solid var(--vx-core-border);
}

.vx-core-client .main-navbar-wrapper .navbar-nav > .nav-item > .nav-link {
    margin: 8px 3px;
    padding: 10px 14px;
    color: var(--vx-core-text-muted);
    border-radius: var(--vx-core-radius-sm);
    font-size: 0.9rem;
    font-weight: 700;
    transition: color 160ms ease, background 160ms ease;
}

.vx-core-client .main-navbar-wrapper .navbar-nav > .nav-item > .nav-link:hover,
.vx-core-client .main-navbar-wrapper .navbar-nav > .nav-item.active > .nav-link,
.vx-core-client .main-navbar-wrapper .navbar-nav > .nav-item.show > .nav-link {
    color: var(--vx-core-text);
    background: rgba(41, 151, 255, 0.14);
}

.vx-core-client .header .search .form-control,
.vx-core-client .header .search .btn {
    border-color: var(--vx-core-border);
    background: rgba(255, 255, 255, 0.055);
}

.vx-core-client .header .search .form-control {
    color: var(--vx-core-text);
}

.vx-core-client .dropdown-menu {
    padding: 8px;
    color: var(--vx-core-text);
    background: #101e33;
    border: 1px solid var(--vx-core-border);
    border-radius: var(--vx-core-radius);
    box-shadow: var(--vx-core-shadow);
}

.vx-core-client .dropdown-item {
    color: var(--vx-core-text-muted);
    border-radius: 9px;
}

.vx-core-client .dropdown-item:hover,
.vx-core-client .dropdown-item:focus,
.vx-core-client .dropdown-item.active {
    color: var(--vx-core-text);
    background: rgba(41, 151, 255, 0.16);
}

.vx-core-client .master-breadcrumb {
    color: var(--vx-core-text-muted);
    background: rgba(255, 255, 255, 0.018);
    border-bottom: 1px solid var(--vx-core-border);
}

.vx-core-client .breadcrumb {
    background: transparent;
}

.vx-core-client #main-body {
    min-height: 58vh;
    padding-top: 34px;
    padding-bottom: 56px;
}

.vx-core-client .primary-content > h1,
.vx-core-client .primary-content > h2,
.vx-core-client .primary-content > .header-lined h1 {
    color: var(--vx-core-text);
    font-weight: 800;
    letter-spacing: -0.035em;
}

.vx-core-client .header-lined {
    margin-bottom: 24px;
    border-bottom-color: var(--vx-core-border);
}

.vx-core-client .text-muted,
.vx-core-client .text-lighter,
.vx-core-client small,
.vx-core-client .help-block {
    color: var(--vx-core-text-muted) !important;
}

.vx-core-client .card,
.vx-core-client .panel,
.vx-core-client .domain-pricing .tld-row,
.vx-core-client .list-group-item {
    color: var(--vx-core-text);
    background: linear-gradient(145deg, rgba(22, 41, 67, 0.94), rgba(13, 26, 46, 0.96));
    border-color: var(--vx-core-border);
}

.vx-core-client .card,
.vx-core-client .panel {
    border-radius: var(--vx-core-radius);
    box-shadow: var(--vx-core-shadow-soft);
    overflow: hidden;
}

.vx-core-client .card-header,
.vx-core-client .card-footer,
.vx-core-client .panel-heading,
.vx-core-client .panel-footer {
    color: var(--vx-core-text);
    background: rgba(255, 255, 255, 0.028);
    border-color: var(--vx-core-border);
}

.vx-core-client .card-title,
.vx-core-client .panel-title {
    color: var(--vx-core-text);
    font-weight: 800;
}

.vx-core-client .tiles .tile {
    min-height: 154px;
    margin: 0 8px 16px;
    padding: 24px;
    color: var(--vx-core-text);
    background: linear-gradient(145deg, rgba(22, 41, 67, 0.96), rgba(11, 26, 47, 0.98));
    border: 1px solid var(--vx-core-border);
    border-radius: var(--vx-core-radius);
    box-shadow: var(--vx-core-shadow-soft);
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.vx-core-client .tiles .tile:hover {
    transform: translateY(-3px);
    border-color: var(--vx-core-border-strong);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.25);
}

.vx-core-client .tiles .tile .stat {
    color: var(--vx-core-text);
    font-size: 2.1rem;
    font-weight: 800;
}

.vx-core-client .tiles .tile .title {
    color: var(--vx-core-text-muted);
    font-weight: 700;
}

.vx-core-client .tiles .tile .highlight {
    height: 3px;
    background: linear-gradient(90deg, var(--vx-core-primary), var(--vx-core-cyan)) !important;
}

.vx-core-client .sidebar .card {
    box-shadow: none;
}

.vx-core-client .sidebar .list-group-item {
    color: var(--vx-core-text-muted);
    border-color: var(--vx-core-border);
}

.vx-core-client .sidebar .list-group-item:hover,
.vx-core-client .sidebar .list-group-item.active {
    color: var(--vx-core-text);
    background: rgba(41, 151, 255, 0.15);
    border-left-color: var(--vx-core-primary);
}

.vx-core-client .btn {
    border-radius: var(--vx-core-radius-sm);
    font-weight: 700;
}

.vx-core-client .btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--vx-core-primary), var(--vx-core-primary-strong));
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(41, 151, 255, 0.24);
}

.vx-core-client .btn-primary:hover,
.vx-core-client .btn-primary:focus {
    color: #fff;
    background: linear-gradient(135deg, #4aabff, #0a82ee);
    border-color: transparent;
}

.vx-core-client .btn-default,
.vx-core-client .btn-secondary,
.vx-core-client .btn-outline-primary {
    color: var(--vx-core-text);
    background: rgba(255, 255, 255, 0.055);
    border-color: var(--vx-core-border);
}

.vx-core-client .btn-default:hover,
.vx-core-client .btn-secondary:hover,
.vx-core-client .btn-outline-primary:hover {
    color: var(--vx-core-text);
    background: rgba(41, 151, 255, 0.14);
    border-color: var(--vx-core-border-strong);
}

.vx-core-client .form-control,
.vx-core-client .custom-select,
.vx-core-client .input-group-text {
    min-height: 44px;
    color: var(--vx-core-text);
    background: rgba(6, 15, 29, 0.72);
    border-color: var(--vx-core-border);
    border-radius: var(--vx-core-radius-sm);
}

.vx-core-client .form-control::placeholder {
    color: #7187a3;
}

.vx-core-client .form-control:focus,
.vx-core-client .custom-select:focus {
    color: var(--vx-core-text);
    background: rgba(6, 15, 29, 0.88);
    border-color: var(--vx-core-primary);
    box-shadow: 0 0 0 0.2rem rgba(41, 151, 255, 0.18);
}

.vx-core-client label,
.vx-core-client .form-control-label {
    color: #d7e6f8;
    font-weight: 700;
}

.vx-core-client .table {
    color: var(--vx-core-text);
    background: rgba(13, 26, 46, 0.72);
    border-radius: var(--vx-core-radius);
    overflow: hidden;
}

.vx-core-client .table thead th {
    color: #cfe5fa;
    background: rgba(41, 151, 255, 0.10);
    border-color: var(--vx-core-border);
    font-size: 0.76rem;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

.vx-core-client .table td,
.vx-core-client .table th {
    border-color: var(--vx-core-border);
}

.vx-core-client .table-hover tbody tr:hover {
    color: var(--vx-core-text);
    background: rgba(41, 151, 255, 0.075);
}

.vx-core-client .badge,
.vx-core-client .label {
    padding: 0.42em 0.68em;
    border-radius: 999px;
    font-weight: 800;
}

.vx-core-client .badge-success,
.vx-core-client .label-success,
.vx-core-client .status-active {
    color: #a8f3d2;
    background: rgba(54, 211, 153, 0.16);
}

.vx-core-client .badge-warning,
.vx-core-client .label-warning,
.vx-core-client .status-pending {
    color: #ffe0a4;
    background: rgba(255, 189, 89, 0.17);
}

.vx-core-client .badge-danger,
.vx-core-client .label-danger,
.vx-core-client .status-suspended,
.vx-core-client .status-cancelled,
.vx-core-client .status-terminated {
    color: #ffc1cb;
    background: rgba(255, 102, 125, 0.16);
}

.vx-core-client .alert {
    color: var(--vx-core-text);
    background: var(--vx-core-surface-soft);
    border: 1px solid var(--vx-core-border);
    border-left-width: 4px;
    border-radius: var(--vx-core-radius-sm);
}

.vx-core-client .alert-info { border-left-color: var(--vx-core-primary); }
.vx-core-client .alert-success { border-left-color: var(--vx-core-success); }
.vx-core-client .alert-warning { border-left-color: var(--vx-core-warning); }
.vx-core-client .alert-danger { border-left-color: var(--vx-core-danger); }

.vx-core-client .pagination .page-link {
    color: var(--vx-core-text-muted);
    background: var(--vx-core-surface);
    border-color: var(--vx-core-border);
}

.vx-core-client .pagination .page-item.active .page-link {
    color: #fff;
    background: var(--vx-core-primary);
    border-color: var(--vx-core-primary);
}

.vx-core-client .modal-content {
    color: var(--vx-core-text);
    background: var(--vx-core-bg-elevated);
    border: 1px solid var(--vx-core-border);
    border-radius: var(--vx-core-radius-lg);
    box-shadow: var(--vx-core-shadow);
}

.vx-core-client .modal-header,
.vx-core-client .modal-footer {
    border-color: var(--vx-core-border);
}

.vx-core-client .close {
    color: var(--vx-core-text);
    text-shadow: none;
}

.vx-core-client.vx-core-page-login #main-body .row {
    justify-content: center;
}

.vx-core-client.vx-core-page-login .primary-content {
    max-width: 620px;
    flex: 0 0 100%;
}

.vx-core-client.vx-core-page-login .login-form .card {
    margin-right: auto;
    margin-left: auto;
    border-color: var(--vx-core-border-strong);
    box-shadow: var(--vx-core-shadow);
}

.vx-core-client .footer {
    color: var(--vx-core-text-muted);
    background: rgba(4, 11, 22, 0.82);
    border-top: 1px solid var(--vx-core-border);
}

.vx-core-client .footer .nav-link,
.vx-core-client .footer .btn {
    color: var(--vx-core-text-muted);
}

/* Keep third-party server-module output responsive without restyling its controls. */
.vx-core-client .vx-core-module-boundary {
    position: relative;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.vx-core-client .vx-core-module-boundary img,
.vx-core-client .vx-core-module-boundary video,
.vx-core-client .vx-core-module-boundary iframe {
    max-width: 100%;
}

.vx-core-client .vx-core-module-boundary img,
.vx-core-client .vx-core-module-boundary video {
    height: auto;
}

.vx-core-client .vx-core-module-boundary input[type="text"],
.vx-core-client .vx-core-module-boundary input[type="password"],
.vx-core-client .vx-core-module-boundary textarea,
.vx-core-client .vx-core-module-boundary select {
    max-width: 100%;
}

@media (max-width: 1199.98px) {
    .vx-core-client .main-navbar-wrapper .navbar-collapse {
        margin: 10px 0 18px;
        padding: 12px;
        background: var(--vx-core-bg-elevated);
        border: 1px solid var(--vx-core-border);
        border-radius: var(--vx-core-radius);
    }
}

@media (max-width: 767.98px) {
    .vx-core-client .header .navbar-light {
        min-height: 70px;
    }

    .vx-core-client .header .logo-img {
        max-width: 165px;
        max-height: 42px;
    }

    .vx-core-client #main-body {
        padding-top: 22px;
        padding-bottom: 36px;
    }

    .vx-core-client .tiles .tile {
        min-height: 132px;
        margin: 0 5px 10px;
        padding: 18px;
    }

    .vx-core-client .tiles .tile .stat {
        font-size: 1.65rem;
    }

    .vx-core-client .card-body {
        padding: 1.1rem;
    }

    .vx-core-client .table-responsive {
        border: 1px solid var(--vx-core-border);
        border-radius: var(--vx-core-radius-sm);
    }
}

@media (prefers-reduced-motion: reduce) {
    .vx-core-client *,
    .vx-core-client *::before,
    .vx-core-client *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
