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

    ** Custom Stylesheet **

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

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

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

html {
    font-size: 14px;
}

/* Global Poppins Font */
body,
h1, h2, h3, h4, h5, h6,
.btn,
.navbar,
.nav,
.panel,
.form-control,
input, select, textarea,
.tiles .tile .title,
.tile .stat {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

:root {
    --white: #fff;

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

    /* Primary brand palette based on #030712 */
    --primary-50: #f0f1f5;
    --primary-100: #d8dbe3;
    --primary-200: #b1b7c7;
    --primary-300: #8a93ab;
    --primary-400: #636f8f;
    --primary-500: #3c4b73;
    --primary-600: #1e2a4d;
    --primary-700: #111b36;
    --primary-800: #0a1122;
    --primary-900: #050a15;
    --primary-950: #030712;

    /* Primary colors */
    --primary: #030712;
    --primary-lifted: #0a1122;
    --primary-accented: #111b36;

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

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

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

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

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

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

    /* Grayscale colors */
    --grayscale: #030712;
    --grayscale-lifted: #0a1122;
    --grayscale-accented: #111b36;

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

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

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

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

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

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

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

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

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

/* ======================================
   Bootstrap Primary Color Overrides
   Primary: var(--primary)
   ====================================== */

/* Links */
a {
    color: var(--primary);
}
a:hover,
a:focus {
    color: #111b36;
}

/* btn-primary */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary.focus,
.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary {
    background-color: #0a1122;
    border-color: #0a1122;
    color: #fff;
}
.btn-primary.disabled,
.btn-primary[disabled],
.btn-primary.disabled:hover,
.btn-primary[disabled]:hover,
.btn-primary.disabled:focus,
.btn-primary[disabled]:focus {
    background-color: var(--primary);
    border-color: var(--primary);
    opacity: 0.65;
}

/* btn-default hover accent */
.btn-default:hover,
.btn-default:focus {
    border-color: var(--primary);
    color: var(--primary);
}

/* Progress bar */
.progress-bar {
    background-color: var(--primary);
}

/* Labels & badges */
.label-primary {
    background-color: var(--primary);
}

/* Panels */
.panel-primary {
    border-color: var(--primary);
}
.panel-primary > .panel-heading {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* Navs / tabs / pills */
.nav-pills > li.active > a,
.nav-pills > li.active > a:hover,
.nav-pills > li.active > a:focus {
    background-color: var(--primary);
    color: #fff;
}
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* Pagination */
.pagination > li > a:hover,
.pagination > li > a:focus {
    color: var(--primary);
}

/* Dropdown menu active */
.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus {
    background-color: var(--primary);
    color: #fff;
}

/* Alerts - info link color */
.alert-info a {
    color: var(--primary);
}

/* Table striped header */
.table > thead > tr > th {
    border-bottom-color: var(--primary);
}

/* ======================================
   Elegant Header — Dark Top Bar
   ====================================== */

section#header {
    margin: 0;
    padding: 0;
    background: var(--primary);
    border: none;
    border-radius: 0;
}

section#header .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

section#header .header-left {
    flex-shrink: 0;
}

section#header .logo img {
    max-height: 40px;
    vertical-align: middle;
    filter: brightness(0) invert(1);
}

section#header .logo-text {
    font-family: 'Raleway', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 700;
    font-size: 1.65em;
    color: #fff;
    letter-spacing: 0.01em;
    white-space: nowrap;
    text-decoration: none;
}

section#header .logo-text:hover {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
}

/* Header Right Actions */
section#header .header-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s;
    position: relative;
}

.header-action:hover,
.header-action:focus {
    color: #fff;
    background: rgba(255,255,255,0.08);
    text-decoration: none;
}

.header-action i {
    font-size: 15px;
}

.header-action .caret {
    border-top-color: rgba(255,255,255,0.4);
    margin-left: 2px;
}

.header-action:hover .caret {
    border-top-color: #fff;
}

/* Notification dot */
.notif-dot {
    position: absolute;
    top: 6px;
    right: 10px;
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    border: 2px solid var(--primary);
    animation: notifPulse 2s infinite;
}

@keyframes notifPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
    50% { box-shadow: 0 0 0 4px rgba(239, 68, 68, 0); }
}

/* Header Buttons */
.header-btn-outline {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    transition: all 0.2s;
}

.header-btn-outline:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.06);
    text-decoration: none;
}

.header-btn-solid {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    background: #fff;
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s;
}

.header-btn-solid:hover {
    background: rgba(255,255,255,0.9);
    color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    text-decoration: none;
}

/* Responsive header */
@media (max-width: 767px) {
    section#header .header-inner {
        flex-direction: column;
        gap: 14px;
        padding: 16px 0;
    }
    section#header .header-right {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ======================================
   Elegant Navigation — Light Bar
   ====================================== */

section#main-menu {
    background-color: #fff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.navbar-main {
    margin-bottom: 0;
    background-color: transparent;
    border: none;
    border-radius: 0;
    min-height: 46px;
    font-family: 'Raleway', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    box-shadow: none;
}

/* Nav links */
.navbar-main .navbar-nav > li > a {
    color: #4b5563;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.01em;
    padding: 13px 18px;
    transition: all 0.2s;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.navbar-main .navbar-nav > li > a:hover,
.navbar-main .navbar-nav > li > a:focus {
    color: var(--primary);
    background-color: transparent;
    border-bottom-color: #d1d5db;
}

.navbar-main .navbar-nav > .active > a,
.navbar-main .navbar-nav > .active > a:hover,
.navbar-main .navbar-nav > .active > a:focus,
.navbar-main .navbar-nav > .open > a,
.navbar-main .navbar-nav > .open > a:hover,
.navbar-main .navbar-nav > .open > a:focus {
    color: var(--primary);
    background-color: transparent;
    border-bottom-color: var(--primary);
}

/* Caret */
.navbar-main .navbar-nav > li > a .caret {
    border-top-color: #9ca3af;
}

.navbar-main .navbar-nav > li > a:hover .caret,
.navbar-main .navbar-nav > .open > a .caret {
    border-top-color: var(--primary);
}

/* "Hello, user" account pill */
.navbar-main li.account {
    background-color: transparent;
}

.navbar-main li.account > a {
    color: var(--primary) !important;
    background: #f3f4f6 !important;
    border-radius: 20px;
    padding: 8px 16px !important;
    margin: 5px 0;
    border-bottom: none !important;
    font-weight: 600;
    font-size: 12.5px;
    transition: all 0.2s;
}

.navbar-main li.account > a:hover {
    background: #e5e7eb !important;
    color: var(--primary) !important;
}

/* Dropdown menus */
.navbar-main .dropdown-menu {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(3, 7, 18, 0.1), 0 2px 8px rgba(3, 7, 18, 0.06);
    padding: 8px 0;
    margin-top: 2px;
    min-width: 210px;
    animation: dropFadeIn 0.18s ease;
}

@keyframes dropFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.navbar-main .dropdown-menu > li > a {
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    transition: all 0.15s;
}

.navbar-main .dropdown-menu > li > a:hover,
.navbar-main .dropdown-menu > li > a:focus {
    background-color: #f9fafb;
    color: var(--primary);
    padding-left: 24px;
}

.navbar-main .dropdown-menu > .active > a,
.navbar-main .dropdown-menu > .active > a:hover,
.navbar-main .dropdown-menu > .active > a:focus {
    background-color: var(--primary);
    color: #fff;
}

/* Hover-to-open on desktop */
@media (min-width: 992px) {
    .navbar-main .navbar-nav > li.dropdown:hover > .dropdown-menu {
        display: block;
    }
}

/* Navbar toggle (mobile) */
.navbar-main .navbar-toggle {
    border-color: #d1d5db;
    border-radius: 6px;
    margin-top: 7px;
    margin-bottom: 7px;
}

.navbar-main .navbar-toggle .icon-bar {
    background-color: #6b7280;
}

.navbar-main .navbar-toggle:hover,
.navbar-main .navbar-toggle:focus {
    background-color: #f3f4f6;
    border-color: #9ca3af;
}

.navbar-main .navbar-toggle:hover .icon-bar,
.navbar-main .navbar-toggle:focus .icon-bar {
    background-color: var(--primary);
}

/* Mobile nav */
@media (max-width: 991px) {
    .navbar-main .navbar-nav > li > a {
        padding: 10px 20px;
        border-bottom: none;
    }
    .navbar-main .navbar-nav > .active > a,
    .navbar-main .navbar-nav > .open > a {
        border-bottom: none;
        color: var(--primary);
        background-color: #f9fafb;
    }
    .navbar-main .navbar-nav .open .dropdown-menu {
        box-shadow: none;
        border-radius: 0;
        border: none;
        padding: 0;
    }
    .navbar-main .navbar-nav .open .dropdown-menu > li > a {
        color: #4b5563;
        padding: 9px 35px;
    }
    .navbar-main .navbar-nav .open .dropdown-menu > li > a:hover {
        color: var(--primary);
        background-color: #f9fafb;
    }
    .navbar-main li.account > a {
        border-radius: 0;
        margin: 0;
    }
}

/* ======================================
   Hero Section — Text & Info Only
   ====================================== */

section#home-banner.hero-info {
    margin: 0;
    padding: 80px 0 90px;
    background: var(--primary);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Subtle radial glow behind content */
section#home-banner.hero-info::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(99,111,143,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
}

.hero-title {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0 0 20px;
    color: #fff;
}

.hero-desc {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 36px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 32px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
    letter-spacing: 0.01em;
    min-width: 170px;
}

.hero-btn-primary {
    background: #fff;
    color: var(--primary);
    border: 2px solid #fff;
}
.hero-btn-primary:hover,
.hero-btn-primary:focus {
    background: transparent;
    color: #fff;
    text-decoration: none;
    border-color: #fff;
}

.hero-btn-outline {
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    border: 2px solid rgba(255, 255, 255, 0.3);
}
.hero-btn-outline:hover,
.hero-btn-outline:focus {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    text-decoration: none;
    border-color: rgba(255, 255, 255, 0.6);
}

/* Responsive */
@media (max-width: 992px) {
    section#home-banner.hero-info {
        padding: 60px 0 70px;
    }
    .hero-title {
        font-size: 32px;
    }
    .hero-desc {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    section#home-banner.hero-info {
        padding: 48px 20px 56px;
    }
    .hero-title {
        font-size: 26px;
    }
    .hero-desc {
        font-size: 15px;
        margin-bottom: 28px;
    }
    .hero-btn {
        min-width: 150px;
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* Hide old home-shortcuts (removed from template) */
.home-shortcuts {
    display: none;
}

/* ======================================
   Footer Divider — Decorative Wave
   ====================================== */

.footer-divider {
    background: #f3f4f6;
    line-height: 0;
    overflow: hidden;
}

.footer-divider svg {
    display: block;
    width: 100%;
    height: 60px;
}

/* ======================================
   Footer — Clean 4-Column Layout
   ====================================== */

section#footer {
    margin: 0;
    padding: 0;
    background: var(--primary);
    border-top: none;
    color: rgba(255, 255, 255, 0.55);
    font-size: 14px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding: 60px 0 50px;
}

.footer-brand {
    padding-right: 20px;
}

.footer-logo img {
    max-height: 48px;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}

.footer-logo-text {
    display: inline-block;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    margin-bottom: 16px;
}

.footer-logo-text:hover {
    color: #fff;
    text-decoration: none;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.7;
    margin: 0;
    font-size: 13.5px;
}

.footer-col h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 18px;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 13.5px;
    transition: color 0.2s ease;
}

.footer-col ul li a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.35);
    font-size: 13px;
}

.footer-bottom .back-to-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: all 0.25s ease;
}

.footer-bottom .back-to-top:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.footer-bottom .back-to-top i {
    font-size: 13px;
    padding: 0;
    background: none;
    border-radius: 0;
    opacity: 1;
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 36px 40px;
    }
}

@media (max-width: 575px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 0 30px;
    }
    .footer-brand {
        padding-right: 0;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 14px;
        text-align: center;
    }
}



/* ======================================
   Shared Section Header
   ====================================== */

.hp-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.hp-section-header h2 {
    font-size: 30px;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 10px;
    letter-spacing: -0.01em;
}

.hp-section-header p {
    font-size: 16px;
    color: #6b7280;
    margin: 0;
    font-weight: 400;
}

/* ======================================
   Features Section — Why Choose Us
   ====================================== */

section#hp-features {
    padding: 80px 0;
    background: #fff;
}

.feat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feat-card {
    padding: 32px 28px;
    background: #f9fafb;
    border: 1px solid #f3f4f6;
    border-radius: 14px;
    transition: all 0.3s ease;
}

.feat-card:hover {
    background: #fff;
    border-color: #e5e7eb;
    box-shadow: 0 8px 30px rgba(3, 7, 18, 0.06);
    transform: translateY(-3px);
}

.feat-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.feat-card:hover .feat-icon {
    transform: scale(1.08);
}

.feat-icon svg {
    width: 22px;
    height: 22px;
}

.feat-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 8px;
}

.feat-card p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    line-height: 1.65;
}

/* ======================================
   Stats Section — Numbers Band
   ====================================== */

section#hp-stats {
    padding: 56px 0;
    background: var(--primary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.stat-item {
    padding: 12px 10px;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.stat-label {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 6px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ======================================
   Steps Section — How It Works
   ====================================== */

section#hp-steps {
    padding: 80px 0;
    background: #f9fafb;
}

.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.step-card {
    flex: 1;
    max-width: 300px;
    text-align: center;
    padding: 0 24px;
}

.step-num {
    width: 52px;
    height: 52px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.step-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 10px;
}

.step-card p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    line-height: 1.65;
}

.step-divider {
    flex-shrink: 0;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 14px;
    color: #d1d5db;
}

.step-divider svg {
    width: 24px;
    height: 24px;
}

/* ======================================
   Testimonials Section
   ====================================== */

section#hp-testimonials {
    padding: 80px 0;
    background: #fff;
}

.test-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.test-card {
    padding: 30px 28px;
    background: #f9fafb;
    border: 1px solid #f3f4f6;
    border-radius: 14px;
    transition: all 0.3s ease;
}

.test-card:hover {
    border-color: #e5e7eb;
    box-shadow: 0 6px 24px rgba(3, 7, 18, 0.05);
}

.test-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 16px;
    color: #facc15;
}

.test-stars svg {
    width: 16px;
    height: 16px;
}

.test-card blockquote {
    font-size: 14px;
    color: #374151;
    line-height: 1.7;
    margin: 0 0 20px;
    padding: 0;
    border: none;
    font-style: normal;
}

.test-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.test-avatar {
    width: 38px;
    height: 38px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
}

.test-author strong {
    display: block;
    font-size: 14px;
    color: #111827;
    font-weight: 600;
    line-height: 1.3;
}

.test-author span {
    display: block;
    font-size: 12px;
    color: #9ca3af;
}

/* ======================================
   FAQ Section
   ====================================== */

section#hp-faq {
    padding: 80px 0;
    background: #f9fafb;
}

.faq-list {
    max-width: 740px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    margin-bottom: 12px;
    transition: all 0.25s ease;
    overflow: hidden;
}

.faq-item:hover {
    border-color: #d1d5db;
}

.faq-item[open] {
    border-color: var(--primary);
    box-shadow: 0 2px 12px rgba(3, 7, 18, 0.05);
}

.faq-item summary {
    padding: 18px 24px;
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 20px;
    font-weight: 300;
    color: #9ca3af;
    flex-shrink: 0;
    margin-left: 16px;
    transition: transform 0.25s ease;
}

.faq-item[open] summary::after {
    content: '\2212';
    color: var(--primary);
}

.faq-item[open] summary {
    color: var(--primary);
}

.faq-answer {
    padding: 0 24px 20px;
    font-size: 14px;
    color: #6b7280;
    line-height: 1.7;
}

/* ======================================
   Final CTA Section — Card Style
   ====================================== */

section#hp-cta {
    padding: 80px 0 90px;
    background: #f3f4f6;
}

.cta-card {
    position: relative;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 60px 48px;
    background: var(--primary);
    border-radius: 20px;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 111, 143, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cta-badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 22px;
    letter-spacing: 0.02em;
}

.cta-card h2 {
    font-size: 30px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 14px;
    letter-spacing: -0.01em;
    position: relative;
}

.cta-card p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.55);
    margin: 0 auto 34px;
    line-height: 1.7;
    max-width: 480px;
    position: relative;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    position: relative;
}

.cta-btn-main {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    background: #fff;
    color: var(--primary);
    border: none;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.cta-btn-main:hover,
.cta-btn-main:focus {
    background: #f3f4f6;
    color: var(--primary);
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.15);
}

.cta-btn-main span {
    transition: transform 0.25s ease;
}

.cta-btn-main:hover span {
    transform: translateX(4px);
}

.cta-btn-ghost {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 500;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.cta-btn-ghost:hover,
.cta-btn-ghost:focus {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    text-decoration: none;
    border-color: rgba(255, 255, 255, 0.3);
}

/* ======================================
   Responsive — New Sections
   ====================================== */

@media (max-width: 992px) {
    .feat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;
    }
    .stat-item:not(:last-child)::after {
        display: none;
    }
    .stat-number {
        font-size: 30px;
    }
    .steps-grid {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    .step-divider {
        transform: rotate(90deg);
        padding-top: 0;
    }
    .test-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
    }
    .hp-section-header h2 {
        font-size: 26px;
    }
    section#hp-features,
    section#hp-steps,
    section#hp-testimonials,
    section#hp-faq {
        padding: 60px 0;
    }
    section#hp-cta {
        padding: 60px 0 70px;
    }
    .cta-card h2 {
        font-size: 24px;
    }
}

@media (max-width: 575px) {
    .feat-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 0;
    }
    section#hp-features,
    section#hp-steps,
    section#hp-testimonials,
    section#hp-faq {
        padding: 48px 15px;
    }
    section#hp-stats {
        padding: 40px 15px;
    }
    section#hp-cta {
        padding: 48px 15px;
    }
    .cta-card h2 {
        font-size: 22px;
    }
    .cta-card p {
        font-size: 14px;
    }
    .cta-card {
        padding: 40px 24px;
        border-radius: 16px;
    }
    .faq-item summary {
        font-size: 14px;
        padding: 16px 18px;
    }
    .faq-answer {
        padding: 0 18px 16px;
        font-size: 13px;
    }
}

/* ======================================
   Game Cards Section
   ====================================== */

section#game-cards {
    padding: 70px 0 80px;
    background: #f9fafb;
}

.gc-header {
    text-align: center;
    margin-bottom: 48px;
}

.gc-title {
    font-size: 30px;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 10px;
    letter-spacing: -0.01em;
}

.gc-subtitle {
    font-size: 16px;
    color: #6b7280;
    margin: 0;
    font-weight: 400;
}

.gc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.gc-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 22px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    text-decoration: none;
    color: var(--primary);
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.gc-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--primary);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.3s ease;
}

.gc-card:hover {
    text-decoration: none;
    color: var(--primary);
    border-color: #d1d5db;
    box-shadow: 0 4px 16px rgba(3, 7, 18, 0.08);
    transform: translateY(-2px);
}

.gc-card:hover::before {
    transform: scaleY(1);
}

.gc-card:focus {
    text-decoration: none;
    color: var(--primary);
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.gc-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: #f3f4f6;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.gc-card:hover .gc-icon {
    background: var(--primary);
    color: #fff;
}

.gc-icon svg {
    width: 22px;
    height: 22px;
}

.gc-info {
    flex: 1;
    min-width: 0;
}

.gc-info h3 {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 3px;
    color: #111827;
    line-height: 1.3;
}

.gc-info p {
    font-size: 12.5px;
    color: #9ca3af;
    margin: 0;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gc-arrow {
    flex-shrink: 0;
    font-size: 18px;
    color: #d1d5db;
    transition: all 0.25s ease;
    margin-left: auto;
}

.gc-card:hover .gc-arrow {
    color: var(--primary);
    transform: translateX(3px);
}

.gc-footer {
    text-align: center;
    margin-top: 36px;
}

.gc-view-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 500;
    color: var(--primary);
    text-decoration: none;
    padding: 10px 28px;
    border: 2px solid var(--primary);
    border-radius: 8px;
    transition: all 0.25s ease;
}

.gc-view-all:hover,
.gc-view-all:focus {
    background: var(--primary);
    color: #fff;
    text-decoration: none;
}

.gc-view-all span {
    transition: transform 0.25s ease;
}

.gc-view-all:hover span {
    transform: translateX(4px);
}

/* Responsive — Game Cards */
@media (max-width: 1200px) {
    .gc-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    section#game-cards {
        padding: 50px 0 60px;
    }
    .gc-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gc-title {
        font-size: 26px;
    }
    .gc-header {
        margin-bottom: 36px;
    }
}

@media (max-width: 575px) {
    section#game-cards {
        padding: 40px 15px 48px;
    }
    .gc-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .gc-card {
        padding: 16px 18px;
    }
    .gc-title {
        font-size: 22px;
    }
}

/* ======================================
   Client Area — Modern Redesign
   ====================================== */

/* Page header / breadcrumb area */
.page-header-container .page-header h1 {
    font-weight: 600;
    color: #111827;
    font-size: 28px;
    letter-spacing: -0.01em;
}

.breadcrumb {
    background: transparent;
    padding: 8px 0;
    margin: 0;
    font-size: 13px;
}

.breadcrumb > li + li::before {
    color: #d1d5db;
    content: "/";
}

.breadcrumb a {
    color: #6b7280;
}

.breadcrumb > .active {
    color: var(--primary);
    font-weight: 500;
}

/* ---- Stat Tiles — Individual Cards ---- */
.tiles {
    margin: 0 0 28px 0 !important;
    border-radius: 0 !important;
    overflow: visible !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

.tiles .row {
    display: flex;
    flex-wrap: wrap;
}

.tiles .tile {
    background: transparent !important;
    border: none !important;
    border-right: none !important;
    border-radius: 0 !important;
    padding: 0 15px !important;
    margin: 0 0 12px 0 !important;
    box-shadow: none !important;
    cursor: pointer;
    position: relative;
    overflow: visible;
}

.tiles .tile a {
    display: block;
    text-decoration: none !important;
    color: inherit !important;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 22px 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: all 0.25s ease;
}

.tiles .tile a:hover {
    box-shadow: 0 6px 20px rgba(3,7,18,0.08);
    transform: translateY(-2px);
}

.tiles .tile:last-child {
    border-right: none !important;
}

.tile .icon {
    font-size: 32px !important;
    color: var(--primary) !important;
    opacity: 0.12;
    top: 16px !important;
    right: 18px !important;
}

.tile .stat {
    font-size: 30px !important;
    font-weight: 700;
    color: var(--primary);
    margin-top: 10px !important;
    line-height: 1.1;
}

.tile .title {
    font-size: 11px !important;
    font-weight: 600;
    color: #6b7280 !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 4px;
}

.tiles .tile .highlight {
    height: 3px !important;
    border-radius: 3px !important;
    margin-top: 12px !important;
}

/* Modern tile highlight colors */
.tiles .tile .highlight.bg-color-blue { background: #3b82f6 !important; }
.tiles .tile .highlight.bg-color-green { background: #10b981 !important; }
.tiles .tile .highlight.bg-color-red { background: #ef4444 !important; }
.tiles .tile .highlight.bg-color-gold { background: #f59e0b !important; }

/* Responsive tiles */
@media (max-width: 767px) {
    .tiles .tile {
        margin: 0 10px 10px 10px !important;
        border-right: 1px solid #e5e7eb !important;
    }
}

/* ---- Client Home Panels Layout ---- */
.client-home-panels > .row {
    margin-left: -10px;
    margin-right: -10px;
}
.client-home-panels > .row > [class*="col-"] {
    padding-left: 10px;
    padding-right: 10px;
}

/* ---- KB Search Bar (hidden) ---- */
.home-kb-search,
form[action="clientarea.php?action=kbsearch"] {
    display: none !important;
}

/* ---- Client Home Panels ---- */
.client-home-panels .panel {
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    margin-bottom: 20px;
    transition: box-shadow 0.25s ease;
}

.client-home-panels .panel:hover {
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

/* Remove ugly colored top borders, replace with subtle left accent */
.client-home-panels .panel[class*="panel-accent-"] {
    border-top: none !important;
    border-left: 3px solid var(--primary) !important;
}

.client-home-panels .panel.panel-accent-gold {
    border-left-color: #f59e0b !important;
}
.client-home-panels .panel.panel-accent-green {
    border-left-color: #10b981 !important;
}
.client-home-panels .panel.panel-accent-red {
    border-left-color: #ef4444 !important;
}
.client-home-panels .panel.panel-accent-blue {
    border-left-color: #3b82f6 !important;
}
.client-home-panels .panel.panel-accent-orange {
    border-left-color: #f97316 !important;
}
.client-home-panels .panel.panel-accent-purple {
    border-left-color: #8b5cf6 !important;
}
.client-home-panels .panel.panel-accent-teal {
    border-left-color: #14b8a6 !important;
}
.client-home-panels .panel.panel-accent-lime {
    border-left-color: #84cc16 !important;
}

.client-home-panels .panel > .panel-heading {
    background: #fff !important;
    padding: 16px 20px !important;
    border-bottom: 1px solid #f3f4f6 !important;
}

.client-home-panels .panel > .panel-heading .panel-title {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    margin: 0;
}

/* Icon — always first in visual order */
.client-home-panels .panel > .panel-heading .panel-title > i {
    margin-right: 8px;
    color: #6b7280;
    font-size: 16px;
    flex-shrink: 0;
    order: -1;
}

/* Badge after the title text */
.client-home-panels .panel > .panel-heading .panel-title > .badge {
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    padding: 3px 8px;
    border-radius: 10px;
    margin-left: 8px;
    order: 1;
}

/* The button container — always push to the right end */
.client-home-panels .panel > .panel-heading .panel-title > .pull-right {
    float: none !important;
    margin-left: auto;
    flex-shrink: 0;
    order: 99;
}

.client-home-panels .panel > .panel-heading .panel-title .btn {
    font-size: 12px;
    padding: 5px 14px;
    border-radius: 6px;
    font-weight: 500;
    border: 1px solid #e5e7eb !important;
    color: #4b5563 !important;
    background: #f9fafb !important;
    transition: all 0.2s;
    white-space: nowrap;
}

.client-home-panels .panel > .panel-heading .panel-title .btn:hover {
    background: var(--primary) !important;
    color: #fff !important;
    border-color: var(--primary) !important;
}

.client-home-panels .panel > .panel-body {
    padding: 0 !important;
}

.client-home-panels .panel > .panel-body p {
    padding: 16px 20px !important;
    margin: 0;
    font-size: 13.5px;
    color: #6b7280;
    line-height: 1.6;
}

.client-home-panels .panel > .panel-footer {
    background: #f9fafb !important;
    border-top: 1px solid #f3f4f6 !important;
    padding: 10px 20px;
    font-size: 13px;
}

.client-home-panels .panel > .panel-footer a {
    color: #6b7280;
    font-weight: 500;
}

.client-home-panels .panel > .panel-footer a:hover {
    color: var(--primary);
}

.client-home-panels .panel > .list-group {
    border-top: none !important;
    border-bottom: none !important;
    max-height: 240px;
    overflow-y: auto;
    margin-bottom: 0;
}

.client-home-panels .panel > .list-group .list-group-item {
    border-color: #f3f4f6;
    border-left: none;
    border-right: none;
    padding: 12px 20px;
    font-size: 13.5px;
    color: #374151;
    display: flex;
    align-items: center;
    transition: all 0.15s ease;
}

.client-home-panels .panel > .list-group .list-group-item:first-child {
    border-top: none;
}

.client-home-panels .panel > .list-group .list-group-item i {
    color: #9ca3af;
    margin-right: 10px;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.client-home-panels .panel > .list-group .list-group-item .badge {
    margin-left: auto;
    background: #f3f4f6;
    color: #6b7280;
    font-size: 11px;
    font-weight: 500;
    border-radius: 8px;
    padding: 3px 8px;
}

.client-home-panels .panel > .list-group .list-group-item:hover {
    background: #f9fafb;
    color: var(--primary);
    text-decoration: none;
}

.client-home-panels .panel > .list-group .list-group-item:hover i {
    color: var(--primary);
}

/* ---- General Panels (all pages) ---- */
.panel {
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.panel-default > .panel-heading {
    background: #f9fafb;
    border-bottom: 1px solid #f3f4f6;
    border-radius: 10px 10px 0 0;
    font-weight: 600;
    color: #111827;
}

/* Override bg-color classes on panel buttons — keep them neutral */
.client-home-panels .panel-heading .btn.bg-color-blue,
.client-home-panels .panel-heading .btn.bg-color-green,
.client-home-panels .panel-heading .btn.bg-color-red,
.client-home-panels .panel-heading .btn.bg-color-gold,
.client-home-panels .panel-heading .btn.bg-color-orange,
.client-home-panels .panel-heading .btn.bg-color-purple,
.client-home-panels .panel-heading .btn.bg-color-teal,
.client-home-panels .panel-heading .btn.bg-color-lime {
    background: #f9fafb !important;
    color: #4b5563 !important;
    border: 1px solid #e5e7eb !important;
}

.client-home-panels .panel-heading .btn.bg-color-blue:hover,
.client-home-panels .panel-heading .btn.bg-color-green:hover,
.client-home-panels .panel-heading .btn.bg-color-red:hover,
.client-home-panels .panel-heading .btn.bg-color-gold:hover,
.client-home-panels .panel-heading .btn.bg-color-orange:hover,
.client-home-panels .panel-heading .btn.bg-color-purple:hover,
.client-home-panels .panel-heading .btn.bg-color-teal:hover,
.client-home-panels .panel-heading .btn.bg-color-lime:hover {
    background: var(--primary) !important;
    color: #fff !important;
    border-color: var(--primary) !important;
}

/* Modern bg-color overrides */
.bg-color-blue { background-color: #3b82f6 !important; }
.bg-color-green { background-color: #10b981 !important; }
.bg-color-red { background-color: #ef4444 !important; }
.bg-color-gold { background-color: #f59e0b !important; }
.bg-color-orange { background-color: #f97316 !important; }
.bg-color-purple { background-color: #8b5cf6 !important; }
.bg-color-teal { background-color: #14b8a6 !important; }
.bg-color-lime { background-color: #84cc16 !important; }

/* Revert for tile highlights (let them use bg-color) */
.tiles .tile .highlight.bg-color-blue,
.tiles .tile .highlight.bg-color-green,
.tiles .tile .highlight.bg-color-red,
.tiles .tile .highlight.bg-color-gold {
    /* The highlight-specific overrides above handle these */
}

/* ---- Buttons ---- */
.btn {
    border-radius: 8px;
    font-weight: 500;
    font-size: 13.5px;
    padding: 8px 18px;
    transition: all 0.2s ease;
}

.btn-primary {
    box-shadow: 0 1px 3px rgba(3, 7, 18, 0.15);
}

.btn-primary:hover {
    box-shadow: 0 4px 12px rgba(3, 7, 18, 0.2);
    transform: translateY(-1px);
}

.btn-success {
    background: #10b981;
    border-color: #10b981;
    border-radius: 8px;
}

.btn-success:hover {
    background: #059669;
    border-color: #059669;
}

.btn-danger {
    background: #ef4444;
    border-color: #ef4444;
    border-radius: 8px;
}

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

.btn-info {
    background: #3b82f6;
    border-color: #3b82f6;
    border-radius: 8px;
    color: #fff;
}

.btn-info:hover {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}

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

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

/* ---- Form Controls ---- */
.form-control {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 9px 14px;
    font-size: 13.5px;
    color: #374151;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(3, 7, 18, 0.08);
}

/* ---- Tables ---- */
.table {
    border-radius: 10px;
    overflow: hidden;
}

.table > thead > tr > th {
    background: #f9fafb;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6b7280;
    border-bottom: 1px solid #e5e7eb !important;
    padding: 12px 16px;
}

.table > tbody > tr > td {
    padding: 12px 16px;
    font-size: 13.5px;
    color: #374151;
    border-top: 1px solid #f3f4f6;
    vertical-align: middle;
}

.table > tbody > tr:hover > td {
    background: #f9fafb;
}

.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: #fafbfc;
}

/* ---- Labels / Badges ---- */
.label {
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    letter-spacing: 0.02em;
}

.label-success {
    background: #dcfce7;
    color: #166534;
}

.label-danger {
    background: #fee2e2;
    color: #991b1b;
}

.label-warning {
    background: #fef3c7;
    color: #92400e;
}

.label-info {
    background: #dbeafe;
    color: #1e40af;
}

.label-default {
    background: #f3f4f6;
    color: #4b5563;
}

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

/* ---- Alerts ---- */
.alert {
    border-radius: 10px;
    border: 1px solid;
    font-size: 13.5px;
}

.alert-success {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #166534;
}

.alert-danger {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

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

.alert-info {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1e40af;
}

/* ---- Main Body Section ---- */
section#main-body {
    background: #f9fafb;
}

/* ---- Modals ---- */
.modal-content {
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.modal-header {
    border-bottom: 1px solid #f3f4f6;
    border-radius: 14px 14px 0 0;
    padding: 18px 24px;
}

.modal-header .modal-title {
    font-weight: 600;
    font-size: 16px;
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    border-top: 1px solid #f3f4f6;
    padding: 14px 24px;
    border-radius: 0 0 14px 14px;
}

/* ---- Pagination ---- */
.pagination > li > a,
.pagination > li > span {
    border-radius: 8px !important;
    margin: 0 2px;
    border: 1px solid #e5e7eb;
    color: #4b5563;
    font-size: 13px;
    padding: 7px 13px;
}

.pagination > .active > a,
.pagination > .active > span {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.pagination > li > a:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
    color: var(--primary);
}

/* ---- Register Domain panel in client area ---- */
.client-home-panels #registerDomainPanel .panel-body .input-group .form-control {
    border-radius: 8px 0 0 8px;
}

.client-home-panels #registerDomainPanel .panel-body .input-group-btn input {
    border-radius: 0;
}

.client-home-panels #registerDomainPanel .panel-body .input-group-btn input:last-child {
    border-radius: 0 8px 8px 0;
}

/* ======================================
   Sidebar — Modern Redesign
   ====================================== */

/* Sidebar container spacing */
.sidebar {
    padding-top: 4px;
}

/* Panel card */
.panel-sidebar {
    border: 1px solid #e5e7eb !important;
    border-radius: 14px !important;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    margin-bottom: 20px !important;
    font-size: 14px;
    background: #fff;
    transition: box-shadow 0.25s ease;
}

.panel-sidebar:hover {
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

/* Panel heading */
.panel-sidebar > .panel-heading {
    background: #fff !important;
    border-bottom: 1px solid #f3f4f6 !important;
    padding: 16px 20px !important;
}

.panel-sidebar .panel-title {
    font-size: 14px !important;
    font-weight: 600 !important;
    font-family: 'Poppins', sans-serif !important;
    color: #111827 !important;
    line-height: 1.4 !important;
    display: flex;
    align-items: center;
}

.panel-sidebar .panel-title > i:first-child {
    color: #6b7280;
    font-size: 15px;
    margin-right: 8px;
    flex-shrink: 0;
}

.panel-sidebar .panel-title .badge {
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 8px;
}

/* Collapse chevron */
.panel-sidebar .panel-minimise {
    margin-top: 0 !important;
    color: #d1d5db !important;
    font-size: 12px;
    margin-left: auto;
    transition: all 0.2s ease;
}

.panel-sidebar .panel-minimise:hover {
    color: #6b7280 !important;
}

/* Panel body (Your Info section etc.) */
.panel-sidebar > .panel-body {
    padding: 18px 20px !important;
    color: #4b5563;
    font-size: 13.5px;
    line-height: 1.7;
}

.panel-sidebar > .panel-body strong,
.panel-sidebar > .panel-body b {
    color: #111827;
    font-weight: 600;
}

/* Update / action buttons inside sidebar body */
.panel-sidebar > .panel-body .btn {
    border-radius: 10px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    padding: 10px 20px !important;
    width: 100%;
    margin-top: 12px;
    transition: all 0.2s ease;
}

.panel-sidebar > .panel-body .btn-success {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.panel-sidebar > .panel-body .btn-success:hover {
    background: var(--primary-lifted) !important;
    border-color: var(--primary-lifted) !important;
    box-shadow: 0 4px 12px rgba(3,7,18,0.2);
    transform: translateY(-1px);
}

.panel-sidebar > .panel-body .btn-default {
    background: #f9fafb !important;
    border: 1px solid #e5e7eb !important;
    color: #374151 !important;
}

.panel-sidebar > .panel-body .btn-default:hover {
    background: var(--primary) !important;
    color: #fff !important;
    border-color: var(--primary) !important;
}

/* List group items (Shortcuts, menu links) */
.panel-sidebar .list-group {
    margin-bottom: 0;
}

.panel-sidebar .list-group-item {
    border-color: #f3f4f6 !important;
    border-left: none !important;
    border-right: none !important;
    padding: 12px 20px !important;
    font-size: 13.5px;
    color: #374151;
    line-height: 1.5 !important;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    word-wrap: break-word;
}

.panel-sidebar .list-group-item:first-child {
    border-top: none !important;
}

.panel-sidebar .list-group-item:last-child {
    border-bottom: none !important;
}

/* Icons float right in sidebar — restyle them */
.panel-sidebar .list-group-item i:not(.fa-circle):not(.fa-dot-circle):not(.no-transform) {
    float: none !important;
    order: 99;
    margin-left: auto;
    color: #d1d5db !important;
    font-size: 14px !important;
    line-height: inherit !important;
    transition: color 0.15s ease;
}

.panel-sidebar .list-group-item .sidebar-menu-item-icon {
    float: none !important;
    order: 99;
    margin-left: auto;
}

.panel-sidebar a.list-group-item:hover {
    background: #f9fafb !important;
    color: var(--primary) !important;
    text-decoration: none;
}

.panel-sidebar a.list-group-item:hover i.fas,
.panel-sidebar a.list-group-item:hover i.far {
    color: var(--primary) !important;
}

/* Active state */
.panel-sidebar a.list-group-item.active,
.panel-sidebar a.list-group-item.active:focus,
.panel-sidebar a.list-group-item.active:hover {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
    font-weight: 500;
}

.panel-sidebar a.list-group-item.active i,
.panel-sidebar a.list-group-item.active:focus i,
.panel-sidebar a.list-group-item.active:hover i {
    color: rgba(255,255,255,0.7) !important;
}

/* Badges inside list items */
.panel-sidebar .list-group-item .badge {
    background: #f3f4f6;
    color: #6b7280;
    font-size: 11px;
    font-weight: 500;
    border-radius: 8px;
    padding: 3px 8px;
    margin-right: 6px;
    float: none !important;
}

.panel-sidebar a.list-group-item.active .badge {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

/* Panel footer */
.panel-sidebar > .panel-footer {
    background: #f9fafb !important;
    border-top: 1px solid #f3f4f6 !important;
    padding: 12px 20px !important;
    font-size: 13px;
    color: #6b7280;
}

.panel-sidebar > .panel-footer a {
    color: #6b7280;
    font-weight: 500;
}

.panel-sidebar > .panel-footer a:hover {
    color: var(--primary);
}

/* Filter buttons variant */
.panel-sidebar.view-filter-btns .list-group-item.active,
.panel-sidebar.view-filter-btns .list-group-item.active:focus,
.panel-sidebar.view-filter-btns .list-group-item.active:hover {
    background: #f3f4f6 !important;
    border-color: #f3f4f6 !important;
    color: var(--primary) !important;
}

/* Sidebar panel body text links */
.panel-sidebar > .panel-body a:not(.btn) {
    color: var(--primary);
    font-weight: 500;
}

.panel-sidebar > .panel-body a:not(.btn):hover {
    color: #1f2937;
    text-decoration: underline;
}
