/* Stripe-Style Sidebar - Light Mode with Color */
.sidebar {
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
    border-right: none;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
}

.ea-dark-scheme .sidebar {
    background: var(--bs-body-bg) !important;
    border-right: none;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.2);
}

/* Logo & Header */
.main-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.main-header #header-logo .logo-custom {
    color: #FFFFFF !important;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Menu Items - Default State */
#main-menu {
    margin-top: 1rem;
}

.main-header #header-logo a {
    padding: 17px 0 !important;
}

#main-menu .menu .menu-item-label,
#main-menu .menu .menu-icon {
    color: rgba(255, 255, 255, 0.8) !important;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    transition: all 0.15s ease;
}

#main-menu .menu .menu-item {
    border-radius: 8px;
    margin: 2px 8px;
    transition: all 0.15s ease;
}

/* Menu Items - Hover State */
#main-menu .menu .menu-item:hover {
    background: rgba(255, 255, 255, 0.12) !important;
}

#main-menu .menu .menu-item:hover .menu-item-label,
#main-menu .menu .menu-item:hover .menu-icon {
    color: #FFFFFF !important;
}

/* Menu Items - Active State */
#main-menu .menu .menu-item.active {
    background: rgba(255, 255, 255, 0.18) !important;
    border-left: 3px solid #FFFFFF;
}

#main-menu .menu .menu-item.active .menu-item-label,
#main-menu .menu .menu-item.active:not(.expanded) .menu-icon,
#main-menu .menu .menu-item.active:not(.expanded) a {
    color: #FFFFFF !important;
    font-weight: 600;
}

/* Submenu indicator */
.menu-item .icon.submenu-toggle-icon {
    color: rgba(255, 255, 255, 0.7) !important;
    transition: transform 0.2s ease;
}

#main-menu .menu .menu-item.active .submenu-toggle-icon {
    color: #FFFFFF !important;
}

#main-menu .menu .menu-item.expanded > .submenu-toggle-icon {
    transform: rotate(90deg);
}

/* Submenu items */

#main-menu .menu .submenu .menu-item-label {
    font-weight: 400;
}

/* Menu spacing */
#main-menu {
    padding: 0.5rem 0;
}

#main-menu .menu {
    padding: 0;
}

/* Dark Mode - Stripe Style */
.ea-dark-scheme .sidebar {
    border-right-color: #1E3A52;
}

.ea-dark-scheme .main-header {
    border-bottom-color: #1E3A52;
}

.ea-dark-scheme .main-header #header-logo .logo-custom {
    color: #F8FAFC !important;
}

.btn-primary, .btn-primary:not(:disabled):not(.disabled):not(.btn-link):not(.btn-danger):active, .btn-primary:not(:disabled):not(.disabled):not(.btn-link):not(.btn-danger):active:focus, .btn-primary:not(:disabled):not(.disabled):not(.btn-link):not(.btn-danger):focus, .btn-primary:not(:disabled):not(.disabled):not(.btn-link):not(.btn-danger):hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    color: #fff !important;
}

.btn-outline-primary:hover i,
.btn-outline-primary:focus i,
.btn-outline-primary:active i {
    color: #fff !important;
}

.btn-outline-success:hover,
.btn-outline-success:focus,
.btn-outline-success:active {
    color: #fff !important;
}

.btn-outline-success:hover i,
.btn-outline-success:focus i,
.btn-outline-success:active i {
    color: #fff !important;
}

.btn-outline-info:hover,
.btn-outline-info:focus,
.btn-outline-info:active {
    color: #fff !important;
}

.btn-outline-info:hover i,
.btn-outline-info:focus i,
.btn-outline-info:active i {
    color: #fff !important;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus,
.btn-outline-secondary:active {
    color: #fff !important;
}

.btn-outline-secondary:hover i,
.btn-outline-secondary:focus i,
.btn-outline-secondary:active i {
    color: #fff !important;
}

.ea-dark-scheme .form-switch .form-check-input:checked, .form-switch .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

[data-bs-theme="light"] input.form-control:read-only,
[data-bs-theme="light"] textarea.form-control:read-only,
[data-bs-theme="light"] select.form-select:disabled {
    background-color: #d5d5d5;
}

[data-bs-theme="dark"] input.form-control:read-only,
[data-bs-theme="dark"] textarea.form-control:read-only,
[data-bs-theme="dark"] select.form-select:disabled {
    background-color: var(--bs-secondary-bg);
}


.dropdown-settings .dropdown-item.active {
    box-shadow: inset 0 0 0 1px rgba(89, 134, 165, 0.5);
}

.panel-sidebar-logo {
    width: 95%;
}

.panel-login-logo {
    width: 90%;
    margin-left: 5%;
    margin-bottom: 1rem;
}

/* Split Screen Login Layout */
/* Override EasyAdmin default login styles */
.page-login-split .wrapper {
    min-height: 100vh !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
}

.page-login-split .content-wrapper {
    padding: 0 !important;
    margin: 0 !important;
}

.page-login-split {
    background: #ffffff !important;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0 !important;
    margin: 0 !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

.login-split-container {
    display: flex;
    min-height: 100vh;
}

/* Left Side - Brand */
.login-split-left {
    flex: 0 0 45%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    position: relative;
}

.login-brand-content {
    max-width: 500px;
    color: #ffffff;
}

.login-logo {
    margin-bottom: 2.5rem;
}

.login-logo img {
    max-height: 100px;
}

.login-brand-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.login-brand-subtitle {
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
}

.login-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.login-feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
}

.login-feature-item i {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
}

/* Right Side - Form */
.login-split-right {
    flex: 0 0 55%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    background: #ffffff;
}

.login-form-container {
    width: 100%;
    max-width: 480px;
}

.login-form-wrapper {
    background: #ffffff;
}

.login-form-wrapper h1,
.login-form-wrapper h2,
.login-form-wrapper h3,
.login-form-wrapper h4 {
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.02em;
}

/* Responsive Design */
@media (max-width: 992px) {
    .login-split-container {
        flex-direction: column;
    }

    .login-split-left {
        flex: 0 0 auto;
        min-height: 40vh;
        padding: 2rem;
    }

    .login-split-right {
        flex: 1;
        padding: 2rem;
    }

    .login-brand-title {
        font-size: 2rem;
    }

    .login-brand-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .login-features {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .login-feature-item {
        flex: 0 0 auto;
    }
}

@media (max-width: 576px) {
    .login-split-left {
        padding: 1.5rem;
        min-height: auto;
    }

    .login-split-right {
        padding: 1.5rem;
        min-height: auto;
    }

    .login-brand-title {
        font-size: 1.75rem;
    }

    .login-logo img {
        max-height: 70px;
    }

    .login-logo {
        margin-bottom: 1.5rem;
    }

    .login-brand-subtitle {
        margin-bottom: 1.5rem;
    }

    .login-features {
        gap: 1rem;
    }
}

body.page-login-split #flash-messages {
    position: relative !important;
    margin-bottom: 1rem;
}

/* Dark Mode */
.ea-dark-scheme.page-login-split {
    background: #0E1E2F !important;
}

.ea-dark-scheme.page-login-split .login-split-right {
    background: #0E1E2F !important;
}

.ea-dark-scheme.page-login-split .login-form-wrapper {
    background: #0E1E2F !important;
}

.ea-dark-scheme.page-login-split .text-dark {
    color: #F8FAFC !important;
}

.ea-dark-scheme.page-login-split .text-muted {
    color: #9AA5B1 !important;
}

.ea-dark-scheme.page-login-split .form-control {
    background-color: #243B53 !important;
    border-color: #2D3F52 !important;
    color: #E6EDF3 !important;
}

.ea-dark-scheme.page-login-split .form-control:focus {
    background-color: #243B53 !important;
    border-color: rgb(93, 137, 186) !important;
    color: #E6EDF3 !important;
}

.ea-dark-scheme.page-login-split .form-control::placeholder {
    color: #9AA5B1;
}

.login-wrapper .form-widget input {
    border-color: rgba(93, 137, 186, 0.5);
}

.form-widget .custom-file-input:focus~.custom-file-label, .form-widget .form-select:focus, .form-widget input.form-check-input:focus, .form-widget input.form-control:focus, .form-widget textarea.form-control:focus {
    border-color: #b8a494;
}

.form-check-input:checked {
    background-color: rgb(93, 137, 186);
    border-color: rgb(93, 137, 186);
}

.form-check-input:focus {
    border-color: rgb(93, 137, 186);
}

.main-header.register-header {
    margin-top: 50%;
}

.login-wrapper .content {
    padding-top: 1rem;
}

.login-wrapper .login-title {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    padding-bottom: 1.5rem;
}

.powered-by {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
}

.powered-by a {
    color: inherit;
}

.default-page.container {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.ea-dark-scheme .default-page.container {
    background: var(--bs-body-bg);
}

.default-page.container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, #f9f9f9 0%, #eaeaea 100%);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: -1;
}

.default-page.container .row {
    padding: 20px;
    background: #fdfdfd;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.05);
}

.product-image-container {
    height: 200px;
    width: 100%;
    overflow: hidden;
    background-size: cover;
    border-radius: 7px;
}

.product-image {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.card-header {
    padding-top: 0.8rem;
    background-color: var(--primary-color);
    color: #FFFFFF;
}

input#command {
    border: 0.1 solid var(--bs-border-color);
    border-bottom: 0.13rem solid var(--primary-color);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    font-family: 'Fira Code', monospace, sans-serif;
    padding: 5px;
}

.server-stats-row {
    min-width: 300px;
}

.menu-item .icon.submenu-toggle-icon {
    color: #FFFFFF !important;
}

.hover-pointer:hover {
    cursor: pointer;
}

.user-menu-wrapper .user-avatar {
    background: unset;
}

.responsive-header {
    background: var(--primary-color);
}

.responsive-header i {
    color: #FFFFFF;
}

.responsive-header i.fa-user {
    color: var(--primary-color);
}

.responsive-header .dropdown-menu i {
    color: inherit;
}

.responsive-header .user-balance a {
    color: #FFFFFF;
}

.logo-compact {
    color: #FFFFFF;
}

.configuration-wrapper {
    background: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.configuration-wrapper .configuration-title,
.configuration-wrapper .configuration-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    padding-bottom: 1.5rem;
}

.configuration-wrapper .configuration-subtitle {
    font-size: 1rem;
}

body.page-configurator {
    background: var(--primary-color) !important;
    min-height: 100vh;
}

body.page-configurator::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    z-index: -1;
}

.page-configurator {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 3rem 1rem 2rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Configurator Container */
.configurator-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

/* Configurator Header */
.configurator-header {
    text-align: center;
    margin-bottom: 3rem;
}

.configurator-logo {
    margin-bottom: 1.5rem;
}

.configurator-logo img {
    max-height: 80px;
}

.configurator-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.configurator-subtitle {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0;
}

/* Progress Stepper */
.configurator-stepper {
    position: relative;
    margin-bottom: 2.5rem;
    padding: 0 2rem;
}

.stepper-line {
    position: absolute;
    top: 25px;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 0;
}

.stepper-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #ffffff;
    transition: width 0.5s ease;
}

.stepper-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 0;
    list-style: none;
}

.stepper-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
}

.stepper-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.25rem;
    transition: all 0.3s ease;
    margin-bottom: 0.75rem;
}

.stepper-step.active .stepper-circle {
    background: #ffffff;
    border-color: #ffffff;
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.stepper-step.completed .stepper-circle {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.9);
    color: #22c55e;
}

.stepper-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    max-width: 100px;
    line-height: 1.3;
}

.stepper-step.active .stepper-label {
    color: #ffffff;
    font-weight: 600;
}

.stepper-step.completed .stepper-label {
    color: rgba(255, 255, 255, 0.9);
}

/* Configuration Card */
.configuration-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    overflow: hidden;
}

.configuration-card-body {
    padding: 2.5rem;
}

.configuration-card-body .row {
    margin: 0;
}

/* Configuration Step Visibility */
.configuration-step {
    display: none;
    margin-top: 0;
}

.configuration-step[data-step="0"] {
    display: block !important;
}

.configuration-step.d-none {
    display: none !important;
}

.configuration-card h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--stripe-gray-900);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.configuration-card .text-muted {
    color: var(--stripe-gray-600) !important;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.configuration-card .configuration-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--stripe-gray-900);
    margin-bottom: 1rem;
    margin-top: 0;
    text-align: center;
    letter-spacing: -0.01em;
}

.configuration-card .configuration-subtitle + .text-muted {
    margin-bottom: 1.5rem;
    margin-top: 0;
}

.configuration-card .form-label {
    font-weight: 500;
    color: var(--stripe-gray-700);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.configuration-card .form-control,
.configuration-card .form-select {
    border: 1px solid var(--stripe-gray-300);
    border-radius: var(--stripe-radius);
    padding: 0.625rem 1rem;
    font-size: 0.9375rem;
    transition: all 0.15s ease;
}

.configuration-card .form-control:focus,
.configuration-card .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary-color) 10%, transparent);
}

.configuration-card .btn {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: var(--stripe-radius);
    font-size: 0.9375rem;
}

.configuration-card .btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    color: white;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.configuration-card .btn-primary:hover {
    background: linear-gradient(135deg, color-mix(in srgb, var(--primary-color) 85%, black) 0%, color-mix(in srgb, var(--secondary-color) 85%, black) 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--primary-color) 30%, transparent);
}

.configuration-card .btn-secondary {
    background: #ffffff;
    border: 1px solid var(--stripe-gray-300);
    color: var(--stripe-gray-700);
}

.configuration-card .btn-secondary:hover {
    background: var(--stripe-gray-50);
    border-color: var(--stripe-gray-400);
}

/* Configurator Footer */
.configurator-footer {
    text-align: center;
    padding-bottom: 1.5rem;
}

.configurator-footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.configurator-footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.configurator-footer-links a:hover {
    color: #ffffff;
}

.configurator-footer-links i {
    margin-right: 0.375rem;
}

.powered-by-configurator {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.powered-by-configurator a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.powered-by-configurator a:hover {
    color: #ffffff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .configurator-header {
        margin-bottom: 2rem;
    }

    .configurator-title {
        font-size: 1.5rem;
    }

    .configurator-subtitle {
        font-size: 0.875rem;
    }

    .configurator-stepper {
        padding: 0 1rem;
        margin-bottom: 2rem;
    }

    .stepper-circle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .stepper-label {
        font-size: 0.75rem;
        max-width: 80px;
    }

    .configuration-card-body {
        padding: 1.5rem;
    }

    .configuration-card h2 {
        font-size: 1.25rem;
    }

    .configurator-footer-links {
        flex-direction: column;
        gap: 0.75rem;
    }
}

@media (max-width: 576px) {
    .page-configurator {
        padding: 1rem 0.5rem;
    }

    .stepper-circle {
        width: 36px;
        height: 36px;
        font-size: 0.875rem;
    }

    .stepper-label {
        font-size: 0.6875rem;
        max-width: 60px;
    }

    .stepper-line {
        top: 18px;
    }

    .configuration-card-body {
        padding: 1.25rem;
    }

    .configurator-logo img {
        max-height: 60px;
    }
}

/* Hide default configuration wrapper styles for new design */
.page-configurator .configuration-wrapper {
    background: transparent;
    box-shadow: none;
    padding: 0;
}

#cart-ip-address {
    min-width: 150px;
    display: inline-block;
    font-weight: 600;
}

.placeholder {
    background-color: #b2b2b2;
    border-radius: 4px;
    min-width: 80px;
}

.server-card {
    transition: all 0.3s ease;
    border-radius: 12px !important;
    overflow: hidden;
}

.server-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
}

.server-image {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.server-image:hover {
    transform: scale(1.05);
}

.spec-item {
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.spec-item:hover {
    border-color: #dee2e6;
    background-color: #f8f9fa !important;
}

.spec-value {
    font-weight: 600;
    color: #495057;
}

.server-actions .btn {
    border-radius: 8px;
    font-weight: 500;
    padding: 10px 16px;
    transition: all 0.2s ease;
}

.server-actions .btn:hover {
    transform: translateY(-1px);
}

.expiry-info {
    border: 1px solid #e9ecef;
}

.badge {
    font-size: 0.75rem;
    font-weight: 500;
}

@media (max-width: 576px) {
    .server-specs .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .server-actions .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 8px;
    }
}

/* ===== Stripe-inspired Design System ===== */
:root {
    --stripe-gray-50: #f9fafb;
    --stripe-gray-100: #f3f4f6;
    --stripe-gray-200: #e5e7eb;
    --stripe-gray-300: #d1d5db;
    --stripe-gray-400: #9ca3af;
    --stripe-gray-500: #6b7280;
    --stripe-gray-600: #4b5563;
    --stripe-gray-700: #374151;
    --stripe-gray-800: #1f2937;
    --stripe-gray-900: #111827;

    --stripe-blue-50: #eff6ff;
    --stripe-blue-100: #dbeafe;
    --stripe-blue-500: #3b82f6;
    --stripe-blue-600: #2563eb;

    --stripe-green-50: #f0fdf4;
    --stripe-green-100: #dcfce7;
    --stripe-green-500: #22c55e;
    --stripe-green-600: #16a34a;

    --stripe-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
    --stripe-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.08), 0 1px 2px -1px rgba(0, 0, 0, 0.06);
    --stripe-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
    --stripe-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.06);

    --stripe-radius: 8px;
    --stripe-radius-lg: 12px;

    /* Customizable brand colors - defaults */
    --primary-color: #5470D3;
    --background-color: #ffffff;
    --body-bg: #ffffff;
    --content-bg: #f6f9fc;
    --secondary-color: color-mix(in srgb, var(--primary-color) 92%, black 8%);
    --link-color: var(--primary-color);
    --link-hover-color: color-mix(in srgb, var(--primary-color) 85%, black 15%);
}

/* Dark mode color overrides */
.ea-dark-scheme {
    --stripe-gray-50: #1f2937;
    --stripe-gray-100: #374151;
    --stripe-gray-200: #4b5563;
    --stripe-gray-300: #6b7280;
    --stripe-gray-400: #9ca3af;
    --stripe-gray-500: #9ca3af;
    --stripe-gray-600: #d1d5db;
    --stripe-gray-700: #e5e7eb;
    --stripe-gray-800: #f3f4f6;
    --stripe-gray-900: #f9fafb;

    /* Customizable brand colors - dark mode defaults */
    --primary-color: #5470D3;
    --background-color: #0E1E2F;
    --body-bg: #1A2B3D;
    --content-bg: #0E1E2F;
    --secondary-color: color-mix(in srgb, var(--primary-color) 92%, black 8%);
    --link-color: var(--primary-color);
    --link-hover-color: color-mix(in srgb, var(--primary-color) 85%, white 15%);
    --bs-border-color: #243B53;
    --bs-card-cap-bg: #243B53;
    --bs-body-color: #E6EDF3;
    --bs-heading-color: #F8FAFC;
}

/* Fix text-dark in dark mode */
.ea-dark-scheme .text-dark {
    color: var(--bs-body-color) !important;
}

.ea-dark-scheme .text-muted {
    color: var(--bs-secondary-color) !important;
}

/* Card Styling - Stripe inspired */
.card {
    background-color: #ffffff;
    border: 1px solid var(--bs-border-color);
    box-shadow: var(--stripe-shadow-sm);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.ea-dark-scheme .card {
    background-color: var(--bs-card-bg);
    border-color: var(--bs-border-color);
}

.card:hover {
    box-shadow: var(--stripe-shadow-md);
    border-color: var(--stripe-gray-300);
}

.ea-dark-scheme .card:hover {
    border-color: var(--bs-border-color);
}

.card-header {
    background-color: #fff;
    border-bottom: 1px solid var(--bs-border-color);
    padding: 1.25rem 1.5rem;
    color: var(--stripe-gray-900);
    font-weight: 600;
}

.ea-dark-scheme .card-header {
    background-color: var(--bs-card-cap-bg);
    border-bottom-color: var(--bs-border-color);
    color: var(--bs-heading-color);
}

.card-header h5 {
    color: var(--stripe-gray-900);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0;
}

.ea-dark-scheme .card-header h5 {
    color: var(--bs-heading-color);
}

.card-header .text-white {
    color: var(--stripe-gray-900) !important;
}

.ea-dark-scheme .card-header .text-white {
    color: var(--bs-heading-color) !important;
}

.card-body {
    padding: 1.5rem;
}

/* Remove old colored headers */
.card-header.bg-success,
.card-header.bg-info,
.card-header.bg-primary {
    background-color: #fff !important;
}

.ea-dark-scheme .card-header.bg-success,
.ea-dark-scheme .card-header.bg-info,
.ea-dark-scheme .card-header.bg-primary {
    background-color: var(--bs-card-bg) !important;
}

/* Badge Styling - Stripe inspired */
.badge {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.625rem;
    border-radius: 6px;
    letter-spacing: 0.01em;
    display: inline-flex;
    align-items: center;
    line-height: 1.5;
    vertical-align: middle;
}

/* Override padding for badges with px-3 py-2 classes */
.badge.px-3 {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
}

.badge.py-2 {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

.badge-success {
    background-color: var(--stripe-green-100);
    color: var(--stripe-green-600);
}

.badge-warning {
    background-color: #fef3c7;
    color: #d97706;
}

.badge-danger {
    background-color: #fee2e2;
    color: #dc2626;
}

.badge-secondary {
    background-color: var(--stripe-gray-200);
    color: var(--stripe-gray-700);
}

.badge-primary {
    background-color: var(--stripe-blue-100);
    color: var(--stripe-blue-600);
}

/* Bootstrap bg-* classes for badges */
.badge.bg-secondary {
    background-color: var(--stripe-gray-600) !important;
    color: #fff !important;
}

.badge.bg-warning {
    background-color: #f59e0b !important;
    color: #fff !important;
}

.badge.bg-success {
    background-color: var(--stripe-green-600) !important;
    color: #fff !important;
}

.badge.bg-danger {
    background-color: #dc2626 !important;
    color: #fff !important;
}

.badge.bg-primary {
    background-color: var(--primary-color) !important;
    color: #fff !important;
}

.badge.bg-info {
    background-color: var(--stripe-blue-500) !important;
    color: #fff !important;
}

/* Ensure badge colors work in tables and anywhere else */
table .badge-success,
.table .badge-success {
    background-color: var(--stripe-green-100) !important;
    color: var(--stripe-green-600) !important;
}

table .badge-warning,
.table .badge-warning {
    background-color: #fef3c7 !important;
    color: #d97706 !important;
}

table .badge-danger,
.table .badge-danger {
    background-color: #fee2e2 !important;
    color: #dc2626 !important;
}

table .badge-secondary,
.table .badge-secondary {
    background-color: var(--stripe-gray-200) !important;
    color: var(--stripe-gray-700) !important;
}

table .badge-primary,
.table .badge-primary {
    background-color: var(--stripe-blue-100) !important;
    color: var(--stripe-blue-600) !important;
}

/* Button Styling - Stripe inspired */
.btn {
    font-weight: 500;
    border-radius: var(--stripe-radius);
    padding: 0.5rem 1rem;
    transition: all 0.15s ease;
    font-size: 0.875rem;
}

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

.btn-primary i {
    color: #fff !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.btn-primary:hover i,
.btn-primary:focus i,
.btn-primary:active i {
    color: #fff !important;
}

.btn-success {
    background-color: var(--stripe-green-600);
    border-color: var(--stripe-green-600);
    color: #fff;
}

.btn-success i {
    color: #fff !important;
}

.btn-success:hover,
.btn-success:focus,
.btn-success:active {
    background-color: var(--stripe-green-500) !important;
    border-color: var(--stripe-green-500) !important;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.btn-success:hover i,
.btn-success:focus i,
.btn-success:active i {
    color: #fff !important;
}

.btn-danger {
    background-color: #dc2626;
    border-color: #dc2626;
    color: #fff;
}

.btn-danger i {
    color: #fff !important;
}

.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active {
    background-color: #b91c1c !important;
    border-color: #b91c1c !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.btn-danger:hover i,
.btn-danger:focus i,
.btn-danger:active i {
    color: #fff !important;
}

.btn-danger {
    --button-danger-bg: #dc2626;
    --button-danger-color: #fff;
    --button-danger-border-color: #dc2626;
    --button-danger-hover-bg: #b91c1c;
    --button-danger-hover-color: #fff;
}

.ea-dark-scheme .btn-danger {
    --button-danger-bg: #b62324;
    --button-danger-color: #fff;
    --button-danger-hover-bg: #9a1b22;
    --button-danger-hover-color: #fff;
}

.btn-outline-primary {
    border-color: var(--stripe-gray-300);
    color: var(--stripe-gray-700);
    background-color: #fff;
}

.ea-dark-scheme .btn-outline-primary {
    background-color: var(--bs-btn-bg);
    border-color: var(--bs-border-color);
    color: var(--bs-body-color);
}

.btn-outline-primary i {
    color: var(--stripe-gray-700);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    background-color: var(--stripe-gray-50) !important;
    border-color: var(--stripe-gray-400) !important;
    color: var(--stripe-gray-900) !important;
}

.btn-outline-primary:hover i,
.btn-outline-primary:focus i,
.btn-outline-primary:active i {
    color: var(--stripe-gray-900) !important;
}

.btn-outline-primary.active {
    background-color: var(--stripe-blue-600) !important;
    border-color: var(--stripe-blue-600) !important;
    color: #fff !important;
}

.btn-outline-primary.active i {
    color: #fff !important;
}

.btn-outline-success {
    border-color: var(--stripe-gray-300);
    color: var(--stripe-gray-700);
    background-color: #fff;
}

.bg-primary {
    background-color: var(--primary-color) !important;
    color: #fff !important;
}

.ea-dark-scheme .btn-outline-success {
    background-color: var(--bs-btn-bg);
    border-color: var(--bs-border-color);
    color: var(--bs-body-color);
}

.btn-outline-success i {
    color: var(--stripe-gray-700);
}

.btn-outline-success:hover,
.btn-outline-success:focus,
.btn-outline-success:active {
    background-color: var(--stripe-green-50) !important;
    border-color: var(--stripe-green-600) !important;
    color: var(--stripe-green-600) !important;
}

.btn-outline-success:hover i,
.btn-outline-success:focus i,
.btn-outline-success:active i {
    color: var(--stripe-green-600) !important;
}

.btn-outline-success.active {
    background-color: var(--stripe-green-600) !important;
    border-color: var(--stripe-green-600) !important;
    color: #fff !important;
}

.btn-outline-success.active i {
    color: #fff !important;
}

.btn-outline-info {
    border-color: var(--stripe-gray-300);
    color: var(--stripe-gray-700);
    background-color: #fff;
}

.ea-dark-scheme .btn-outline-info {
    background-color: var(--bs-btn-bg);
    border-color: var(--bs-border-color);
    color: var(--bs-body-color);
}

.btn-outline-info i {
    color: var(--stripe-gray-700);
}

.btn-outline-info:hover,
.btn-outline-info:focus,
.btn-outline-info:active {
    background-color: var(--stripe-blue-50) !important;
    border-color: var(--stripe-blue-600) !important;
    color: var(--stripe-blue-600) !important;
}

.btn-outline-info:hover i,
.btn-outline-info:focus i,
.btn-outline-info:active i {
    color: var(--stripe-blue-600) !important;
}

.btn-outline-info.active {
    background-color: var(--stripe-blue-600) !important;
    border-color: var(--stripe-blue-600) !important;
    color: #fff !important;
}

.btn-outline-info.active i {
    color: #fff !important;
}

.btn-outline-secondary {
    border-color: var(--stripe-gray-300);
    color: var(--stripe-gray-700);
    background-color: #fff;
}

.ea-dark-scheme .btn-outline-secondary {
    background-color: var(--bs-btn-bg);
    border-color: var(--bs-border-color);
    color: var(--bs-body-color);
}

.btn-outline-secondary i {
    color: var(--stripe-gray-700);
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus,
.btn-outline-secondary:active {
    background-color: var(--stripe-gray-50) !important;
    border-color: var(--stripe-gray-400) !important;
    color: var(--stripe-gray-900) !important;
}

.btn-outline-secondary:hover i,
.btn-outline-secondary:focus i,
.btn-outline-secondary:active i {
    color: var(--stripe-gray-900) !important;
}

.btn-outline-secondary.active {
    background-color: var(--stripe-gray-700) !important;
    border-color: var(--stripe-gray-700) !important;
    color: #fff !important;
}

.btn-outline-secondary.active i {
    color: #fff !important;
}

/* Table Styling - Stripe inspired */
.table {
    border-collapse: separate;
    border-spacing: 0;
}

.table thead th {
    background-color: var(--stripe-gray-50);
    color: var(--stripe-gray-700);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--bs-border-color);
    padding: 0.75rem 1rem;
}

.table tbody tr {
    border-bottom: 1px solid var(--bs-border-color);
}

.table tbody tr:hover {
    background-color: var(--stripe-gray-50);
}

.table tbody td {
    padding: 1rem;
    color: var(--stripe-gray-700);
}

/* List Group Styling - Stripe inspired */
.list-group-item {
    border: none;
    border-bottom: 1px solid var(--bs-border-color);
    padding: 1rem 1.5rem;
    transition: background-color 0.15s ease;
}

.list-group-item:hover {
    background-color: var(--stripe-gray-50);
}

.list-group-item:last-child {
    border-bottom: none;
}

/* Typography improvements */
h1, h2, h3, h4, h5, h6 {
    color: var(--stripe-gray-900);
    font-weight: 600;
}

.text-muted {
    color: var(--stripe-gray-500) !important;
}

/* Icon styling */
.card-header i {
    color: var(--stripe-gray-600);
}

/* Rounded corners */
.rounded-3 {
    border-radius: var(--stripe-radius-lg) !important;
}

.rounded-pill {
    border-radius: 50rem !important;
}

/* Shadow utilities */
.shadow-sm {
    box-shadow: var(--stripe-shadow-sm) !important;
}

.shadow {
    box-shadow: var(--stripe-shadow) !important;
}

.shadow-md {
    box-shadow: var(--stripe-shadow-md) !important;
}

.shadow-lg {
    box-shadow: var(--stripe-shadow-lg) !important;
}

/* Background utilities */
.bg-light {
    background-color: var(--stripe-gray-50) !important;
}

.bg-opacity-10 {
    opacity: 0.1;
}

/* Dashboard specific styling */
.dashboard-header {
    background-color: #ffffff;
    border: 1px solid var(--bs-border-color);
    box-shadow: var(--stripe-shadow-sm);
}

.ea-dark-scheme .dashboard-header {
    background-color: var(--bs-card-bg);
    border-color: var(--bs-border-color);
}

.dashboard-header h4 {
    color: var(--stripe-gray-900);
}

.ea-dark-scheme .dashboard-header h4 {
    color: var(--bs-heading-color);
}

.dashboard-header .text-muted {
    color: var(--stripe-gray-600) !important;
}

/* Widget spacing improvements */
.card + .card {
    margin-top: 0;
}

/* Server list item styling */
.list-group-item h6 {
    color: var(--stripe-gray-900);
    font-weight: 600;
    font-size: 0.9375rem;
}

.list-group-item .text-muted,
.list-group-item small {
    color: var(--stripe-gray-500) !important;
    font-size: 0.8125rem;
}

/* Icon in list styling */
.list-group-item .fa-server {
    color: var(--stripe-gray-600);
}

/* Empty state styling */
.card-body .text-center h6 {
    color: var(--stripe-gray-900);
}

.card-body .text-center .text-muted {
    color: var(--stripe-gray-500) !important;
}

.card-body .text-center .bg-light {
    background-color: var(--stripe-gray-100) !important;
}

.card-body .text-center .text-muted.fs-5 {
    color: var(--stripe-gray-400) !important;
}

/* Table improvements for activity log */
.table thead th i {
    opacity: 0.6;
}

.table tbody td .badge {
    background-color: var(--bs-border-color, #2D3F52);
    color: var(--stripe-gray-600);
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, monospace;
    font-size: 0.75rem;
}

/* Improve icon containers */
.rounded-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Focus states for better accessibility */
.btn:focus-visible {
    outline: 2px solid var(--stripe-blue-500);
    outline-offset: 2px;
}

/* Smooth transitions */
* {
    transition-property: background-color, border-color, color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

*:not(.btn):not(.card):not(.list-group-item):not(.badge) {
    transition: none;
}

/* Container spacing */
.container-fluid {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 1200px) {
    .container-fluid {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* Row gap improvements */
.row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
}

/* Main content area background */
body {
    background-color: var(--content-bg);
}

/* Better text rendering */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Link styling */
a {
    color: var(--stripe-blue-600);
    text-decoration: none;
}

a:hover {
    color: var(--stripe-blue-500);
}

/* Input and form styling improvements */
.form-control,
.form-select {
    border-color: var(--stripe-gray-300);
    border-radius: var(--stripe-radius);
    font-size: 0.875rem;
    transition: all 0.15s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Better placeholder text */
::placeholder {
    color: var(--stripe-gray-400);
}

/* Stripe-like dividers */
hr {
    border-color: var(--bs-border-color);
    opacity: 1;
}

/* Alert/notification styling */
.alert {
    border-radius: var(--stripe-radius-lg);
    border: 1px solid var(--bs-border-color);
}

/* Modal improvements */
.modal-content {
    border-radius: var(--stripe-radius-lg);
    border: 1px solid var(--bs-border-color);
    box-shadow: var(--stripe-shadow-lg);
}

.modal-header {
    border-bottom: 1px solid var(--bs-border-color);
    padding: 1.25rem 1.5rem;
}

.modal-footer {
    border-top: 1px solid var(--bs-border-color);
    padding: 1.25rem 1.5rem;
}

/* Dropdown improvements */
.dropdown-menu {
    border: 1px solid var(--bs-border-color);
    box-shadow: var(--stripe-shadow-lg);
    border-radius: var(--stripe-radius);
}

.dropdown-item {
    color: var(--stripe-gray-700);
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
}

.dropdown-item:hover {
    background-color: var(--stripe-gray-50);
    color: var(--stripe-gray-900);
}

/* Pagination improvements */
.pagination {
    gap: 0.25rem;
}

.page-link {
    border-color: var(--stripe-gray-300);
    color: var(--stripe-gray-700);
    border-radius: var(--stripe-radius);
}

.page-link:hover {
    background-color: var(--stripe-gray-50);
    border-color: var(--stripe-gray-400);
    color: var(--stripe-gray-900);
}

.page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff !important;
}

/* Quick actions styling */
.btn.w-100 {
    padding: 0.625rem 1rem;
    font-weight: 500;
}

.btn i {
    opacity: 0.8;
}

.btn:hover i {
    opacity: 1;
}

/* Button size refinements */
.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
}

.btn-lg {
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
}

/* Card body padding consistency */
.card-body.p-0 {
    padding: 0 !important;
}

.card-body.p-3 {
    padding: 1rem !important;
}

.card-body.p-4 {
    padding: 1.5rem !important;
}

/* Gap utilities for rows */
.g-2 {
    --bs-gutter-x: 0.5rem;
    --bs-gutter-y: 0.5rem;
}

.g-4 {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
}

/* Margin utilities with proper Stripe spacing */
.mb-4 {
    margin-bottom: 1.5rem !important;
}

.mt-2 {
    margin-top: 0.5rem !important;
}

.mt-4 {
    margin-top: 1.5rem !important;
}

/* Ensure proper spacing between sections */
.row + .row {
    margin-top: 0;
}

/* Navigation Tabs - Stripe inspired */
.nav-tabs {
    border-bottom: 1px solid var(--bs-border-color);
    margin-bottom: 1.5rem;
}

.nav-tabs .nav-link {
    color: var(--stripe-gray-600);
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.75rem 1.25rem;
    border: none;
    border-bottom: 2px solid transparent;
    background-color: transparent;
    transition: all 0.15s ease;
    margin-bottom: -1px;
}

.nav-tabs .nav-link:hover {
    color: var(--stripe-gray-900);
    border-bottom-color: var(--stripe-gray-300);
}

.nav-tabs .nav-link.active {
    color: var(--stripe-blue-600);
    background-color: transparent;
    border-bottom-color: var(--stripe-blue-600);
}

.nav-tabs .nav-item {
    margin-bottom: 0;
}

/* Tab content */
.tab-content {
    padding-top: 0;
}

.tab-content > .tab-pane {
    display: none;
}

.tab-content > .active {
    display: block;
}

/* Terminal Styling - Stripe inspired */
#terminal {
    background-color: #0d1117;
    border: 1px solid var(--bs-border-color);
    border-radius: var(--stripe-radius-lg);
    box-shadow: var(--stripe-shadow-sm);
    overflow: hidden;
    margin-bottom: 1rem;
}

#terminal > div {
    padding: 1.25rem;
}

#terminal .xterm {
    padding: 0.8rem;
}

#terminal .xterm-viewport {
    border-radius: var(--stripe-radius);
}

/* Custom scrollbar for terminal - Stripe inspired */
#terminal .xterm-viewport::-webkit-scrollbar {
    width: 10px;
}

#terminal .xterm-viewport::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
}

#terminal .xterm-viewport::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    transition: background 0.2s ease;
}

#terminal .xterm-viewport::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

#terminal .xterm-viewport::-webkit-scrollbar-thumb:active {
    background: rgba(255, 255, 255, 0.4);
}

/* Firefox scrollbar */
#terminal .xterm-viewport {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) rgba(255, 255, 255, 0.05);
}

/* Command input styling */
#command {
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, monospace;
    font-size: 0.875rem;
    background-color: #fff;
    border: 1px solid var(--stripe-gray-300);
    border-radius: var(--stripe-radius);
    padding: 0.625rem 1rem;
    transition: all 0.15s ease;
}

#command:focus {
    border-color: var(--stripe-blue-500);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    outline: none;
}

#command::placeholder {
    color: var(--stripe-gray-400);
}

#send-command {
    border-radius: var(--stripe-radius);
    font-weight: 500;
    transition: all 0.15s ease;
}

#send-command:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Server Stats Cards */
.server-stats-row .card {

    height: auto;
}

.server-stats-row .card-body {
    padding: 1rem;
}

.server-stats-row .card-title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--stripe-gray-700);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.server-stats-row .card-text {
    font-size: 0.9375rem;
    color: var(--stripe-gray-900);
    font-weight: 500;
}

.server-stats-row .fa-3x {
    color: var(--stripe-gray-400);
    font-size: 2.9rem;
}

/* Marketplace Sidebar */
.marketplace-sidebar-panel {
    width: 310px;
    min-width: 280px;
    min-height: 420px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.07) !important;
}
.marketplace-sidebar-header {
    background: linear-gradient(135deg, var(--bs-primary) 0%, #5a6fd8 100%);
    color: #fff;
    padding: .75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}
.marketplace-sidebar-header .mp-title {
    font-size: .875rem;
    font-weight: 600;
    letter-spacing: .02em;
}
.marketplace-sidebar-header .mp-count {
    background: rgba(255,255,255,.25);
    color: #fff;
    font-size: .7rem;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 20px;
}
.marketplace-sort-bar {
    padding: .5rem .75rem;
    background: #fafafa;
    border-bottom: 1px solid rgba(0,0,0,.06);
    flex-shrink: 0;
}
.marketplace-sort-bar .form-select {
    font-size: .8rem;
    padding: .3rem .65rem;
    border-color: rgba(0,0,0,.12);
    background-color: #fff;
}
.marketplace-products-list {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    background: #fff;
}
.marketplace-product-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: .65rem .75rem;
    border-bottom: 1px solid rgba(0,0,0,.05);
    transition: background 0.15s;
}
.marketplace-product-item:last-child { border-bottom: none; }
.marketplace-product-item:hover { background: rgba(var(--bs-primary-rgb), .04); }
.marketplace-product-img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    border: 1px solid rgba(0,0,0,.07);
}
.marketplace-product-img-placeholder {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: linear-gradient(135deg, #f0f2ff 0%, #e8ebf8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-primary);
    flex-shrink: 0;
    font-size: 17px;
    border: 1px solid rgba(0,0,0,.06);
}
.marketplace-product-body { flex: 1; min-width: 0; }
.marketplace-product-name {
    font-size: .82rem;
    font-weight: 600;
    color: #222;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}
.marketplace-product-desc {
    font-size: .74rem;
    color: #888;
    margin-top: 2px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.35;
}
.marketplace-product-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    font-size: .7rem;
    color: #aaa;
}
.marketplace-product-meta .mp-meta-item {
    display: flex;
    align-items: center;
    gap: 3px;
}
.marketplace-badge-free {
    font-size: .65rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    background: #d1fae5;
    color: #065f46;
    flex-shrink: 0;
}
.marketplace-badge-paid {
    font-size: .65rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    background: #dbeafe;
    color: #1e40af;
    flex-shrink: 0;
}
.marketplace-dl-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--bs-primary);
    color: #fff;
    border: none;
    text-decoration: none;
    font-size: .8rem;
    transition: background .15s, transform .1s;
}
.marketplace-dl-btn:hover {
    background: #3a56c5;
    color: #fff;
    transform: scale(1.08);
}
.marketplace-sidebar-footer {
    padding: .5rem .75rem;
    background: #fafafa;
    border-top: 1px solid rgba(0,0,0,.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}
.marketplace-sidebar-footer .btn {
    width: 28px;
    height: 28px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: .75rem;
}
.marketplace-sidebar-footer .mp-page-info {
    font-size: .75rem;
    color: #888;
}

.server-stats-row [data-uptime-icon].text-success {
    color: var(--stripe-green-600) !important;
}

.server-stats-row [data-uptime-icon].text-danger {
    color: #dc2626 !important;
}

.payment-gateway-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.payment-gateway-card {
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid var(--stripe-gray-300) !important;
    background-color: #fff;
    margin-bottom: 0;
}

.ea-dark-scheme .payment-gateway-card {
    background-color: var(--bs-card-bg);
    border-color: var(--bs-border-color) !important;
}

.payment-gateway-card:hover {
    border-color: var(--primary-color) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.ea-dark-scheme .payment-gateway-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.payment-gateway-input:checked + .payment-gateway-card {
    border-color: var(--primary-color) !important;
    background-color: rgba(84, 112, 211, 0.05);
    box-shadow: 0 0 0 3px rgba(84, 112, 211, 0.1);
    position: relative;
}

.ea-dark-scheme .payment-gateway-input:checked + .payment-gateway-card {
    background-color: rgba(84, 112, 211, 0.15);
}

.payment-gateway-input:checked + .payment-gateway-card::after {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    color: var(--primary-color);
    font-size: 1rem;
}

.payment-gateway-input:disabled + .payment-gateway-card {
    opacity: 0.6;
    cursor: not-allowed;
}

.payment-gateway-card .card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.payment-gateway-card .card-title {
    color: var(--stripe-gray-900);
}

.ea-dark-scheme .payment-gateway-card .card-title {
    color: var(--bs-heading-color);
}

.card-input-element {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.card-input-element + label {
    cursor: pointer;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.card-input-element:checked + label {
    border: 2px solid var(--bs-primary);
    box-shadow: 0 0 5px rgba(var(--bs-primary-rgb), 0.5);
}

.card-input-element:disabled + label {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-select-lg, .form-control, .input-group-text {
    font-size: 0.95rem !important;
}

.page-login-split .input-group-lg .input-group-text {
    min-height: calc(1.5em + 1rem + 2px);
    display: flex;
    align-items: center;
}
.page-login-split .btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
    border: none !important;
    color: white !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}
.page-login-split .btn-primary:hover {
    background: linear-gradient(135deg, color-mix(in srgb, var(--primary-color) 85%, black) 0%, color-mix(in srgb, var(--secondary-color) 85%, black) 100%) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px color-mix(in srgb, var(--primary-color) 40%, transparent) !important;
}

.list-group-item .bg-opacity-10 {
    background-color: transparent !important;
    opacity: 1 !important;
}

.list-group-item .bg-info.bg-opacity-10 i,
.list-group-item .bg-warning.bg-opacity-10 i,
.list-group-item .bg-success.bg-opacity-10 i,
.list-group-item .bg-danger.bg-opacity-10 i,
.list-group-item .bg-primary.bg-opacity-10 i,
.list-group-item .bg-secondary.bg-opacity-10 i,
.list-group-item .bg-dark.bg-opacity-10 i {
    opacity: 1 !important;
}

.card-header.bg-success {
    background-color: #fff !important;
    border-bottom: 1px solid var(--bs-border-color);
}

.ea-dark-scheme .card-header.bg-success {
    background-color: var(--bs-card-bg) !important;
    border-bottom: 1px solid var(--bs-border-color);
}

.card-header.bg-success h5,
.card-header.bg-success .card-title {
    color: var(--stripe-gray-900) !important;
}

.card-header.bg-success i {
    color: var(--stripe-gray-600) !important;
}

.card-header.bg-success .text-white {
    color: var(--stripe-gray-900) !important;
}

/* Fix description card header */
.card-header.bg-secondary {
    background-color: #fff !important;
    border-bottom: 1px solid var(--bs-border-color);
}

.ea-dark-scheme .card-header.bg-secondary {
    background-color: var(--bs-card-bg) !important;
    border-bottom: 1px solid var(--bs-border-color);
}

.card-header.bg-secondary h5,
.card-header.bg-secondary .card-title {
    color: var(--stripe-gray-900) !important;
}

.card-header.bg-secondary i {
    color: var(--stripe-gray-600) !important;
}

.card-header.bg-secondary .text-white {
    color: var(--stripe-gray-900) !important;
}

/* Product summary box styling */
.product-summary-box {
    background-color: var(--stripe-green-50) !important;
    border: 1px solid var(--stripe-green-200) !important;
}

/* Top search bar styling - Stripe inspired */
.form-widget:has(.content-search-icon) {
    position: relative;
}

.content-search-icon {
    position: absolute;
    left: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--stripe-gray-400) !important;
    font-size: 0.875rem;
    pointer-events: none;
    z-index: 2;
}

.content-search-label {
    position: relative;
    display: block;
    margin: 0;
}

.content-search-label input[type="search"] {
    padding-left: 2.5rem !important;
    padding-right: 1rem !important;
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    border: 1px solid var(--stripe-gray-300) !important;
    border-radius: var(--stripe-radius) !important;
    background-color: #fff !important;
    font-size: 0.875rem !important;
    transition: all 0.15s ease !important;
    min-width: 250px;
}

.ea-dark-scheme .content-search-label input[type="search"] {
    background-color: var(--bs-body-bg) !important;
    border-color: var(--bs-border-color) !important;
    color: var(--bs-body-color) !important;
}

.content-search-label input[type="search"]:focus {
    border-color: var(--stripe-blue-500) !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
    outline: none !important;
}

.content-search-label input[type="search"]::placeholder {
    color: var(--stripe-gray-400) !important;
}

/* Hide default search icon from browser */
.content-search-label input[type="search"]::-webkit-search-cancel-button,
.content-search-label input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
    appearance: none;
}

/* Hide empty form row separators that cause large gaps */
.field-form_row.flex-fill {
    display: none !important;
}

/* ===== Stripe-inspired Dark Mode ===== */

/* Main content areas */
.ea-dark-scheme .content-top {
    border-bottom: 1px solid var(--bs-border-color, #2D3F52);
}

/* Dark Mode Sidebar - Additional Styles */
.ea-dark-scheme #main-menu .menu .menu-item-label,
.ea-dark-scheme #main-menu .menu .menu-icon {
    color: #9AA5B1 !important;
}

.ea-dark-scheme #main-menu .menu .menu-item:hover .menu-item-label,
.ea-dark-scheme #main-menu .menu .menu-item:hover .menu-icon {
    color: #F8FAFC !important;
}

.ea-dark-scheme #main-menu .menu .menu-item.active {
    background: linear-gradient(135deg, color-mix(in srgb, var(--primary-color) 15%, transparent) 0%, color-mix(in srgb, var(--secondary-color) 15%, transparent) 100%) !important;
    border-left-color: var(--primary-color);
}

.ea-dark-scheme #main-menu .menu .menu-item.active .menu-item-label,
.ea-dark-scheme #main-menu .menu .menu-item.active:not(.expanded) .menu-icon,
.ea-dark-scheme #main-menu .menu .menu-item.active:not(.expanded) a {
    color: color-mix(in srgb, var(--primary-color) 70%, white) !important;
}

.ea-dark-scheme .menu-item .icon.submenu-toggle-icon {
    color: #9AA5B1 !important;
}

.ea-dark-scheme #main-menu .menu .menu-item.active .submenu-toggle-icon {
    color: color-mix(in srgb, var(--primary-color) 70%, white) !important;
}

/* Enhanced card styling */
.ea-dark-scheme .card {
    border-color: var(--bs-border-color, #2D3F52) !important;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3), 0 1px 2px -1px rgba(0, 0, 0, 0.2) !important;
}

.ea-dark-scheme .card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.2) !important;
}

/* Text colors */
.ea-dark-scheme h1,
.ea-dark-scheme h2,
.ea-dark-scheme h3,
.ea-dark-scheme h4,
.ea-dark-scheme h5,
.ea-dark-scheme h6 {
    color: var(--stripe-dark-text-heading, #F8FAFC) !important;
}

/* Buttons in dark mode */
.ea-dark-scheme .btn-outline-primary:hover,
.ea-dark-scheme .btn-outline-primary:focus,
.ea-dark-scheme .btn-outline-primary:active {
    background-color: var(--bs-body-bg, #243B53) !important;
    border-color: var(--bs-border-color) !important;
    color: var(--bs-body-color) !important;
}

.ea-dark-scheme .btn-outline-primary:hover i,
.ea-dark-scheme .btn-outline-primary:focus i,
.ea-dark-scheme .btn-outline-primary:active i {
    color: var(--bs-body-color) !important;
}

.ea-dark-scheme .btn-outline-secondary:hover {
    background-color: var(--stripe-dark-hover, #243B53) !important;
}

.ea-dark-scheme .btn-outline-success:hover,
.ea-dark-scheme .btn-outline-success:focus,
.ea-dark-scheme .btn-outline-success:active {
    background-color: var(--stripe-dark-hover, #243B53) !important;
    border-color: var(--bs-border-color) !important;
    color: var(--bs-body-color) !important;
}

.ea-dark-scheme .btn-outline-success:hover i,
.ea-dark-scheme .btn-outline-success:focus i,
.ea-dark-scheme .btn-outline-success:active i {
    color: var(--bs-body-color) !important;
}

.ea-dark-scheme .btn-outline-info:hover,
.ea-dark-scheme .btn-outline-info:focus,
.ea-dark-scheme .btn-outline-info:active {
    background-color: var(--stripe-dark-hover, #243B53) !important;
    border-color: var(--bs-border-color) !important;
    color: var(--bs-body-color) !important;
}

.ea-dark-scheme .btn-outline-info:hover i,
.ea-dark-scheme .btn-outline-info:focus i,
.ea-dark-scheme .btn-outline-info:active i {
    color: var(--bs-body-color) !important;
}

/* Links */
.ea-dark-scheme a:not(.btn) {
    color: var(--link-color, #6BA5F2);
}

.ea-dark-scheme a:not(.btn):hover {
    color: var(--link-hover-color, #8ABAFF);
}

/* ===== Additional Stripe Dark Mode Refinements ===== */

/* Improve form inputs in dark mode */
.ea-dark-scheme .form-control,
.ea-dark-scheme .form-select,
.ea-dark-scheme input[type="text"],
.ea-dark-scheme input[type="email"],
.ea-dark-scheme input[type="password"],
.ea-dark-scheme textarea {
    background-color: var(--bs-body-bg) !important;
    border-color: var(--bs-border-color) !important;
    color: #E6EDF3 !important;
}

.ea-dark-scheme .form-control:focus,
.ea-dark-scheme .form-select:focus {
    background-color: var(--bs-body-bg) !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(107, 165, 242, 0.1) !important;
}

.ea-dark-scheme .form-control::placeholder {
    color: #9AA5B1;
}

.ea-dark-scheme .table {
    color: #E6EDF3;
    border-radius: 0.5rem;
}

.ea-dark-scheme .table thead th {
    border-color: var(--bs-border-color, #2D3F52);
    color: #F8FAFC;
    padding: 0.75rem 1rem;
}

.ea-dark-scheme .table tbody td {
    border-color: var(--bs-border-color, #2D3F52);
    padding: 1rem;
}

.ea-dark-scheme .table tbody th {
    padding: 1rem;
}

.ea-dark-scheme .table-hover tbody tr:hover {
    background-color: rgba(36, 59, 83, 0.5);
}

.ea-dark-scheme .badge {
    border: 1px solid var(--bs-border-color, #2D3F52);
}

.ea-dark-scheme .badge.bg-secondary {
    background-color: #4b5563 !important;
    color: #ffffff !important;
}

.d-flex.flex-wrap .badge + .badge {
    margin-inline-start: 0 !important;
}

.ea-dark-scheme .dropdown-menu {
    background-color: var(--bs-body-bg) !important;
    border-color: var(--bs-border-color) !important;
}

.ea-dark-scheme .dropdown-item {
    color: #E6EDF3 !important;
}

.ea-dark-scheme .dropdown-item:hover,
.ea-dark-scheme .dropdown-item:focus {
    background-color: var(--primary-color) !important;
    color: #F8FAFC !important;
}

.ea-dark-scheme .alert {
    border-color: var(--bs-border-color, #2D3F52);
}

.ea-dark-scheme .alert-info {
    background-color: rgba(107, 165, 242, 0.1) !important;
    border-color: #6BA5F2 !important;
    color: #6BA5F2 !important;
}

.ea-dark-scheme .alert-success {
    background-color: rgba(34, 197, 94, 0.1) !important;
    border-color: #22c55e !important;
    color: #22c55e !important;
}

.ea-dark-scheme .alert-warning {
    background-color: rgba(245, 158, 11, 0.1) !important;
    border-color: #f59e0b !important;
    color: #f59e0b !important;
}

.ea-dark-scheme .alert-danger {
    background-color: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    color: #ef4444;
}

.ea-dark-scheme .pagination .page-link {
    background-color: #1A2B3D;
    border-color: var(--bs-border-color, #2D3F52);
    color: #E6EDF3;
}

.ea-dark-scheme .pagination .page-link:hover {
    background-color: #243B53;
    border-color: var(--bs-border-color, #2D3F52);
    color: #F8FAFC;
}

.ea-dark-scheme .pagination .page-item.active .page-link {
    background-color: #6BA5F2;
    border-color: #6BA5F2;
}

.ea-dark-scheme .motd-icon-box {
    background-color: rgba(107, 165, 242, 0.1) !important;
}

.ea-dark-scheme .motd-icon {
    color: #6BA5F2 !important;
}

.ea-dark-scheme .motd-message {
    color: #E6EDF3 !important;
}

.ea-dark-scheme .product-summary-box {
    background-color: rgba(34, 197, 94, 0.1) !important;
    border-color: rgba(34, 197, 94, 0.3) !important;
}

.alert {
    border-radius: 0.75rem !important;
    background-clip: padding-box !important;
    border: 1px solid !important;
    padding: 1rem 1.25rem !important;
    font-weight: 500 !important;
}

.alert-success {
    background-color: #f0fdf4 !important;
    border-color: #86efac !important;
    color: #166534 !important;
}

.alert-danger {
    background-color: #fef2f2 !important;
    border-color: #fca5a5 !important;
    color: #991b1b !important;
}

.alert-warning {
    background-color: #fffbeb !important;
    border-color: #fde68a !important;
    color: #92400e !important;
}

.alert-info {
    background-color: #eff6ff !important;
    border-color: #93c5fd !important;
    color: #1e40af !important;
}

.btn-close {
    opacity: 0.6;
}

.btn-close:hover {
    opacity: 1;
}

.form-check {
    padding-left: 0 !important;
}

.ea-dark-scheme .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
    opacity: 0.8;
}

.ea-dark-scheme .btn-close:hover {
    opacity: 1;
}

.ea-dark-scheme .bg-opacity-10 {
    background-color: transparent !important;
    opacity: 1 !important;
}

.ea-dark-scheme i.text-primary {
    color: #6BA5F2 !important;
}

.ea-dark-scheme i.text-info {
    color: #6BA5F2 !important;
}

.ea-dark-scheme i.text-success {
    color: #22c55e !important;
}

.ea-dark-scheme i.text-warning {
    color: #f59e0b !important;
}

.ea-dark-scheme i.text-danger {
    color: #ef4444 !important;
}

.ea-dark-scheme i.text-secondary {
    color: #9ca3af !important;
}

.ea-dark-scheme .list-group-item {
    background-color: unset;
}

.flash-messages-container {
    margin-right: 0.5rem;
}

.flash-messages-container > :first-child {
    margin-top: 1.5rem !important;
}

.flash-messages-container > :last-child {
    margin-bottom: 0 !important;
}

.content-top {
    background: var(--body-bg) !important;
}

.global-footer {
    padding: 1rem 0;
    margin-top: 0.5rem;
    border-top: 1px solid var(--bs-border-color);
    background: var(--body-bg);
}

.global-footer-content {
    text-align: right;
    padding: 0 1.5rem;
}

.global-footer p {
    margin: 0;
    font-size: 0.7125rem;
    color: var(--text-muted);
}

.global-footer a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.global-footer a:hover {
    color: var(--text-color);
    text-decoration: none;
}

.verification-icon-container {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 193, 7, 0.15);
}

.verification-icon {
    font-size: 2rem;
    color: #ff9800;
}

.store-product-placeholder {
    height: 200px;
    background: linear-gradient(135deg, var(--stripe-gray-100) 0%, var(--stripe-gray-50) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.store-product-icon {
    font-size: 3rem;
    color: var(--stripe-gray-400);
}

.store-category-placeholder {
    height: 200px;
    background: linear-gradient(135deg, var(--stripe-blue-100) 0%, var(--stripe-blue-50) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.store-category-icon {
    font-size: 3rem;
    color: var(--stripe-blue-600);
}

.permission-roles-list .role-card {
    background-color: var(--stripe-gray-50, #f8f9fa);
    transition: box-shadow 0.2s;
}

.permission-roles-list .role-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.role-permissions-display {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.permission-section-card {
    border: 1px solid var(--stripe-gray-200, #e3e8ee);
    border-radius: 8px;
    overflow: hidden;
    background: var(--stripe-gray-50, #fff);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.2s;
}

.permission-section-card:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.permission-section-card .section-header {
    background: var(--stripe-gray-100, #f7fafc);
    border-bottom: 1px solid var(--stripe-gray-200, #e3e8ee);
    padding: 12px 16px;
}

.permission-section-card .section-header h6 {
    color: #2d3748;
    font-weight: 600;
    font-size: 0.95rem;
}

.permission-section-card .section-content {
    padding: 0;
}

.permissions-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.permission-item {
    padding: 12px 16px;
    border-bottom: 1px solid var(--stripe-gray-200, #f0f0f0);
    transition: background-color 0.15s;
}

.permission-item:last-child {
    border-bottom: none;
}

.permission-item:hover {
    background-color: var(--stripe-gray-100, #f7fafc);
}

.permission-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.permission-name {
    font-size: 0.9rem;
    color: #2d3748;
    display: flex;
    align-items: center;
}

.permission-name strong {
    font-weight: 500;
}

.permission-meta {
    font-size: 0.8rem;
    color: #718096;
    display: flex;
    align-items: center;
}

.permission-meta code {
    background: var(--stripe-gray-100, #edf2f7);
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.75rem;
}

.permissions-summary {
    border-left: 4px solid #4299e1;
}

.permissions-summary .bg-light {
    background-color: var(--stripe-gray-100, #f7fafc) !important;
    border: 1px solid var(--stripe-gray-200, #e3e8ee);
}

#main-menu .menu .submenu a {
    padding: 3px 0 3px 15px;
}

#main-menu .menu .submenu .menu-item.active a {
    padding: 3px 0 3px 12px;
}

.ea-dark-scheme .permissions-summary .bg-light {
    background-color: var(--bs-body-bg) !important;
    border: 1px solid var(--bs-border-color) !important;
}

.ea-dark-scheme .permissions-summary h6 {
    color: var(--bs-heading-color) !important;
}

.ea-dark-scheme .permission-section-card {
    background: var(--bs-card-bg);
    border-color: var(--bs-border-color) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.ea-dark-scheme .permission-section-card:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
}

.ea-dark-scheme .permission-section-card .section-header {
    background: linear-gradient(to bottom, var(--bs-card-cap-bg), var(--bs-body-bg));
    border-bottom: 1px solid var(--bs-border-color);
}

.ea-dark-scheme .permission-section-card .section-header h6 {
    color: var(--bs-heading-color);
}

.ea-dark-scheme .permission-item {
    border-bottom-color: var(--bs-border-color);
}

.ea-dark-scheme .permission-item:hover {
    background-color: rgba(36, 59, 83, 0.3);
}

.ea-dark-scheme .permission-name {
    color: var(--bs-body-color);
}

.ea-dark-scheme .permission-name strong {
    color: var(--bs-heading-color);
}

.ea-dark-scheme .permission-meta {
    color: #9AA5B1;
}

.ea-dark-scheme .permission-meta code {
    background: var(--bs-body-bg);
    color: #9AA5B1;
    border: 1px solid var(--bs-border-color);
}

.ea-dark-scheme .permission-meta .text-muted {
    color: #9AA5B1 !important;
}

.content-top {
    display: flex;
    align-items: center;
    gap: 0;
}

.navbar-custom-menu {
    display: flex;
    align-items: center;
    gap: 0;
}

.content-search {
    flex: 1;
}

.user-balance {
    display: inline-block;
    align-items: center;
}

.user-balance a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--bs-body-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.user-balance a:hover {
    color: var(--bs-primary);
}

.ea-dark-scheme .user-balance a {
    color: #9AA5B1;
}

.ea-dark-scheme .user-balance a:hover {
    color: #FFFFFF;
}

.btn.success {
    background-color: var(--stripe-green-600);
    border-color: var(--stripe-green-600);
    color: #fff;
}

.btn.success i {
    color: #fff !important;
}

.btn.success:hover,
.btn.success:focus,
.btn.success:active {
    background-color: var(--stripe-green-500) !important;
    border-color: var(--stripe-green-500) !important;
    color: #fff !important;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.btn.success:hover i,
.btn.success:focus i,
.btn.success:active i {
    color: #fff !important;
}

.btn.danger {
    background-color: #dc2626;
    border-color: #dc2626;
    color: #fff;
}

.btn.danger i {
    color: #fff !important;
}

.btn.danger:hover,
.btn.danger:focus,
.btn.danger:active {
    background-color: #b91c1c !important;
    border-color: #b91c1c !important;
    color: #fff !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.btn.danger:hover i,
.btn.danger:focus i,
.btn.danger:active i {
    color: #fff !important;
}

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

.btn.primary i {
    color: #fff !important;
}

.btn.primary:hover,
.btn.primary:focus,
.btn.primary:active {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    opacity: 0.9;
}

.btn.primary:hover i,
.btn.primary:focus i,
.btn.primary:active i {
    color: #fff !important;
}

.btn.secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    color: #fff;
}

.btn.secondary i {
    color: #fff !important;
}

.btn.secondary:hover,
.btn.secondary:focus,
.btn.secondary:active {
    background-color: #5a6268 !important;
    border-color: #545b62 !important;
    color: #fff !important;
    box-shadow: 0 0 0 3px rgba(108, 117, 125, 0.1);
}

.btn.secondary:hover i,
.btn.secondary:focus i,
.btn.secondary:active i {
    color: #fff !important;
}

.btn.warning {
    background-color: #f59e0b;
    border-color: #f59e0b;
    color: #fff;
}

.btn.warning i {
    color: #fff !important;
}

.btn.warning:hover,
.btn.warning:focus,
.btn.warning:active {
    background-color: #d97706 !important;
    border-color: #d97706 !important;
    color: #fff !important;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.btn.warning:hover i,
.btn.warning:focus i,
.btn.warning:active i {
    color: #fff !important;
}

.btn.info {
    background-color: #0ea5e9;
    border-color: #0ea5e9;
    color: #fff;
}

.btn.info i {
    color: #fff !important;
}

.btn.info:hover,
.btn.info:focus,
.btn.info:active {
    background-color: #0284c7 !important;
    border-color: #0284c7 !important;
    color: #fff !important;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.btn.info:hover i,
.btn.info:focus i,
.btn.info:active i {
    color: #fff !important;
}

.datagrid .dropdown-actions .dropdown-toggle {
    padding: 4px 6px;
    min-width: 32px;
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.datagrid .dropdown-actions .dropdown-toggle .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.datagrid .dropdown-actions .dropdown-toggle .icon svg {
    width: 100%;
    height: 100%;
}

.datagrid tr:not(.selected-row):hover .actions-as-dropdown .dropdown-actions > .dropdown-toggle {
    background: var(--dropdown-toggle-bg);
    border-color: var(--dropdown-toggle-border-color);
}

.ea-dark-scheme .datagrid .dropdown-actions .dropdown-toggle {
    padding: 4px 6px;
    min-width: 32px;
    min-height: 28px;
}

#flash-messages .alert {
    margin: 0.5rem 0;
}

/* ===== VentroHosting design for the customer area / admin (appended to panel.css by tools/install.mjs) ===== */
html:root, body {
    --vh-bg: #0B0F17; --vh-surface: #121A27; --vh-card: #151F2E; --vh-line: #202c42;
    --vh-cyan: #00D9FF; --vh-violet: #8054FF; --vh-text: #F5F7FB; --vh-muted: #9CA3AF; --vh-muted2: #7d889c;
    --stripe-radius: 14px; --stripe-radius-lg: 22px;
}
/* accent colours (light and dark): violet on light surfaces, cyan on dark ones */
html:root { --primary-color: #6a3ff0; --secondary-color: #8054FF; --link-color: #6a3ff0; --link-hover-color: #4c2bc9; }
html.ea-dark-scheme:root, .ea-dark-scheme {
    --primary-color: #00D9FF !important; --secondary-color: #5fe9ff !important; --color-primary: #00D9FF !important;
    --link-color: #00D9FF !important; --link-hover-color: #6BE8FF !important;
    --background-color: var(--vh-bg) !important; --body-bg: var(--vh-bg) !important; --content-bg: var(--vh-bg) !important;
    --bs-body-bg: var(--vh-bg) !important; --bs-body-color: var(--vh-text) !important; --bs-heading-color: var(--vh-text) !important;
    --bs-border-color: var(--vh-line) !important; --bs-card-cap-bg: var(--vh-card) !important;
    --bs-table-bg: var(--vh-surface) !important; --bs-table-striped-bg: var(--vh-surface) !important; --bs-table-hover-bg: var(--vh-card) !important;
    --bs-dropdown-link-active-bg: var(--vh-card) !important; --pagination-active-bg: var(--vh-cyan) !important;
    --stripe-gray-50: var(--vh-surface); --stripe-gray-100: var(--vh-card); --stripe-gray-200: var(--vh-line); --stripe-gray-400: var(--vh-muted2); --stripe-gray-500: var(--vh-muted);
}
body, .ea-dark-scheme body { font-family: Inter, system-ui, sans-serif; }
h1, h2, h3, .content-header-title, .login-brand-title { font-family: Inter, system-ui, sans-serif; letter-spacing: -.03em; font-weight: 700; }
.ea-dark-scheme body, body.ea-dark-scheme { background: var(--vh-bg) !important; color: var(--vh-text); }
.ea-dark-scheme .main-content, .ea-dark-scheme .content-wrapper { background-color: var(--vh-bg) !important; }
.ea-dark-scheme .sidebar, .ea-dark-scheme .main-header, .ea-dark-scheme .global-footer { background: #0e141f !important; border-color: var(--vh-line) !important; }
.ea-dark-scheme .content-top, .ea-dark-scheme .card, .ea-dark-scheme .table thead th, .ea-dark-scheme .modal-content, .ea-dark-scheme .dropdown-menu, .ea-dark-scheme .form-control, .ea-dark-scheme .form-select {
    background: var(--vh-surface) !important; border-color: var(--vh-line) !important; color: var(--vh-text);
}
.ea-dark-scheme .card, .ea-dark-scheme .content-top, .ea-dark-scheme .modal-content { border-radius: 22px; }
.ea-dark-scheme table tbody tr, .ea-dark-scheme .table tbody tr, .ea-dark-scheme .table tbody tr td { background-color: var(--vh-surface) !important; border-color: var(--vh-line) !important; }
.ea-dark-scheme .table tbody tr:hover td { background-color: var(--vh-card) !important; }
.ea-dark-scheme #main-menu .menu .menu-item:hover, .ea-dark-scheme .menu-item.active, .ea-dark-scheme .menu-item.active > a { background: rgba(0,217,255,.10) !important; }
.ea-dark-scheme .menu-item.active > a, .ea-dark-scheme .menu-item.active .menu-icon { color: var(--vh-cyan) !important; }
.ea-dark-scheme .text-muted, .ea-dark-scheme .form-text, .ea-dark-scheme .menu-header { color: var(--vh-muted) !important; }
.ea-dark-scheme .bg-light { background-color: var(--vh-card) !important; }
.ea-dark-scheme .form-control:focus, .ea-dark-scheme .form-select:focus { border-color: var(--vh-cyan) !important; box-shadow: 0 0 0 3px rgba(0,217,255,.18) !important; }
/* buttons: cyan gradient with dark text (dark scheme), violet gradient (light scheme) */
.btn { border-radius: 14px; font-weight: 600; }
.btn-primary, .btn-primary:not(:disabled):not(.disabled):not(.btn-link):not(.btn-danger):active, .btn-primary:not(:disabled):not(.disabled):not(.btn-link):not(.btn-danger):focus {
    background: linear-gradient(135deg, #6a3ff0, #8054FF) !important; border-color: #6a3ff0 !important; color: #fff !important;
}
.ea-dark-scheme .btn-primary, .ea-dark-scheme .btn-primary:not(:disabled):not(.disabled):not(.btn-link):not(.btn-danger):active, .ea-dark-scheme .btn-primary:not(:disabled):not(.disabled):not(.btn-link):not(.btn-danger):focus {
    background: linear-gradient(135deg, #00D9FF, #5fe9ff) !important; border-color: #00D9FF !important; color: #04141a !important;
}
.ea-dark-scheme .btn-primary:hover, .ea-dark-scheme .btn-primary:not(:disabled):not(.disabled):not(.btn-link):not(.btn-danger):hover { filter: brightness(1.1); background: linear-gradient(135deg, #00D9FF, #5fe9ff) !important; color: #04141a !important; }
.ea-dark-scheme .btn-secondary, .ea-dark-scheme .btn-outline-secondary, .ea-dark-scheme .btn-light { background: rgba(255,255,255,.05) !important; border-color: rgba(255,255,255,.16) !important; color: var(--vh-text) !important; }
.ea-dark-scheme .bg-primary { background-color: var(--vh-cyan) !important; color: #04141a; }
.ea-dark-scheme .badge.bg-primary { color: #04141a; }
/* focus ring as on the website */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid #00D9FF !important; outline-offset: 3px; }
/* login / registration split screen */
.login-split-left, .ea-dark-scheme .login-split-left {
    background: radial-gradient(620px 420px at 85% 0%, rgba(128,84,255,.45), transparent 70%), radial-gradient(520px 360px at 0% 100%, rgba(0,217,255,.22), transparent 70%), #0B0F17 !important;
    color: var(--vh-text);
}
.login-split-right, .ea-dark-scheme .login-split-right { background: var(--vh-surface) !important; }
.login-feature-item i, .login-feature-item .fas { color: var(--vh-cyan) !important; }
.login-feature-item { color: var(--vh-text) !important; }
.login-split-right, .login-split-right .form-label, .login-split-right h1, .login-split-right h2 { color: var(--vh-text); }
.login-split-right a { color: var(--vh-cyan); }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ===== login / registration / password reset: same look as the website ===== */
.page-login-split, body.page-login-split { background: var(--vh-bg) !important; }
.login-split-container { background: var(--vh-bg); }
.login-split-left, .ea-dark-scheme .login-split-left, .ea-light-scheme .login-split-left {
    position: relative; overflow: hidden;
    background: radial-gradient(640px 460px at 88% -5%, rgba(128,84,255,.48), transparent 70%), radial-gradient(560px 380px at -5% 105%, rgba(0,217,255,.24), transparent 70%), #0B0F17 !important;
}
.login-split-left::before { content: ""; position: absolute; inset: 0; 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: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 25%, transparent 75%); mask-image: radial-gradient(ellipse at 70% 30%, #000 25%, transparent 75%); pointer-events: none; }
.login-brand-content { position: relative; z-index: 1; }
.login-brand-title { font-size: clamp(34px, 3.4vw, 52px) !important; font-weight: 800 !important; letter-spacing: -.045em !important; line-height: 1.02 !important; background: linear-gradient(90deg, #F5F7FB 30%, #00D9FF 70%, #8054FF); -webkit-background-clip: text; background-clip: text; color: transparent !important; padding-bottom: .08em; }
.login-brand-subtitle { color: #a9b2c3 !important; font-size: 17px; max-width: 460px; }
.login-feature-item { background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 10px 14px; width: fit-content; }
.login-feature-item i { background: transparent !important; }
.login-art-wrap { margin-top: 28px; max-width: 360px; opacity: .95; }
.login-art { width: 100%; height: auto; overflow: visible; }
.vh-float { animation: vhfloat 6s ease-in-out infinite; } .vh-float2 { animation-delay: -2s; }
.vh-pulse { animation: vhpulse 2.4s ease-in-out infinite; }
@keyframes vhfloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes vhpulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }
@media (max-width: 991px) { .login-art-wrap { display: none; } }
.login-split-right, .ea-dark-scheme .login-split-right, .ea-light-scheme .login-split-right, .ea-dark-scheme.page-login-split .login-split-right { background: var(--vh-bg) !important; }
.login-form-wrapper, .ea-dark-scheme.page-login-split .login-form-wrapper, .ea-light-scheme.page-login-split .login-form-wrapper {
    background: var(--vh-surface) !important; border: 1px solid var(--vh-line); border-radius: 26px; padding: 38px 36px !important; box-shadow: 0 40px 90px -40px rgba(0,0,0,.9); max-width: 520px; width: 100%;
}
.login-form-wrapper h1, .login-form-wrapper h2, .login-form-wrapper h3, .login-form-wrapper h4, .login-form-wrapper .h4 { font-family: Inter, system-ui, sans-serif !important; font-weight: 800 !important; letter-spacing: -.04em !important; color: var(--vh-text) !important; font-size: 28px !important; }
.login-form-wrapper .form-control, .ea-dark-scheme.page-login-split .form-control { background: #0B0F17 !important; border: 1px solid var(--vh-line) !important; border-radius: 14px !important; color: var(--vh-text) !important; padding: 13px 16px; }
.login-form-wrapper .form-control:focus { border-color: var(--vh-cyan) !important; box-shadow: 0 0 0 3px rgba(0,217,255,.18) !important; }
.login-form-wrapper .form-label { color: #cfd6e4 !important; font-weight: 600; }
.login-form-wrapper .text-dark, .login-form-wrapper .text-muted, .login-form-wrapper .form-check-label { color: var(--vh-muted) !important; }
.login-form-wrapper .btn, .page-login-split .btn.primary, .page-login-split .btn-primary, .ea-dark-scheme.page-login-split .btn-primary, .ea-light-scheme.page-login-split .btn-primary {
    background: linear-gradient(135deg, #00D9FF, #5fe9ff) !important; border: 0 !important; color: #04141a !important; border-radius: 14px !important; font-weight: 700 !important; padding: 15px 20px !important; box-shadow: 0 14px 40px -14px rgba(0,217,255,.7);
}
.login-form-wrapper .btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.login-form-wrapper .btn i, .login-form-wrapper .btn .fas { color: #04141a !important; }
.login-form-wrapper a:not(.btn) { color: var(--vh-cyan) !important; }
.login-form-wrapper .legal-links a, .login-form-wrapper .legal-links { color: var(--vh-muted2) !important; }
.login-form-wrapper .form-check-input { background-color: #0B0F17; border-color: var(--vh-line); }
.login-form-wrapper .form-check-input:checked { background-color: var(--vh-cyan); border-color: var(--vh-cyan); }
@media (max-height: 940px) { .login-art-wrap { display: none; } }

/* ===== polish: cards, header, sidebar, tables, badges (customer area + admin) ===== */
.ea-dark-scheme .sidebar { border-right: 1px solid var(--vh-line); background: linear-gradient(180deg, #0f1622, #0B0F17) !important; }
.ea-dark-scheme .sidebar .menu-header, .menu-header { letter-spacing: .14em; font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--vh-muted2) !important; }
.ea-dark-scheme #main-menu .menu .menu-item > a, .ea-dark-scheme .menu-item a { border-radius: 12px; transition: background .2s, color .2s; }
.ea-dark-scheme .menu-item.active > a, .ea-dark-scheme .menu-item.active { background: linear-gradient(90deg, rgba(0,217,255,.16), rgba(128,84,255,.10)) !important; box-shadow: inset 2px 0 0 var(--vh-cyan); }
.ea-dark-scheme .main-header { background: rgba(11,15,23,.85) !important; backdrop-filter: blur(16px); border-bottom: 1px solid var(--vh-line); }
.ea-dark-scheme .content-top, .ea-dark-scheme .card { box-shadow: 0 24px 60px -34px rgba(0,0,0,.85); }
.ea-dark-scheme .card { transition: border-color .25s, transform .25s; }
.ea-dark-scheme .card:hover { border-color: rgba(0,217,255,.35) !important; }
.content-header-title, .ea-dark-scheme .content-header-title { font-size: 26px; font-weight: 800; letter-spacing: -.04em; }
.content-header-title i, .content-header-title .fas, .content-header-title .fa { background: linear-gradient(135deg, #00D9FF, #8054FF); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
.ea-dark-scheme .table thead th { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--vh-muted) !important; border-bottom: 1px solid var(--vh-line) !important; }
.ea-dark-scheme .table tbody tr td { border-color: rgba(255,255,255,.05) !important; }
.badge { border-radius: 99px; font-weight: 600; padding: .38em .8em; }
.ea-dark-scheme .badge.bg-success, .ea-dark-scheme .badge-success { background: rgba(74,222,128,.16) !important; color: #4ADE80 !important; }
.ea-dark-scheme .badge.bg-danger, .ea-dark-scheme .badge-danger { background: rgba(248,113,113,.16) !important; color: #f87171 !important; }
.ea-dark-scheme .badge.bg-warning, .ea-dark-scheme .badge-warning { background: rgba(255,176,32,.16) !important; color: #FFB020 !important; }
.ea-dark-scheme .badge.bg-info, .ea-dark-scheme .badge-info, .ea-dark-scheme .badge.bg-secondary { background: rgba(0,217,255,.14) !important; color: #00D9FF !important; }
.ea-dark-scheme .alert { border-radius: 16px; border: 1px solid var(--vh-line); background: var(--vh-card); }
.ea-dark-scheme .alert-warning { border-color: rgba(255,176,32,.4); color: #FFB020; background: rgba(255,176,32,.08); }
.ea-dark-scheme .alert-success { border-color: rgba(74,222,128,.4); color: #4ADE80; background: rgba(74,222,128,.08); }
.ea-dark-scheme .alert-danger { border-color: rgba(248,113,113,.4); color: #f87171; background: rgba(248,113,113,.08); }
.ea-dark-scheme .dropdown-menu { border-radius: 16px; box-shadow: 0 30px 70px -30px rgba(0,0,0,.9); }
.ea-dark-scheme .page-link { background: var(--vh-surface); border-color: var(--vh-line); color: var(--vh-muted); }
.ea-dark-scheme .page-item.active .page-link { background: var(--vh-cyan); border-color: var(--vh-cyan); color: #04141a; }
.ea-dark-scheme ::-webkit-scrollbar { width: 10px; height: 10px; } .ea-dark-scheme ::-webkit-scrollbar-thumb { background: #243146; border-radius: 99px; } .ea-dark-scheme ::-webkit-scrollbar-track { background: transparent; }
.ea-dark-scheme .form-check-input:checked { background-color: var(--vh-cyan); border-color: var(--vh-cyan); }
.ea-dark-scheme .nav-tabs .nav-link.active, .ea-dark-scheme .nav-pills .nav-link.active { background: rgba(0,217,255,.12); color: var(--vh-cyan); border-color: var(--vh-line); }

/* ===== social login buttons ===== */
.vh-oauth-divider { display: flex; align-items: center; gap: 12px; color: var(--vh-muted2); font-size: 13px; margin: 6px 0 14px; }
.vh-oauth-divider::before, .vh-oauth-divider::after { content: ""; flex: 1; height: 1px; background: var(--vh-line); }
.login-form-wrapper .vh-oauth-btn { background: rgba(255,255,255,.05) !important; border: 1px solid rgba(255,255,255,.16) !important; color: var(--vh-text) !important; box-shadow: none !important; padding: 12px 18px !important; font-weight: 600 !important; }
.login-form-wrapper .vh-oauth-btn i { color: var(--vh-text) !important; }
.login-form-wrapper .vh-oauth-discord:hover { border-color: #5865F2 !important; }
.login-form-wrapper .vh-oauth-google:hover { border-color: #fff !important; }

/* wide index tables scroll inside their card instead of widening the page */
.table-wrapper, .datagrid-container, .content-body .card-body { max-width: 100%; }
.table-wrapper, .datagrid-container, .table-responsive { overflow-x: auto; }
.content-body, .content-wrapper, .main-content { min-width: 0; }

/* ===== forms: inputs must stand out from the card they sit in ===== */
.ea-dark-scheme .form-control, .ea-dark-scheme .form-select, .ea-dark-scheme textarea, .ea-dark-scheme .form-widget input:not([type=checkbox]):not([type=radio]):not([type=file]),
.ea-dark-scheme .select2-selection, .ea-dark-scheme .ts-control, .ea-dark-scheme .input-group-text {
    background-color: #0B0F17 !important; border: 1px solid #2a3850 !important; color: var(--vh-text) !important; border-radius: 12px !important;
}
.ea-dark-scheme .form-control::placeholder, .ea-dark-scheme textarea::placeholder { color: #5f6b80 !important; }
.ea-dark-scheme .form-control:hover, .ea-dark-scheme .form-select:hover { border-color: #3a4d6b !important; }
.ea-dark-scheme .form-control:focus, .ea-dark-scheme .form-select:focus { border-color: var(--vh-cyan) !important; }
.ea-dark-scheme .form-control:disabled, .ea-dark-scheme .form-control[readonly] { background-color: #0e141f !important; color: var(--vh-muted) !important; }
.ea-dark-scheme .form-label, .ea-dark-scheme label.required, .ea-dark-scheme .col-form-label { color: #cfd6e4; font-weight: 600; }
.ea-dark-scheme .form-text, .ea-dark-scheme .form-help { color: var(--vh-muted2) !important; }
.ea-dark-scheme input[type=file]::file-selector-button { background: var(--vh-card); color: var(--vh-text); border: 1px solid var(--vh-line); border-radius: 10px; padding: 6px 12px; margin-right: 10px; }
.ea-dark-scheme .form-check-input { background-color: #0B0F17; border-color: #3a4d6b; }

/* ===== empty lists: no skeleton rows, one calm message ===== */
tr.empty-row { display: none !important; }
tr.no-results td { text-align: center; padding: 56px 16px !important; color: var(--vh-muted); font-size: 15px; background: transparent !important; }
tr.no-results td::before { content: "\f49e"; font-family: "Font Awesome 6 Free"; font-weight: 900; display: block; font-size: 30px; margin-bottom: 12px; color: #2a3850; }
tr.no-results { position: static !important; }
.content-body { overflow-x: auto; }
table.datagrid { width: 100%; }

/* links inside running text must be recognisable without colour alone */
.login-form-wrapper p a, .login-form-wrapper .form-check-label a, .login-form-wrapper .small a { text-decoration: underline !important; text-underline-offset: 3px; }

/* phones: the form comes first, the marketing column shrinks to the logo and headline */
@media (max-width: 991.98px) {
    .login-split-left { min-height: 0 !important; padding: 28px 22px 8px !important; }
    .login-features, .login-brand-subtitle, .login-art-wrap { display: none !important; }
    .login-logo img { max-width: 210px !important; }
    .login-brand-title { font-size: 30px !important; margin-bottom: 0 !important; }
    .login-split-right { padding: 8px 16px 28px !important; }
    .login-form-wrapper { padding: 28px 20px !important; }
}

/* the content column is a grid item: without min-width:0 a wide table stretches the whole page */
.content-wrapper { grid-template-columns: minmax(0, 1fr) !important; }
.content-wrapper > article.content, article.content { min-width: 0; max-width: 100%; }
.wrapper { grid-template-columns: auto minmax(0, 1fr); }
.content-body { position: relative; }

/* ===== wallet / checkout accents: brand cyan instead of the stock green/blue ===== */
.ea-dark-scheme .card-header.bg-success, .ea-dark-scheme .card-header.bg-primary, .ea-dark-scheme .card-header.bg-info {
    background: var(--vh-card) !important; color: var(--vh-text) !important; border-bottom: 1px solid var(--vh-line) !important;
}
.ea-dark-scheme .card-header.bg-success .fas, .ea-dark-scheme .card-header.bg-success .fa { color: var(--vh-cyan); }
.ea-dark-scheme .btn.success, .ea-dark-scheme .btn-success {
    background: linear-gradient(135deg, #00D9FF, #5fe9ff) !important; border-color: #00D9FF !important; color: #04141a !important;
}
.ea-dark-scheme .btn.success:hover, .ea-dark-scheme .btn-success:hover { filter: brightness(1.1); }
.ea-dark-scheme .btn.success:disabled, .ea-dark-scheme .btn.success.disabled { filter: grayscale(.6) brightness(.7); }
.ea-dark-scheme .text-info { color: var(--vh-cyan) !important; }
.ea-dark-scheme .alert-info { background: rgba(0,217,255,.07) !important; border: 1px solid rgba(0,217,255,.3) !important; color: var(--vh-text) !important; }
.ea-dark-scheme .alert-info .fa, .ea-dark-scheme .alert-info .fas { color: var(--vh-cyan); }
.ea-dark-scheme .payment-gateway-card { background: var(--vh-card) !important; border-color: var(--vh-line) !important; transition: border-color .15s, box-shadow .15s; }
.ea-dark-scheme .payment-gateway-card:hover { border-color: rgba(0,217,255,.5) !important; }
.ea-dark-scheme .payment-gateway-input:checked + .payment-gateway-card { border-color: var(--vh-cyan) !important; box-shadow: 0 0 0 3px rgba(0,217,255,.18); }
.ea-dark-scheme .payment-gateway-card .card-title { color: var(--vh-text); }
.ea-dark-scheme .text-primary { color: var(--vh-cyan) !important; }
.ea-dark-scheme i.text-primary, .ea-dark-scheme i.text-info { color: var(--vh-cyan) !important; }

/* sidebar logo: larger, left aligned, with room above and below */
.main-header #header-logo a.logo { display: flex !important; align-items: center; padding: 20px 20px 16px !important; }
.main-header #header-logo .logo-custom { display: block; width: 100%; line-height: 0; text-shadow: none; }
.main-header #header-logo .logo-custom img { display: block; width: 100%; max-width: 200px; height: auto; max-height: 44px; object-fit: contain; object-position: left center; margin: 0; }
.ea-dark-scheme .main-header { border-bottom: 1px solid var(--vh-line) !important; }
.responsive-header .responsive-logo img { max-height: 32px; width: auto; }

/* 2026-10-30: schmale Handys – Wallet-Kopf und Dashboard-Serverliste dürfen nicht über den Rand laufen */
@media (max-width: 575.98px) {
  .dashboard-header > .d-flex { flex-wrap: wrap; gap: 12px; }
  .dashboard-header > .d-flex > .d-flex.gap-2 { width: 100%; }
  .dashboard-header > .d-flex > .d-flex.gap-2 .btn { width: 100%; }
  .list-group-item[data-server-id] > .d-flex { flex-wrap: nowrap; gap: 8px; }
  .list-group-item[data-server-id] > .d-flex > .d-flex { min-width: 0; flex: 1 1 auto; }
  .list-group-item[data-server-id] > .d-flex > .d-flex h6 { overflow-wrap: anywhere; }
  .list-group-item[data-server-id] > .d-flex > div:last-child { flex: 0 0 auto; }
}

/* ===== UX-Durchgang 2026-10-30: Buttons, Karten, Mobil-Kopf, Zeitraum-Auswahl, Shop-Karten ===== */
.btn { overflow: visible !important; white-space: normal; gap: .5rem; justify-content: center; text-align: center; line-height: 1.25; }
.btn > i.me-1, .btn > i.me-2 { margin-right: 0 !important; } /* the button gap spaces direct icons; icons inside a label span keep their margin (order button 2026-11-17) */
.vh-period-tag { white-space: nowrap; display: inline-block; margin-left: .4rem; }
.vh-period-p, .vh-period-p small { white-space: nowrap; }
.vh-period-t { min-width: 0; }
[data-ip] { white-space: nowrap; }
.server-actions .btn { min-height: 46px; }
.store-category-placeholder, .store-product-placeholder { background: linear-gradient(160deg, #101a2a, #0b1018) !important; }
.store-category-icon, .store-product-icon { color: #00D9FF !important; opacity: .85; }
.store-card-facts { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .9rem; color: #9aa4b6; }
.store-card-facts i { color: #00D9FF; margin-right: 6px; }
.store-card-price { flex-basis: 100%; font-size: .95rem; color: #d6dde9; }
.store-card-price strong { color: #00D9FF; font-size: 1.2rem; }
.responsive-header { background: #0b1018 !important; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.responsive-header .responsive-logo img { max-height: 30px; width: auto; max-width: none !important; }
.responsive-header #navigation-toggler, .responsive-header .dropdown-settings-button, .responsive-header .user-details { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.table td small.text-muted, .table td:last-child { white-space: nowrap; }
@media (max-width: 575.98px) {
  .dashboard-header .ms-auto.d-flex { width: 100%; margin-left: 0 !important; flex-wrap: wrap; }
  .dashboard-header .ms-auto.d-flex .btn { flex: 1 1 140px; }
  .row.g-2 > .col-4 > .btn.p-3, .row.g-2 > .col-4 > .btn.p-4 { padding: .7rem .35rem !important; font-size: .9rem; }
  .card-body .row > .col-4:has(> .btn.p-4) { flex: 0 0 100%; max-width: 100%; margin-top: .5rem; }
  .col-2:has(> #send-command) { flex: 0 0 96px; max-width: 96px; }
  .col-10:has(+ .col-2 > #send-command) { flex: 1 1 auto; max-width: calc(100% - 96px); }
  #send-command { min-width: 80px; }
  .table-responsive, .card-body:has(> table) { overflow-x: auto; }
}
.vh-desc-list { margin: 0 0 .75rem; padding-left: 1.1rem; display: grid; gap: .3rem; }
.vh-desc-list li::marker { color: #00D9FF; }
.server-specs small { white-space: normal; word-break: normal; font-size: .75rem; }
@media (max-width: 575.98px) { .server-stat-address, [data-server-ip], .server-stats-row .card-text { font-size: .95rem; } }

/* Upgrade-Seite: eine Auswahlliste statt neun Karten */
.vh-upgrade-list { display: grid; gap: 10px; }
.vh-upgrade-option { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; cursor: pointer; background: rgba(255, 255, 255, .03); }
.vh-upgrade-option:hover { border-color: rgba(0, 217, 255, .5); }
.vh-upgrade-option:has(input:checked) { border-color: #00D9FF; background: rgba(0, 217, 255, .08); }
.vh-upgrade-option input { width: 18px; height: 18px; accent-color: #00D9FF; }
.vh-upgrade-main { display: grid; gap: 4px; }
.vh-upgrade-specs { color: #9aa4b6; font-size: .9rem; }
.vh-upgrade-specs i { color: #00D9FF; margin: 0 4px 0 12px; }
.vh-upgrade-specs i:first-child { margin-left: 0; }
.vh-upgrade-price { text-align: right; display: grid; gap: 2px; }
.vh-upgrade-price b { color: #00D9FF; font-size: 1.15rem; }
.vh-upgrade-price small { color: #8a94a8; max-width: 260px; }
@media (max-width: 575.98px) { .vh-upgrade-option { grid-template-columns: auto 1fr; } .vh-upgrade-price { grid-column: 2; text-align: left; } .vh-upgrade-price small { max-width: none; } }
.vh-steps { padding-left: 1.2rem; display: grid; gap: .55rem; }
.vh-steps li::marker { color: #00D9FF; font-weight: 700; }

/* ===== Customer area additions 2026-11-01 (sign-up/login, onboarding, low-balance warning, checkboxes). They live HERE because
   tools/install.mjs rebuilds panel.css from this file on every website build: anything added to panel.css directly is lost. ===== */
/* ---------- Registrierung (page-register) ---------- */
/* checkbox next to its text: the theme sets .form-check { padding-left: 0 } (no Bootstrap float), so lay it out as a row */
.login-form-wrapper .form-check { display: flex; align-items: flex-start; gap: 10px; min-height: 0; }
.login-form-wrapper .form-check .form-check-input { flex: none; float: none; margin: 2px 0 0 !important; width: 18px; height: 18px; cursor: pointer; }
.login-form-wrapper .form-check .form-check-label { width: auto; flex: 1; padding-left: 0 !important; font-size: 13.5px; line-height: 1.45; cursor: pointer; }
.vh-reg-eyebrow { display: inline-block; font: 700 12px Inter, system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--vh-cyan); border: 1px solid rgba(0,217,255,.4); border-radius: 99px; padding: 5px 12px; margin-bottom: 18px; }
.vh-reg-benefits { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; max-width: 470px; }
.vh-reg-benefits li { display: flex; gap: 14px; align-items: flex-start; color: #c9d1de; font-size: 15.5px; line-height: 1.45; }
.vh-reg-benefits li strong { color: var(--vh-text); font-weight: 700; }
.vh-reg-benefits i { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: rgba(0,217,255,.1); border: 1px solid rgba(0,217,255,.25); color: var(--vh-cyan) !important; font-size: 14px; }
.vh-reg-games { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.vh-reg-games span { font: 600 13px Inter, system-ui, sans-serif; color: #d6dde9; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 99px; padding: 6px 13px; }
.page-register .login-art-wrap { display: none; }
.vh-pw { position: relative; }
.vh-pw .form-control { padding-right: 50px !important; }
.vh-pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; background: transparent; color: var(--vh-muted2); border-radius: 10px; cursor: pointer; }
.vh-pw-toggle:hover, .vh-pw-toggle:focus-visible { color: var(--vh-text); background: rgba(255,255,255,.06); outline: none; }
.vh-reg-hint { font-size: 12.5px; color: var(--vh-muted2); margin-top: 6px; }
.vh-reg-fine { font-size: 12.5px; line-height: 1.5; color: var(--vh-muted2) !important; }
.vh-reg-trust { list-style: none; padding: 0; margin: 4px 0 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; font-size: 13px; color: var(--vh-muted); }
.vh-reg-trust i { color: #4ADE80; margin-right: 6px; font-size: 11px; }
.page-register .login-form-wrapper .form-label { font-size: 14px; margin-bottom: 6px; }
@media (max-width: 991.98px) {
    .page-register .vh-reg-eyebrow, .page-register .vh-reg-benefits, .page-register .vh-reg-games { display: none !important; }
}
.page-register button[name="register-submit"] { white-space: nowrap; }
@media (max-width: 575.98px) { .page-register button[name="register-submit"] { padding: 16px 14px !important; font-size: 16px !important; } }

/* ---------- Onboarding im Kundenbereich (OnboardingWidget) ---------- */
.vh-onb { position: relative; overflow: hidden; border: 1px solid rgba(0,217,255,.28); border-radius: 22px; padding: 26px 28px; margin: 18px 0 6px; background: radial-gradient(620px 260px at 100% 0%, rgba(128,84,255,.18), transparent 70%), radial-gradient(520px 240px at 0% 100%, rgba(0,217,255,.12), transparent 70%), var(--vh-surface, #121A27); }
.vh-onb-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 22px; }
.vh-onb-pill { display: inline-block; font: 700 11.5px Inter, system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--vh-cyan, #00D9FF); border: 1px solid rgba(0,217,255,.4); border-radius: 99px; padding: 4px 11px; }
.vh-onb h2 { font: 800 clamp(20px, 2.2vw, 26px)/1.2 Inter, system-ui, sans-serif; letter-spacing: -.03em; color: var(--vh-text, #F5F7FB); margin: 10px 0 4px; }
.vh-onb-head p { margin: 0; color: var(--vh-muted, #9CA3AF); }
.vh-onb-head p strong { color: var(--vh-text, #F5F7FB); }
.vh-onb-ring { --p: 0; flex: none; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--vh-cyan, #00D9FF) calc(var(--p) * 1%), rgba(255,255,255,.08) 0); }
.vh-onb-ring span { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--vh-surface, #121A27); font: 800 16px Inter, system-ui, sans-serif; color: var(--vh-text, #F5F7FB); }
.vh-onb-steps { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
/* since 2026-11-05: finished steps are small pills, open steps use the full width */
.vh-onb-step.is-done { flex: 0 0 auto; flex-direction: row; align-items: center; gap: 10px; padding: 7px 16px 7px 8px; border-radius: 99px; }
.vh-onb-step.is-done .vh-onb-ico { width: 28px; height: 28px; border-radius: 50%; font-size: 12px; }
.vh-onb-step.is-done .vh-onb-body h3 { margin: 0; font-size: 14px; }
.vh-onb-step:not(.is-done) { flex: 1 1 100%; flex-direction: row; align-items: flex-start; gap: 16px; }
.vh-onb-step:not(.is-done) .vh-onb-body { flex: 1; }
.vh-onb-cta + .vh-onb-cta { margin-left: 18px; }
.vh-onb-step { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 16px; border: 1px solid rgba(255,255,255,.08); background: rgba(0,0,0,.18); }
.vh-onb-step.is-current { border-color: rgba(0,217,255,.55); background: rgba(0,217,255,.06); box-shadow: 0 18px 40px -24px rgba(0,217,255,.6); }
.vh-onb-step.is-done { opacity: .75; }
.vh-onb-ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.06); color: var(--vh-muted, #9CA3AF); font-size: 15px; }
.vh-onb-step.is-current .vh-onb-ico { background: var(--vh-cyan, #00D9FF); color: #04141a; }
.vh-onb-step.is-done .vh-onb-ico { background: rgba(74,222,128,.15); color: #4ADE80; }
.vh-onb-body h3 { font: 700 15px Inter, system-ui, sans-serif; color: var(--vh-text, #F5F7FB); margin: 0 0 4px; }
.vh-onb-body p { font-size: 13.5px; line-height: 1.45; color: var(--vh-muted, #9CA3AF); margin: 0 0 12px; }
.vh-onb-cta { display: inline-block; font: 600 13.5px Inter, system-ui, sans-serif; color: var(--vh-cyan, #00D9FF) !important; text-decoration: none !important; }
.vh-onb-cta.is-primary { padding: 9px 14px; border-radius: 11px; background: linear-gradient(135deg, #00D9FF, #5fe9ff); color: #04141a !important; box-shadow: 0 10px 26px -12px rgba(0,217,255,.7); }
.vh-onb-cta:hover { filter: brightness(1.08); }
@media (max-width: 575.98px) { .vh-onb-cta + .vh-onb-cta { display: block; margin: 10px 0 0; } }
@media (max-width: 575.98px) { .vh-onb { padding: 20px 16px; } .vh-onb-ring { width: 60px; height: 60px; } .vh-onb-ring span { width: 47px; height: 47px; font-size: 13px; } }

/* ---------- Warnung: Guthaben reicht nicht (LowBalanceWidget) ---------- */
.vh-lowbal { display: flex; align-items: center; gap: 18px; padding: 18px 22px; margin: 18px 0 6px; border-radius: 18px; border: 1px solid rgba(245,158,44,.5); background: linear-gradient(90deg, rgba(245,158,44,.14), rgba(245,158,44,.04)), var(--vh-surface, #121A27); }
.vh-lowbal-ico { flex: none; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: rgba(245,158,44,.18); color: #f59e2c; font-size: 18px; }
.vh-lowbal-body { flex: 1; min-width: 0; }
.vh-lowbal h2 { font: 700 16.5px/1.3 Inter, system-ui, sans-serif; color: var(--vh-text, #F5F7FB); margin: 0 0 4px; }
.vh-lowbal p { margin: 0; color: #cfd6e4; font-size: 14px; }
.vh-lowbal p strong { color: var(--vh-text, #F5F7FB); }
.vh-lowbal-cta { flex: none; padding: 11px 16px; border-radius: 12px; background: #f59e2c; color: #1a0f00 !important; font: 700 14px Inter, system-ui, sans-serif; text-decoration: none !important; white-space: nowrap; }
.vh-lowbal-cta:hover { filter: brightness(1.08); }
@media (max-width: 767.98px) { .vh-lowbal { flex-wrap: wrap; } .vh-lowbal-cta { width: 100%; text-align: center; } }

/* checkbox next to its label everywhere in the customer area (the theme removes Bootstrap's float padding) */
.form-check:not(.form-switch) { display: flex; align-items: flex-start; gap: 10px; }
.form-check:not(.form-switch) > .form-check-input { flex: none; float: none; margin: 3px 0 0 !important; }
.form-check:not(.form-switch) > .form-check-label { flex: 1; padding-left: 0 !important; }

/* .btn.primary (PteroCA buttons) on cyan: white text had 1.7:1 contrast, dark text like .btn-primary (WCAG AA, go-live audit 2026-11-01) */
.btn.primary, .btn.primary:hover, .btn.primary:focus, .btn.primary:active { color: #04141a !important; }
.btn.primary i, .btn.primary:hover i, .btn.primary:focus i, .btn.primary:active i { color: #04141a !important; }
/* inline code (e.g. the referral code) on the dark cards: the theme's red had 3.7:1 */
.ea-dark-scheme code { color: #ff9f8a; }

/* Header: user menu and settings gear were 25 px / 20 px high (UX audit: tap targets below 30 px) */
.content-top .user-menu-wrapper > a.user-details { display: inline-flex; align-items: center; min-height: 40px; }
.content-top a.dropdown-settings-button { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; }
/* Account security: "Abmelden" per device was 28 px high */
form[action*="/account/security/sessions/"] .btn-sm { min-height: 36px; }

/* 2026-11-05 mobile (edge-case test): tap targets >= 44 px; the 2026-11-04 form/button rule is kept here because panel.css is rebuilt from this file */
@media (max-width: 575.98px) {
  .form-control, .form-select, .btn:not(.btn-sm) { min-height: 44px; }
  .vh-pw-toggle { width: 44px; height: 44px; }
  .page-login .form-check-label, .page-register .form-check-label { display: inline-block; padding: 12px 0; min-height: 44px; }
  .modal-footer .btn { min-width: 44px; }
}

/* 2026-11-05 mobile: icon-only buttons (modal "Close") were 40 px wide */
@media (max-width: 575.98px) {
  .btn { min-width: 44px; }
}

/* 2026-11-05 mobile: a focused field keeps 24 px of room above the soft keyboard (it sat at the very edge) */
@media (max-width: 575.98px) {
  .form-control, .form-select { scroll-margin: 24px 0; }
}

/* 2026-11-05 product page: price and order button sit in a solid bar at the bottom of the screen while the order card is scrolled.
   A new customer on a 1280x720 screen did not see the button (540 px below the fold) and left after 14 seconds. */
.vh-order-cta { position: sticky; bottom: 0; z-index: 6; margin: 8px -1.5rem -1.5rem; padding: 14px 1.5rem 1.25rem; background: #121a27; border-top: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 -14px 26px -16px rgba(0, 0, 0, .7); border-radius: 0 0 16px 16px; }
.vh-order-cta .vh-sum { padding: 0 0 10px; border: 0; background: none; gap: 0; }
.vh-order-cta .vh-sum-row { display: none; }
.vh-order-cta .vh-sum-total { padding: 0; border: 0; align-items: center; }
.vh-order-cta .vh-sum-total b { font-size: 24px; }
.vh-pay-note { display: flex; gap: 9px; align-items: flex-start; margin: 4px 0 6px; font-size: 13px; line-height: 1.45; color: #8a94a8; }
.vh-pay-note i { margin-top: 2px; color: #00D9FF; }

/* 2026-11-05 shop: "Empfohlen" label, trust line under the order button, advisor card above the plans */
.vh-reco { display: inline-block; vertical-align: middle; margin-left: 10px; padding: 3px 10px; border-radius: 99px; font: 700 12px/1.4 Inter, sans-serif; letter-spacing: .04em; text-transform: uppercase; color: #04141a; background: linear-gradient(135deg, #00D9FF, #5fe9ff); }
.vh-reco--card { position: absolute; top: 0; left: 0; right: 0; z-index: 3; margin: 0; padding: 5px 10px; border-radius: 0; text-align: center; font-size: 11.5px; letter-spacing: .12em; box-shadow: 0 6px 18px -8px rgba(0, 217, 255, .7); }
/* 2026-11-17: band across the top instead of a pill over the game logo (it overlapped the logo on tablets); the recommended card gets a cyan ring */
.card:has(> .vh-reco--card) { box-shadow: 0 0 0 2px #00D9FF, 0 24px 60px -28px rgba(0, 217, 255, .55) !important; }
.vh-trust { margin: 8px 0 0; text-align: center; font-size: 12px; line-height: 1.5; color: #9aa4b6; }
.vh-trust i { color: #00D9FF; margin-right: 3px; }
.vh-ask { margin: 6px 0 0; text-align: center; font-size: 13px; line-height: 1.5; }
.vh-ask a { display: inline-block; padding: 6px 4px; color: #00D9FF; text-decoration: none; font-weight: 600; }
.vh-ask a:hover { text-decoration: underline; }
.vh-ask i { margin-right: 6px; }
.vh-advisor-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 16px 0 20px; padding: 16px 20px; border-radius: 14px; border: 1px solid rgba(0, 217, 255, .28); background: linear-gradient(135deg, rgba(0, 217, 255, .08), rgba(128, 84, 255, .1)); }
.vh-advisor-card strong { display: block; font-size: 16px; color: #F5F7FB; }
.vh-advisor-card span { display: block; margin-top: 2px; font-size: 13.5px; color: #a9b2c3; }

.vh-advisor-card .btn { background: transparent !important; border: 1.5px solid #00D9FF !important; color: #00D9FF !important; font-weight: 700; white-space: nowrap; }
.vh-advisor-card .btn:hover { background: rgba(0, 217, 255, .12) !important; }

/* Balance card: does the balance cover the next renewal */
.vh-renew { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 18px; padding: 10px 12px; border-radius: 10px; font-size: 13.5px; line-height: 1.5; border: 1px solid rgba(0, 217, 255, .25); background: rgba(0, 217, 255, .07); }
.vh-renew i { margin-top: 3px; color: #00D9FF; }
.vh-renew--ok i { color: #2ecc8f; }
.vh-renew--ok { border-color: rgba(46, 204, 143, .3); background: rgba(46, 204, 143, .08); }
.vh-renew--low { border-color: rgba(255, 178, 36, .4); background: rgba(255, 178, 36, .1); }
.vh-renew--low i { color: #ffb224; }
/* VentroHosting (2026-11-10): admin lists on phones. EasyAdmin stacks each row as label/value, but the table kept the width of
   its longest content (560 px in a 360 px column), so values and badges were cut off on the right. */
@media (max-width: 768px) {
    /* server-overview.css gave these tables min-width 560px for horizontal scrolling; with stacked rows that only cut values off */
    body.ea-index table.datagrid.datagrid { display: block; width: 100%; min-width: 0; }
    table.datagrid tbody, table.datagrid tr { width: 100%; max-width: 100%; }
    table.datagrid td { max-width: 100%; min-width: 0; overflow-wrap: anywhere; white-space: normal; }
    table.datagrid td .badge { white-space: normal; text-align: left; }
}
/* Shop product page: supported software of the plan (2026-11-13, SupportedSoftware) */
.vh-soft-list { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.vh-soft-item { display: inline-flex; align-items: center; gap: .5rem; min-height: 40px; padding: .4rem .8rem; border-radius: 10px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); color: inherit; font-weight: 600; font-size: .92rem; text-decoration: none; }
a.vh-soft-item:hover, a.vh-soft-item:focus-visible { border-color: #00D9FF; color: #fff; }
.vh-soft-item img { width: 22px; height: 22px; }
.vh-soft-item > i { color: #00D9FF; }
.vh-soft-note { font-size: .82rem; color: #8a94a8; }
.vh-soft-item img.is-on-light { background: #f5f7fb; border-radius: 6px; padding: 2px; } /* dark logos (Forge anvil) stay unchanged, only a light backdrop */
/* 2026-11-16: payment logos + Stripe note under the order button (product page and checkout; partial panel/store/_pay_trust.html.twig) */
.vh-pay { margin: 12px 0 0; text-align: center; }
.vh-pay-logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.vh-pay-chip { width: 34px; height: 24px; border-radius: 6px; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.vh-pay-chip .vpay-logo { width: 18px; height: 18px; }
.vh-pay-chip .vpay-link { width: 16px; height: 16px; border-radius: 4px; background: #00D66F; color: #0B0F17; display: grid; place-items: center; font: 800 13px/1 Inter, sans-serif; padding-bottom: 2px; }
.vh-pay-note { margin: 10px 0 0; display: flex; gap: 7px; justify-content: center; align-items: flex-start; font-size: 12.5px; line-height: 1.45; color: #9aa4b6; text-align: left; }
.vh-pay-note b { color: #c6cedd; font-weight: 600; }
.vh-pay-lock { flex: none; margin-top: 2px; color: #4ade80; }
.vh-pay-alt { margin: 4px 0 0; font-size: 12px; color: #7d889c; }
.vh-pay-stripe { display: inline-block; margin: 8px 0 0; line-height: 0; }
.vh-pay-stripe img { width: 106px; height: 24px; }
/* 2026-11-16: logos + question link under the sticky order bar (the bar ends with a negative bottom margin) */
.vh-after-cta { margin-top: calc(1.5rem + 6px); }
/* 2026-11-16: registration – referral code behind a small link */
.vh-code-toggle > summary { cursor: pointer; color: #00D9FF; font-size: 14px; font-weight: 600; list-style: none; display: inline-block; padding: 6px 0; }
.vh-code-toggle > summary::-webkit-details-marker { display: none; }
.vh-code-toggle > summary::before { content: '+ '; }
.vh-code-toggle[open] > summary::before { content: '− '; }
/* 2026-11-16: checkout – voucher link at the total */
.vh-voucher-link { display: inline-block; margin-top: 6px; padding: 6px 0; background: none; border: 0; color: #9aa4b6; font-size: 13px; text-decoration: underline; cursor: pointer; }
.vh-voucher-link:hover { color: #00D9FF; }
/* 2026-11-16: checkout – compact spec line instead of the tiles */
.vh-spec-line { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: #c6cedd; }
.vh-spec-line li { display: flex; align-items: center; gap: 7px; }
.vh-spec-line i { color: #00D9FF; font-size: 13px; }
