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

    ** Custom Stylesheet **

    Any custom styling you want to apply should be
    defined here.

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

/* Custom CSS for Nexus Cart
 *
 * This block allows you to customize theme colors and styles for the entire Nexus Cart template.
 *
 * To customize colors:
 * - Replace the var() references with your own hex colors or other CSS values.
 * - For example, instead of --primary: #4b5563; use --primary: #your-color;
 * - You can also override any CSS properties here.
 */

html {
    font-size: 14px;
}

:root {
    --white: #fff;

    /* Neutral shades */
    --neutral-50: #fbf9fa;
    --neutral-100: #f4f5f7;
    --neutral-200: #e4e4e7;
    --neutral-300: #d0d5dd;
    --neutral-400: #9ca3af;
    --neutral-500: #6b7280;
    --neutral-600: #4b5563;
    --neutral-700: #374151;
    --neutral-800: #1f2937;
    --neutral-900: #111827;
    --neutral-950: #030712;

    /* Neutral shades */
    /* define own pallet with brand colors */
    --primary-50: var(--neutral-50);
    --primary-100: var(--neutral-100);
    --primary-200: var(--neutral-200);
    --primary-300: var(--neutral-300);
    --primary-400: var(--neutral-400);
    --primary-500: var(--neutral-500);
    --primary-600: var(--neutral-600);
    --primary-700: var(--neutral-700);
    --primary-800: var(--neutral-800);
    --primary-900: var(--neutral-900);
    --primary-950: var(--neutral-900);

    /* Primary colors */
    /* Use shades from comments if `primary` colors use other colors, then neutral */
    --primary: var(--neutral-900);          /* var(--primary-600) */
    --primary-lifted: var(--neutral-800);   /* var(--primary-700) */
    --primary-accented: var(--neutral-700); /* var(--primary-800) */

    /* Secondary colors */
    --secondary: var(--neutral-500);
    --secondary-lifted: var(--neutral-600);
    --secondary-accented: var(--neutral-700);

    /* Success colors */
    --success: #00a63e;
    --success-lifted: #008236;
    --success-accented: #016630;

    /* Info colors */
    --info: #155dfc;
    --info-lifted: #1447e6;
    --info-accented: #193cb8;

    /* Notice colors */
    --notice: #7f22fe;
    --notice-lifted: #7008e7;
    --notice-accented: #5d0ec0;

    /* Warning colors */
    --warning: #f54a00;
    --warning-lifted: #ca3500;
    --warning-accented: #9f2d00;

    /* Error colors */
    --error: #e7000b;
    --error-lifted: #c10007;
    --error-accented: #9f0712;

    /* Grayscale colors */
    --grayscale: var(--neutral-900);
    --grayscale-lifted: var(--neutral-800);
    --grayscale-accented: var(--neutral-700);

    /* Neutral colors */
    --neutral: var(--neutral-500);
    --neutral-lifted: var(--neutral-600);
    --neutral-accented: var(--neutral-700);

    /* Text neutral colors */
    --text-inverted: var(--white);
    --text-muted: var(--neutral-400);
    --text-lifted: var(--neutral-500);
    --text-accented: var(--neutral-600);
    --text: var(--neutral-900);

    /* Border neutral colors */
    --border-muted: var(--neutral-200);
    --border: var(--neutral-300);
    --border-lifted: var(--neutral-400);
    --border-accented: var(--neutral-600);

    /* Background neutral colors */
    --bg: var(--white);
    --bg-muted: var(--neutral-50);
    --bg-lifted: var(--neutral-100);
    --bg-accented: var(--neutral-200);
    --bg-inverted: var(--neutral-900);

    /* Additional colors */
    --yellow-200: #fff085;
    --yellow-300: #ffdf20;
    --teal-300: #46edd5;
    --teal-400: #00d5be;
    --emerald-300: #5ee9b5;
    --pink-400: #fb64b6;

    /* Additional custom properties */
    /* Font sizes */
    --text-xs: 0.625rem;
    --text-sm: 0.75rem;
    --text-md: 0.875rem;
    --text-lg: 1rem;

    /* Spacing */
    --outline-sm: 1px;
    --outline-md: 2px;
    --outline-lg: 3px;

    /* Rounding */
    --rounding-sm: 0.25rem;
    --rounding-md: 0.5rem;
    --rounding-lg: 0.75rem;

    /* Other */
    --letter-spacing: 0em;
    --disabled-opacity: 25%;
}

/* *****************************************************
    ** KOPVPS Brand Overrides **
    品牌色：主色 #062B63 海军蓝 | 科技蓝 #1D8CFF | 背景 #F5F7FA | 边框 rgba(6,43,99,.12) | 次要文字 #61738d
    字体：Montserrat (标题) / Inter (正文) / Noto Sans SC (中文)
***************************************************** */

:root {
    --kopvps-navy: #062B63;
    --kopvps-blue: #1D8CFF;
    --kopvps-bg: #F5F7FA;
    --kopvps-border: rgba(6, 43, 99, .12);
    --kopvps-text: #062B63;
    --kopvps-text-secondary: #61738d;

    --primary: #062B63;
    --primary-lifted: #1D8CFF;
    --primary-accented: #062B63;
    --text: #062B63;
    --text-muted: #61738d;
    --border: rgba(6, 43, 99, .12);
    --bg-muted: #F5F7FA;
    --bg-lifted: #F5F7FA;
    --bg-accented: #EEF2F8;
}

body,
.primary-bg-color {
    background-color: #F5F7FA;
    color: #062B63;
}

body {
    font-family: 'Inter', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.card-title, .panel-title,
.navbar-brand,
.stat, .kopvps-footer-heading {
    font-family: 'Montserrat', 'Noto Sans SC', 'PingFang SC', sans-serif;
    font-weight: 700;
}

a {
    color: #1D8CFF;
}

a:hover {
    color: #062B63;
}

/* ========== Header ========== */

header.header .topbar {
    background: #062B63;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

header.header .topbar .btn,
header.header .topbar .input-group-text {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, .85);
    border-radius: 6px;
}

header.header .topbar .btn:hover {
    color: #1D8CFF;
}

header.header .topbar .btn-active-client {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .18);
    color: #fff;
    border-radius: 6px;
}

header.header .topbar .btn-active-client:hover {
    background: rgba(29, 140, 255, .25);
    color: #fff;
}

.header .navbar.navbar-light {
    background: #fff;
    border-bottom: 1px solid rgba(6, 43, 99, .08);
}

header.header .logo-img {
    height: 34px;
    width: auto;
}

.header .search {
    border: 1px solid rgba(6, 43, 99, .12);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.header .search .input-group-text,
.header .search .form-control {
    border: none;
    background: #fff;
    box-shadow: none !important;
}

.header .search .btn {
    color: #062B63;
    border-radius: 0;
}

.header .search .form-control:focus {
    border: none;
    box-shadow: none;
}

.header .cart-btn {
    border: 1px solid rgba(6, 43, 99, .12);
    border-radius: 8px;
    color: #062B63;
    background: #fff;
}

.header .cart-btn:hover {
    border-color: #1D8CFF;
    color: #1D8CFF;
}

.header .cart-btn .badge {
    border-radius: 10px;
}

header.header .main-navbar-wrapper {
    background: #fff;
    border-bottom: 1px solid rgba(6, 43, 99, .1);
}

header.header .main-navbar-wrapper .navbar-nav > .nav-item > a {
    color: #61738d;
    font-weight: 500;
}

header.header .main-navbar-wrapper .navbar-nav > .nav-item > a:hover,
.main-navbar-wrapper .navbar-nav > .nav-item > a:focus,
header.header .main-navbar-wrapper .navbar-nav > .nav-item.active > a {
    color: #1D8CFF;
}

header.header .main-navbar-wrapper .navbar-nav > .nav-item.active > a {
    color: #062B63;
    box-shadow: inset 0 -2px 0 #1D8CFF;
}

header.header .main-navbar-wrapper .dropdown-menu {
    border: 1px solid rgba(6, 43, 99, .12);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(6, 43, 99, .1);
}

header.header .main-navbar-wrapper .dropdown-menu .dropdown-item {
    color: #61738d;
}

header.header .main-navbar-wrapper .dropdown-menu .dropdown-item:hover,
.main-navbar-wrapper .dropdown-menu .dropdown-item:focus {
    background: #F5F7FA;
    color: #1D8CFF;
}

/* ========== Breadcrumb ========== */

.master-breadcrumb {
    background: #F5F7FA;
    border-top: 1px solid rgba(6, 43, 99, .08);
    border-bottom: 1px solid rgba(6, 43, 99, .08);
}

.master-breadcrumb .breadcrumb,
.master-breadcrumb .breadcrumb-item {
    background: transparent;
}

.master-breadcrumb .breadcrumb-item a {
    color: #61738d;
}

.master-breadcrumb .breadcrumb-item a:hover {
    color: #1D8CFF;
}

.master-breadcrumb .breadcrumb-item.active {
    color: #062B63;
    font-weight: 600;
}

/* ========== Buttons ========== */

.btn-primary {
    background: #1D8CFF;
    border-color: #1D8CFF;
    border-radius: 8px;
    font-weight: 600;
    color: #fff;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled):active:focus {
    background: #062B63;
    border-color: #062B63;
    color: #fff;
    box-shadow: 0 4px 12px rgba(6, 43, 99, .25);
}

.btn-default {
    background: #fff;
    border: 1px solid rgba(6, 43, 99, .2);
    border-radius: 8px;
    color: #062B63;
    font-weight: 500;
}

.btn-default:hover,
.btn-default:focus,
.btn-default:not(:disabled):not(.disabled):active {
    background: #F5F7FA;
    border-color: #1D8CFF;
    color: #1D8CFF;
}

.btn-outline, .btn-warning, .btn-secondary {
    border-radius: 8px;
}

/* ========== Cards & Panels ========== */

.card,
.panel {
    background: #fff;
    border: 1px solid rgba(6, 43, 99, .12);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(6, 43, 99, .04);
}

.card-header,
.panel-heading {
    background: #062B63;
    color: #fff;
    border-bottom: none;
    border-radius: 7px 7px 0 0 !important;
}

.card-header .card-title,
.card-header .card-title a,
.panel-heading .panel-title {
    color: #fff;
}

.card-header .badge {
    background: rgba(255, 255, 255, .18);
    color: #fff;
}

.card-footer,
.panel-footer {
    background: #F9FBFD;
    border-top: 1px solid rgba(6, 43, 99, .08);
}

.list-group-item {
    border-color: rgba(6, 43, 99, .08);
}

.list-group-item:first-child {
    border-radius: 0;
}

.list-group-item.active {
    background: #062B63;
    border-color: #062B63;
}

.list-group-item-action:hover,
.list-group-item-action:focus {
    background: #F5F7FA;
    color: #1D8CFF;
}

/* ========== Dashboard Tiles ========== */

.tiles .tile {
    background: #fff;
    border: 1px solid rgba(6, 43, 99, .12);
    border-radius: 8px;
    padding: 1.25rem 1rem;
    text-align: center;
    transition: all .2s ease;
    position: relative;
    overflow: hidden;
    color: #062B63;
    height: 100%;
}

.tiles .tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(6, 43, 99, .12);
    border-color: #1D8CFF;
    text-decoration: none;
}

.tiles .tile > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(29, 140, 255, .12);
    color: #1D8CFF;
    font-size: 1.15rem;
    margin-bottom: .75rem;
}

.tiles .tile .title {
    color: #61738d;
    font-weight: 500;
    font-size: .9375rem;
}

.tiles .tile .stat {
    color: #062B63;
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.2;
}

.tiles .tile .highlight {
    display: none;
}

/* ========== Welcome banner ========== */

.kopvps-welcome {
    background: linear-gradient(135deg, #062B63 0%, #10529f 60%, #1D8CFF 100%);
    color: #fff;
    border-radius: 10px;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 6px 20px rgba(6, 43, 99, .18);
}

.kopvps-welcome h4 {
    color: #fff;
    font-size: 1.35rem;
}

.kopvps-welcome .kopvps-welcome-text p {
    color: rgba(255, 255, 255, .85);
}

.kopvps-welcome-btn {
    background: #fff;
    color: #062B63;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    padding: .5rem 1.25rem;
}

.kopvps-welcome-btn:hover {
    background: #1D8CFF;
    color: #fff;
}

/* ========== Forms ========== */

.form-control,
.field {
    border-color: rgba(6, 43, 99, .15);
    border-radius: 6px;
}

.form-control:focus,
.field:focus {
    border-color: #1D8CFF;
    box-shadow: 0 0 0 .2rem rgba(29, 140, 255, .15);
}

.input-group-text {
    background: #F5F7FA;
    border-color: rgba(6, 43, 99, .12);
    color: #61738d;
}

.form-check-input:checked {
    background-color: #1D8CFF;
    border-color: #1D8CFF;
}

/* ========== Login / Register ========== */

.login-form .card,
#registration .card {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(6, 43, 99, .12);
}

.kopvps-card-accent {
    height: 5px;
    background: linear-gradient(90deg, #062B63, #1D8CFF);
}

.kopvps-auth-logo {
    width: 130px;
    height: auto;
}

.login-form h6 {
    color: #062B63;
}

.login-form .text-muted,
.kopvps-register-head .text-muted {
    color: #61738d !important;
}

.login-form .card-footer {
    text-align: center;
    background: #F9FBFD;
}

.login-form .card-footer a,
.login-form a[href*="password"] {
    color: #1D8CFF;
}

.login-form .card-footer a:hover,
.login-form a[href*="password"]:hover {
    color: #062B63;
    text-decoration: underline;
}

.kopvps-register-head h2 {
    color: #062B63;
}

#registration .card-title {
    color: #062B63;
}

.kopvps-btn-lg {
    padding: .65rem 2.5rem;
    border-radius: 8px;
}

/* ========== Tables ========== */

.table thead th {
    background: #F5F7FA;
    color: #062B63;
    font-weight: 700;
    border-bottom: 2px solid rgba(6, 43, 99, .12);
}

.table td,
.table th {
    border-color: rgba(6, 43, 99, .08);
}

/* ========== Badges & Alerts ========== */

.badge {
    border-radius: 6px;
    font-weight: 600;
    padding: .4em .6em;
}

.badge-info {
    background: #1D8CFF;
    color: #fff;
}

.badge-success {
    background: #0a9a4e;
    color: #fff;
}

.badge-danger {
    background: #d92d20;
    color: #fff;
}

.badge-warning {
    background: #f79009;
    color: #fff;
}

.alert {
    border-radius: 8px;
    border: 1px solid rgba(6, 43, 99, .12);
}

.alert-info {
    background: #eaf5ff;
    border-color: rgba(29, 140, 255, .25);
    color: #084e8f;
}

/* ========== Pagination ========== */

.pagination .page-link {
    color: #062B63;
    border-color: rgba(6, 43, 99, .12);
    border-radius: 6px !important;
    margin: 0 2px;
}

.pagination .page-item.active .page-link {
    background: #1D8CFF;
    border-color: #1D8CFF;
    color: #fff;
}

.pagination .page-link:hover {
    color: #1D8CFF;
    border-color: #1D8CFF;
    background: #F5F7FA;
}

/* ========== Footer ========== */

footer.kopvps-footer {
    background: #062B63;
    color: rgba(255, 255, 255, .85);
    margin-top: 3rem;
    padding: 3rem 0 0;
}

.kopvps-footer-top {
    padding-bottom: 2rem;
}

.kopvps-footer-brand .kopvps-footer-logo {
    height: 36px;
    width: auto;
    margin-bottom: 1rem;
    background: #fff;
    border-radius: 6px;
    padding: 6px 10px;
}

.kopvps-footer-tagline {
    color: rgba(255, 255, 255, .7);
    font-size: .875rem;
    line-height: 1.7;
    margin-bottom: .5rem;
}

.kopvps-footer-heading {
    color: #fff;
    font-size: .9375rem;
    letter-spacing: .5px;
    margin-bottom: 1rem;
}

.kopvps-footer-links li {
    margin-bottom: .55rem;
}

.kopvps-footer-links a {
    color: rgba(255, 255, 255, .72);
    font-size: .875rem;
    text-decoration: none;
    transition: color .15s ease;
}

.kopvps-footer-links a:hover {
    color: #1D8CFF;
    text-decoration: none;
}

.kopvps-footer-contact i {
    width: 1.25rem;
    color: #1D8CFF;
}

.kopvps-lang-btn {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .2);
    color: rgba(255, 255, 255, .85);
    border-radius: 6px;
    font-size: .875rem;
    padding: .15rem .75rem;
}

.kopvps-lang-btn:hover {
    background: rgba(29, 140, 255, .25);
    border-color: #1D8CFF;
    color: #fff;
}

.kopvps-footer .social-links a {
    color: rgba(255, 255, 255, .7);
}

.kopvps-footer .social-links a:hover {
    color: #1D8CFF;
}

.kopvps-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding: 1.25rem 0;
}

.kopvps-footer-copyright {
    color: rgba(255, 255, 255, .6);
    font-size: .8125rem;
}

/* ========== Misc ========== */

.progress {
    border-radius: 6px;
    background: #EEF2F8;
}

.nav-tabs .nav-link.active {
    color: #062B63;
    border-color: rgba(6, 43, 99, .12) rgba(6, 43, 99, .12) #fff;
}

.nav-tabs .nav-link:hover {
    color: #1D8CFF;
}

.panel.panel-sidebar .panel-heading {
    background: #062B63;
}

.sidebar .list-group-item a,
.sidebar a {
    color: #61738d;
}

.sidebar .list-group-item a:hover,
.sidebar a:hover {
    color: #1D8CFF;
}

/* ========== Responsive ========== */

@media (max-width: 768px) {
    .tiles .tile {
        padding: 1rem .75rem;
    }

    .tiles .tile .stat {
        font-size: 1.4rem;
    }

    .tiles .tile > i {
        width: 38px;
        height: 38px;
        font-size: 1rem;
        margin-bottom: .5rem;
    }

    .kopvps-footer {
        padding-top: 2rem;
    }

    .kopvps-footer-heading {
        margin-top: 1.25rem;
    }

    .kopvps-welcome {
        padding: 1.25rem;
    }

    .kopvps-welcome .kopvps-welcome-btn {
        margin-top: .75rem;
    }

    header.header .logo-img {
        height: 30px;
    }

    header.header .main-navbar-wrapper .navbar-nav > .nav-item > a {
        color: #61738d;
    }
}
