/* =========================================
   MODERN HOSTING UI - TWENTY ONE UPGRADE
   Accent: #ff2e2e
========================================= */

:root {
    --accent: #ff2e2e;
    --accent-soft: rgba(255, 46, 46, 0.1);
    --card-radius: 12px;
}

/* =========================================
   GLOBAL TYPOGRAPHY
========================================= */

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    background-color: #f7f8fc;
    color: #2d2f36;
}

h1, h2, h3, h4, h5 {
    font-weight: 600;
    letter-spacing: -0.3px;
}

/* =========================================
   HEADER / NAVIGATION
========================================= */

.navbar {
    background: #ffffff !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    padding-top: 12px;
    padding-bottom: 12px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: #444;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--accent);
}

.navbar .btn-primary {
    background: var(--accent);
    border: none;
    border-radius: 8px;
}

/* =========================================
   CARDS (GLOBAL)
========================================= */

.card {
    border: none;
    border-radius: var(--card-radius);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

/* =========================================
   DASHBOARD STAT CARDS
========================================= */

.client-home-panels .panel,
.dashboard-stat,
.clientarea-home-panels .card {
    border-radius: var(--card-radius);
    padding: 20px;
    background: #ffffff;
}

.stat,
.client-home-panels h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--accent);
}

/* Optional accent border for stats */
.client-home-panels .card {
    border-left: 4px solid var(--accent);
}

/* =========================================
   PRICING TABLES
========================================= */

.price-table,
.product-pricing,
.pricing-table {
    border-radius: var(--card-radius);
    overflow: hidden;
}

.pricing .card {
    text-align: center;
    padding: 30px 20px;
}

.pricing .card .price {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent);
}

.pricing .card.featured,
.pricing .card.popular {
    border: 2px solid var(--accent);
    transform: scale(1.03);
}

.pricing .btn-primary {
    background: var(--accent);
    border: none;
    border-radius: 8px;
}

/* =========================================
   TABLE IMPROVEMENTS
========================================= */

.table {
    background: #ffffff;
    border-radius: var(--card-radius);
    overflow: hidden;
}

.table thead {
    background: #f1f3f8;
}

.table th {
    font-weight: 600;
    font-size: 14px;
    border-bottom: 1px solid #e6e8f0;
}

.table td {
    vertical-align: middle;
    border-color: #f0f1f5;
}

.table-hover tbody tr:hover {
    background-color: var(--accent-soft);
}

/* Status Labels */
.label-success,
.badge-success {
    background-color: #e6f7ee;
    color: #1f9d55;
}

.label-danger,
.badge-danger {
    background-color: #fdeaea;
    color: #d93025;
}

/* =========================================
   BUTTONS
========================================= */

.btn {
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.25s ease;
}

.btn-primary {
    background-color: var(--accent);
    border: none;
}

.btn-primary:hover {
    background-color: #e02626;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 46, 46, 0.3);
}

.btn-outline-primary {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-outline-primary:hover {
    background: var(--accent);
    color: #fff;
}

/* =========================================
   PANELS (Legacy WHMCS Panels)
========================================= */

.panel {
    border-radius: var(--card-radius);
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    border: none;
}

.panel-heading {
    background: #ffffff !important;
    border-bottom: 1px solid #eee;
    font-weight: 600;
}

/* =========================================
   FORMS
========================================= */

.form-control {
    border-radius: 8px;
    border: 1px solid #dcdfe6;
    padding: 10px 14px;
    transition: 0.2s;
}

.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

/* =========================================
   BREADCRUMB
========================================= */

.breadcrumb {
    background: transparent;
    padding: 0;
    font-size: 14px;
}

.breadcrumb a {
    color: var(--accent);
}

/* =========================================
   FOOTER
========================================= */

footer,
.footer {
    background: #ffffff;
    border-top: 1px solid #eee;
    padding: 20px 0;
    font-size: 14px;
}

/* =========================================
   HOVER ANIMATIONS
========================================= */

a {
    transition: all 0.2s ease;
}

a:hover {
    text-decoration: none;
}

/* =========================================
   SPACING IMPROVEMENTS
========================================= */

.container,
.container-fluid {
    padding-top: 30px;
    padding-bottom: 30px;
}

.section {
    padding: 60px 0;
}
/* =========================================
   ULTRA MODERN SAAS AUTH - TWENTY ONE
   Accent: #ff2e2e
========================================= */

:root {
    --accent: #ff2e2e;
    --accent-soft: rgba(255, 46, 46, 0.15);
    --dark-bg: #0f1117;
    --card-bg: #171923;
}

/* =========================================
   BACKGROUND
========================================= */

.modern-auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: radial-gradient(circle at 20% 20%, #1a1f2b, #0f1117 60%);
    animation: fadeInAuth 0.6s ease forwards;
}

/* Subtle load animation */
@keyframes fadeInAuth {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   AUTH CARD
========================================= */

.modern-auth-card {
    width: 100%;
    max-width: 520px;
    background: var(--card-bg);
    border-radius: 16px;
    padding: 45px 40px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    color: #fff;
}

/* Register wider layout */
body.page-register .modern-auth-card {
    max-width: 720px;
}

/* =========================================
   TYPOGRAPHY
========================================= */

.modern-auth-card h1,
.modern-auth-card h2 {
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

/* Improve default headings */
.login-container h2,
.register-container h2 {
    font-weight: 700;
    font-size: 26px;
}

/* =========================================
   FORM INPUTS
========================================= */

.modern-auth-card .form-control {
    height: 52px;
    border-radius: 12px;
    background: #0f1117;
    border: 1px solid #2a2f3d;
    color: #fff;
    padding: 12px 16px;
    transition: all 0.25s ease;
}

.modern-auth-card .form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-soft);
    background: #11131b;
}

/* Labels */
.modern-auth-card label {
    font-weight: 500;
    margin-bottom: 6px;
    font-size: 14px;
    color: #c9ccd6;
}

/* =========================================
   BUTTONS
========================================= */

.modern-auth-card .btn-primary {
    background: linear-gradient(135deg, #ff2e2e, #ff5e5e);
    border: none;
    height: 52px;
    border-radius: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

.modern-auth-card .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 46, 46, 0.35);
}

.modern-auth-card .btn-primary:active {
    transform: translateY(0);
}

/* =========================================
   CHECKBOX STYLING
========================================= */

.modern-auth-card .form-check-input {
    width: 18px;
    height: 18px;
    border-radius: 6px;
    border: 1px solid #3a3f52;
    background-color: #0f1117;
    cursor: pointer;
}

.modern-auth-card .form-check-input:checked {
    background-color: var(--accent);
    border-color: var(--accent);
}

.modern-auth-card .form-check-label {
    margin-left: 8px;
    font-size: 14px;
    color: #c9ccd6;
}

/* =========================================
   ERROR / ALERT STYLING
========================================= */

.modern-auth-card .alert-danger {
    background: rgba(255, 46, 46, 0.12);
    border: 1px solid rgba(255, 46, 46, 0.4);
    color: #ff6b6b;
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 14px;
}

/* =========================================
   FORGOT PASSWORD LINK
========================================= */

.modern-auth-card a {
    color: #ff6b6b;
    font-size: 14px;
    transition: all 0.2s ease;
}

.modern-auth-card a:hover {
    color: #ffffff;
    text-decoration: none;
}

/* =========================================
   REGISTER TWO-COLUMN LAYOUT
========================================= */

body.page-register .modern-auth-card .row > div {
    margin-bottom: 15px;
}

/* On larger screens */
@media (min-width: 768px) {
    body.page-register .modern-auth-card {
        padding: 50px;
    }
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 576px) {

    .modern-auth-card {
        padding: 30px 22px;
        border-radius: 14px;
    }

    .modern-auth-card h1,
    .modern-auth-card h2 {
        font-size: 22px;
    }

    .modern-auth-card .form-control,
    .modern-auth-card .btn-primary {
        height: 48px;
    }
}

/* =========================================
   REMOVE DEFAULT TWENTY-ONE BACKGROUND
========================================= */

body.page-login,
body.page-register {
    background: var(--dark-bg) !important;
}
/* =========================================
   MODERN SAAS CHECKOUT - WHMCS
   Accent: #ff2e2e
========================================= */

:root {
    --accent: #ff2e2e;
    --accent-soft: rgba(255, 46, 46, 0.12);
    --dark-bg: #0f1117;
    --card-bg: #171923;
    --card-radius: 14px;
}

/* =========================================
   DARK CHECKOUT BACKGROUND
========================================= */

body.page-cart,
body.page-configureproduct,
body.page-checkout {
    background: radial-gradient(circle at top right, #1b1f2b, #0f1117 60%) !important;
}

/* =========================================
   TWO COLUMN LAYOUT IMPROVEMENT
========================================= */

@media (min-width: 992px) {
    .view-cart-container .row {
        align-items: flex-start;
    }

    .view-cart-container .col-lg-8 {
        padding-right: 30px;
    }

    .view-cart-container .col-lg-4 {
        position: sticky;
        top: 100px;
    }
}

/* =========================================
   CARDS
========================================= */

.card,
.panel,
.order-summary,
.view-cart-container .summary-container {
    background: var(--card-bg) !important;
    border: none !important;
    border-radius: var(--card-radius) !important;
    box-shadow: 0 25px 60px rgba(0,0,0,0.5);
    color: #fff;
}

/* =========================================
   STEP INDICATOR
========================================= */

.order-steps,
.checkout-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.order-steps li,
.checkout-steps li {
    flex: 1;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #aaa;
    position: relative;
}

.order-steps li.active,
.checkout-steps li.active {
    color: var(--accent);
}

.order-steps li::after,
.checkout-steps li::after {
    content: "";
    height: 2px;
    background: #2a2f3d;
    position: absolute;
    width: 100%;
    top: 12px;
    left: 50%;
    z-index: -1;
}

.order-steps li.active::after {
    background: var(--accent);
}

/* =========================================
   PRODUCT LIST
========================================= */

.view-cart-items .item,
.cart-item {
    background: #11131b;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    transition: 0.3s;
}

.view-cart-items .item:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

/* =========================================
   DOMAIN CONFIGURATION
========================================= */

.domain-options,
.domain-config {
    background: #11131b;
    border-radius: 12px;
    padding: 20px;
}

/* =========================================
   ORDER SUMMARY SIDEBAR
========================================= */

.summary-container {
    padding: 25px;
}

.summary-container h3 {
    font-weight: 700;
    margin-bottom: 20px;
}

.summary-totals {
    background: #11131b;
    border-radius: 12px;
    padding: 15px;
}

/* TOTAL HIGHLIGHT */
.summary-totals .total-row,
.total-due-today {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent);
    border-top: 1px solid #2a2f3d;
    padding-top: 12px;
}

/* =========================================
   PROMO CODE BOX
========================================= */

.promo-code-container {
    background: #11131b;
    padding: 15px;
    border-radius: 12px;
}

.promo-code-container input {
    background: #0f1117;
    border: 1px solid #2a2f3d;
    border-radius: 10px;
    color: #fff;
}

.promo-code-container input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

/* =========================================
   FORM INPUTS
========================================= */

.form-control,
select.form-control {
    background: #0f1117 !important;
    border: 1px solid #2a2f3d !important;
    border-radius: 12px !important;
    color: #fff !important;
    height: 48px;
    transition: 0.25s;
}

.form-control:focus {
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 3px var(--accent-soft) !important;
}

/* =========================================
   PAYMENT GATEWAY STYLING
========================================= */

.payment-methods .gateway,
.payment-method {
    background: #11131b;
    border-radius: 12px;
    padding: 15px;
    border: 1px solid #2a2f3d;
    transition: 0.3s;
}

.payment-method:hover {
    border-color: var(--accent);
    background: rgba(255,46,46,0.05);
}

/* =========================================
   BUTTONS
========================================= */

.btn-primary,
.checkout-btn,
.complete-order-btn {
    background: linear-gradient(135deg, #ff2e2e, #ff5e5e);
    border: none !important;
    border-radius: 12px !important;
    height: 50px;
    font-weight: 600;
    transition: 0.3s
