:root {
    --primary: #011E6C;
    --primary-hover: #011650;
    --primary-soft: rgba(1, 30, 108, 0.12);
}

[data-typography="helvetica"] {
    color: #4b5563;
    font-family: "HelveticaNeueMed", "HelveticaNeue", Arial, sans-serif;
    font-weight: 500;
}

[data-typography="helvetica"] h1,
[data-typography="helvetica"] h2,
[data-typography="helvetica"] h3,
[data-typography="helvetica"] h4,
[data-typography="helvetica"] h5,
[data-typography="helvetica"] h6,
[data-typography="helvetica"] strong,
[data-typography="helvetica"] .font-weight-bold {
    font-family: "HelveticaNeueMed", "HelveticaNeue", Arial, sans-serif;
    font-weight: 700;
}

[data-typography="helvetica"] label,
[data-typography="helvetica"] .form-control,
[data-typography="helvetica"] .custom-control-label,
[data-typography="helvetica"] .btn,
[data-typography="helvetica"] a {
    font-weight: 500;
}

[data-typography="helvetica"] .form-control::placeholder {
    color: #6b7280;
    font-weight: 500;
    opacity: 1;
}

[data-primary="color_8"] a:not(.btn):not(.dropdown-item):not(.paginate_button):not(.auth-language-option),
[data-primary="color_8"] a.active:not(.btn):not(.dropdown-item):not(.paginate_button):not(.auth-language-option),
[data-primary="color_8"] a:focus:not(.btn):not(.dropdown-item):not(.paginate_button):not(.auth-language-option),
[data-primary="color_8"] a:hover:not(.btn):not(.dropdown-item):not(.paginate_button):not(.auth-language-option),
[data-primary="color_8"] .text-primary {
    color: var(--primary) !important;
}

[data-primary="color_8"] .btn-primary,
[data-primary="color_8"] .bg-primary,
[data-primary="color_8"] .badge-primary,
[data-primary="color_8"] .dropdown-item.active,
[data-primary="color_8"] .dropdown-item:active,
[data-primary="color_8"] .page-item.active .page-link,
[data-primary="color_8"] .custom-control-input:checked ~ .custom-control-label::before,
[data-primary="color_8"] .custom-checkbox .custom-control-input:indeterminate ~ .custom-control-label::before,
[data-primary="color_8"] .sk-three-bounce .sk-child {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

[data-primary="color_8"] .btn-primary,
[data-primary="color_8"] a.btn-primary,
[data-primary="color_8"] button.btn-primary,
[data-primary="color_8"] .badge-primary,
[data-primary="color_8"] .dropdown-item.active,
[data-primary="color_8"] .dropdown-item:active,
[data-primary="color_8"] .page-item.active .page-link {
    color: #fff !important;
    -webkit-text-fill-color: #fff;
}

[data-primary="color_8"] .btn-primary:hover,
[data-primary="color_8"] .btn-primary:focus,
[data-primary="color_8"] .btn-primary.focus,
[data-primary="color_8"] .btn-primary:not(:disabled):not(.disabled):active,
[data-primary="color_8"] .btn-primary:not(:disabled):not(.disabled).active,
[data-primary="color_8"] .show > .btn-primary.dropdown-toggle {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
}

[data-primary="color_8"] .btn-outline-primary {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}

[data-primary="color_8"] .btn-outline-primary:hover,
[data-primary="color_8"] .btn-outline-primary:focus,
[data-primary="color_8"] .btn-outline-primary.active,
[data-primary="color_8"] .btn-outline-primary:not(:disabled):not(.disabled):active {
    color: #fff !important;
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    -webkit-text-fill-color: #fff;
}

[data-primary="color_8"] .form-control:focus,
[data-primary="color_8"] .custom-select:focus,
[data-primary="color_8"] .page-link:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 0.2rem var(--primary-soft) !important;
}

[data-primary="color_8"] .custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: 0 0 0 0.2rem var(--primary-soft) !important;
}

[data-primary="color_8"] .deznav .metismenu > li.mm-active > a,
[data-primary="color_8"] .deznav .metismenu > li:hover > a,
[data-primary="color_8"] .deznav .metismenu ul a.mm-active,
[data-primary="color_8"] .deznav .metismenu ul a:hover {
    color: var(--primary) !important;
}

[data-primary="color_8"] .deznav .metismenu ul::after,
[data-primary="color_8"] .deznav .metismenu ul a::before {
    background-color: var(--primary) !important;
}

/* Dashboard shell */
body[data-typography="helvetica"] {
    background: #f5f7fb;
}

.nav-header,
.header,
.deznav {
    background: #fff;
}

.nav-header {
    border-right: 1px solid #edf0f5;
}

.nav-header .brand-logo {
    padding-left: 32px;
    padding-right: 32px;
}

.nav-header .brand-title {
    max-width: 132px;
}

.header {
    border-bottom: 1px solid #edf0f5;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.035);
}

.header .header-content {
    padding-right: 32px;
}

.header-left .dashboard_bar {
    color: #111827;
    font-weight: 700;
}

.hamburger .line,
[data-sidebar-style="full"][data-layout="vertical"] .menu-toggle .nav-header .nav-control .hamburger .line {
    background-color: var(--primary) !important;
}

.header-right .header-profile > a.nav-link {
    border-left: 1px solid #edf0f5;
    padding-left: 24px;
}

.language-selector > .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 42px;
    padding: 8px 13px !important;
    color: var(--primary) !important;
    background: var(--primary-soft);
    border-radius: 9px;
    font-size: 12px;
    font-weight: 700;
}

.language-selector .dropdown-menu {
    min-width: 170px;
    padding: 7px;
    border: 1px solid #e9edf3;
    border-radius: 10px;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
}

.language-selector .dropdown-item {
    padding: 8px 10px;
    border-radius: 7px;
    font-size: 13px;
}

.language-selector .dropdown-item.active {
    color: #fff !important;
    background: var(--primary) !important;
}

.auth-form {
    position: relative;
}

.auth-language-switch {
    display: flex;
    position: absolute;
    top: 0;
    right: 0;
    gap: 3px;
    padding: 3px;
    background: #f2f4f7;
    border-radius: 8px;
}

.auth-language-switch a {
    padding: 5px 8px;
    color: #667085 !important;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700 !important;
}

.auth-language-switch a.active {
    color: #fff !important;
    background: var(--primary);
}

.header-right .header-profile > a.nav-link .header-info strong {
    color: #111827;
    font-weight: 700;
}

.header-right .header-profile > a.nav-link .header-info p {
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.header-right .header-profile img {
    border: 2px solid var(--primary-soft);
    border-radius: 12px;
}

.deznav {
    border-right: 1px solid #edf0f5;
    box-shadow: 10px 0 30px rgba(15, 23, 42, 0.025);
}

[data-sidebar-style="full"][data-layout="vertical"] .deznav .metismenu > li > a::before,
[data-sidebar-style="full"][data-layout="vertical"] .deznav .metismenu > li.mm-active > a::before {
    background: var(--primary) !important;
}

[data-sidebar-style="full"][data-layout="vertical"] .deznav .metismenu > li.mm-active > a {
    color: var(--primary) !important;
    background: var(--primary-soft);
}

.deznav .metismenu > li > a i,
.deznav .metismenu > li > a svg,
.deznav .metismenu > li > a g [fill] {
    color: var(--primary) !important;
    fill: var(--primary) !important;
}

.deznav .metismenu ul a {
    color: #455268;
    font-weight: 600;
}

.add-menu-sidebar {
    background: var(--primary);
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(1, 30, 108, 0.18);
}

.add-menu-sidebar p {
    font-weight: 700;
}

.deznav .copyright,
.footer .copyright {
    color: #667085;
}

.sidebar-role-badge {
    margin: 14px 20px 6px;
    padding: 8px 12px;
    color: #475467;
    background: #f2f4f7;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-align: center;
    white-space: nowrap;
}

.sidebar-role-badge .role-full {
    color: var(--primary);
}

.sidebar-role-badge .role-short {
    display: none;
}

.sidebar-role-badge.role-admin {
    color: #fff;
    background: var(--primary);
}

.sidebar-role-badge.role-admin .role-full,
.sidebar-role-badge.role-admin .role-short {
    color: #fff;
}

[data-sidebar-style="mini"] .sidebar-role-badge,
.menu-toggle .sidebar-role-badge {
    display: grid;
    width: 38px;
    height: 38px;
    margin: 12px auto 8px;
    padding: 0;
    border-radius: 10px;
    font-size: 13px;
    place-items: center;
}

[data-sidebar-style="mini"] .sidebar-role-badge .role-full,
.menu-toggle .sidebar-role-badge .role-full {
    display: none;
}

[data-sidebar-style="mini"] .sidebar-role-badge .role-short,
.menu-toggle .sidebar-role-badge .role-short {
    display: inline;
}

[data-sidebar-style="overlay"] .sidebar-role-badge {
    display: block;
    width: auto;
    height: auto;
    margin: 14px 20px 6px;
    padding: 8px 12px;
}

[data-sidebar-style="overlay"] .sidebar-role-badge .role-full {
    display: inline;
}

[data-sidebar-style="overlay"] .sidebar-role-badge .role-short {
    display: none;
}

.content-body {
    background: #f5f7fb;
    min-height: calc(100vh - 7.5rem);
}

.page-titles {
    margin: 0 0 24px;
    padding: 0;
    background: transparent;
}

.page-titles .breadcrumb li {
    font-size: 15px;
    font-weight: 600;
}

.page-titles .breadcrumb li a {
    color: var(--primary);
}

.page-titles .breadcrumb li.active a {
    color: #667085 !important;
}

/* Dashboard cards */
.dashboard-table-card {
    height: auto;
    overflow: hidden;
    border: 1px solid #e9edf3;
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.055);
}

.dashboard-table-card .card-header {
    min-height: 86px;
    padding: 20px 28px;
    gap: 16px;
    border-bottom: 1px solid #edf0f5;
}

.dashboard-table-card .card-title {
    margin: 0 0 4px;
    color: #111827;
    font-size: 21px;
    font-weight: 700;
}

.dashboard-table-card .card-account {
    display: block;
    max-width: 100%;
    overflow: hidden;
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-table-card .card-body {
    padding: 24px 28px 28px;
}

.dashboard-table-card .btn-lg {
    min-width: 100px;
    padding: 10px 20px;
    border-radius: 9px;
    font-size: 14px;
}

/* Responsive DataTables */
.cloudku-table-scroll {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-color: rgba(1, 30, 108, 0.35) #eef2f7;
    scrollbar-width: thin;
}

.cloudku-table-scroll::-webkit-scrollbar,
.dataTables_scrollBody::-webkit-scrollbar {
    height: 8px;
}

.cloudku-table-scroll::-webkit-scrollbar-track,
.dataTables_scrollBody::-webkit-scrollbar-track {
    background: #eef2f7;
    border-radius: 999px;
}

.cloudku-table-scroll::-webkit-scrollbar-thumb,
.dataTables_scrollBody::-webkit-scrollbar-thumb {
    background: rgba(1, 30, 108, 0.35);
    border-radius: 999px;
}

table.cloudku-data-table,
.dataTables_scrollHeadInner,
.dataTables_scrollHeadInner table,
.dataTables_scrollBody table {
    width: 100% !important;
}

table.cloudku-data-table {
    min-width: 920px;
}

table.cloudku-users-table {
    min-width: 560px;
}

table.dataTable thead th,
table.dataTable thead td {
    padding: 13px 16px;
    color: #344054;
    background: #f8fafc;
    border-bottom: 1px solid #e4e9f0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

table.dataTable tbody td {
    padding: 14px 16px;
    color: #475467;
    border-bottom: 1px solid #edf0f5;
    font-size: 13px;
    font-weight: 500;
    vertical-align: middle;
}

table.dataTable tbody tr:hover td {
    background: #f8faff !important;
}

table.dataTable tr.selected {
    color: var(--primary);
}

table.cloudku-data-table td:last-child {
    min-width: 142px;
    white-space: nowrap;
}

table.cloudku-data-table td:last-child form {
    margin-right: 3px;
}

table.cloudku-data-table .btn-xs.sharp {
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 8px;
    line-height: 34px;
    box-shadow: none !important;
}

.server-status {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 4px 10px;
    gap: 6px;
    overflow: hidden;
    color: #475467;
    background: #eef2f6;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.server-status.status-started,
.server-status.status-running {
    color: #067647;
    background: #ecfdf3;
}

.server-status.status-stopped,
.server-status.status-terminated,
.server-status.status-suspended {
    color: #b42318;
    background: #fef3f2;
}

.server-status.is-processing {
    color: #b54708;
    background: #fffaeb;
    padding-bottom: 7px;
}

.server-status-spinner {
    width: 11px;
    height: 11px;
    flex: 0 0 11px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: server-status-spin .75s linear infinite;
}

.server-status-track {
    position: absolute;
    right: 5px;
    bottom: 3px;
    left: 5px;
    height: 2px;
    overflow: hidden;
    border-radius: 4px;
    background: rgba(181, 71, 8, .13);
}

.server-status-track > span {
    display: block;
    width: var(--server-progress, 0%);
    height: 100%;
    border-radius: inherit;
    background: currentColor;
    transition: width .35s ease;
}

.server-status.is-indeterminate .server-status-track > span {
    width: 42%;
    animation: server-status-indeterminate 1.15s ease-in-out infinite;
}

.server-status.is-updating {
    animation: server-status-update .4s ease;
}

@keyframes server-status-update {
    50% { transform: scale(1.04); }
}

@keyframes server-status-spin {
    to { transform: rotate(360deg); }
}

@keyframes server-status-indeterminate {
    from { transform: translateX(-120%); }
    to { transform: translateX(260%); }
}

@media (prefers-reduced-motion: reduce) {
    .server-status.is-updating,
    .server-status-spinner,
    .server-status.is-indeterminate .server-status-track > span { animation: none; }
}

/* VPS action confirmation */
.vps-action-confirm-modal .modal-dialog {
    width: calc(100% - 28px);
    max-width: 480px;
    margin-right: auto;
    margin-left: auto;
}

.vps-action-confirm-modal .modal-content {
    overflow: hidden;
    border: 1px solid #e1e8f2;
    border-radius: 16px;
    box-shadow: 0 24px 70px rgba(7, 22, 49, .24);
}

.vps-action-confirm-modal .modal-header {
    padding: 18px 20px;
    align-items: flex-start;
    border-bottom-color: #e8edf4;
}

.vps-action-confirm-heading {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 12px;
}

.vps-action-confirm-icon {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border-radius: 12px;
    color: #0756aa;
    background: #edf5fd;
    font-size: 22px;
}

.vps-action-confirm-heading small {
    display: block;
    margin-bottom: 2px;
    color: #748197;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.vps-action-confirm-heading .modal-title {
    color: #17213a;
    font-size: 17px;
    font-weight: 750;
}

.vps-action-confirm-modal .modal-body {
    padding: 20px;
}

.vps-action-confirm-modal .modal-body p {
    margin: 0;
    color: #536077;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.65;
}

.vps-action-confirm-modal .modal-footer {
    padding: 14px 20px 18px;
    gap: 8px;
    border-top: 0;
}

.vps-action-confirm-modal .modal-footer .btn {
    min-width: 112px;
    margin: 0;
    font-size: 12px;
    font-weight: 700;
}

.vps-action-confirm-modal[data-action="restart"] .vps-action-confirm-icon {
    color: #b54708;
    background: #fff5e6;
}

.vps-action-confirm-modal[data-action="stop"] .vps-action-confirm-icon {
    color: #b42318;
    background: #fef0ef;
}

.vps-action-confirm-modal[data-action="stop"] #vpsActionConfirmSubmit {
    border-color: #b42318;
    background: #b42318;
}

.vps-action-loading {
    position: fixed;
    z-index: 10050;
    inset: 0;
    display: flex;
    visibility: hidden;
    padding: 20px;
    align-items: center;
    justify-content: center;
    opacity: 0;
    background: rgba(4, 15, 41, .66);
    backdrop-filter: blur(5px);
    transition: opacity .18s ease, visibility .18s ease;
}

.vps-action-loading.is-visible {
    visibility: visible;
    opacity: 1;
}

.vps-action-loading-card {
    display: flex;
    width: 100%;
    max-width: 380px;
    padding: 28px;
    align-items: center;
    flex-direction: column;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(145deg, #061b50, #011e6c);
    box-shadow: 0 28px 80px rgba(0, 8, 34, .38);
    text-align: center;
}

.vps-action-loading-spinner {
    width: 42px;
    height: 42px;
    margin-bottom: 16px;
    border: 4px solid rgba(255,255,255,.25);
    border-right-color: #65c9ff;
    border-radius: 50%;
    animation: server-status-spin .8s linear infinite;
}

.vps-action-loading-card small {
    color: #9fcdf1;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.vps-action-loading-card strong {
    margin-top: 4px;
    font-size: 18px;
    font-weight: 750;
}

.vps-action-loading-card p {
    margin: 7px 0 18px;
    color: #c8daee;
    font-size: 12px;
    font-weight: 500;
}

.vps-action-loading-bar {
    width: 100%;
    height: 4px;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(255,255,255,.16);
}

.vps-action-loading-bar > span {
    display: block;
    width: 38%;
    height: 100%;
    border-radius: inherit;
    background: #65c9ff;
    animation: server-status-indeterminate 1.15s ease-in-out infinite;
}

@media (max-width: 575px) {
    .vps-action-confirm-modal .modal-footer {
        flex-direction: column-reverse;
    }

    .vps-action-confirm-modal .modal-footer .btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vps-action-loading-spinner,
    .vps-action-loading-bar > span { animation: none; }
}

.ip-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.ip-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.copy-ip {
    display: inline-grid;
    width: 26px;
    height: 26px;
    padding: 0;
    color: var(--primary);
    background: var(--primary-soft);
    border: 0;
    border-radius: 7px;
    cursor: pointer;
    place-items: center;
}

.dataTables_wrapper {
    width: 100%;
}

.dataTables_wrapper::after {
    display: block;
    clear: both;
    content: "";
}

.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
    margin-bottom: 18px;
    color: #475467;
    font-size: 13px;
    font-weight: 600;
}

.dataTables_wrapper .dataTables_filter {
    text-align: right;
}

.dataTables_wrapper input[type="search"],
.dataTables_wrapper input[type="text"],
.dataTables_wrapper select {
    height: 40px;
    color: #344054;
    background: #fff;
    border: 1px solid #d8dee8;
    border-radius: 8px;
    outline: none;
}

.dataTables_wrapper input[type="search"] {
    width: 220px;
    margin-left: 8px;
    padding: 8px 12px;
}

.dataTables_wrapper select {
    min-width: 68px;
    margin: 0 6px;
    padding: 6px 28px 6px 10px;
}

.dataTables_wrapper input[type="search"]:focus,
.dataTables_wrapper select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-soft);
}

.dataTables_wrapper .dataTables_info {
    padding-top: 20px;
    color: #667085;
    font-size: 13px;
    font-weight: 600;
}

.dataTables_wrapper .dataTables_paginate {
    padding-top: 14px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button,
.dataTables_wrapper .dataTables_paginate .paginate_button.previous,
.dataTables_wrapper .dataTables_paginate .paginate_button.next {
    min-width: 38px;
    margin-left: 5px;
    padding: 8px 12px;
    color: var(--primary) !important;
    background: #fff !important;
    border: 1px solid #d8dee8 !important;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button.previous:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button.next:hover {
    color: #fff !important;
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    -webkit-text-fill-color: #fff;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover {
    color: #98a2b3 !important;
    background: #f2f4f7 !important;
    border-color: #eaecf0 !important;
    cursor: not-allowed !important;
}

/* Generic OpenAPI resource pages */
.api-resource-card .card-header {
    flex-wrap: wrap;
}

.api-refresh-button {
    white-space: nowrap;
}

.resource-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    color: #667085;
    font-size: 13px;
}

.role-chip {
    display: inline-flex;
    padding: 5px 10px;
    color: var(--primary);
    background: var(--primary-soft);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.role-chip.role-admin {
    color: #fff;
    background: var(--primary);
}

table.api-resource-table {
    min-width: 980px;
}

.api-cell-value {
    display: inline-block;
    max-width: 280px;
    overflow-wrap: anywhere;
    white-space: normal;
}

.api-resource-alert {
    border: 0;
    border-radius: 10px;
    font-size: 13px;
}

.api-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 18px;
    color: #667085;
    font-size: 13px;
    font-weight: 600;
}

.api-pagination .btn + .btn {
    margin-left: 6px;
}

.access-denied-card .card-body {
    padding: 56px 24px;
}

.access-denied-card h3 {
    color: #111827;
    font-weight: 700;
}

.access-denied-card p {
    margin: 0 auto 24px;
    max-width: 520px;
    color: #667085;
}

.access-denied-icon {
    display: inline-grid;
    width: 64px;
    height: 64px;
    margin-bottom: 18px;
    color: var(--primary);
    background: var(--primary-soft);
    border-radius: 18px;
    font-size: 24px;
    place-items: center;
}

/* Dashboard notice modal */
#notif {
    padding-right: 0 !important;
    padding-left: 0 !important;
}

#notif .cloudku-notice-dialog {
    width: auto;
    max-width: 760px;
    margin: 24px auto;
}

#notif .modal-content {
    display: flex;
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
    overflow: hidden;
    border: 0;
    border-radius: 14px;
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.2);
    flex-direction: column;
}

#notif .modal-header,
#notif .modal-footer {
    flex: 0 0 auto;
    background: #fff;
}

#notif .modal-header {
    align-items: center;
    padding: 18px 22px;
    border-bottom-color: #e9edf3;
}

#notif .modal-title {
    margin: 0;
    color: #111827;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
}

#notif .modal-header .close {
    margin: -8px -8px -8px auto;
    padding: 8px;
    color: #475467;
    font-size: 28px;
    opacity: 1;
}

#notif .modal-body {
    min-height: 0;
    padding: 20px 24px;
    overflow-x: hidden;
    overflow-y: auto;
    color: #475467;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.65;
    overflow-wrap: anywhere;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

#notif .modal-body .list-icons {
    margin: 0;
    padding: 0;
    list-style: none;
}

#notif .modal-body .list-icons li {
    position: relative;
    margin-bottom: 12px;
    padding-left: 24px;
}

#notif .modal-body .list-icons li:last-child {
    margin-bottom: 0;
}

#notif .modal-body .list-icons li > span:first-child {
    position: absolute;
    top: 0.12em;
    left: 0;
    margin-right: 0 !important;
    color: var(--primary);
}

#notif .modal-body a {
    color: var(--primary) !important;
    font-weight: 700;
}

#notif .notice-separator {
    width: 100%;
    margin: 20px 0;
    border-top: 1px solid #d8dee8;
}

#notif .modal-footer {
    padding: 14px 22px;
    border-top-color: #e9edf3;
}

#notif .modal-footer .btn {
    min-width: 100px;
    border-radius: 8px;
}

@media (min-width: 768px) {
    #notif .cloudku-notice-dialog {
        display: flex;
        min-height: calc(100vh - 48px);
        min-height: calc(100dvh - 48px);
        align-items: center;
    }
}

@media (max-width: 1199px) {
    .content-body {
        min-height: calc(100vh - 5rem);
    }

    .header .header-content {
        padding-right: 20px;
    }

    .deznav {
        box-shadow: 14px 0 34px rgba(15, 23, 42, 0.12);
    }
}

@media (max-width: 767px) {
    .content-body .container-fluid {
        padding: 16px 14px 0;
    }

    .page-titles {
        margin-bottom: 14px;
    }

    .header-right .header-profile > a.nav-link {
        padding-left: 10px;
        border-left: 0;
    }

    .language-selector > .nav-link {
        min-height: 38px;
        padding: 7px 10px !important;
    }

    .header-right .header-profile > a.nav-link .header-info {
        display: none;
    }

    .header-right .header-profile img {
        width: 42px;
        height: 42px;
    }

    .deznav {
        width: min(18rem, calc(100vw - 24px));
    }

    .dashboard-table-card {
        margin-bottom: 16px;
        border-radius: 12px;
    }

    .dashboard-table-card .card-header {
        min-height: auto;
        padding: 16px;
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .dashboard-table-card .card-title {
        font-size: 18px;
    }

    .dashboard-table-card .card-body {
        padding: 16px;
    }

    .dashboard-table-card .card-header form,
    .dashboard-table-card .card-header .btn {
        width: 100%;
    }

    .dataTables_wrapper .dataTables_length,
    .dataTables_wrapper .dataTables_filter {
        float: none !important;
        width: 100%;
        margin-bottom: 12px;
        text-align: left !important;
    }

    .dataTables_wrapper .dataTables_filter input[type="search"] {
        display: block;
        width: 100%;
        margin: 7px 0 0;
    }

    .dataTables_wrapper .dataTables_info,
    .dataTables_wrapper .dataTables_paginate {
        float: none !important;
        width: 100%;
        text-align: center !important;
    }

    .dataTables_wrapper .dataTables_paginate .paginate_button,
    .dataTables_wrapper .dataTables_paginate .paginate_button.previous,
    .dataTables_wrapper .dataTables_paginate .paginate_button.next {
        margin: 3px 2px;
        padding: 7px 10px;
    }

    table.cloudku-data-table {
        min-width: 820px;
    }

    table.cloudku-users-table {
        min-width: 520px;
    }

    #notif .cloudku-notice-dialog {
        height: calc(100vh - 20px);
        height: calc(100dvh - 20px);
        max-width: none;
        margin: 10px;
    }

    #notif .modal-content {
        height: 100%;
        max-height: 100%;
        border-radius: 12px;
    }

    #notif .modal-header {
        padding: 14px 16px;
    }

    #notif .modal-title {
        padding-right: 8px;
        font-size: 15px;
    }

    #notif .modal-body {
        padding: 16px;
        font-size: 13px;
        line-height: 1.55;
    }

    #notif .modal-body .list-icons li {
        margin-bottom: 10px;
        padding-left: 21px;
    }

    #notif .notice-separator {
        margin: 16px 0;
    }

    #notif .modal-footer {
        padding: 12px 16px;
    }

    #notif .modal-footer .btn {
        width: 100%;
    }

    .api-refresh-button {
        width: 100%;
    }

    .api-pagination {
        align-items: stretch;
        flex-direction: column;
        text-align: center;
    }

    .api-pagination > div {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .api-pagination .btn + .btn {
        margin-left: 0;
    }
}

@media (max-width: 420px) {
    .header .header-content {
        padding-right: 10px;
    }

    .dashboard-table-card .card-body {
        padding: 12px;
    }

    .dataTables_wrapper .dataTables_paginate .paginate_button {
        min-width: 34px;
    }
}

/* Server detail --------------------------------------------------------- */
.server-detail-page {
    padding-bottom: 30px;
}

.server-detail-shell {
    overflow: hidden;
}

.server-detail-shell::before {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 24px;
    left: 24px;
    height: 3px;
    border-radius: 0 0 8px 8px;
    background: linear-gradient(90deg, #011e6c, #217ac0, #65c9ff);
    content: "";
}

.server-detail-hero {
    position: relative;
    min-height: 132px;
    padding: 28px 30px !important;
    align-items: center !important;
    gap: 24px;
    color: #fff;
    background:
        radial-gradient(circle at 9% 15%, rgba(101,201,255,.28), transparent 24%),
        radial-gradient(circle at 93% 85%, rgba(33,122,192,.25), transparent 25%),
        linear-gradient(120deg, #01164f, #011e6c 58%, #063b91) !important;
}

.server-detail-hero::after {
    position: absolute;
    inset: 0;
    opacity: .09;
    background-image:
        linear-gradient(rgba(255,255,255,.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.2) 1px, transparent 1px);
    background-size: 42px 42px;
    content: "";
    pointer-events: none;
}

.server-detail-hero > * {
    position: relative;
    z-index: 1;
}

.server-detail-eyebrow {
    display: inline-flex;
    margin-bottom: 8px;
    align-items: center;
    gap: 7px;
    color: rgba(255,255,255,.68);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.server-detail-eyebrow i {
    color: #65c9ff;
    font-size: 17px;
}

.server-detail-title {
    display: inline-block;
    margin-right: 10px !important;
    color: #fff !important;
    font-size: clamp(23px, 2.4vw, 32px);
    font-weight: 800 !important;
    letter-spacing: -.7px;
}

.server-detail-status {
    display: inline-flex;
    padding: 6px 10px;
    align-items: center;
    gap: 7px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px;
    color: rgba(255,255,255,.82);
    background: rgba(255,255,255,.1);
    font-size: 11px;
    font-weight: 700;
    vertical-align: 5px;
    backdrop-filter: blur(8px);
}

.server-detail-status > span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fdb022;
    box-shadow: 0 0 0 4px rgba(253,176,34,.12);
}

.server-detail-status.status-started > span,
.server-detail-status.status-running > span {
    background: #62e4aa;
    box-shadow: 0 0 0 4px rgba(98,228,170,.12);
}

.server-detail-status.status-stopped > span,
.server-detail-status.status-suspended > span {
    background: #ff7a85;
    box-shadow: 0 0 0 4px rgba(255,122,133,.12);
}

.server-detail-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.server-detail-actions form {
    margin: 0;
}

.server-detail-actions > .btn,
.server-detail-actions > form > .btn {
    display: inline-grid;
    width: 44px;
    height: 44px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 12px;
    color: #fff;
    background: rgba(255,255,255,.1);
    font-size: 21px;
    box-shadow: none;
    backdrop-filter: blur(8px);
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.server-detail-actions > .btn:hover,
.server-detail-actions > form > .btn:hover {
    border-color: rgba(255,255,255,.3);
    color: #fff;
    background: rgba(255,255,255,.17);
    transform: translateY(-2px);
}

.server-detail-actions .btn:disabled {
    opacity: .38;
}

.server-detail-summary {
    display: grid;
    padding: 24px 28px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    border-bottom: 1px solid #e8edf5;
    background: #f8fafd;
}

.server-summary-item {
    display: flex;
    min-width: 0;
    min-height: 76px;
    padding: 14px;
    align-items: center;
    gap: 12px;
    border: 1px solid #e3e9f2;
    border-radius: 13px;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.server-summary-item:hover {
    border-color: rgba(1,30,108,.2);
    box-shadow: 0 9px 20px rgba(15,23,42,.055);
    transform: translateY(-1px);
}

.server-summary-icon {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border-radius: 11px;
    color: #217ac0;
    background: #edf4fc;
    font-size: 20px;
}

.server-summary-icon img {
    width: 25px;
    height: 25px;
    object-fit: contain;
}

.server-summary-item > div {
    min-width: 0;
}

.server-summary-item small,
.server-summary-item strong {
    display: block;
}

.server-summary-item small {
    margin-bottom: 3px;
    color: #7b879b;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.server-summary-item strong {
    overflow: hidden;
    color: #24324a;
    font-size: 12px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.server-summary-copy {
    position: relative;
    padding-right: 50px;
}

.server-copy-button {
    display: inline-grid;
    width: 32px;
    height: 32px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 9px;
    color: #011e6c;
    background: rgba(1,30,108,.09);
    cursor: pointer;
}

.server-summary-copy > .server-copy-button {
    position: absolute;
    right: 12px;
}

.server-copy-button:hover {
    color: #fff;
    background: #011e6c;
}

.server-detail-flash {
    padding: 0 28px;
}

.server-detail-flash:empty {
    display: none;
}

.server-detail-flash #flash_data {
    margin-top: 20px;
}

.server-detail-shell > .card-body {
    padding: 24px 28px 30px;
}

.server-detail-tabs > .nav-tabs {
    display: flex;
    padding: 6px;
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: 4px;
    border: 1px solid #e1e7f0;
    border-radius: 13px;
    background: #f3f6fa;
    scrollbar-width: none;
}

.server-detail-tabs > .nav-tabs::-webkit-scrollbar {
    display: none;
}

.server-detail-tabs > .nav-tabs .nav-item {
    flex: 0 0 auto;
}

.server-detail-tabs > .nav-tabs .nav-link {
    padding: 10px 14px;
    border: 0;
    border-radius: 9px;
    color: #5e6b80 !important;
    background: transparent;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.server-detail-tabs > .nav-tabs .nav-link:hover {
    color: #011e6c !important;
    background: #fff;
}

.server-detail-tabs > .nav-tabs .nav-link.active {
    color: #fff !important;
    background: linear-gradient(115deg, #011e6c, #06479e);
    box-shadow: 0 7px 16px rgba(1,30,108,.18);
}

.server-detail-tabs > .tab-content {
    padding-top: 8px;
}

.server-detail-tabs .tab-pane > .pt-4,
.server-detail-tabs .tab-pane > .col-md-12,
.server-detail-tabs .tab-pane > .list {
    padding-top: 20px !important;
}

.server-detail-tabs .tab-pane .card {
    border-radius: 13px;
    box-shadow: 0 8px 24px rgba(15,23,42,.045);
}

.server-detail-tabs h4 {
    color: #1c2940;
    font-size: 17px;
    font-weight: 800;
}

.server-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.server-section-title > span {
    display: inline-grid;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: 10px;
    color: #087fca;
    background: #eaf5ff;
    font-size: 20px;
    place-items: center;
}

.server-detail-tabs #profile .container1 {
    display: grid;
    margin: 24px 0 16px;
    grid-template-columns: repeat(auto-fit, minmax(145px, 176px));
    gap: 14px;
}

.server-detail-tabs #profile .option_item1 {
    width: 100%;
    height: 160px;
    margin: 0;
}

.server-detail-tabs #profile .boot-option {
    display: flex;
    padding: 24px 18px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 13px;
    border: 2px solid #e3e9f2;
    border-radius: 14px;
    color: #344054;
    background: #f8fafc;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.server-detail-tabs #profile .boot-option:hover {
    border-color: #88bce2;
    background: #f3f9ff;
    box-shadow: 0 12px 24px rgba(1, 30, 108, .08);
    transform: translateY(-2px);
}

.server-detail-tabs #profile .boot-option .icon {
    display: grid;
    width: 56px;
    height: 56px;
    margin: 0;
    border-radius: 15px;
    color: #087fca;
    background: #e6f4ff;
    font-size: 29px;
    place-items: center;
}

.server-detail-tabs #profile .boot-option .name {
    color: inherit;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .04em;
}

.server-detail-tabs #profile .option_item1 .checkbox1:checked ~ .boot-option {
    border-color: #0756aa;
    color: #011e6c;
    background: #edf6ff;
    box-shadow: 0 0 0 3px rgba(7, 86, 170, .1), 0 12px 24px rgba(1, 30, 108, .09);
}

.server-detail-tabs #profile .option_item1 .checkbox1:checked ~ .boot-option .tickmark {
    border-color: #0756aa transparent transparent #0756aa;
}

.server-detail-tabs #profile .option_item1 .checkbox1:focus-visible ~ .boot-option {
    outline: 3px solid rgba(33, 122, 192, .3);
    outline-offset: 3px;
}

.server-detail-tabs hr {
    border-color: #e7ecf3;
}

.server-detail-tabs .table-responsive {
    border: 1px solid #e2e8f1;
    border-radius: 12px;
}

.server-detail-tabs table {
    margin-bottom: 0;
}

.server-detail-tabs table thead th {
    color: #2d3b53;
    background: #f2f6fc;
    border-color: #e0e7f0;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.server-detail-tabs table td {
    color: #526077;
    border-color: #e8edf3;
    font-size: 12px;
    vertical-align: middle;
}

.server-detail-tabs canvas {
    width: 100% !important;
    height: 320px !important;
}

.server-detail-page .modal-content,
.server-detail-modal .modal-content {
    overflow: hidden;
    border: 0;
    border-radius: 15px !important;
    box-shadow: 0 24px 64px rgba(15,23,42,.2);
}

.server-detail-modal .modal-dialog {
    width: calc(100% - 32px);
    max-width: 720px;
    margin-right: auto;
    margin-left: auto;
}

.server-detail-modal .modal-body {
    max-height: calc(100dvh - 190px);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.server-detail-page .modal-header,
.server-detail-modal .modal-header {
    padding: 18px 22px;
    border-bottom-color: #e8edf4;
}

.server-detail-page .modal-body,
.server-detail-modal .modal-body {
    padding: 22px;
}

.server-detail-page .modal-footer,
.server-detail-modal .modal-footer {
    padding: 14px 22px;
    border-top-color: #e8edf4;
}

@media (max-width: 1199px) {
    .server-detail-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .server-detail-modal .modal-dialog {
        width: calc(100% - 20px);
        margin: 10px auto;
    }

    .server-detail-modal .modal-body {
        max-height: calc(100dvh - 140px);
        padding: 18px;
    }

    .server-detail-hero {
        min-height: auto;
        padding: 22px 18px !important;
    }

    .server-detail-title {
        font-size: 23px;
    }

    .server-detail-actions {
        margin-top: 20px;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .server-detail-summary {
        padding: 16px;
        grid-template-columns: 1fr;
    }

    .server-detail-flash {
        padding: 0 16px;
    }

    .server-detail-shell > .card-body {
        padding: 18px 16px 22px;
    }

    .server-detail-tabs > .nav-tabs .nav-link {
        padding: 9px 12px;
    }

    .server-detail-tabs canvas {
        height: 245px !important;
    }
}

/* Modern login ---------------------------------------------------------- */
.cloudku-login-page {
    min-width: 320px;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    overflow-x: hidden;
    color: #17213a;
    background: #f4f7fc;
}

.cloudku-login-page,
.cloudku-login-page button,
.cloudku-login-page input {
    font-family: "HelveticaNeueMed", "HelveticaNeue", Helvetica, Arial, sans-serif;
}

.login-shell {
    display: grid;
    grid-template-columns: minmax(430px, .92fr) minmax(520px, 1.08fr);
    min-height: 100vh;
    min-height: 100dvh;
}

.login-visual {
    position: relative;
    isolation: isolate;
    display: flex;
    min-width: 0;
    padding: clamp(32px, 4.2vw, 72px);
    overflow: hidden;
    flex-direction: column;
    color: #fff;
    background:
        radial-gradient(circle at 13% 17%, rgba(57, 162, 255, .42), transparent 28%),
        radial-gradient(circle at 92% 84%, rgba(32, 125, 236, .28), transparent 31%),
        linear-gradient(145deg, #01164f 0%, #011e6c 48%, #063b91 100%);
}

.login-grid {
    position: absolute;
    z-index: -2;
    inset: 0;
    opacity: .16;
    background-image:
        linear-gradient(rgba(255,255,255,.22) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.22) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, #000, transparent 92%);
}

.login-orb {
    position: absolute;
    z-index: -1;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 50%;
    background: rgba(255,255,255,.07);
    box-shadow: inset 0 0 60px rgba(255,255,255,.05);
}

.login-orb-one {
    top: 14%;
    right: -17%;
    width: 360px;
    height: 360px;
}

.login-orb-two {
    right: 23%;
    bottom: -10%;
    width: 210px;
    height: 210px;
}

.login-brand,
[data-primary="color_8"] .login-brand:not(.btn) {
    position: relative;
    z-index: 2;
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 13px;
    color: #fff !important;
    font-size: 29px;
    font-weight: 800;
    letter-spacing: -.8px;
}

.login-brand:hover {
    color: #fff;
    transform: translateY(-1px);
}

.login-brand-mark {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 15px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 14px 34px rgba(0,0,0,.16);
}

.login-brand-mark img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.login-brand .login-brand-title {
    width: 132px;
    height: auto;
    filter: brightness(0) invert(1);
    opacity: .98;
    object-fit: contain;
}

.login-hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 660px;
    margin: auto 0;
    padding: 54px 0;
    animation: login-fade-up .65s ease both;
}

.login-eyebrow {
    display: inline-flex;
    margin-bottom: 24px;
    padding: 9px 14px;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    color: rgba(255,255,255,.9);
    background: rgba(255,255,255,.09);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.login-eyebrow i {
    color: #65c9ff;
    font-size: 17px;
}

.login-hero-content h1 {
    max-width: 620px;
    margin: 0 0 20px;
    color: #fff;
    font-size: clamp(38px, 4.1vw, 64px);
    font-weight: 800;
    letter-spacing: -2.4px;
    line-height: 1.06;
}

.login-hero-content > p {
    max-width: 590px;
    margin: 0 0 36px;
    color: rgba(255,255,255,.74);
    font-size: 17px;
    font-weight: 500;
    line-height: 1.7;
}

.login-feature-list {
    display: grid;
    max-width: 610px;
    gap: 12px;
}

.login-feature {
    display: flex;
    padding: 15px 17px;
    align-items: center;
    gap: 14px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
    background: rgba(255,255,255,.075);
    transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
    backdrop-filter: blur(8px);
}

.login-feature:hover {
    border-color: rgba(255,255,255,.24);
    background: rgba(255,255,255,.12);
    transform: translateX(5px);
}

.login-feature > span {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border-radius: 12px;
    color: #83d7ff;
    background: rgba(46, 157, 255, .16);
    font-size: 22px;
}

.login-feature strong,
.login-feature small {
    display: block;
}

.login-feature strong {
    margin-bottom: 2px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.login-feature small {
    color: rgba(255,255,255,.65);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.45;
}

.login-system-status {
    position: relative;
    z-index: 1;
    display: flex;
    width: fit-content;
    align-items: center;
    gap: 9px;
    color: rgba(255,255,255,.7);
    font-size: 12px;
    font-weight: 600;
}

.login-system-status span {
    width: 9px;
    height: 9px;
    border: 2px solid rgba(99, 240, 174, .32);
    border-radius: 50%;
    background: #50df9d;
    box-shadow: 0 0 0 5px rgba(80, 223, 157, .12);
    animation: login-pulse 2s ease infinite;
}

.login-panel {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 100vh;
    min-height: 100dvh;
    padding: clamp(28px, 4vw, 64px) clamp(30px, 6vw, 96px) 26px;
    flex-direction: column;
    background:
        radial-gradient(circle at 100% 0%, rgba(1,30,108,.055), transparent 25%),
        #fff;
}

.login-panel-top {
    display: flex;
    min-height: 42px;
    align-items: center;
    justify-content: flex-end;
}

.login-mobile-brand {
    display: none;
}

.login-language-switch.auth-language-switch {
    position: static;
    top: auto;
    right: auto;
    padding: 4px;
    border: 1px solid #dce3ef;
    border-radius: 12px;
    background: #f5f7fb;
}

.login-language-switch .auth-language-option {
    min-width: 42px;
    padding: 8px 10px;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 700;
}

.login-language-switch .auth-language-option.active {
    color: #fff !important;
    background: #011e6c;
    box-shadow: 0 5px 12px rgba(1,30,108,.2);
}

.login-card {
    width: 100%;
    max-width: 500px;
    margin: auto;
    padding: 36px 0;
    animation: login-fade-up .55s .08s ease both;
}

.login-card-heading {
    margin-bottom: 34px;
}

.login-card-icon {
    display: grid;
    width: 54px;
    height: 54px;
    margin-bottom: 24px;
    place-items: center;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(145deg, #063c92, #011e6c);
    box-shadow: 0 14px 28px rgba(1,30,108,.2);
    font-size: 26px;
}

.login-card-heading p {
    margin: 0 0 8px;
    color: #217ac0;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.login-card-heading h2 {
    margin: 0 0 10px;
    color: #111a2e;
    font-size: clamp(31px, 3vw, 42px);
    font-weight: 800;
    letter-spacing: -1.25px;
    line-height: 1.15;
}

.login-card-heading > span:last-child {
    display: block;
    color: #536077;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.6;
}

.login-alert {
    display: flex;
    margin-bottom: 24px;
    padding: 14px 16px;
    align-items: flex-start;
    gap: 10px;
    border: 1px solid #ffd5d9;
    border-radius: 12px;
    color: #a42532;
    background: #fff5f6;
    font-weight: 600;
}

.login-alert > i {
    margin-top: 1px;
    flex: 0 0 auto;
    font-size: 19px;
}

.login-alert ul {
    margin: 0;
    padding-left: 18px;
}

.login-form .form-group {
    margin-bottom: 23px;
}

.login-form label,
.login-label-row label {
    margin-bottom: 9px;
    color: #27334b;
    font-size: 13px;
    font-weight: 700;
}

.login-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.login-label-row a {
    margin-bottom: 9px;
    color: #011e6c;
    font-size: 12px;
    font-weight: 700;
}

.login-label-row a:hover,
.login-support a:hover {
    color: #217ac0;
    text-decoration: underline;
}

.login-input-wrap {
    position: relative;
}

.login-input-wrap > i {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 18px;
    color: #8290a7;
    font-size: 20px;
    transform: translateY(-50%);
    transition: color .2s ease;
    pointer-events: none;
}

.login-input-wrap .form-control {
    width: 100%;
    height: 58px;
    padding: 0 52px 0 50px;
    border: 1.5px solid #dce3ed;
    border-radius: 13px;
    color: #18233a;
    background: #fbfcfe;
    font-size: 14px;
    font-weight: 600;
    box-shadow: none;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.login-input-wrap .form-control::placeholder {
    color: #77849a;
    font-weight: 600;
    opacity: 1;
}

.login-input-wrap .form-control:focus {
    border-color: #1c70c5;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(1,30,108,.08);
}

.login-input-wrap:focus-within > i {
    color: #011e6c;
}

.login-input-wrap .form-control.is-invalid,
.was-validated .login-input-wrap .form-control:invalid {
    border-color: #dc3545;
    background-image: none;
}

.login-form .invalid-feedback {
    margin-top: 7px;
    font-size: 12px;
    font-weight: 600;
}

.password-toggle {
    position: absolute;
    z-index: 3;
    top: 50%;
    right: 11px;
    display: grid;
    width: 38px;
    height: 38px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 9px;
    color: #69758a;
    background: transparent;
    font-size: 20px;
    transform: translateY(-50%);
    cursor: pointer;
    transition: color .2s ease, background-color .2s ease;
}

.password-toggle:hover,
.password-toggle:focus-visible {
    color: #011e6c;
    background: #eef3fb;
    outline: none;
}

.login-options {
    display: flex;
    margin: 0 0 28px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.login-options .custom-control-label {
    margin: 0;
    color: #3f4d65;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
}

.login-options .custom-control-label::before {
    border-color: #bdc8d9;
    border-radius: 5px;
}

.login-options .custom-control-input:checked ~ .custom-control-label::before {
    border-color: #011e6c;
    background: #011e6c;
}

.login-options > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #5d697f;
    font-size: 12px;
    font-weight: 700;
}

.login-options > span i {
    color: #2d9c70;
    font-size: 17px;
}

.login-submit.btn {
    position: relative;
    display: flex;
    width: 100%;
    height: 58px;
    padding: 0 58px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 0;
    border-radius: 13px;
    color: #fff !important;
    background: linear-gradient(105deg, #011e6c, #06479e);
    box-shadow: 0 15px 28px rgba(1,30,108,.2);
    font-size: 14px;
    font-weight: 700;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.login-submit.btn:hover,
.login-submit.btn:focus {
    color: #fff !important;
    filter: brightness(1.08);
    box-shadow: 0 18px 34px rgba(1,30,108,.27);
    transform: translateY(-2px);
}

.login-submit.btn:focus-visible {
    outline: 3px solid rgba(26,112,197,.25);
    outline-offset: 3px;
}

.login-submit.btn:disabled {
    opacity: .86;
    cursor: wait;
    transform: none;
}

.login-submit-loading {
    display: none;
    align-items: center;
    gap: 8px;
}

.login-submit-arrow {
    position: absolute;
    right: 21px;
    font-size: 23px;
    transition: transform .2s ease;
}

.login-submit:hover .login-submit-arrow {
    transform: translateX(4px);
}

.login-form.is-submitting .login-submit-label,
.login-form.is-submitting .login-submit-arrow {
    display: none;
}

.login-form.is-submitting .login-submit-loading {
    display: inline-flex;
}

.login-support {
    margin: 26px 0 0;
    color: #5f6c82;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
}

.login-support a {
    color: #011e6c;
    font-weight: 700;
}

.login-copyright {
    margin: 28px 0 0;
    color: #7a8496;
    text-align: center;
    font-size: 11px;
    font-weight: 600;
}

@keyframes login-fade-up {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes login-pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(80,223,157,.1); }
    50% { box-shadow: 0 0 0 8px rgba(80,223,157,.02); }
}

@media (max-width: 1199px) {
    .login-shell {
        grid-template-columns: minmax(390px, .85fr) minmax(500px, 1.15fr);
    }

    .login-visual {
        padding: 38px;
    }

    .login-panel {
        padding-right: 55px;
        padding-left: 55px;
    }
}

@media (max-width: 991px) {
    .login-shell {
        display: block;
    }

    .login-visual {
        display: none;
    }

    .login-panel {
        padding: 26px clamp(24px, 8vw, 76px) 22px;
        background:
            radial-gradient(circle at 100% 0%, rgba(1,30,108,.09), transparent 35%),
            radial-gradient(circle at 0% 100%, rgba(33,122,192,.07), transparent 30%),
            #fff;
    }

    .login-panel-top {
        justify-content: space-between;
    }

    .login-mobile-brand,
    [data-primary="color_8"] .login-mobile-brand:not(.btn) {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        color: #111a2e !important;
        font-size: 22px;
        font-weight: 800;
        letter-spacing: -.5px;
    }

    .login-mobile-brand img {
        width: 34px;
        height: 34px;
        object-fit: contain;
    }

    .login-card {
        padding-top: 48px;
        padding-bottom: 30px;
    }
}

@media (max-width: 575px) {
    .login-panel {
        padding: 19px 20px 18px;
    }

    .login-card {
        max-width: 440px;
        padding: 38px 0 20px;
    }

    .login-card-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 20px;
        border-radius: 14px;
        font-size: 23px;
    }

    .login-card-heading {
        margin-bottom: 27px;
    }

    .login-card-heading h2 {
        font-size: 30px;
    }

    .login-card-heading > span:last-child {
        font-size: 14px;
    }

    .login-form .form-group {
        margin-bottom: 20px;
    }

    .login-input-wrap .form-control,
    .login-submit.btn {
        height: 54px;
    }

    .login-options {
        margin-bottom: 24px;
    }

    .login-options > span {
        display: none;
    }

    .login-copyright {
        margin-top: 20px;
    }
}

@media (max-width: 360px) {
    .login-panel {
        padding-right: 15px;
        padding-left: 15px;
    }

    .login-mobile-brand span {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .login-hero-content,
    .login-card,
    .login-system-status span {
        animation: none;
    }

    .login-feature,
    .login-submit.btn,
    .login-submit-arrow {
        transition: none;
    }
}

/* Dashboard visual language -------------------------------------------- */
.cloudku-dashboard-page {
    --dashboard-navy: #011e6c;
    --dashboard-navy-dark: #01164f;
    --dashboard-blue: #217ac0;
    --dashboard-cyan: #65c9ff;
    --dashboard-bg: #f4f7fc;
    --dashboard-border: #e5eaf2;
    --dashboard-text: #17213a;
    min-width: 320px;
    color: #4d5a70;
    background: var(--dashboard-bg);
}

.cloudku-dashboard-page #main-wrapper {
    background: var(--dashboard-bg);
}

.cloudku-dashboard-page .nav-header {
    border: 0;
    background:
        radial-gradient(circle at 18% 16%, rgba(57, 162, 255, .38), transparent 35%),
        linear-gradient(155deg, var(--dashboard-navy-dark), var(--dashboard-navy) 68%, #063b91);
    box-shadow: 10px 0 30px rgba(1, 22, 79, .1);
}

.cloudku-dashboard-page .nav-header::before {
    position: absolute;
    inset: 0;
    opacity: .12;
    background-image:
        linear-gradient(rgba(255,255,255,.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.15) 1px, transparent 1px);
    background-size: 44px 44px;
    content: "";
    pointer-events: none;
}

.cloudku-dashboard-page .nav-header::after {
    position: absolute;
    right: 22px;
    bottom: 0;
    left: 22px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(101, 201, 255, .35), transparent);
    content: "";
}

.cloudku-dashboard-page .nav-header .brand-logo {
    position: relative;
    z-index: 1;
    transition: opacity .2s ease, transform .2s ease;
}

.cloudku-dashboard-page .nav-header .brand-logo:hover {
    opacity: .9;
    transform: translateY(-1px);
}

.cloudku-dashboard-page .nav-header .logo-abbr {
    width: 52px;
    height: 52px;
    padding: 7px;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 15px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 12px 28px rgba(0, 10, 44, .22);
    object-fit: contain;
}

.cloudku-dashboard-page .nav-header .brand-title,
.cloudku-dashboard-page .nav-header .logo-compact {
    filter: brightness(0) invert(1);
    opacity: .96;
}

.cloudku-dashboard-page .header {
    border-bottom: 1px solid var(--dashboard-border);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 7px 24px rgba(15, 23, 42, .045);
    backdrop-filter: blur(14px);
}

.cloudku-dashboard-page .header-left .dashboard_bar {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: var(--dashboard-text);
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -.65px;
}

.cloudku-dashboard-page .header-left .dashboard_bar::before {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background:
        radial-gradient(circle at 35% 30%, rgba(101, 201, 255, .8), transparent 27%),
        linear-gradient(145deg, #063c92, var(--dashboard-navy));
    box-shadow: 0 9px 20px rgba(1, 30, 108, .18);
    content: "";
}

.cloudku-dashboard-page .header-right {
    align-items: center;
    gap: 10px;
}

.cloudku-dashboard-page .language-selector > .nav-link {
    border: 1px solid rgba(1, 30, 108, .08);
    background: #f0f4fb;
}

.cloudku-dashboard-page .header-right .header-profile > a.nav-link {
    min-height: 58px;
    padding: 7px 9px 7px 21px;
    border-left-color: var(--dashboard-border);
    border-radius: 12px;
    transition: background-color .2s ease;
}

.cloudku-dashboard-page .header-right .header-profile > a.nav-link:hover {
    background: #f7f9fc;
}

.cloudku-dashboard-page .header-right .header-profile img {
    width: 43px;
    height: 43px;
    border: 1px solid rgba(1, 30, 108, .12);
    border-radius: 12px;
    background: #eef3fb;
    object-fit: cover;
    box-shadow: 0 7px 16px rgba(1, 30, 108, .11);
}

.cloudku-dashboard-page .header-right .dropdown-menu {
    padding: 8px;
    border: 1px solid var(--dashboard-border);
    border-radius: 12px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .13);
}

.cloudku-dashboard-page .header-right .dropdown-item {
    border-radius: 8px;
}

.cloudku-dashboard-page .deznav {
    border: 0;
    color: rgba(255, 255, 255, .78);
    background:
        radial-gradient(circle at 2% 8%, rgba(57, 162, 255, .35), transparent 25%),
        radial-gradient(circle at 95% 90%, rgba(33, 122, 192, .27), transparent 28%),
        linear-gradient(160deg, var(--dashboard-navy-dark), var(--dashboard-navy) 55%, #063b91);
    box-shadow: 12px 0 35px rgba(1, 22, 79, .13);
}

.cloudku-dashboard-page .deznav-scroll {
    height: 100%;
    overflow: hidden !important;
    overscroll-behavior: contain;
    touch-action: pan-y;
    background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 44px 44px;
}

.cloudku-dashboard-page .deznav-scroll.ps--active-x > .ps__rail-x,
.cloudku-dashboard-page .deznav-scroll > .ps__rail-x {
    display: none !important;
}

.cloudku-dashboard-page .deznav-scroll > .ps__rail-y {
    right: 4px !important;
    left: auto !important;
    width: 5px;
    border-radius: 999px;
    background: transparent !important;
    opacity: 0;
    transition: opacity .2s ease;
}

.cloudku-dashboard-page .deznav-scroll:hover > .ps__rail-y,
.cloudku-dashboard-page .deznav-scroll.ps--scrolling-y > .ps__rail-y {
    opacity: .72;
}

.cloudku-dashboard-page .deznav-scroll .ps__thumb-y,
.cloudku-dashboard-page .deznav-scroll .ps__rail-y:hover > .ps__thumb-y,
.cloudku-dashboard-page .deznav-scroll .ps__rail-y.ps--clicking > .ps__thumb-y {
    right: 0;
    width: 4px;
    border-radius: 999px;
    background: rgba(150, 220, 255, .72);
}

.cloudku-dashboard-page .sidebar-role-badge {
    padding-top: 10px;
    padding-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, .14);
    color: rgba(255, 255, 255, .75);
    background: rgba(255, 255, 255, .08);
    border-radius: 11px;
    backdrop-filter: blur(8px);
}

.cloudku-dashboard-page .sidebar-role-badge .role-full,
.cloudku-dashboard-page .sidebar-role-badge.role-admin .role-full,
.cloudku-dashboard-page .sidebar-role-badge.role-admin .role-short {
    color: #fff;
}

.cloudku-dashboard-page .sidebar-role-badge .role-full {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.cloudku-dashboard-page .sidebar-role-badge .role-full::before {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #62e4aa;
    box-shadow: 0 0 0 4px rgba(98, 228, 170, .12);
    content: "";
}

.cloudku-dashboard-page .sidebar-role-badge.role-admin {
    border-color: rgba(101, 201, 255, .25);
    background: rgba(101, 201, 255, .12);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .025);
}

.cloudku-dashboard-page .deznav .metismenu > li {
    padding-right: 12px;
    padding-left: 12px;
}

.cloudku-dashboard-page .deznav .metismenu > li > a,
.cloudku-dashboard-page[data-primary="color_8"] .deznav .metismenu > li > a:not(.btn) {
    min-height: 56px;
    padding: 15px 16px;
    border-radius: 12px;
    color: rgba(255, 255, 255, .78) !important;
    font-weight: 600;
    transition: color .2s ease, background-color .2s ease, transform .2s ease;
}

.cloudku-dashboard-page .deznav .metismenu > li > a:hover,
.cloudku-dashboard-page .deznav .metismenu > li.mm-active > a,
.cloudku-dashboard-page[data-primary="color_8"] .deznav .metismenu > li.mm-active > a:not(.btn),
.cloudku-dashboard-page[data-primary="color_8"] .deznav .metismenu > li:hover > a:not(.btn) {
    color: #fff !important;
    background: rgba(255, 255, 255, .12) !important;
}

.cloudku-dashboard-page .deznav .metismenu > li > a:hover {
    transform: none;
}

.cloudku-dashboard-page .deznav .metismenu > li > a i,
.cloudku-dashboard-page .deznav .metismenu > li > a svg,
.cloudku-dashboard-page .deznav .metismenu > li > a g [fill] {
    color: var(--dashboard-cyan) !important;
    fill: var(--dashboard-cyan) !important;
}

.cloudku-dashboard-page .deznav .metismenu .has-arrow::after {
    border-color: rgba(255, 255, 255, .68) !important;
}

.cloudku-dashboard-page[data-primary="color_8"] .deznav .metismenu > li > ul {
    margin: 5px 0 8px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.cloudku-dashboard-page .deznav .metismenu ul::after {
    background: rgba(101, 201, 255, .25) !important;
}

.cloudku-dashboard-page .deznav .metismenu ul a,
.cloudku-dashboard-page[data-primary="color_8"] .deznav .metismenu ul a:not(.btn) {
    padding-top: 10px;
    padding-bottom: 10px;
    color: rgba(255, 255, 255, .63) !important;
    font-size: 13px;
    font-weight: 500;
}

.cloudku-dashboard-page .deznav .metismenu ul a:hover,
.cloudku-dashboard-page .deznav .metismenu ul a.mm-active,
.cloudku-dashboard-page[data-primary="color_8"] .deznav .metismenu ul a.mm-active:not(.btn),
.cloudku-dashboard-page[data-primary="color_8"] .deznav .metismenu ul a:hover:not(.btn) {
    color: #fff !important;
}

.cloudku-dashboard-page .deznav .metismenu ul a::before {
    background: var(--dashboard-cyan) !important;
}

.cloudku-dashboard-page .add-menu-sidebar {
    border: 1px solid rgba(255, 255, 255, .15);
    background: linear-gradient(120deg, rgba(33, 122, 192, .58), rgba(101, 201, 255, .16));
    box-shadow: 0 15px 32px rgba(0, 10, 44, .2);
    backdrop-filter: blur(9px);
}

.cloudku-dashboard-page .add-menu-sidebar:hover {
    border-color: rgba(255, 255, 255, .27);
    transform: translateY(-2px);
}

.cloudku-dashboard-page .deznav .copyright,
.cloudku-dashboard-page .deznav .copyright strong {
    color: rgba(255, 255, 255, .55);
}

.cloudku-dashboard-page .content-body {
    position: static;
    overflow: visible;
    background:
        radial-gradient(circle at 100% 0%, rgba(1, 30, 108, .075), transparent 24rem),
        radial-gradient(circle at 15% 100%, rgba(33, 122, 192, .045), transparent 28rem),
        var(--dashboard-bg);
}

.cloudku-dashboard-page .content-body::before {
    display: none;
}

.cloudku-dashboard-page .content-body > .container-fluid {
    position: relative;
    z-index: 1;
}

.cloudku-dashboard-page .page-titles {
    min-height: 46px;
    margin-bottom: 20px;
    align-items: center;
}

.cloudku-dashboard-page .page-titles .breadcrumb {
    align-items: center;
}

.cloudku-dashboard-page .page-titles .breadcrumb li {
    font-size: 14px;
    font-weight: 700;
}

.cloudku-dashboard-page .page-titles .breadcrumb-item + .breadcrumb-item::before {
    color: #98a3b5;
}

.cloudku-dashboard-page .content-body .card {
    border: 1px solid rgba(222, 228, 238, .92);
    border-radius: 16px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 14px 36px rgba(15, 23, 42, .055);
}

.cloudku-dashboard-page .dashboard-table-card {
    position: relative;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .065);
}

.cloudku-dashboard-page .dashboard-table-card::before {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 24px;
    left: 24px;
    height: 3px;
    border-radius: 0 0 8px 8px;
    background: linear-gradient(90deg, var(--dashboard-navy), var(--dashboard-blue), var(--dashboard-cyan));
    content: "";
}

.cloudku-dashboard-page .dashboard-table-card .card-header {
    background:
        radial-gradient(circle at 100% 0%, rgba(33, 122, 192, .07), transparent 32%),
        #fff;
}

.cloudku-dashboard-page .dashboard-table-card .card-title {
    color: var(--dashboard-text);
    font-weight: 800;
    letter-spacing: -.35px;
}

.cloudku-dashboard-page .dashboard-table-card .card-account {
    color: var(--dashboard-blue);
}

.cloudku-dashboard-page table.dataTable thead th,
.cloudku-dashboard-page table.dataTable thead td {
    color: #263651;
    background: #f2f6fc;
    border-top: 1px solid #e8edf5;
    border-bottom-color: #dfe6f0;
}

.cloudku-dashboard-page table.dataTable tbody tr {
    transition: background-color .18s ease;
}

.cloudku-dashboard-page table.dataTable tbody tr:hover td {
    background: #f5f8fd !important;
}

.cloudku-dashboard-page .dataTables_wrapper input[type="search"],
.cloudku-dashboard-page .dataTables_wrapper input[type="text"],
.cloudku-dashboard-page .dataTables_wrapper select,
.cloudku-dashboard-page .form-control,
.cloudku-dashboard-page .custom-select {
    border-color: #d7dfeb;
    border-radius: 10px;
    background-color: #fbfcfe;
}

.cloudku-dashboard-page .dataTables_wrapper input[type="search"]:focus,
.cloudku-dashboard-page .dataTables_wrapper input[type="text"]:focus,
.cloudku-dashboard-page .dataTables_wrapper select:focus,
.cloudku-dashboard-page .form-control:focus,
.cloudku-dashboard-page .custom-select:focus {
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(1, 30, 108, .075) !important;
}

.cloudku-dashboard-page .btn-primary {
    border-color: transparent !important;
    border-radius: 10px;
    background: linear-gradient(105deg, var(--dashboard-navy), #06479e) !important;
    box-shadow: 0 9px 20px rgba(1, 30, 108, .17);
}

.cloudku-dashboard-page .btn-primary:hover,
.cloudku-dashboard-page .btn-primary:focus {
    filter: brightness(1.08);
    box-shadow: 0 12px 25px rgba(1, 30, 108, .23);
    transform: translateY(-1px);
}

.cloudku-dashboard-page .btn-outline-primary {
    border-radius: 10px;
    background: #fff;
}

.cloudku-dashboard-page .dataTables_wrapper .dataTables_paginate .paginate_button {
    border-radius: 10px;
}

.cloudku-dashboard-page .dataTables_wrapper .dataTables_paginate .paginate_button.current,
.cloudku-dashboard-page .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    background: linear-gradient(135deg, var(--dashboard-navy), #06479e) !important;
    box-shadow: 0 7px 15px rgba(1, 30, 108, .16);
}

.cloudku-dashboard-page .footer {
    border-top: 1px solid var(--dashboard-border);
    background: #fff;
}

.cloudku-dashboard-page > #notif {
    z-index: 1060;
}

.cloudku-dashboard-page > .modal-backdrop {
    z-index: 1050;
}

/* Compact desktop shell -------------------------------------------------
 * The upstream dashboard theme uses a 21.563rem sidebar and a 7.5rem
 * header. Keep its responsive/mini behaviour, but use a tighter desktop
 * proportion so navigation does not dominate the working area.
 */
@media (min-width: 1200px) {
    .cloudku-dashboard-page {
        --dashboard-sidebar-width: 220px;
        --dashboard-header-height: 72px;
    }

    .cloudku-dashboard-page[data-layout="vertical"][data-sidebar-style="full"] #main-wrapper:not(.menu-toggle) > .nav-header {
        width: var(--dashboard-sidebar-width);
        height: var(--dashboard-header-height);
    }

    .cloudku-dashboard-page[data-layout="vertical"][data-sidebar-style="full"] #main-wrapper:not(.menu-toggle) > .header {
        height: var(--dashboard-header-height);
        padding-left: var(--dashboard-sidebar-width);
    }

    .cloudku-dashboard-page[data-layout="vertical"][data-sidebar-style="full"] #main-wrapper:not(.menu-toggle) > .deznav {
        width: var(--dashboard-sidebar-width);
        padding-top: var(--dashboard-header-height);
    }

    .cloudku-dashboard-page[data-layout="vertical"][data-sidebar-style="full"] #main-wrapper:not(.menu-toggle) > .content-body {
        margin-left: var(--dashboard-sidebar-width);
    }

    .cloudku-dashboard-page[data-layout="vertical"][data-sidebar-style="full"][data-header-position="fixed"] #main-wrapper:not(.menu-toggle) > .content-body {
        padding-top: var(--dashboard-header-height);
    }

    .cloudku-dashboard-page[data-layout="vertical"][data-sidebar-style="full"] #main-wrapper:not(.menu-toggle) > .footer {
        padding-left: var(--dashboard-sidebar-width);
    }

    .cloudku-dashboard-page .nav-header .brand-logo {
        padding-right: 20px;
        padding-left: 20px;
    }

    .cloudku-dashboard-page .nav-header .logo-abbr {
        width: 42px;
        height: 42px;
        max-width: 42px;
        padding: 6px;
        border-radius: 12px;
    }

    .cloudku-dashboard-page .nav-header .brand-title {
        max-width: 104px;
        margin-top: 2px;
        margin-left: 13px;
    }

    .cloudku-dashboard-page .nav-header .nav-control {
        right: -49px;
        font-size: 1.2rem;
    }

    .cloudku-dashboard-page .nav-header .hamburger {
        width: 23px;
    }

    .cloudku-dashboard-page .nav-header .hamburger .line {
        margin-top: 5px;
        margin-bottom: 5px;
    }

    .cloudku-dashboard-page .nav-header .hamburger .line:nth-child(1) {
        width: 17px;
    }

    .cloudku-dashboard-page .nav-header .hamburger .line:nth-child(2) {
        width: 23px;
    }

    .cloudku-dashboard-page .nav-header .hamburger .line:nth-child(3) {
        width: 19px;
    }

    .cloudku-dashboard-page .header .header-content {
        padding-right: 24px;
        padding-left: 62px;
    }

    .cloudku-dashboard-page .header-left .dashboard_bar {
        gap: 10px;
        font-size: 21px;
        letter-spacing: -.45px;
    }

    .cloudku-dashboard-page .header-left .dashboard_bar::before {
        width: 32px;
        height: 32px;
        border-radius: 9px;
    }

    .cloudku-dashboard-page .header-right {
        gap: 7px;
    }

    .cloudku-dashboard-page .language-selector > .nav-link {
        min-height: 38px;
        padding: 7px 11px !important;
        font-size: 11px;
    }

    .cloudku-dashboard-page .header-right .header-profile > a.nav-link {
        min-height: 48px;
        padding: 5px 7px 5px 16px;
        border-radius: 10px;
    }

    .cloudku-dashboard-page .header-right .header-profile img {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

    .cloudku-dashboard-page .header-right .header-profile .header-info strong {
        font-size: 12px;
    }

    .cloudku-dashboard-page .header-right .header-profile .header-info p {
        font-size: 10px !important;
    }

    .cloudku-dashboard-page .sidebar-role-badge {
        margin: 10px 14px 3px;
        padding: 7px 10px;
        border-radius: 9px;
        font-size: 9px;
    }

    .cloudku-dashboard-page .deznav .metismenu {
        padding-top: 9px;
    }

    .cloudku-dashboard-page .deznav .metismenu > li {
        padding-right: 8px;
        padding-left: 8px;
    }

    .cloudku-dashboard-page[data-sidebar-style="full"][data-layout="vertical"] .deznav .metismenu > li > a,
    .cloudku-dashboard-page[data-sidebar-style="full"][data-layout="vertical"][data-primary="color_8"] .deznav .metismenu > li > a:not(.btn) {
        min-height: 46px;
        padding: 11px 14px;
        border-radius: 10px;
        font-size: 14px;
    }

    .cloudku-dashboard-page .deznav .metismenu > li > a i,
    .cloudku-dashboard-page .deznav .metismenu > li > a svg {
        font-size: 18px;
    }

    .cloudku-dashboard-page .deznav .metismenu .has-arrow::after {
        right: 1.15rem;
        width: .42rem;
        height: .42rem;
    }

    .cloudku-dashboard-page[data-primary="color_8"] .deznav .metismenu > li > ul {
        margin-top: 3px;
        margin-bottom: 5px;
        padding-top: 3px;
        padding-bottom: 3px;
    }

    .cloudku-dashboard-page .deznav .metismenu ul a,
    .cloudku-dashboard-page[data-primary="color_8"] .deznav .metismenu ul a:not(.btn) {
        padding-top: 7px;
        padding-bottom: 7px;
        font-size: 12px;
    }

    .cloudku-dashboard-page .add-menu-sidebar {
        margin: 24px 14px 18px;
        padding: 22px 16px 16px;
        border-radius: 11px;
    }

    .cloudku-dashboard-page .add-menu-sidebar p {
        font-size: 13px;
    }

    .cloudku-dashboard-page .deznav .copyright {
        padding-right: 16px;
        padding-left: 16px;
        font-size: 10px;
    }
}

@media (min-width: 768px) {
    .cloudku-dashboard-page #main-wrapper.menu-toggle .deznav .metismenu > li {
        padding-right: 6px;
        padding-left: 6px;
    }

    .cloudku-dashboard-page #main-wrapper.menu-toggle .deznav .metismenu > li > a {
        min-height: 50px;
        padding: 13px 0;
        justify-content: center;
        border-radius: 10px;
    }

    .cloudku-dashboard-page #main-wrapper.menu-toggle .deznav .metismenu > li > a i,
    .cloudku-dashboard-page #main-wrapper.menu-toggle .deznav .metismenu > li > a svg {
        margin-right: 0;
    }
}

@media (max-width: 1199px) {
    .cloudku-dashboard-page .deznav {
        box-shadow: 15px 0 42px rgba(1, 22, 79, .24);
    }

    .cloudku-dashboard-page .nav-header .logo-abbr {
        width: 43px;
        height: 43px;
        max-width: 43px;
        padding: 6px;
        border-radius: 12px;
    }

    .cloudku-dashboard-page .header-left .dashboard_bar::before {
        width: 34px;
        height: 34px;
    }
}

@media (max-width: 575px) {
    .cloudku-dashboard-page .nav-header .logo-abbr {
        width: 40px;
        height: 40px;
        max-width: 40px;
        padding: 5px;
        border-radius: 11px;
    }
}

@media (max-width: 767px) {
    .cloudku-dashboard-page .header-left .dashboard_bar {
        gap: 8px;
        font-size: 19px;
        letter-spacing: -.35px;
    }

    .cloudku-dashboard-page .header-left .dashboard_bar::before {
        width: 29px;
        height: 29px;
        border-radius: 9px;
    }

    .cloudku-dashboard-page .header-right {
        gap: 3px;
    }

    .cloudku-dashboard-page .header-right .header-profile > a.nav-link {
        min-height: 46px;
        padding: 3px;
    }

    .cloudku-dashboard-page .header-right .header-profile img {
        width: 38px;
        height: 38px;
    }

    .cloudku-dashboard-page .content-body .card {
        border-radius: 13px;
    }

    .cloudku-dashboard-page .dashboard-table-card::before {
        right: 16px;
        left: 16px;
    }
}

@media (max-width: 420px) {
    .cloudku-dashboard-page .header-left .dashboard_bar::before {
        display: none;
    }

    .cloudku-dashboard-page .header-left .dashboard_bar {
        font-size: 17px;
    }

    .cloudku-dashboard-page .language-selector > .nav-link {
        min-width: 38px;
        justify-content: center;
    }

    .cloudku-dashboard-page .language-selector > .nav-link i {
        display: none;
    }
}

/* Sidebar collapsed and tablet alignment ------------------------------- */
@media (min-width: 1200px) {
    .cloudku-dashboard-page {
        --dashboard-sidebar-collapsed-width: 68px;
    }

    .cloudku-dashboard-page[data-layout="vertical"][data-sidebar-style="full"] #main-wrapper.menu-toggle > .nav-header,
    .cloudku-dashboard-page[data-layout="vertical"][data-sidebar-style="full"] #main-wrapper.menu-toggle > .deznav {
        width: var(--dashboard-sidebar-collapsed-width);
    }

    .cloudku-dashboard-page[data-layout="vertical"][data-sidebar-style="full"] #main-wrapper.menu-toggle > .header {
        padding-left: var(--dashboard-sidebar-collapsed-width);
    }

    .cloudku-dashboard-page[data-layout="vertical"][data-sidebar-style="full"] #main-wrapper.menu-toggle > .content-body {
        margin-left: var(--dashboard-sidebar-collapsed-width);
    }

    .cloudku-dashboard-page[data-layout="vertical"][data-sidebar-style="full"] #main-wrapper.menu-toggle > .footer {
        padding-left: var(--dashboard-sidebar-collapsed-width);
    }

    .cloudku-dashboard-page #main-wrapper.menu-toggle .nav-header .brand-logo {
        padding-right: 0;
        padding-left: 0;
        justify-content: center;
    }

    .cloudku-dashboard-page #main-wrapper.menu-toggle .nav-header .logo-abbr {
        width: 40px;
        height: 40px;
        max-width: 40px;
    }

    .cloudku-dashboard-page #main-wrapper.menu-toggle .sidebar-role-badge {
        display: grid;
        width: 34px;
        height: 34px;
        margin: 10px auto 7px;
        padding: 0;
        place-items: center;
    }

    .cloudku-dashboard-page #main-wrapper.menu-toggle .sidebar-role-badge .role-full {
        display: none;
    }

    .cloudku-dashboard-page #main-wrapper.menu-toggle .sidebar-role-badge .role-short {
        display: inline;
    }

    .cloudku-dashboard-page #main-wrapper.menu-toggle .deznav .metismenu > li {
        padding-right: 5px;
        padding-left: 5px;
    }

    .cloudku-dashboard-page #main-wrapper.menu-toggle .deznav .metismenu > li > a {
        min-height: 46px;
        padding: 11px 0;
    }

    .cloudku-dashboard-page[data-sidebar-style="full"] #main-wrapper.menu-toggle .deznav .metismenu li > ul {
        left: var(--dashboard-sidebar-collapsed-width);
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .cloudku-dashboard-page .header .header-content {
        padding-right: 18px;
        padding-left: 54px;
    }

    .cloudku-dashboard-page .header-left .dashboard_bar {
        gap: 8px;
        font-size: 19px;
    }

    .cloudku-dashboard-page .header-left .dashboard_bar::before {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 1199px) {
    .cloudku-dashboard-page[data-sidebar-style="overlay"] #main-wrapper.menu-toggle .sidebar-role-badge {
        display: block;
        width: auto;
        height: auto;
        margin: 10px 14px 4px;
        padding: 8px 10px;
    }

    .cloudku-dashboard-page[data-sidebar-style="overlay"] #main-wrapper.menu-toggle .sidebar-role-badge .role-full {
        display: inline-flex;
    }

    .cloudku-dashboard-page[data-sidebar-style="overlay"] #main-wrapper.menu-toggle .sidebar-role-badge .role-short {
        display: none;
    }
}

/* Modern Cloudku control-panel layout --------------------------------- */
.cloudku-dashboard-page .nav-header {
    border-right: 1px solid rgba(101, 201, 255, .14);
    border-bottom: 1px solid rgba(101, 201, 255, .18);
    background:
        radial-gradient(circle at 18% 16%, rgba(57, 162, 255, .38), transparent 35%),
        linear-gradient(155deg, #01164f, #011e6c 68%, #063b91);
    box-shadow: 10px 0 28px rgba(1, 22, 79, .12);
}

.cloudku-dashboard-page .nav-header::before,
.cloudku-dashboard-page .nav-header::after {
    display: none;
}

.cloudku-dashboard-page .nav-header .logo-abbr {
    border-color: #e2e8f1;
    background: #fff;
    box-shadow: 0 7px 18px rgba(15, 23, 42, .08);
}

.cloudku-dashboard-page .nav-header .brand-title,
.cloudku-dashboard-page .nav-header .logo-compact {
    filter: brightness(0) invert(1);
    opacity: .98;
}

.cloudku-dashboard-page .deznav {
    border-right: 1px solid rgba(101, 201, 255, .14);
    color: rgba(255, 255, 255, .78);
    background:
        radial-gradient(circle at 2% 8%, rgba(57, 162, 255, .35), transparent 25%),
        radial-gradient(circle at 95% 90%, rgba(33, 122, 192, .27), transparent 28%),
        linear-gradient(160deg, #01164f, #011e6c 55%, #063b91);
    box-shadow: 10px 0 28px rgba(1, 22, 79, .12);
}

.cloudku-dashboard-page .deznav-scroll {
    background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 44px 44px;
}

.cloudku-dashboard-page .sidebar-role-badge,
.cloudku-dashboard-page .sidebar-role-badge.role-admin {
    border-color: rgba(101, 201, 255, .25);
    color: rgba(255, 255, 255, .82);
    background: rgba(101, 201, 255, .12);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .025);
}

.cloudku-dashboard-page .sidebar-role-badge .role-full,
.cloudku-dashboard-page .sidebar-role-badge.role-admin .role-full,
.cloudku-dashboard-page .sidebar-role-badge.role-admin .role-short {
    color: #fff;
}

.cloudku-dashboard-page .sidebar-role-badge .role-full::before {
    background: #28b985;
}

.cloudku-dashboard-page .deznav .metismenu > li > a,
.cloudku-dashboard-page[data-primary="color_8"] .deznav .metismenu > li > a:not(.btn) {
    color: rgba(255, 255, 255, .78) !important;
}

.cloudku-dashboard-page .deznav .metismenu > li > a i,
.cloudku-dashboard-page .deznav .metismenu > li > a svg,
.cloudku-dashboard-page .deznav .metismenu > li > a g [fill] {
    color: #65c9ff !important;
    fill: #65c9ff !important;
}

.cloudku-dashboard-page .deznav .metismenu > li > a:hover,
.cloudku-dashboard-page .deznav .metismenu > li.mm-active > a,
.cloudku-dashboard-page[data-primary="color_8"] .deznav .metismenu > li.mm-active > a:not(.btn),
.cloudku-dashboard-page[data-primary="color_8"] .deznav .metismenu > li:hover > a:not(.btn) {
    color: #fff !important;
    background: rgba(255, 255, 255, .12) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .045);
}

.cloudku-dashboard-page .deznav .metismenu > li > a:hover i,
.cloudku-dashboard-page .deznav .metismenu > li.mm-active > a i {
    color: #65c9ff !important;
}

.cloudku-dashboard-page .deznav .metismenu .has-arrow::after {
    border-color: rgba(255, 255, 255, .68) !important;
}

.cloudku-dashboard-page .deznav .metismenu ul::after {
    background: rgba(101, 201, 255, .25) !important;
}

.cloudku-dashboard-page .deznav .metismenu ul a,
.cloudku-dashboard-page[data-primary="color_8"] .deznav .metismenu ul a:not(.btn) {
    color: rgba(255, 255, 255, .64) !important;
}

.cloudku-dashboard-page .deznav .metismenu ul a:hover,
.cloudku-dashboard-page .deznav .metismenu ul a.mm-active,
.cloudku-dashboard-page[data-primary="color_8"] .deznav .metismenu ul a.mm-active:not(.btn),
.cloudku-dashboard-page[data-primary="color_8"] .deznav .metismenu ul a:hover:not(.btn) {
    color: #fff !important;
}

.cloudku-dashboard-page .add-menu-sidebar {
    border-color: rgba(255, 255, 255, .15);
    color: #fff;
    background: linear-gradient(120deg, rgba(33, 122, 192, .58), rgba(101, 201, 255, .16));
    box-shadow: 0 15px 32px rgba(0, 10, 44, .2);
}

.cloudku-dashboard-page .add-menu-sidebar p {
    color: #fff;
}

.cloudku-dashboard-page .deznav .copyright,
.cloudku-dashboard-page .deznav .copyright strong {
    color: rgba(255, 255, 255, .58);
}

.cloudku-dashboard-page .deznav-scroll > .ps__rail-y {
    background: transparent !important;
}

.cloudku-dashboard-page .deznav-scroll .ps__thumb-y,
.cloudku-dashboard-page .deznav-scroll .ps__rail-y:hover > .ps__thumb-y,
.cloudku-dashboard-page .deznav-scroll .ps__rail-y.ps--clicking > .ps__thumb-y {
    background: rgba(150, 220, 255, .72);
}

/* Server control panel */
.server-detail-page {
    max-width: 1540px;
    margin-right: auto;
    margin-left: auto;
}

.server-detail-shell {
    overflow: visible;
    border-color: #e2e8f0 !important;
    border-radius: 20px !important;
    box-shadow: 0 18px 48px rgba(35, 48, 72, .07) !important;
}

.server-detail-shell::before {
    display: none;
}

.server-detail-hero {
    min-height: 112px;
    padding: 24px 28px !important;
    color: #1c2739;
    border-bottom: 1px solid #e8edf3 !important;
    border-radius: 20px 20px 0 0;
    background:
        radial-gradient(circle at 12% 0%, rgba(33, 122, 192, .07), transparent 28%),
        #fff !important;
}

.server-detail-hero::after {
    display: none;
}

.server-detail-eyebrow {
    color: #6d798d;
}

.server-detail-eyebrow i {
    color: #217ac0;
}

.server-detail-title {
    color: #17213a !important;
}

.server-detail-status {
    border-color: #dfe6ef;
    color: #526077;
    background: #f6f8fb;
    backdrop-filter: none;
}

.server-detail-actions > .btn,
.server-detail-actions > form > .btn {
    border-color: #e1e7ef;
    color: #1b67ad;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .06);
    backdrop-filter: none;
}

.server-detail-actions > .btn:hover,
.server-detail-actions > form > .btn:hover {
    border-color: #c9dbed;
    color: #011e6c;
    background: #eef6fd;
}

.server-detail-summary {
    padding: 20px 24px;
    border-bottom-color: #e8edf3;
    background: #fff;
}

.server-summary-item {
    min-height: 70px;
    border-color: #e6ebf2;
    background: #f9fbfd;
    box-shadow: none;
}

.server-summary-item:hover {
    border-color: #bed5eb;
    background: #fff;
}

.server-detail-shell > .card-body {
    padding: 0;
}

.server-detail-tabs {
    display: grid;
    min-height: 570px;
    grid-template-columns: 190px minmax(0, 1fr);
}

.server-detail-tabs > .nav-tabs {
    display: flex;
    padding: 22px 14px;
    overflow: visible;
    align-content: flex-start;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 7px;
    border: 0;
    border-right: 1px solid #e8edf3;
    border-radius: 0 0 0 20px;
    background: #f7f9fc;
}

.server-detail-tabs > .nav-tabs .nav-item {
    width: 100%;
}

.server-detail-tabs > .nav-tabs .nav-link {
    display: flex;
    width: 100%;
    min-height: 44px;
    padding: 11px 13px;
    align-items: center;
    border-radius: 9px;
    color: #536077 !important;
    text-align: left;
}

.server-detail-tabs > .nav-tabs .nav-link i,
.server-detail-tabs > .nav-tabs .nav-link .la,
.server-detail-tabs > .nav-tabs .nav-link .bx {
    color: #217ac0 !important;
}

.server-detail-tabs > .nav-tabs .nav-link:hover {
    color: #011e6c !important;
    background: #fff;
}

.server-detail-tabs > .nav-tabs .nav-link.active {
    position: relative;
    color: #011e6c !important;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .07);
}

.server-detail-tabs > .nav-tabs .nav-link.active i,
.server-detail-tabs > .nav-tabs .nav-link.active .la,
.server-detail-tabs > .nav-tabs .nav-link.active .bx {
    color: #011e6c !important;
}

.server-detail-tabs > .nav-tabs .nav-link.active::before {
    position: absolute;
    top: 9px;
    bottom: 9px;
    left: -14px;
    width: 3px;
    border-radius: 0 4px 4px 0;
    background: #217ac0;
    content: "";
}

.server-detail-tabs > .tab-content {
    min-width: 0;
    padding: 8px 28px 30px;
    background: #fff;
}

.server-detail-tabs .tab-pane .card {
    border-color: #e6ebf2;
    border-radius: 14px;
    box-shadow: 0 10px 26px rgba(30, 45, 70, .05);
}

.server-detail-tabs .btn-warning,
.server-detail-tabs .btn-info,
.server-detail-tabs .btn-primary {
    border-color: #011e6c !important;
    color: #fff !important;
    background: linear-gradient(105deg, #011e6c, #0756aa) !important;
    box-shadow: 0 8px 18px rgba(1, 30, 108, .16);
}

.server-detail-tabs .btn-warning:hover,
.server-detail-tabs .btn-warning:focus,
.server-detail-tabs .btn-info:hover,
.server-detail-tabs .btn-info:focus,
.server-detail-tabs .btn-primary:hover,
.server-detail-tabs .btn-primary:focus {
    border-color: #06479e !important;
    color: #fff !important;
    background: linear-gradient(105deg, #06479e, #217ac0) !important;
}

.server-detail-tabs .btn-warning:disabled,
.server-detail-tabs .btn-info:disabled,
.server-detail-tabs .btn-primary:disabled {
    border-color: #9cabc0 !important;
    color: #fff !important;
    background: #9cabc0 !important;
    box-shadow: none;
}

.server-detail-tabs .form-control:focus,
.server-detail-tabs .custom-select:focus {
    border-color: #217ac0;
    box-shadow: 0 0 0 4px rgba(1, 30, 108, .08) !important;
}

.server-detail-tabs #message .panel-default {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.server-detail-tabs #message .panel-body {
    min-width: 0;
    padding: 20px;
    border: 1px solid #e5eaf1;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 9px 24px rgba(30, 45, 70, .045);
}

.server-detail-tabs #message .panel-default > br {
    display: none;
}

.server-detail-tabs #message .table-responsive {
    border: 0;
}

.server-console-panel {
    margin-top: 20px;
    overflow: hidden;
    border: 1px solid #dfe7f1;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(20, 39, 72, .07);
}

.server-console-toolbar {
    display: flex;
    min-height: 86px;
    padding: 17px 20px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid #e6ebf2;
}

.server-console-toolbar h4 {
    margin: 1px 0 3px;
    color: #17213a;
    font-size: 17px;
    font-weight: 750;
}

.server-console-toolbar p {
    margin: 0;
    color: #69778d;
    font-size: 12px;
    font-weight: 500;
}

.server-console-kicker {
    color: #217ac0;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.server-console-reconnect {
    min-width: 112px;
    flex: 0 0 auto;
    font-size: 12px !important;
}

.server-console-stage {
    position: relative;
    height: clamp(380px, 58vh, 690px);
    overflow: hidden;
    background: #071631;
}

#server-console-frame {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: #071631;
}

.server-console-loading {
    position: absolute;
    z-index: 2;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    color: #dceaff;
    background: linear-gradient(135deg, #071631, #0a2867);
    font-size: 12px;
    transition: opacity .2s ease, visibility .2s ease;
}

.server-console-loading .spinner-border {
    width: 28px;
    height: 28px;
    border-width: 3px;
    color: #65c9ff;
}

.server-console-loading.is-hidden {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.server-console-unavailable {
    display: flex;
    min-height: 300px;
    padding: 30px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    color: #69778d;
    background: #f8fafc;
    text-align: center;
}

.server-console-unavailable i {
    display: grid;
    width: 48px;
    height: 48px;
    margin-bottom: 4px;
    place-items: center;
    border-radius: 13px;
    color: #217ac0;
    background: #eaf3fb;
    font-size: 23px;
}

.server-console-unavailable strong {
    color: #263651;
    font-size: 14px;
}

.server-console-unavailable span {
    font-size: 12px;
}

@media (max-width: 1199px) {
    .server-detail-tabs {
        display: block;
        min-height: 0;
    }

    .server-detail-tabs > .nav-tabs {
        padding: 10px;
        overflow-x: auto;
        flex-direction: row;
        gap: 5px;
        border-right: 0;
        border-bottom: 1px solid #e5eaf1;
        border-radius: 0;
    }

    .server-detail-tabs > .nav-tabs .nav-item,
    .server-detail-tabs > .nav-tabs .nav-link {
        width: auto;
    }

    .server-detail-tabs > .nav-tabs .nav-link.active::before {
        display: none;
    }

    .server-detail-tabs > .tab-content {
        padding: 8px 22px 26px;
    }
}

@media (max-width: 767px) {
    .server-detail-shell {
        border-radius: 15px !important;
    }

    .server-detail-hero {
        border-radius: 15px 15px 0 0;
    }

    .server-detail-summary {
        padding: 14px;
    }

    .server-detail-tabs > .tab-content {
        padding: 4px 14px 20px;
    }

    .server-detail-tabs #message .panel-default {
        grid-template-columns: 1fr;
    }

    .server-detail-tabs #message .panel-body {
        padding: 15px;
    }

    .server-console-panel {
        margin-top: 14px;
        border-radius: 12px;
    }

    .server-console-toolbar {
        padding: 14px;
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .server-console-reconnect {
        width: 100%;
    }

    .server-console-stage {
        height: 62vh;
        min-height: 340px;
        max-height: 560px;
    }
}

/* Compact change log and dashboard footer ----------------------------- */
.change-log-page {
    max-width: 1120px;
    padding-top: 14px !important;
    padding-bottom: 24px !important;
}

.change-log-page > h2 {
    margin-bottom: 18px;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    color: #263651 !important;
    font-size: 20px;
    font-weight: 700 !important;
}

.change-log-page > .row {
    margin-bottom: 12px;
}

.change-log-page .card {
    margin-bottom: 8px;
    border: 1px solid #e2e8f1 !important;
    border-radius: 14px !important;
    box-shadow: 0 9px 24px rgba(30, 45, 70, .055) !important;
}

.change-log-page .card.border-primary {
    border-color: rgba(1, 30, 108, .32) !important;
}

.change-log-page .card-body {
    padding: 20px 22px;
}

.change-log-page .card-title {
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
}

.change-log-page .card-text,
.change-log-page .card-body li,
.change-log-page .card-body .float-right {
    color: #536077;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.55;
}

.change-log-page .card-body .float-right {
    font-size: 12px;
    font-weight: 600;
}

.change-log-page .card-body ul {
    margin: 0;
    padding-left: 18px;
}

.change-log-page .badge.badge-pill {
    display: block;
    width: 14px;
    height: 14px;
    padding: 0;
    border-radius: 4px;
    box-shadow: 0 0 0 5px rgba(1, 30, 108, .07);
}

.cloudku-dashboard-page .footer .copyright {
    padding: 11px 16px;
    color: #66758b;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.45;
}

.cloudku-dashboard-page .footer .copyright p {
    margin: 0;
}

.cloudku-dashboard-page .footer .copyright p + p {
    margin-top: 3px;
}

.cloudku-dashboard-page .footer .copyright a {
    font-size: 11px;
    font-weight: 600;
}

.cloudku-dashboard-page .header-right .header-profile .dropdown-menu .profile-logout {
    min-height: 36px;
    padding: 8px 11px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.25;
}

.cloudku-dashboard-page .header-right .header-profile .profile-logout svg {
    width: 15px;
    height: 15px;
}

@media (max-width: 575px) {
    .change-log-page {
        padding-right: 12px;
        padding-left: 12px;
    }

    .change-log-page > h2 {
        font-size: 18px;
    }

    .change-log-page .card-body {
        padding: 17px;
    }

    .change-log-page .card-body .float-right {
        float: none !important;
        margin-bottom: 8px;
    }
}

/* Server detail typography and Solus-powered catalog ------------------ */
.server-detail-page,
.server-detail-page button,
.server-detail-page input,
.server-detail-page select,
.server-detail-page textarea,
.server-detail-modal,
.server-detail-modal button,
.server-detail-modal input,
.server-detail-modal select,
.server-detail-modal textarea {
    font-family: "HelveticaNeueMed", "HelveticaNeue", Arial, sans-serif;
}

.server-detail-page .tab-content p,
.server-detail-page .tab-content li,
.server-detail-page .tab-content label,
.server-detail-page .tab-content .form-control,
.server-detail-page .tab-content .custom-select,
.server-detail-page .tab-content .btn,
.server-detail-modal p,
.server-detail-modal label,
.server-detail-modal .form-control,
.server-detail-modal .btn {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
}

.server-detail-page .tab-content h3 {
    font-size: 19px;
    font-weight: 700;
}

.server-detail-page .tab-content h4,
.server-detail-modal .modal-title {
    font-size: 16px;
    font-weight: 700;
}

.server-detail-page .tab-content h5 {
    font-size: 14px;
    font-weight: 700;
}

.server-detail-page .tab-content .btn {
    min-height: 40px;
    padding: 9px 18px;
    border-radius: 9px;
    font-weight: 600;
}

.server-detail-tabs #reinstall > br {
    display: none;
}

.server-detail-tabs #reinstall > h4 {
    margin-top: 22px;
}

.server-detail-tabs #reinstall .default-tab > .nav-tabs {
    display: flex;
    margin-top: 14px;
    padding: 0;
    gap: 6px;
    border-bottom: 1px solid #dfe6ef;
    background: transparent;
}

.server-detail-tabs #reinstall .default-tab > .nav-tabs .nav-link {
    display: inline-flex;
    min-height: 44px;
    padding: 10px 14px;
    align-items: center;
    border: 1px solid transparent;
    border-radius: 9px 9px 0 0;
    color: #536077 !important;
    background: transparent;
    font-size: 13px;
    font-weight: 600;
}

.server-detail-tabs #reinstall .default-tab > .nav-tabs .nav-link i {
    color: #217ac0 !important;
    font-size: 18px;
}

.server-detail-tabs #reinstall .default-tab > .nav-tabs .nav-link.active {
    margin-bottom: -1px;
    border-color: #dfe6ef #dfe6ef #fff;
    color: #011e6c !important;
    background: #fff;
    box-shadow: none;
}

.server-detail-tabs #reinstall .default-tab > .tab-content {
    padding-top: 18px;
}

.reinstall-form,
.server-detail-tabs #reinstall .list {
    width: 100%;
}

.reinstall-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
    gap: 12px;
}

.reinstall-option {
    position: relative;
    display: block;
    min-width: 0;
    margin: 0 !important;
    cursor: pointer;
}

.reinstall-option > input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.reinstall-card {
    position: relative;
    display: flex;
    min-height: 150px;
    padding: 18px 14px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e3e9f1;
    border-radius: 13px;
    color: #263651;
    background: #f8fafc;
    text-align: center;
    transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.reinstall-card:hover {
    border-color: #bed5eb;
    background: #fff;
    box-shadow: 0 9px 22px rgba(30, 45, 70, .06);
    transform: translateY(-1px);
}

.reinstall-option > input:focus-visible + .reinstall-card {
    outline: 3px solid rgba(33, 122, 192, .2);
    outline-offset: 2px;
}

.reinstall-option > input:checked + .reinstall-card {
    border-color: #217ac0;
    color: #011e6c;
    background: #f4f9fe;
    box-shadow: 0 0 0 3px rgba(33, 122, 192, .1);
}

.reinstall-check {
    position: absolute;
    top: 10px;
    right: 10px;
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 50%;
    color: transparent;
    background: #e8edf4;
    font-size: 13px;
}

.reinstall-option > input:checked + .reinstall-card .reinstall-check {
    color: #fff;
    background: #217ac0;
}

.reinstall-icon {
    display: grid;
    width: 54px;
    height: 54px;
    margin-bottom: 12px;
    place-items: center;
}

.reinstall-icon img {
    max-width: 48px;
    max-height: 48px;
    object-fit: contain;
}

.reinstall-card strong {
    max-width: 100%;
    overflow-wrap: anywhere;
    color: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

.reinstall-card small {
    margin-top: 5px;
    color: #7a879a;
    font-size: 10px;
    font-weight: 500;
}

.reinstall-selection {
    display: grid;
    max-width: 620px;
    margin-top: 18px;
    align-items: end;
    grid-template-columns: minmax(220px, 1fr) auto;
    gap: 12px;
}

.reinstall-selection label {
    display: block;
    margin-bottom: 7px;
    color: #34445d;
    font-size: 12px !important;
    font-weight: 600 !important;
}

.reinstall-selection .form-control {
    height: 42px;
}

.reinstall-selection .btn,
.reinstall-submit {
    min-width: 128px;
    margin: 0 !important;
}

.application-schema-form {
    max-width: 720px;
    margin-top: 18px;
    padding: 18px;
    border: 1px solid #e3e9f1;
    border-radius: 12px;
    background: #f8fafc;
}

.application-schema-form:empty {
    display: none;
}

.reinstall-empty {
    display: flex;
    min-height: 90px;
    padding: 20px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px dashed #cfd9e6;
    border-radius: 12px;
    color: #65748a;
    background: #f8fafc;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
}

@media (max-width: 575px) {
    .reinstall-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .reinstall-card {
        min-height: 132px;
        padding: 15px 10px;
    }

    .reinstall-selection {
        grid-template-columns: 1fr;
    }

    .reinstall-selection .btn,
    .reinstall-submit {
        width: 100%;
    }
}

/* Modern server metrics ------------------------------------------------- */
.server-metrics-heading {
    display: flex;
    margin-bottom: 18px;
    padding: 2px 2px 0;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
}

.server-metrics-eyebrow {
    display: inline-flex;
    margin-bottom: 5px;
    align-items: center;
    gap: 6px;
    color: #1677d2;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.server-metrics-heading h4 {
    margin: 0;
    color: #17233b;
    font-size: 21px;
    font-weight: 800;
}

.server-metrics-heading p {
    margin: 5px 0 0;
    color: #77849a;
    font-size: 12px;
    font-weight: 500;
}

.server-metrics-live {
    display: inline-flex;
    min-height: 32px;
    padding: 6px 11px;
    align-items: center;
    gap: 7px;
    border: 1px solid #d8e9e4;
    border-radius: 999px;
    color: #087a5b;
    background: #f0fdf8;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.server-metrics-live i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #18b987;
    box-shadow: 0 0 0 4px rgba(24, 185, 135, .13);
    animation: metric-live-pulse 1.8s ease-in-out infinite;
}

.server-metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.server-metric-card {
    min-width: 0;
    padding: 20px 20px 16px;
    overflow: hidden;
    border: 1px solid #e3e9f2;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(26, 48, 82, .055);
}

.server-metric-card > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.server-metric-title {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 11px;
}

.server-metric-title > span {
    display: inline-grid;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 11px;
    color: #1677d2;
    background: #edf6ff;
    font-size: 21px;
    place-items: center;
}

.server-metric-title h5 {
    margin: 0;
    color: #1d2940;
    font-size: 14px;
    font-weight: 800;
}

.server-metric-title small {
    display: block;
    margin-top: 2px;
    color: #8a96a8;
    font-size: 10px;
    font-weight: 600;
}

.server-metric-card > header > strong {
    color: #011e6c;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}

.server-metric-legend {
    display: flex;
    min-height: 34px;
    margin: 14px 0 3px;
    padding: 8px 10px;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 14px;
    border-radius: 9px;
    background: #f8fafc;
}

.server-metric-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #68758a;
    font-size: 10px;
    font-weight: 700;
}

.server-metric-legend i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.server-metric-legend .legend-blue { background: #1677d2; }
.server-metric-legend .legend-cyan { background: #16b8b0; }

.server-metric-chart {
    position: relative;
    width: 100%;
    height: 245px;
    min-width: 0;
}

.server-detail-tabs .server-metric-chart canvas {
    width: 100% !important;
    height: 100% !important;
    background: transparent;
}

@keyframes metric-live-pulse {
    50% { opacity: .45; transform: scale(.82); }
}

@media (max-width: 991px) {
    .server-metrics-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .server-metrics-heading {
        align-items: flex-start;
    }

    .server-metrics-heading h4 {
        font-size: 18px;
    }

    .server-metric-card {
        padding: 16px 13px 12px;
        border-radius: 13px;
    }

    .server-metric-card > header {
        align-items: flex-start;
    }

    .server-metric-card > header > strong {
        font-size: 12px;
    }

    .server-metric-chart {
        height: 220px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .server-metrics-live i { animation: none; }
}
