:root {
    --twentysix-primary: #00d4ff;
    --twentysix-primary-hover: #00b8e6;
    --twentysix-secondary: #a855f7;
    --twentysix-accent: #c026d3;
    --twentysix-light: #f8fafc;
    --twentysix-dark: #0f0a1a;
    --twentysix-gray: #64748b;
    --twentysix-border: rgba(168, 85, 247, 0.15);
    --twentysix-topbar-bg: linear-gradient(135deg, #1a1a2e 0%, #252542 25%, #1e1e38 50%, #252542 75%, #1a1a2e 100%);
    --twentysix-navbar-bg: linear-gradient(135deg, #2d2b55 0%, #3d3a6d 50%, #2d2b55 100%);
    --twentysix-shadow: 0 4px 30px rgba(0, 212, 255, 0.15);
    --twentysix-gradient: linear-gradient(135deg, #2563eb 0%, #7c3aed 50%, #a855f7 100%);
    --twentysix-text-light: #e2e8f0;
}

/* ===== GLOBAL CONTAINER WIDTH (95% on desktop, exclude homepage) ===== */
body:not(.homepage) .container,
body:not(.homepage) .container-sm,
body:not(.homepage) .container-md,
body:not(.homepage) .container-lg,
body:not(.homepage) .container-xl {
    max-width: 95% !important;
    width: 95% !important;
}

/* Keep mobile responsive (reset to auto below 576px) */
@media (max-width: 575.98px) {
    body:not(.homepage) .container,
    body:not(.homepage) .container-sm,
    body:not(.homepage) .container-md,
    body:not(.homepage) .container-lg,
    body:not(.homepage) .container-xl {
        max-width: 100% !important;
        width: 100% !important;
    }
}


/* ===== HEADER ===== */
.site-header {
    position: fixed !important;
    top: 0;
    left: 0;
    z-index: 1030;
    width: 100%;
    transition: transform 0.3s ease;
}

/* Hide topbar on scroll */
.site-header.scrolled .header-topbar {
    display: none;
    pointer-events: none;
}

/* Add padding to body to compensate for fixed header */
body {
    padding-top: 110px;
}

body.homepage {
    padding-top: 110px;
}

body.scrolled {
    padding-top: 55px;
}

/* === TOP BAR - COMPACT === */
.header-topbar {
    background: var(--twentysix-topbar-bg);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--twentysix-border);
}

.topbar-inner {
    min-height: 50px;
    display: flex;
    align-items: center;
}

.header-topbar .navbar-brand {
    padding: 0;
    display: flex;
    align-items: center;
}

.header-topbar .logo-img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.3));
    transition: all 0.3s ease;
}

.header-topbar .logo-img:hover {
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.5));
    transform: scale(1.02);
}

.header-topbar .brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--twentysix-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Topbar Action Icons */
.topbar-actions {
    gap: 1.25rem;
}

.action-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--twentysix-text-light);
    font-size: 1.15rem;
    text-decoration: none;
    position: relative;
    transition: all 0.25s ease;
    border-radius: 50%;
}

.action-icon:hover {
    color: var(--twentysix-primary);
    transform: translateY(-2px);
    text-shadow: 0 0 15px var(--twentysix-primary);
}

.action-icon.action-register {
    background: rgba(0, 212, 255, 0.15);
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.action-icon.action-register:hover {
    background: var(--twentysix-primary);
    color: #fff;
    border-color: var(--twentysix-primary);
}

.action-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    background: var(--twentysix-accent);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* === MAIN NAVBAR - TALLER & MODERN === */
.main-navbar {
    background: var(--twentysix-navbar-bg);
    padding: 0;
    margin-bottom: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 1030;
}

.main-navbar .navbar-collapse {
    justify-content: center;
}

/* Main Navigation */
.main-navbar .main-nav {
    gap: 0;
}

.main-navbar .main-nav .nav-item {
    position: relative;
}

.main-navbar .main-nav .nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    padding: 1.1rem 1.35rem;
    border-radius: 0;
    transition: all 0.2s ease;
    position: relative;
    display: flex;
    align-items: center;
    text-transform: capitalize;
    letter-spacing: 0.3px;
}

.main-navbar .main-nav .nav-link i {
    font-size: 0.95rem;
    opacity: 0.8;
}

.main-navbar .main-nav .nav-link span {
    position: relative;
}

/* Animated Underline */
.main-navbar .main-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--twentysix-gradient);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
    border-radius: 3px 3px 0 0;
}

.main-navbar .main-nav .nav-link:hover::before,
.main-navbar .main-nav .nav-item:hover > .nav-link::before,
.main-navbar .main-nav .nav-link.active::before {
    width: calc(100% - 1rem);
}

.main-navbar .main-nav .nav-link:hover,
.main-navbar .main-nav .nav-link:focus,
.main-navbar .main-nav .nav-item:hover > .nav-link {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.main-navbar .main-nav .nav-link:hover i,
.main-navbar .main-nav .nav-item:hover > .nav-link i {
    opacity: 1;
}

/* Dropdown on Hover */
.main-navbar .main-nav .nav-item.dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
    animation: fadeInDown 0.2s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dropdown Caret */
.main-navbar .main-nav .dropdown-toggle::after {
    margin-left: 0.5rem;
    opacity: 0.7;
    transition: transform 0.2s ease;
}

.main-navbar .main-nav .nav-item.dropdown:hover > .dropdown-toggle::after {
    transform: rotate(180deg);
}

.site-header .dropdown-menu {
    background: rgba(15, 10, 26, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid var(--twentysix-border);
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
    padding: 0.5rem;
    min-width: 200px;
}

.site-header .dropdown-item {
    color: var(--twentysix-text-light);
    border-radius: 8px;
    padding: 0.6rem 1rem;
    font-weight: 500;
    transition: all 0.15s ease;
}

.site-header .dropdown-item:hover {
    background: rgba(0, 212, 255, 0.15);
    color: var(--twentysix-primary);
}

/* Account Dropdown */
.account-dropdown .dropdown-menu {
    min-width: 240px;
    padding: 0.75rem;
}

.account-dropdown .dropdown-header {
    padding: 0.5rem 0.75rem 0.75rem;
    color: #fff;
}

.account-dropdown .dropdown-header small {
    color: var(--twentysix-gray);
}

.account-dropdown .dropdown-divider {
    border-color: var(--twentysix-border);
    margin: 0.5rem 0;
}

/* Login/Register Buttons - removed, using icons now */

/* Mobile Toggler - Dark Theme */
.site-header .navbar-toggler {
    color: var(--twentysix-text-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
}

.site-header .navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.3);
}

/* Search Modal */
#searchModal .modal-content {
    border: none;
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    background: rgba(15, 10, 26, 0.98);
    backdrop-filter: blur(20px);
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.5rem 0.5rem 0.5rem 1.25rem;
}

.search-input-wrapper i {
    color: var(--twentysix-primary);
    font-size: 1.1rem;
}

.search-input-wrapper input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 1.1rem;
    padding: 0.5rem;
    color: var(--twentysix-text-light);
}

.search-input-wrapper input::placeholder {
    color: var(--twentysix-gray);
}

.search-input-wrapper input:focus {
    outline: none;
    box-shadow: none;
}

.search-input-wrapper .btn {
    border-radius: 8px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    background: var(--twentysix-gradient);
    border: none;
    color: #fff;
}

/* Mobile Styles */
@media (max-width: 991.98px) {
    .header-topbar {
        padding: 0.4rem 0;
    }
    
    .header-topbar .logo-img {
        height: 35px;
    }
    
    .topbar-actions {
        gap: 1rem;
    }
    
    .action-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .main-navbar {
        padding: 0;
    }
    
    .main-navbar .navbar-toggler {
        color: var(--twentysix-text-light);
        border: 1px solid rgba(255, 255, 255, 0.2);
        padding: 0.5rem 1rem;
        border-radius: 8px;
        font-size: 0.9rem;
        margin: 0.5rem auto;
    }
    
    .main-navbar .navbar-collapse {
        background: rgba(15, 10, 26, 0.98);
        backdrop-filter: blur(20px);
        border-radius: 12px;
        margin-top: 0.5rem;
        padding: 1rem;
        border: 1px solid var(--twentysix-border);
    }
    
    .main-navbar .main-nav {
        flex-direction: column;
        gap: 0;
    }
    
    .main-navbar .main-nav .nav-link {
        padding: 0.75rem 1rem;
        border-radius: 8px;
    }
    
    .main-navbar .main-nav .nav-link::before {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .topbar-actions {
        gap: 0.75rem;
    }
    
    .header-topbar .logo-img {
        height: 32px;
    }
}

/* Notification List */
.notification-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 300px;
}

.notification-list li a {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 8px;
    text-decoration: none;
    color: var(--twentysix-secondary);
    transition: background 0.15s ease;
}

.notification-list li a:hover {
    background: var(--twentysix-light);
}

.notification-list li a i {
    margin-top: 2px;
}

/* Modern Breadcrumb */
.master-breadcrumb {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.03) 0%, rgba(99, 102, 241, 0.02) 100%);
    padding: 0.85rem 0;
    margin-top: 12px;
    border-bottom: 1px solid rgba(139, 92, 246, 0.08);
    position: relative;
}

.master-breadcrumb::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.15), rgba(99, 102, 241, 0.15), transparent);
}

.breadcrumb-modern {
    display: flex;
    align-items: center;
}

.master-breadcrumb .breadcrumb {
    margin: 0;
    padding: 0;
    background: transparent;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    list-style: none;
}

.master-breadcrumb .breadcrumb-item {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    color: #64748b;
}

.master-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    display: none;
}

.master-breadcrumb .breadcrumb-item i.fa-house {
    font-size: 0.9rem;
    margin-right: 0.5rem;
    color: #8b5cf6;
    --fa-primary-color: #8b5cf6;
    --fa-secondary-color: #a78bfa;
}

.master-breadcrumb .breadcrumb-item a {
    color: #475569;
    text-decoration: none;
    transition: all 0.25s ease;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-weight: 500;
}

.master-breadcrumb .breadcrumb-item a:hover {
    color: #8b5cf6;
    background: rgba(139, 92, 246, 0.08);
}

.breadcrumb-separator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0.35rem;
    color: #cbd5e1;
    font-size: 0.6rem;
}

.breadcrumb-separator i {
    transition: transform 0.2s ease;
}

.breadcrumb-item:hover .breadcrumb-separator i {
    transform: translateX(2px);
}

.breadcrumb-current {
    padding: 0.3rem 0.75rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(99, 102, 241, 0.08) 100%);
    color: #7c3aed;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
    border: 1px solid rgba(139, 92, 246, 0.15);
}

/* ===== HERO SEARCH V2 ===== */
.hero-search-v2 {
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    position: relative;
    overflow: hidden;
    padding: 3rem 0 5rem;
}

/* Background image with blue overlay */
.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(180deg, rgba(26, 26, 46, 0.85) 0%, rgba(22, 33, 62, 0.8) 50%, rgba(15, 52, 96, 0.75) 100%),
        url('../assets/img/2.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

/* Floating orbs */
.hero-orbs {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
}

.hero-orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.4), transparent 70%);
    top: -150px;
    left: -100px;
    animation: orbFloat1 12s ease-in-out infinite;
}

.hero-orb-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.35), transparent 70%);
    top: 50%;
    right: -100px;
    animation: orbFloat2 15s ease-in-out infinite;
}

.hero-orb-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.3), transparent 70%);
    bottom: -50px;
    left: 30%;
    animation: orbFloat3 10s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, 30px) scale(1.1); }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-40px, -20px) scale(1.15); }
}

@keyframes orbFloat3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -40px) scale(1.05); }
}

/* Content */
.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.25);
    border-radius: 999px;
    padding: 0.5rem 1.25rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--twentysix-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.hero-badge i {
    font-size: 0.9rem;
}

.hero-headline {
    margin-bottom: 1.25rem;
}

.hero-headline-top {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
}

.hero-headline-gradient {
    display: block;
    font-size: 3.25rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--twentysix-primary) 0%, #a855f7 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

/* Single line headline */
.hero-headline-single {
    font-size: 2.75rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.hero-headline-single .gradient-text {
    font-weight: 800;
    background: linear-gradient(135deg, var(--twentysix-primary) 0%, #a855f7 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Wave transition */
.hero-wave-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 0;
    overflow: hidden;
}

.hero-wave-bottom svg {
    width: 100%;
    height: 80px;
    display: block;
}

.hero-desc {
    max-width: 560px;
    margin: 0 auto 2.5rem;
    font-size: 1.1rem;
    color: rgba(226, 232, 240, 0.8);
    line-height: 1.7;
}

/* Search box */
.hero-form {
    margin-bottom: 2rem;
}

.hero-searchbox {
    max-width: 680px;
    margin: 0 auto;
}

.searchbox-inner {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 8px;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.searchbox-inner:focus-within {
    border-color: var(--twentysix-primary);
    box-shadow: 
        0 4px 30px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(0, 212, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.searchbox-icon {
    padding: 0 0.75rem 0 1rem;
    font-size: 1.25rem;
    color: var(--twentysix-primary);
}

.searchbox-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 1rem 0.75rem;
    font-size: 1.05rem;
    color: #fff;
    min-width: 0;
}

.searchbox-input::placeholder {
    color: rgba(148, 163, 184, 0.7);
}

.searchbox-input:focus {
    outline: none;
}

.searchbox-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-search,
.btn-transfer {
    border: none;
    border-radius: 12px;
    padding: 0.9rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-search {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.btn-search::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-search:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
}

.btn-search:hover::before {
    left: 100%;
}

.btn-transfer {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-transfer:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

/* TLD Cards - Compact */
.hero-tlds-grid {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.tld-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 0.6rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    backdrop-filter: blur(10px);
    transition: all 0.25s ease;
    cursor: pointer;
    min-width: 80px;
}

.tld-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-2px);
}

.tld-logo {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tld-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Hide fallback by default, show only when no logo */
.tld-logo .tld-fallback {
    display: none;
}

.tld-logo.no-logo .tld-fallback {
    display: block;
}

.tld-logo.has-logo .tld-fallback {
    display: none;
}

.tld-fallback {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--twentysix-primary), var(--twentysix-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tld-ext {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
}

.tld-price {
    font-size: 0.7rem;
    color: rgba(148, 163, 184, 0.9);
}

.hero-all-tlds {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--twentysix-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.hero-all-tlds:hover {
    color: #fff;
}

.hero-all-tlds i {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.hero-all-tlds:hover i {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 767.98px) {
    .hero-search-v2 {
        padding: 3rem 0 5rem;
    }
    
    .hero-headline-single {
        font-size: 1.75rem;
    }
    
    .hero-headline-top {
        font-size: 1.75rem;
    }
    
    .hero-headline-gradient {
        font-size: 2.25rem;
    }
    
    .hero-wave-bottom svg {
        height: 50px;
    }
    
    .hero-desc {
        font-size: 1rem;
    }
    
    .searchbox-inner {
        flex-wrap: wrap;
        padding: 12px;
        border-radius: 20px;
    }
    
    .searchbox-icon {
        display: none;
    }
    
    .searchbox-input {
        width: 100%;
        text-align: center;
        padding: 0.75rem;
    }
    
    .searchbox-actions {
        width: 100%;
        margin-top: 0.5rem;
    }
    
    .btn-search,
    .btn-transfer {
        flex: 1;
        padding: 0.85rem 1rem;
    }
    
    .hero-tlds-grid {
        gap: 0.5rem;
    }
    
    .tld-card {
        padding: 0.5rem 1rem;
    }
}

/* ===== HOMEPAGE SECTIONS ===== */

/* Remove default body padding for homepage */
body.homepage #main-body {
    padding-top: 0;
    margin-top: 0;
}

body.homepage #main-body > .container {
    max-width: 100%;
    padding: 0;
}

body.homepage #main-body > .container > .row {
    margin: 0;
}

body.homepage .primary-content {
    padding: 0;
}

.twentysix-homepage {
    padding-top: 0;
    padding-bottom: 0;
}

.home-section {
    margin-bottom: 0;
}

.section-heading {
    margin-bottom: 2.5rem;
}

.section-heading h2 {
    font-weight: 800;
    font-size: 2rem;
    margin-bottom: 0.75rem;
    letter-spacing: -0.025em;
}

.section-heading p {
    max-width: 620px;
    margin: 0 auto;
    color: var(--twentysix-gray);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Plans */
.home-plans {
    background-image: 
        linear-gradient(180deg, rgba(255, 255, 255, 0.50) 0%, rgba(241, 245, 249, 0.50) 100%),
        url('../assets/img/3.png');
    background-size: cover, cover;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
    padding: 5rem 0 4rem;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
    position: relative;
}

.home-plans .container {
    max-width: 1200px;
    padding-left: 1rem;
    padding-right: 1rem;
    position: relative;
    z-index: 2;
}

/* Plans Header */
.plans-header {
    margin-bottom: 3rem;
}

.plans-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 999px;
    padding: 0.5rem 1.25rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #7c3aed;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.plans-eyebrow i {
    font-size: 0.85rem;
    color: #2563eb;
}

.plans-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.plans-title .text-gradient {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 50%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.plans-desc {
    max-width: 560px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.7;
}

/* Plan Card V2 */
.plan-card-v2 {
    position: relative;
    padding: 2px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(148, 163, 184, 0.2) 0%, rgba(148, 163, 184, 0.05) 100%);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.plan-card-v2:hover {
    transform: translateY(-8px);
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 50%, #a855f7 100%);
}

.plan-card-v2.plan-card-featured {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 50%, #a855f7 100%);
    transform: scale(1.02);
}

.plan-card-v2.plan-card-featured:hover {
    transform: scale(1.02) translateY(-8px);
}

.plan-card-inner {
    background: #ffffff;
    border-radius: 22px;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.plan-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--plan-color, #2563eb), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.plan-card-v2:hover .plan-card-inner::before {
    opacity: 1;
}

/* Popular Badge */
.plan-popular-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.4rem 1rem;
    border-radius: 0 0 12px 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    z-index: 10;
}

.plan-popular-badge i {
    font-size: 0.7rem;
}

/* Plan V2 Header */
.plan-v2-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-top: 0.5rem;
}

.plan-card-featured .plan-v2-header {
    padding-top: 1.5rem;
}

.plan-v2-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    position: relative;
}

.plan-v2-icon svg {
    width: 72px;
    height: 72px;
}

.plan-v2-icon i {
    font-size: 4.5rem !important;
}

.plan-v2-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.35rem;
}

.plan-v2-tagline {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
}

/* Plan V2 Body */
.plan-v2-body {
    flex: 1;
}

.plan-v2-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-v2-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
    font-size: 0.95rem;
    color: #334155;
}

.plan-v2-features li:last-child {
    border-bottom: none;
}

.plan-v2-features li .check-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    min-width: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    margin-top: 1px;
}

.plan-v2-features li span:last-child {
    flex: 1;
}

/* Plan V2 Footer */
.plan-v2-footer {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(148, 163, 184, 0.15);
}

.btn-plan-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.9rem 1.5rem;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.btn-plan-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-plan-cta:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.35);
}

.btn-plan-cta:hover::before {
    left: 100%;
}

.btn-plan-cta i {
    transition: transform 0.25s ease;
}

.btn-plan-cta:hover i {
    transform: translateX(4px);
}

/* Featured card button */
.plan-card-featured .btn-plan-cta {
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
}

.plan-card-featured .btn-plan-cta:hover {
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
}

/* Responsive */
@media (max-width: 991.98px) {
    .plan-card-v2.plan-card-featured {
        transform: scale(1);
    }
    
    .plan-card-v2.plan-card-featured:hover {
        transform: translateY(-8px);
    }
    
    .plans-title {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .home-plans {
        padding: 3rem 0;
    }
    
    .plans-title {
        font-size: 1.75rem;
    }
    
    .plans-desc {
        font-size: 1rem;
    }
}

.home-stats {
    background-image: 
        linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, rgba(248, 250, 252, 0.80) 100%),
        url('../assets/img/12.jpg');
    background-size: cover, cover;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
    padding: 4rem 4%;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
}

.home-default-benefits {
    background: linear-gradient(180deg, #e8e9ff 0%, #f0f2ff 100%) !important;
    padding: 4rem 0;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
    position: relative;
    overflow: visible;
}

.home-default-benefits .benefits-inner {
    max-width: 95%;
    margin: 0 auto;
    padding: 0;
    position: relative;
    z-index: 2;
}

/* Decorative image overlapping the cards on the right */
.benefits-deco-img {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 380px;
    height: auto;
    z-index: 1;
    pointer-events: none;
    opacity: 0.9;
}

.benefits-deco-img img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

@media (max-width: 1199.98px) {
    .benefits-deco-img {
        width: 280px;
        opacity: 0.6;
    }
}

@media (max-width: 991.98px) {
    .benefits-deco-img {
        display: none;
    }
}

/* Benefits Header */
.benefits-header {
    margin-bottom: 3rem;
}

.benefits-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
    border: 1px solid rgba(236, 72, 153, 0.2);
    border-radius: 999px;
    padding: 0.5rem 1.25rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #ec4899;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.benefits-eyebrow i {
    font-size: 0.85rem;
    color: #a855f7;
}

.benefits-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.benefits-title .text-gradient {
    background: linear-gradient(135deg, #ec4899 0%, #a855f7 50%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.benefits-desc {
    max-width: 560px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.7;
}

/* Benefit Card V2 */
.benefit-card-v2 {
    background: #ffffff;
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 4px 25px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(148, 163, 184, 0.12);
    height: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.benefit-card-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--benefit-color, #2563eb), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.benefit-card-v2:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
    border-color: rgba(148, 163, 184, 0.25);
}

.benefit-card-v2:hover::before {
    opacity: 1;
}

.benefit-v2-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.benefit-v2-icon svg {
    width: 56px;
    height: auto;
    max-height: 56px;
}

.benefit-card-v2:hover .benefit-v2-icon {
    transform: scale(1.1);
}

.benefit-v2-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.benefit-v2-text {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

/* Benefits responsive */
@media (max-width: 991.98px) {
    .benefits-title {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .home-default-benefits {
        padding: 3rem 0;
    }
    
    .benefits-title {
        font-size: 1.75rem;
    }
    
    .benefits-desc {
        font-size: 1rem;
    }
    
    .benefit-v2-icon {
        width: 60px;
        height: 60px;
    }
    
    .benefit-v2-icon i {
        font-size: 1.5rem;
    }
}

.home-categories {
    background-image: 
        linear-gradient(180deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 41, 59, 0.80) 100%),
        url('../assets/img/14.jpg');
    background-size: cover, cover;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
    padding: 4rem 4%;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
    color: #fff;
}

.home-categories h2 {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.home-categories .lead {
    font-size: 1.05rem;
    color: #94a3b8;
    margin-top: 0.75rem;
    line-height: 1.7;
}

.home-categories .bullet-list {
    margin-top: 2rem;
}

.home-categories .bullet-list li {
    color: #e2e8f0;
    font-size: 1rem;
    margin-bottom: 0.85rem;
}

.home-categories .bullet-list i {
    color: var(--twentysix-primary);
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.4));
}

.home-plans .plan-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 1.75rem 1.75rem 1.5rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.10);
    border: 1px solid rgba(148, 163, 184, 0.15);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
}

.home-plans .plan-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow:
        0 32px 70px rgba(15, 23, 42, 0.22),
        0 0 0 1px rgba(59, 130, 246, 0.18);
    border-color: rgba(59, 130, 246, 0.35);
}

.home-plans .plan-card::before {
    content: '';
    position: absolute;
    inset: auto 12% -40px;
    height: 80px;
    border-radius: 999px;
    background: radial-gradient(circle at 50% 0%, rgba(148, 163, 184, 0.4), transparent 60%);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.home-plans .plan-card:hover::before {
    opacity: 1;
    transform: translateY(4px);
}

.plan-card-header {
    text-align: center;
    margin-bottom: 1.25rem;
}

.plan-icon {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.9rem;
    color: var(--twentysix-secondary);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.25);
}

.plan-icon i {
    font-size: 1.6rem;
}

.plan-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.plan-subtitle {
    font-size: 0.9rem;
    color: var(--twentysix-gray);
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.plan-features li {
    font-size: 0.9rem;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.plan-features .fa-duotone.fa-circle-check {
    --fa-secondary-color: #bbf7d0; /* light green circle */
    --fa-primary-color: #16a34a;   /* darker green check */
    --fa-secondary-opacity: 1;
    --fa-primary-opacity: 1;
    font-size: 1rem;
}

.plan-card-footer {
    margin-top: auto;
}

.plan-card .btn-primary {
    border-radius: 999px;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    border: none;
}

/* Section Badge */
.section-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(0, 212, 255, 0.15);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--twentysix-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

/* Glowing Primary Button */
.btn-primary-glow {
    display: inline-flex;
    align-items: center;
    padding: 0.85rem 1.75rem;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.4);
    transition: all 0.3s ease;
}

.btn-primary-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.55);
    color: #fff;
}

/* Solutions / Categories */

.bullet-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}

.bullet-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.55rem;
    font-size: 0.95rem;
}

.bullet-list i {
    color: var(--twentysix-primary);
}

.category-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-end;
}

.category-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1.4rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.category-pill:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.35);
    transform: translateY(-3px);
    color: #fff;
}

.category-pill .icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.15);
    color: var(--twentysix-primary);
    font-size: 1.1rem;
}

.category-pill .label {
    display: inline;
    white-space: nowrap;
}

.category-pill.active {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.4);
}

.category-pill.active .label {
    display: inline;
}

.category-pill.active .icon {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

@media (max-width: 991.98px) {
    .category-strip {
        justify-content: center;
    }
    
    .category-pill .label {
        display: none;
    }
    
    .category-pill.active .label {
        display: inline;
    }
}

/* Stats */
.home-stats .section-heading h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
}

.home-stats .section-heading p {
    color: #64748b;
    margin-bottom: 2rem;
}

.home-stats .stat-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
    border-radius: 24px;
    padding: 2rem 1.5rem;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(168, 85, 247, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.home-stats .stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00d4ff, #a855f7, #ec4899);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.home-stats .stat-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.home-stats .stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 70px rgba(124, 58, 237, 0.2);
    border-color: rgba(168, 85, 247, 0.3);
}

.home-stats .stat-card:hover::before {
    opacity: 1;
}

.home-stats .stat-card:hover::after {
    opacity: 1;
}

.home-stats .stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15) 0%, rgba(168, 85, 247, 0.15) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: var(--twentysix-secondary);
    font-size: 1.6rem;
    position: relative;
    transition: all 0.3s ease;
}

.home-stats .stat-card:hover .stat-icon {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.25) 0%, rgba(168, 85, 247, 0.25) 100%);
    transform: scale(1.1);
}

.home-stats .stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 50%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
}

.home-stats .stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.25rem;
}



/* CTA */
.home-cta {
    margin-top: 1rem;
    padding: 0 4%;
}

.home-cta-inner {
    border-radius: 28px;
    padding: 2.5rem 3rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #312e81 100%);
    color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}

.home-cta-inner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 20% 30%, rgba(0, 212, 255, 0.15) 0%, transparent 40%),
                radial-gradient(circle at 80% 70%, rgba(168, 85, 247, 0.1) 0%, transparent 40%);
    animation: ctaGlow 8s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes ctaGlow {
    0% { transform: translate(0, 0); }
    100% { transform: translate(5%, 5%); }
}

.home-cta-inner h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    position: relative;
    z-index: 1;
}

.home-cta-inner p {
    margin: 0;
    color: rgba(226, 232, 240, 0.9);
    position: relative;
    z-index: 1;
}

.home-cta-inner .btn {
    border-radius: 999px;
    position: relative;
    z-index: 1;
}

.home-cta-inner .btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    border: none;
}

.home-cta-inner .btn-outline-light {
    border-color: rgba(226, 232, 240, 0.7);
    color: #e2e8f0;
}

.home-cta-inner .btn-outline-light:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    position: relative;
    z-index: 1;
}

/* Responsive tweaks for homepage */
@media (max-width: 991.98px) {
    .twentysix-hero-domain .hero-gradient-bg {
        padding: 3rem 0 4rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .home-categories {
        padding: 2rem 1.5rem;
    }

    .home-plans,
    .home-default-benefits,
    .home-stats,
    .home-categories {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
}

@media (max-width: 767.98px) {
    .twentysix-homepage {
        padding-top: 1.5rem;
    }

    .hero-search-wrapper {
        border-radius: 24px;
    }

    .home-categories {
        padding: 1.75rem 1.25rem;
    }

    .home-cta-inner {
        padding: 1.75rem 1.5rem;
        text-align: center;
    }

    .home-cta-inner {
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.7rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .home-section {
        margin-bottom: 3rem;
    }
}

/* ===== TRUSTED LOGOS SECTION ===== */
.home-trusted {
    background: #ffffff;
    padding: 2.5rem 0;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
    border-top: 1px solid rgba(148, 163, 184, 0.15);
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
    overflow: hidden;
}

.home-trusted .section-heading {
    margin-bottom: 1.5rem;
    padding: 0 4%;
}

.trusted-label {
    font-size: 0.9rem;
    color: var(--twentysix-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Marquee wrapper */
.logo-marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.logo-marquee-wrapper::before,
.logo-marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.logo-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(90deg, #ffffff 0%, transparent 100%);
}

.logo-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(90deg, transparent 0%, #ffffff 100%);
}

.logo-marquee {
    display: flex;
    width: max-content;
    animation: marqueeScroll 30s linear infinite;
}

.logo-marquee:hover {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.logo-marquee-content {
    display: flex;
    gap: 3rem;
    padding: 0 1.5rem;
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    background: rgba(248, 250, 252, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.1);
    transition: all 0.3s ease;
    min-width: 120px;
    height: 60px;
}

.logo-item img {
    max-height: 40px;
    max-width: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.3s ease;
}

.logo-item:hover {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
    border-color: rgba(168, 85, 247, 0.2);
    transform: translateY(-3px);
}

.logo-item:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

/* ===== DATACENTER MAP SECTION ===== */
.home-datacenters {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    padding: 4rem 4%;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
    color: #fff;
}

.home-datacenters .section-heading h2 {
    color: #fff;
}

.home-datacenters .section-heading p {
    color: #94a3b8;
}

.home-datacenters .section-badge {
    background: rgba(0, 212, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.3);
    color: var(--twentysix-primary);
}

.datacenter-map {
    position: relative;
    max-width: 800px;
    margin: 0 auto 1rem;
}

#leaflet-map {
    width: 100%;
    height: 350px;
    border-radius: 0;
    border: none;
    background: transparent !important;
}

/* Make map tiles blend with section background */
#leaflet-map .leaflet-tile-pane {
    opacity: 0.4;
    filter: hue-rotate(200deg) saturate(0.6);
}

.leaflet-container {
    background: transparent !important;
    font-family: inherit !important;
}

.leaflet-pulse-icon {
    position: relative;
}

.leaflet-pulse-icon .pulse {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.3);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    animation: dcPulse 2s ease-out infinite;
}

.leaflet-pulse-icon .dot {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--twentysix-primary) 0%, #7c3aed 100%);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.7), 0 0 30px rgba(0, 212, 255, 0.4);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(255, 255, 255, 0.9);
}

@keyframes dcPulse {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}

.dc-tooltip {
    background: rgba(15, 23, 42, 0.95) !important;
    border: 1px solid rgba(0, 212, 255, 0.4) !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
    padding: 0.5rem 0.75rem !important;
    color: #fff !important;
    font-size: 0.85rem !important;
}

.dc-tooltip::before {
    border-bottom-color: rgba(0, 212, 255, 0.4) !important;
}

.leaflet-container {
    background: transparent !important;
    font-family: inherit !important;
}

.dc-feature {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    color: #e2e8f0;
    font-size: 0.9rem;
    font-weight: 500;
}

.dc-feature i {
    color: var(--twentysix-primary);
}

/* ===== FAQ SECTION ===== */
.home-faq {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    padding: 1rem 10%;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
}

.home-faq h2 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.home-faq > .row > .col-lg-4 p {
    color: var(--twentysix-gray);
    font-size: 1rem;
}

/* FAQ decorative image */
.faq-deco-img {
    max-width: 280px;
    margin-left: auto;
    margin-right: 0;
    margin-top: -50px;
}

.faq-deco-img img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

@media (max-width: 991.98px) {
    .faq-deco-img {
        display: none;
    }
}

.faq-accordion .accordion-item {
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 16px !important;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.faq-accordion .accordion-button {
    font-weight: 600;
    font-size: 1rem;
    color: #0f172a;
    padding: 1.25rem 1.5rem;
    background: #ffffff;
    box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
    color: var(--twentysix-secondary);
}

.faq-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%237c3aed'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq-accordion .accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

.faq-accordion .accordion-body {
    padding: 0 1.5rem 1.25rem;
    color: var(--twentysix-gray);
    line-height: 1.7;
}

/* Responsive for new sections */
@media (max-width: 991.98px) {
    .trusted-logos {
        gap: 2rem;
    }
    
    .logo-item {
        font-size: 2rem;
    }
    
    .home-faq h2 {
        font-size: 1.5rem;
    }
    
    #leaflet-map {
        height: 280px;
    }
}

@media (max-width: 767.98px) {
    .home-faq > .row > .col-lg-4 {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .trusted-logos {
        gap: 1.5rem;
    }
    
    .logo-item {
        font-size: 1.75rem;
    }
    
    .dc-feature {
        font-size: 0.8rem;
        padding: 0.5rem 0.9rem;
    }
    
    #leaflet-map {
        height: 220px;
    }
    
    .dc-tooltip {
        font-size: 0.75rem !important;
        padding: 0.35rem 0.5rem !important;
    }
}

/* ===== FOOTER WAVE ===== */
.footer-wave {
    position: relative;
    margin-top: -1px;
    line-height: 0;
    overflow: hidden;
}

.footer-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

@media (max-width: 767.98px) {
    .footer-wave svg {
        height: 50px;
    }
}

/* ===== MODERN FOOTER ===== */
.footer-modern {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    color: #94a3b8;
    margin-top: 0;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-main {
    padding: 4rem 0 3rem;
}

/* Brand Section */
.footer-brand {
    padding-right: 2rem;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 1.25rem;
}

.footer-logo .logo-img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #94a3b8;
    margin-bottom: 1.5rem;
}

/* Social Links */
.footer-social {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    border-color: transparent;
    color: #ffffff;
    transform: translateY(-3px);
}

/* Footer Headings */
.footer-heading {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.25rem;
    letter-spacing: 0.02em;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #94a3b8;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 0.25rem;
}

.footer-links a::before {
    content: '';
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #2563eb, #7c3aed);
    border-radius: 999px;
    transition: width 0.25s ease;
}

.footer-links a:hover::before {
    width: 12px;
}

/* Newsletter */
.footer-newsletter-text {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.newsletter-input-wrap {
    display: flex;
    gap: 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.newsletter-input-wrap:focus-within {
    border-color: rgba(37, 99, 235, 0.5);
}

.newsletter-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.75rem 1rem;
    color: #ffffff;
    font-size: 0.9rem;
    outline: none;
}

.newsletter-input::placeholder {
    color: #64748b;
}

.newsletter-btn {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    border: none;
    padding: 0.75rem 1rem;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    filter: brightness(1.1);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 0;
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom .copyright {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}

.footer-locale-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    color: #94a3b8;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.footer-locale-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.footer-locale-btn .iti-flag {
    transform: scale(0.9);
}

.footer-payments {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-payments i {
    font-size: 1.75rem;
    color: #64748b;
    transition: color 0.25s ease;
}

.footer-payments i:hover {
    color: #94a3b8;
}

/* Footer Responsive */
@media (max-width: 991.98px) {
    .footer-inner {
        padding: 0 1.5rem;
    }
    
    .footer-brand {
        padding-right: 0;
        margin-bottom: 1rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-payments {
        order: -1;
    }
}

@media (max-width: 767.98px) {
    .footer-main {
        padding: 3rem 0 2rem;
    }
    
    .footer-heading {
        margin-top: 0.5rem;
    }
    
    .footer-social {
        margin-bottom: 1.5rem;
    }
    
    .footer-payments i {
        font-size: 1.5rem;
    }
}

/* ===================================================================
   CLIENT AREA HOME - MODERN DESIGN
   =================================================================== */

/* Override container width for client home */
#main-body:has(.client-home-v2) > .container {
    max-width: 95%;
    width: 95%;
}

.client-home-v2 {
    padding-bottom: 2rem;
}

/* Welcome Header */
.client-welcome-header {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #1e1b4b 100%);
    border-radius: 20px;
    padding: 0.5rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-welcome-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2) 0%, transparent 70%);
    border-radius: 0 20px 20px 0;
}

.welcome-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.welcome-decoration {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    width: 350px;
    height: 150px;
}

.welcome-datetime {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.datetime-time {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    font-family: 'Roboto Mono', monospace;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    line-height: 1;
}

.datetime-date {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.welcome-svg {
    width: 100%;
    height: 100%;
}

.welcome-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.5rem 0;
    position: relative;
    z-index: 1;
}

.welcome-title .text-gradient {
    background: linear-gradient(135deg, #06b6d4 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.welcome-subtitle {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

.welcome-ip {
    color: rgba(255, 255, 255, 0.6);
    margin: 0.75rem 0 0 0;
    font-size: 0.85rem;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.welcome-ip i {
    color: #06b6d4;
    font-size: 0.9rem;
}

.welcome-ip .ip-address {
    font-family: 'Roboto Mono', monospace;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-weight: 500;
    color: #a5f3fc;
}

/* Stats Tiles */
.stats-tiles-v2 {
    margin-bottom: 2rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.03) 0%, rgba(59, 130, 246, 0.03) 50%, rgba(16, 185, 129, 0.03) 100%);
    padding: 1.5rem;
    border-radius: 24px;
    position: relative;
}

.stats-tiles-v2::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(59, 130, 246, 0.1) 50%, rgba(16, 185, 129, 0.15) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.stat-tile {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.85) 100%);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 1.5rem;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    box-shadow: 
        0 4px 15px rgba(0,0,0,0.05),
        inset 0 1px 0 rgba(255,255,255,0.6);
}

/* Animated gradient background */
.stat-tile::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    z-index: 0;
    transform: scale(0);
}

/* Accent line */
.stat-tile::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 0 0 20px 20px;
    transition: height 0.3s ease;
}

.stat-tile:hover {
    transform: translateY(-8px) scale(1.02);
    text-decoration: none;
}

.stat-tile:hover::before {
    opacity: 0.08;
    transform: scale(1);
}

.stat-tile:hover::after {
    height: 6px;
}

/* Tile Colors - Services (Blue) */
.stat-tile-services::before {
    background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
}
.stat-tile-services::after {
    background: linear-gradient(90deg, #3b82f6 0%, #06b6d4 100%);
}
.stat-tile-services:hover {
    box-shadow: 
        0 25px 50px rgba(59, 130, 246, 0.25),
        0 10px 20px rgba(59, 130, 246, 0.15),
        inset 0 1px 0 rgba(255,255,255,0.6);
}
.stat-tile-services .stat-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    color: #fff;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

/* Tile Colors - Domains (Green) */
.stat-tile-domains::before {
    background: radial-gradient(circle, #10b981 0%, transparent 70%);
}
.stat-tile-domains::after {
    background: linear-gradient(90deg, #10b981 0%, #34d399 100%);
}
.stat-tile-domains:hover {
    box-shadow: 
        0 25px 50px rgba(16, 185, 129, 0.25),
        0 10px 20px rgba(16, 185, 129, 0.15),
        inset 0 1px 0 rgba(255,255,255,0.6);
}
.stat-tile-domains .stat-icon {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    color: #fff;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

/* Tile Colors - Tickets (Purple) */
.stat-tile-tickets::before {
    background: radial-gradient(circle, #a855f7 0%, transparent 70%);
}
.stat-tile-tickets::after {
    background: linear-gradient(90deg, #a855f7 0%, #c084fc 100%);
}
.stat-tile-tickets:hover {
    box-shadow: 
        0 25px 50px rgba(168, 85, 247, 0.25),
        0 10px 20px rgba(168, 85, 247, 0.15),
        inset 0 1px 0 rgba(255,255,255,0.6);
}
.stat-tile-tickets .stat-icon {
    background: linear-gradient(135deg, #a855f7 0%, #c084fc 100%);
    color: #fff;
    box-shadow: 0 8px 20px rgba(168, 85, 247, 0.3);
}

/* Tile Colors - Invoices (Orange/Gold) */
.stat-tile-invoices::before {
    background: radial-gradient(circle, #f59e0b 0%, transparent 70%);
}
.stat-tile-invoices::after {
    background: linear-gradient(90deg, #f59e0b 0%, #fbbf24 100%);
}
.stat-tile-invoices:hover {
    box-shadow: 
        0 25px 50px rgba(245, 158, 11, 0.25),
        0 10px 20px rgba(245, 158, 11, 0.15),
        inset 0 1px 0 rgba(255,255,255,0.6);
}
.stat-tile-invoices .stat-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: #fff;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}

.stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.stat-tile:hover .stat-icon {
    transform: scale(1.1) rotate(-5deg);
}

.stat-icon svg {
    width: 28px;
    height: 28px;
}

.stat-icon i {
    font-size: 1.6rem;
    color: #fff !important;
    --fa-primary-color: #fff;
    --fa-secondary-color: rgba(255,255,255,0.7);
    --fa-primary-opacity: 1;
    --fa-secondary-opacity: 1;
}

/* Stat content */
.stat-content {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #1e1b4b;
    line-height: 1.1;
    margin-bottom: 0.25rem;
    background: linear-gradient(135deg, #1e1b4b 0%, #4c1d95 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* Panel Cards */
.client-home-cards-v2 {
    margin-top: 1rem;
}

.client-home-cards-v2 .row {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
}

/* Equal height cards in grid */
.client-home-cards-v2 > .row > [class*="col-"] {
    display: flex;
}

/* Addon section (Recommended for you) - full width */
.client-home-cards-v2 .addon-section {
    width: 100%;
}

.client-home-cards-v2 .col-12 .addon-section,
.client-home-cards-v2 .addon-section,
.addon-section {
    max-width: 100% !important;
    width: 100% !important;
}

/* Force row to be flex container */
.client-home-cards-v2 > .row {
    display: flex !important;
    flex-wrap: wrap !important;
}

/* Full width columns for col-12 only */
.client-home-cards-v2 > .row > .col-12 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
}

/* Home panel columns - exactly 50% - override theme.min.css width:100% */
@media (min-width: 768px) {
    .client-home-cards-v2 > .row > div.col-md-6.home-panel-col,
    .client-home-v2 .client-home-cards-v2 > .row > div.col-md-6.home-panel-col,
    div.client-home-cards-v2 > div.row > div.col-md-6.home-panel-col {
        display: flex !important;
        flex: 0 0 50% !important;
        max-width: 50% !important;
        width: 50% !important;
        position: relative !important;
    }
}

@media (max-width: 767.98px) {
    .client-home-cards-v2 > .row > .col-md-6.home-panel-col {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }
}

.client-home-cards-v2 > .row > .home-panel-col > .panel-card-v2 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 !important;
}

/* Force all panel cards to full width of their container */
.client-home-cards-v2 .panel-card-v2 {
    width: 100% !important;
    max-width: 100% !important;
}

.panel-card-v2 {
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(168, 85, 247, 0.08);
    overflow: hidden;
    margin-bottom: 0;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    width: 100%;
    display: flex;
    flex-direction: column;
}

.panel-card-v2:hover {
    box-shadow: 0 8px 24px rgba(168, 85, 247, 0.08);
    border-color: rgba(168, 85, 247, 0.15);
}

.panel-header-v2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.15rem;
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    border-bottom: none;
}

.panel-title-v2 {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
}

.panel-icon-v2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 0.95rem;
}

/* Duotone icon styling in panels */
.panel-icon-v2 i,
.panel-header-v2 i {
    --fa-primary-color: #fff;
    --fa-secondary-color: rgba(255, 255, 255, 0.5);
    --fa-secondary-opacity: 1;
}

/* Panel border top accent - all purple */
.panel-card-v2 {
    border-top: 3px solid #8b5cf6;
}

/* Action button in header - make it stand out */
.panel-header-v2 .panel-action-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.panel-header-v2 .panel-action-btn:hover {
    background: rgba(255, 255, 255, 0.35);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.panel-badge-v2 {
    background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 20px;
}

.panel-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 0.85rem;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.panel-action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(16, 185, 129, 0.25);
    color: #fff;
    text-decoration: none;
}

.panel-body-v2 {
    padding: 1rem 1.15rem;
    color: #4b5563;
    font-size: 0.875rem;
    flex: 1;
    width: 100%;
}

/* Remove padding when service items are inside */
.panel-body-v2:has(.service-item-modern) {
    padding: 0;
}

/* Ensure all wrappers are full width */
.panel-body-v2 > div,
.panel-body-v2 > .services-list,
.panel-card-v2 .panel-body-v2 {
    width: 100%;
}

.panel-list-v2 {
    border-top: 1px solid rgba(168, 85, 247, 0.05);
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.panel-list-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1.15rem;
    color: #374151;
    text-decoration: none;
    border-bottom: 1px solid rgba(168, 85, 247, 0.04);
    transition: all 0.2s ease;
    font-size: 0.875rem;
}

.panel-list-item:last-child {
    border-bottom: none;
}

.panel-list-item:hover {
    background: rgba(168, 85, 247, 0.03);
    color: #1e1b4b;
    text-decoration: none;
}

.panel-list-item.active {
    background: rgba(168, 85, 247, 0.06);
    border-left: 2px solid #a855f7;
}

.panel-list-item i {
    color: #a855f7;
    font-size: 0.9rem;
    width: 18px;
    text-align: center;
}

.panel-list-item .item-badge {
    margin-left: auto;
    background: rgba(168, 85, 247, 0.08);
    color: #a855f7;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
}

.panel-footer-v2 {
    padding: 0.7rem 1.15rem;
    background: #fafbfc;
    border-top: 1px solid rgba(168, 85, 247, 0.05);
    font-size: 0.8rem;
    color: #64748b;
}

/* Service Status Badge Override */
.panel-card-v2 .label,
.panel-card-v2 .badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    font-weight: 600;
}

.panel-card-v2 .label-success,
.panel-card-v2 .badge-success {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%) !important;
}

.panel-card-v2 .label-warning,
.panel-card-v2 .badge-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%) !important;
    color: #fff !important;
}

.panel-card-v2 .label-danger,
.panel-card-v2 .badge-danger {
    background: linear-gradient(135deg, #ef4444 0%, #f87171 100%) !important;
}

/* Button Overrides */
.panel-card-v2 .btn-default,
.panel-card-v2 .btn-secondary {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #374151;
    border-radius: 8px;
    font-size: 0.85rem;
    padding: 0.4rem 0.75rem;
    transition: all 0.2s ease;
}

.panel-card-v2 .btn-default:hover,
.panel-card-v2 .btn-secondary:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
}

.panel-card-v2 .btn-primary {
    background: linear-gradient(135deg, #a855f7 0%, #6366f1 100%);
    border: none;
    border-radius: 8px;
}

.panel-card-v2 .btn-success {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    border: none;
    border-radius: 8px;
}

/* Responsive */
@media (max-width: 991.98px) {
    .client-welcome-header {
        padding: 0.5rem;
    }
    
    .welcome-title {
        font-size: 1.5rem;
    }
    
    .welcome-decoration {
        width: 250px;
        height: 120px;
    }
}

@media (max-width: 767.98px) {
    .welcome-decoration {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .client-welcome-header {
        padding: 0.5rem;
        border-radius: 16px;
    }
    
    .welcome-title {
        font-size: 1.25rem;
    }
    
    .stat-tile {
        padding: 1.25rem 0.75rem;
        min-height: 140px;
    }
    
    .stat-icon svg {
        width: 36px;
        height: 36px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .panel-header-v2 {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .panel-action-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===================================================================
   CLIENT AREA SIDEBAR - MODERN DESIGN
   =================================================================== */

/* Fixed width sidebar (280px) on desktop */
#main-body .col-lg-4.col-xl-3,
#main-body .sidebar,
.sidebar-column {
    flex: 0 0 280px !important;
    max-width: 280px !important;
    width: 280px !important;
    margin-right: 2% !important;
}

/* Expand main content to fill remaining space */
#main-body .col-lg-4.col-xl-3 + .col-lg-8.col-xl-9,
#main-body .row > .col-lg-8.col-xl-9,
.main-content-column {
    flex: 1 !important;
    max-width: calc(100% - 280px - 3%) !important;
    padding-left: 0 !important;
}

/* Reset sidebar to full width on mobile */
@media (max-width: 991.98px) {
    #main-body .col-lg-4.col-xl-3,
    #main-body .sidebar,
    .sidebar-column {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        margin-right: 0 !important;
    }
    
    #main-body .col-lg-4.col-xl-3 + .col-lg-8.col-xl-9,
    #main-body .row > .col-lg-8.col-xl-9,
    .main-content-column {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        padding-left: 15px !important;
    }
}

/* Sidebar Container */
.sidebar {
    margin-bottom: 1.5rem;
}

/* Sidebar Card */
.card-sidebar {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(168, 85, 247, 0.1);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.card-sidebar:hover {
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.1);
    border-color: rgba(168, 85, 247, 0.2);
}

/* Sidebar Header */
.card-sidebar .card-header {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    border-bottom: none;
    padding: 1rem 1.25rem;
}

.card-sidebar .card-header .card-title {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.card-sidebar .card-header .card-title i:first-child {
    margin-right: 0.5rem;
    color: #06b6d4;
}

.card-sidebar .card-header .card-minimise {
    color: rgba(255, 255, 255, 0.6);
    transition: transform 0.3s ease;
}

.card-sidebar .card-header .badge {
    background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
    color: #fff;
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border-radius: 20px;
    font-weight: 600;
}

/* Sidebar Body */
.card-sidebar .card-body {
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
    color: #4b5563;
}

/* Sidebar List Group */
.card-sidebar .list-group {
    border-radius: 0;
}

.card-sidebar .list-group-item {
    border: none;
    border-bottom: 1px solid rgba(168, 85, 247, 0.06);
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
    color: #374151;
    background: transparent;
    transition: all 0.2s ease;
}

.card-sidebar .list-group-item:last-child {
    border-bottom: none;
}

.card-sidebar .list-group-item:hover {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.04) 0%, rgba(6, 182, 212, 0.04) 100%);
    color: #1e1b4b;
}

.card-sidebar .list-group-item.active {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    color: #1e1b4b;
    border-left: 3px solid #a855f7;
    font-weight: 600;
}

/* Sidebar Menu Item Structure */
.card-sidebar .sidebar-menu-item-wrapper {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.card-sidebar .sidebar-menu-item-icon-wrapper {
    width: 24px;
    display: flex;
    justify-content: center;
}

.card-sidebar .sidebar-menu-item-icon {
    color: #a855f7;
    font-size: 0.9rem;
}

.card-sidebar .list-group-item:hover .sidebar-menu-item-icon {
    color: #7c3aed;
}

.card-sidebar .sidebar-menu-item-label {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-sidebar .sidebar-menu-item-badge .badge {
    background: rgba(168, 85, 247, 0.1);
    color: #a855f7;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 20px;
}

/* Sidebar Footer */
.card-sidebar .card-footer {
    background: #f8fafc;
    border-top: 1px solid rgba(168, 85, 247, 0.08);
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
}

/* Sidebar Buttons */
.card-sidebar .btn {
    font-size: 0.8rem;
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
}

.card-sidebar .btn-success {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    border: none;
}

.card-sidebar .btn-primary {
    background: linear-gradient(135deg, #a855f7 0%, #6366f1 100%);
    border: none;
}

/* Input in sidebar */
.card-sidebar input.form-control {
    border-radius: 8px;
    border: 1px solid rgba(168, 85, 247, 0.15);
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
}

.card-sidebar input.form-control:focus {
    border-color: #a855f7;
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
}

/* Responsive - Reset sidebar width on mobile */
@media (max-width: 991.98px) {
    #main-body .col-lg-4.col-xl-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    #main-body .col-lg-4.col-xl-3 + .col-lg-8.col-xl-9,
    #main-body .row > .col-lg-8.col-xl-9 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Stat tiles mobile */
@media (max-width: 575.98px) {
    .stat-tile {
        padding: 1rem 1.25rem;
        gap: 0.75rem;
    }
    
    .stat-icon {
        width: 44px;
        height: 44px;
        border-radius: 10px;
    }
    
    .stat-icon i {
        font-size: 1.25rem;
    }
    
    .stat-number {
        font-size: 1.35rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
}

/* ===================================================================
   CLIENT AREA TABLES - MODERN DESIGN (Twenty-Six)
   =================================================================== */

/* Table Container Card */
.table-container {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(168, 85, 247, 0.1);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
    transition: all 0.25s ease;
}

.table-container:hover {
    box-shadow: 0 8px 24px rgba(168, 85, 247, 0.08);
    border-color: rgba(168, 85, 247, 0.15);
}

/* Base Table */
.table-container .table {
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
}

/* Table Header */
.table-container .table thead th {
    background: linear-gradient(135deg, #f8f7ff 0%, #f3f0ff 100%);
    border-bottom: 2px solid rgba(168, 85, 247, 0.1);
    border-top: none;
    color: #1e1b4b;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.85rem 1rem;
    white-space: nowrap;
}

.table-container .table thead th:first-child {
    padding-left: 1.25rem;
}

.table-container .table thead th:last-child {
    padding-right: 1.25rem;
}

/* Table Body Rows */
.table-container .table tbody tr {
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(168, 85, 247, 0.04);
}

.table-container .table tbody tr:hover {
    background: rgba(168, 85, 247, 0.03);
}

.table-container .table tbody tr:last-child {
    border-bottom: none;
}

.table-container .table tbody td {
    padding: 0.85rem 1rem;
    vertical-align: middle;
    border-top: none;
    border-bottom: 1px solid rgba(168, 85, 247, 0.04);
    color: #374151;
    font-size: 0.875rem;
}

.table-container .table tbody td:first-child {
    padding-left: 1.25rem;
}

.table-container .table tbody td:last-child {
    padding-right: 1.25rem;
}

.table-container .table tbody td strong {
    color: #1e1b4b;
    font-weight: 600;
}

.table-container .table tbody td a {
    color: #a855f7;
    text-decoration: none;
    transition: color 0.2s ease;
}

.table-container .table tbody td a:hover {
    color: #7c3aed;
}

.table-container .table tbody td .text-muted {
    color: #94a3b8 !important;
    font-size: 0.8rem;
}

/* Status Labels */
.table-container .label.status,
.table-container .badge.status {
    font-size: 0.7rem;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
    letter-spacing: 0.02em;
    border: none;
}

.table-container .status-active {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%) !important;
    color: #fff !important;
}

.table-container .status-pending {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%) !important;
    color: #fff !important;
}

.table-container .status-suspended,
.table-container .status-overdue {
    background: linear-gradient(135deg, #ef4444 0%, #f87171 100%) !important;
    color: #fff !important;
}

.table-container .status-terminated,
.table-container .status-cancelled,
.table-container .status-expired {
    background: linear-gradient(135deg, #64748b 0%, #94a3b8 100%) !important;
    color: #fff !important;
}

.table-container .status-paid {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%) !important;
    color: #fff !important;
}

.table-container .status-unpaid {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%) !important;
    color: #fff !important;
}

.table-container .status-custom {
    color: #fff !important;
    border-radius: 20px;
}

/* DataTables Overrides */
.table-container .dataTables_wrapper {
    padding: 0;
}

.table-container .dataTables_filter {
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid rgba(168, 85, 247, 0.06);
}

.table-container .dataTables_filter input {
    border: 1px solid rgba(168, 85, 247, 0.15);
    border-radius: 10px;
    padding: 0.45rem 0.85rem;
    font-size: 0.85rem;
    transition: all 0.25s ease;
    outline: none;
}

.table-container .dataTables_filter input:focus {
    border-color: #a855f7;
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
}

.table-container .dataTables_info {
    padding: 0.75rem 1.25rem;
    font-size: 0.8rem;
    color: #64748b;
}

.table-container .dataTables_length {
    padding: 0.75rem 1.25rem;
}

.table-container .dataTables_length select {
    border: 1px solid rgba(168, 85, 247, 0.15);
    border-radius: 8px;
    padding: 0.3rem 2rem 0.3rem 0.75rem;
    font-size: 0.85rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%238b5cf6' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") no-repeat right 0.5rem center/12px 12px;
    cursor: pointer;
}

.table-container .dataTables_paginate {
    padding: 0.75rem 1.25rem;
}

.table-container .dataTables_paginate .paginate_button {
    border-radius: 8px !important;
    border: 1px solid rgba(168, 85, 247, 0.1) !important;
    margin: 0 2px;
    font-size: 0.8rem;
    transition: all 0.2s ease;
}

.table-container .dataTables_paginate .paginate_button:hover {
    background: rgba(168, 85, 247, 0.08) !important;
    border-color: rgba(168, 85, 247, 0.2) !important;
    color: #7c3aed !important;
}

.table-container .dataTables_paginate .paginate_button.current {
    background: linear-gradient(135deg, #a855f7 0%, #6366f1 100%) !important;
    border-color: transparent !important;
    color: #fff !important;
}

/* Loading Spinner */
#tableLoading {
    padding: 2.5rem 1rem;
}

#tableLoading p {
    color: #a855f7;
    font-size: 0.9rem;
    font-weight: 500;
}

#tableLoading i {
    color: #a855f7;
    font-size: 1.25rem;
}

/* Checkbox in tables */
.table-container .table input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #a855f7;
    cursor: pointer;
    border-radius: 4px;
}

/* Ticket-specific */
.table-container .ticket-number {
    color: #a855f7;
    font-weight: 600;
    font-size: 0.8rem;
}

.table-container .ticket-subject {
    margin-left: 0.5rem;
    color: #374151;
}

.table-container .ticket-subject.unread {
    font-weight: 700;
    color: #1e1b4b;
}

/* SSL icons in tables */
.table-container .ssl-info img {
    border-radius: 4px;
}

/* Bulk action buttons */
.table-container + .btn-group,
form .btn-group {
    margin-bottom: 0.75rem;
}

form .btn-group .btn-default,
form .btn-group .btn {
    border-radius: 8px;
    font-size: 0.8rem;
    padding: 0.4rem 0.85rem;
    border: 1px solid rgba(168, 85, 247, 0.15);
    color: #374151;
    background: #fff;
    transition: all 0.2s ease;
}

form .btn-group .btn-default:hover,
form .btn-group .btn:hover {
    background: rgba(168, 85, 247, 0.05);
    border-color: rgba(168, 85, 247, 0.25);
    color: #7c3aed;
}

/* Responsive table */
@media (max-width: 767.98px) {
    .table-container .table thead th {
        font-size: 0.7rem;
        padding: 0.65rem 0.5rem;
    }

    .table-container .table tbody td {
        font-size: 0.8rem;
        padding: 0.65rem 0.5rem;
    }

    .table-container .dataTables_filter,
    .table-container .dataTables_info,
    .table-container .dataTables_length,
    .table-container .dataTables_paginate {
        padding: 0.5rem 0.75rem;
    }
}

/* ===================================================================
   PRODUCT DETAILS - MODERN DESIGN (Twenty-Six)
   =================================================================== */

/* Alert Bar */
.pd-alert {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.25rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    gap: 1rem;
}

.pd-alert-content {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.pd-alert-content i {
    font-size: 1.1rem;
}

.pd-alert-warning {
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.2);
    color: #92400e;
}

.pd-alert-danger {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #991b1b;
}

.pd-alert-success {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #065f46;
}

.pd-alert-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    background: linear-gradient(135deg, #a855f7 0%, #6366f1 100%);
    color: #fff;
    transition: all 0.25s ease;
}

.pd-alert-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.3);
    color: #fff;
    text-decoration: none;
}

/* Hero Card */
.pd-hero-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(168, 85, 247, 0.1);
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
    transition: all 0.25s ease;
}

.pd-hero-card:hover {
    box-shadow: 0 8px 24px rgba(168, 85, 247, 0.08);
    border-color: rgba(168, 85, 247, 0.15);
}

.pd-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.pd-hero-left {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.pd-product-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #a855f7 0%, #6366f1 100%);
    border-radius: 14px;
    color: #fff;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(168, 85, 247, 0.3);
}

.pd-product-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.pd-product-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e1b4b;
    margin: 0;
    line-height: 1.3;
}

.pd-product-group {
    font-size: 0.8rem;
    color: #64748b;
}

/* Status Badges */
.pd-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    width: fit-content;
}

.pd-status-active {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    color: #fff;
}

.pd-status-pending {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: #fff;
}

.pd-status-suspended {
    background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
    color: #fff;
}

.pd-status-terminated,
.pd-status-cancelled {
    background: linear-gradient(135deg, #64748b 0%, #94a3b8 100%);
    color: #fff;
}

/* Hero Actions */
.pd-hero-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Action Buttons */
.pd-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.15rem;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.pd-action-btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.pd-btn-upgrade {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    color: #fff;
}

.pd-btn-upgrade:hover {
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
    color: #fff;
}

.pd-btn-renew {
    background: linear-gradient(135deg, #a855f7 0%, #6366f1 100%);
    color: #fff;
}

.pd-btn-renew:hover {
    box-shadow: 0 4px 14px rgba(168, 85, 247, 0.35);
    color: #fff;
}

.pd-btn-cancel {
    background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
    color: #fff;
}

.pd-btn-cancel:hover {
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.35);
    color: #fff;
}

.pd-btn-cancel.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.pd-btn-outline {
    background: #fff;
    color: #374151;
    border: 1px solid rgba(168, 85, 247, 0.2);
}

.pd-btn-outline:hover {
    background: rgba(168, 85, 247, 0.05);
    border-color: rgba(168, 85, 247, 0.35);
    color: #7c3aed;
}

/* Billing Grid */
.pd-billing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.pd-billing-item {
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(168, 85, 247, 0.08);
    padding: 1rem 1.15rem;
    transition: all 0.2s ease;
}

.pd-billing-item:hover {
    border-color: rgba(168, 85, 247, 0.15);
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.06);
}

.pd-billing-item.pd-billing-danger {
    border-color: rgba(239, 68, 68, 0.15);
    background: rgba(239, 68, 68, 0.02);
}

.pd-billing-item.pd-billing-danger .pd-billing-icon i {
    color: #ef4444;
}

.pd-billing-icon {
    margin-bottom: 0.5rem;
}

.pd-billing-icon i {
    font-size: 1.1rem;
    color: #a855f7;
}

.pd-billing-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.pd-billing-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e1b4b;
}

/* Tabs Card */
.pd-tabs-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(168, 85, 247, 0.1);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
    margin-bottom: 1.25rem;
}

.pd-tabs-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #f8f7ff 0%, #f3f0ff 100%);
    border-bottom: 1px solid rgba(168, 85, 247, 0.08);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.pd-tabs-nav li {
    flex-shrink: 0;
}

.pd-tab-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.25rem;
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.pd-tab-link:hover {
    color: #a855f7;
    text-decoration: none;
}

.pd-tab-link.active {
    color: #a855f7;
    border-bottom-color: #a855f7;
    background: rgba(168, 85, 247, 0.04);
}

.pd-tab-link i {
    font-size: 0.9rem;
}

/* Tab Content */
.pd-tab-content {
    padding: 0;
}

.pd-tab-content > .tab-pane {
    padding: 1.25rem;
}

/* Info List Rows */
.pd-info-list {
    display: flex;
    flex-direction: column;
}

.pd-info-row {
    display: flex;
    align-items: baseline;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(168, 85, 247, 0.04);
    gap: 1rem;
}

.pd-info-row:last-child {
    border-bottom: none;
}

.pd-info-label {
    flex: 0 0 220px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pd-info-label i {
    color: #a855f7;
    font-size: 0.85rem;
    width: 18px;
    text-align: center;
}

.pd-info-value {
    flex: 1;
    font-size: 0.875rem;
    color: #1e1b4b;
    font-weight: 500;
}

.pd-info-value code {
    background: rgba(168, 85, 247, 0.06);
    color: #7c3aed;
    padding: 0.15rem 0.5rem;
    border-radius: 6px;
    font-size: 0.8rem;
}

.pd-info-actions {
    display: flex;
    gap: 0.5rem;
    padding-top: 1rem;
    margin-top: 0.5rem;
    border-top: 1px solid rgba(168, 85, 247, 0.06);
}

.pd-yes {
    color: #10b981;
    font-weight: 600;
}

.pd-no {
    color: #94a3b8;
    font-weight: 600;
}

/* Usage Grid */
.pd-usage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.pd-usage-card {
    background: rgba(168, 85, 247, 0.03);
    border: 1px solid rgba(168, 85, 247, 0.08);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
}

.pd-usage-card h5 {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e1b4b;
    margin: 0.5rem 0 0.75rem;
}

.pd-usage-icon i {
    font-size: 1.5rem;
    color: #a855f7;
}

.pd-usage-bar {
    height: 8px;
    background: rgba(168, 85, 247, 0.08);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.pd-usage-fill {
    height: 100%;
    background: linear-gradient(135deg, #a855f7 0%, #6366f1 100%);
    border-radius: 10px;
    transition: width 1s ease;
}

.pd-usage-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
}

.pd-usage-percent {
    font-weight: 700;
    color: #a855f7;
}

.pd-usage-detail {
    color: #64748b;
}

/* Section Cards (Downloads, Addons, Change PW) */
.pd-section-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(168, 85, 247, 0.1);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

.pd-section-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, #f8f7ff 0%, #f3f0ff 100%);
    border-bottom: 1px solid rgba(168, 85, 247, 0.08);
    font-size: 1rem;
    font-weight: 700;
    color: #1e1b4b;
}

.pd-section-header i {
    color: #a855f7;
}

.pd-section-body {
    padding: 1.25rem;
}

/* Downloads */
.pd-downloads-list {
    padding: 0.5rem 1.25rem;
}

.pd-download-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(168, 85, 247, 0.04);
    gap: 1rem;
}

.pd-download-item:last-child {
    border-bottom: none;
}

.pd-download-info h5 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e1b4b;
    margin: 0 0 0.25rem;
}

/* ===== MODERN SERVICES TABLE ===== */
.services-table-modern {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.9) 100%);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.services-table-modern table {
    margin: 0;
}

.services-table-modern thead th {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%) !important;
    color: #fff !important;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 1rem 0.75rem;
    border: none !important;
    white-space: nowrap;
}

.services-table-modern thead th a,
.services-table-modern thead th span {
    color: #fff !important;
}

.services-table-modern thead th:first-child {
    border-radius: 12px 0 0 12px;
}

.services-table-modern thead th:last-child {
    border-radius: 0 12px 12px 0;
}

.services-table-modern .th-icon {
    width: 60px;
    text-align: center;
}

.services-table-modern .th-actions {
    width: 100px;
    text-align: center;
}

.services-table-modern tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(139, 92, 246, 0.08);
}

.services-table-modern tbody tr:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(99, 102, 241, 0.03) 100%);
    transform: translateX(4px);
}

.services-table-modern tbody tr:last-child {
    border-bottom: none;
}

.services-table-modern tbody td {
    padding: 1rem 0.75rem;
    vertical-align: middle;
    border: none;
}

/* Icon Column */
.td-icon {
    text-align: center;
}

.service-icon-wrap {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.service-type-icon {
    font-size: 1.2rem;
    color: #8b5cf6;
}

/* Product Column */
.td-product .product-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.td-product .product-name {
    font-weight: 600;
    color: #1e1b4b;
    font-size: 0.95rem;
}

.td-product .product-group {
    font-size: 0.75rem;
    color: #64748b;
    background: rgba(139, 92, 246, 0.08);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    display: inline-block;
    width: fit-content;
}

/* Domain Column */
.td-domain .domain-link {
    color: #6366f1;
    text-decoration: none;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    background: rgba(99, 102, 241, 0.08);
    border-radius: 8px;
    transition: all 0.25s ease;
}

.td-domain .domain-link:hover {
    background: rgba(99, 102, 241, 0.15);
    color: #4f46e5;
}

/* Price Column */
.td-price .price-amount {
    font-weight: 700;
    color: #10b981;
    font-size: 1rem;
}

/* Billing Cycle Badge */
.billing-cycle-badge {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
    color: #3b82f6;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    text-transform: capitalize;
}

/* Due Date */
.due-date-wrap {
    display: flex;
    align-items: center;
    color: #64748b;
    font-size: 0.875rem;
}

.due-date-wrap i {
    color: #8b5cf6;
}

/* Status Badge Modern */
.status-badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: capitalize;
}

.status-badge-modern .status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.status-badge-modern.status-active {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0.1) 100%);
    color: #059669;
}

.status-badge-modern.status-active .status-dot {
    background: #10b981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

.status-badge-modern.status-pending {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(217, 119, 6, 0.1) 100%);
    color: #d97706;
}

.status-badge-modern.status-pending .status-dot {
    background: #f59e0b;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
}

.status-badge-modern.status-suspended {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.1) 100%);
    color: #dc2626;
}

.status-badge-modern.status-suspended .status-dot {
    background: #ef4444;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.5);
}

.status-badge-modern.status-terminated,
.status-badge-modern.status-cancelled {
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.15) 0%, rgba(75, 85, 99, 0.1) 100%);
    color: #6b7280;
}

.status-badge-modern.status-terminated .status-dot,
.status-badge-modern.status-cancelled .status-dot {
    background: #9ca3af;
    animation: none;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Action Buttons */
.td-actions {
    text-align: center;
}

.action-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-action {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-action.btn-manage {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
    color: #8b5cf6;
}

.btn-action.btn-manage:hover {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.btn-action.btn-renew {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.1) 100%);
    color: #10b981;
}

.btn-action.btn-renew:hover {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

/* DataTables Override for Modern Table */
.services-table-modern .dataTables_wrapper .dataTables_filter input {
    border-radius: 10px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.services-table-modern .dataTables_wrapper .dataTables_filter input:focus {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
    outline: none;
}

.services-table-modern .dataTables_wrapper .dataTables_length select {
    border-radius: 8px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    padding: 0.35rem 2rem 0.35rem 0.75rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%238b5cf6' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") no-repeat right 0.5rem center/12px 12px;
    cursor: pointer;
}

.services-table-modern .dataTables_wrapper .dataTables_paginate .paginate_button {
    border-radius: 8px !important;
    margin: 0 2px;
}

.services-table-modern .dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%) !important;
    border-color: transparent !important;
    color: #fff !important;
}

.services-table-modern .dataTables_wrapper .dataTables_info {
    color: #64748b;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 991.98px) {
    .services-table-modern {
        padding: 1rem;
        overflow-x: auto;
    }
    
    .services-table-modern table {
        min-width: 800px;
    }
}

@media (max-width: 575.98px) {
    .services-table-modern {
        padding: 0.75rem;
        border-radius: 12px;
    }
}

.pd-download-info p {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0;
}

/* Addons Grid */
.pd-addons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1rem;
    padding: 1rem 1.25rem;
}

.pd-addon-card {
    border-radius: 12px;
    border: 1px solid rgba(168, 85, 247, 0.1);
    overflow: hidden;
    transition: all 0.2s ease;
}

.pd-addon-card:hover {
    border-color: rgba(168, 85, 247, 0.2);
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.06);
}

.pd-addon-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    background: linear-gradient(135deg, #f8f7ff 0%, #f3f0ff 100%);
    border-bottom: 1px solid rgba(168, 85, 247, 0.06);
}

.pd-addon-name {
    font-weight: 600;
    font-size: 0.875rem;
    color: #1e1b4b;
}

.pd-addon-body {
    padding: 0.5rem 1rem;
}

.pd-addon-body .pd-info-row {
    padding: 0.5rem 0;
}

.pd-addon-body .pd-info-label {
    flex: 0 0 160px;
    font-size: 0.75rem;
}

.pd-addon-body .pd-info-value {
    font-size: 0.8rem;
}

.pd-addon-footer {
    padding: 0.75rem 1rem;
    border-top: 1px solid rgba(168, 85, 247, 0.06);
    background: #fafbfc;
}

/* Hook Output */
.pd-hook-output {
    margin-bottom: 1rem;
}

/* Cancellation Request */
.pd-cancel-card {
    margin-top: 1rem;
}

.pd-cancel-domain-alert {
    margin-top: 0.75rem;
    border-radius: 12px;
}

.pd-cancel-actions {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Forms in Product Details */
.pd-section-body .form-control {
    border-radius: 10px;
    border: 1px solid rgba(168, 85, 247, 0.15);
    font-size: 0.85rem;
    padding: 0.5rem 0.85rem;
    transition: all 0.25s ease;
}

.pd-section-body .form-control:focus {
    border-color: #a855f7;
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
}

.pd-section-body label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
}

/* User Management - inline radio/checkbox alignment */
.pd-section-body .form-check-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-right: 1.5rem;
}

.pd-section-body .form-check-inline .form-check-input {
    margin-top: 0;
}

/* Responsive */
@media (max-width: 767.98px) {
    .pd-hero-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .pd-hero-actions {
        width: 100%;
    }

    .pd-hero-actions .pd-action-btn {
        flex: 1;
        justify-content: center;
    }

    .pd-billing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pd-info-row {
        flex-direction: column;
        gap: 0.25rem;
    }

    .pd-info-label {
        flex: none;
    }

    .pd-tabs-nav {
        gap: 0;
    }

    .pd-tab-link {
        padding: 0.65rem 0.85rem;
        font-size: 0.75rem;
    }

    .pd-addons-grid {
        grid-template-columns: 1fr;
    }

    .pd-download-item {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 575.98px) {
    .pd-billing-grid {
        grid-template-columns: 1fr;
    }
    
    .pd-hero-left {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ===================================================================
   PRODUCT DETAILS - MODULE OUTPUT STYLING (cPanel, etc.)
   =================================================================== */

/* Module panel cards */
#tabOverview .panel.card,
#tabOverview .card.mb-3,
.tab-content.margin-bottom .panel.card,
.tab-content.margin-bottom .card {
    background: #fff;
    border-radius: 16px !important;
    border: 1px solid rgba(168, 85, 247, 0.1) !important;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
    transition: all 0.25s ease;
}

#tabOverview .panel.card:hover,
#tabOverview .card.mb-3:hover,
.tab-content.margin-bottom .panel.card:hover,
.tab-content.margin-bottom .card:hover {
    box-shadow: 0 8px 24px rgba(168, 85, 247, 0.08);
    border-color: rgba(168, 85, 247, 0.15) !important;
}

/* Panel/Card Headers */
#tabOverview .panel-heading,
#tabOverview .card-header,
.tab-content.margin-bottom .panel-heading,
.tab-content.margin-bottom .card-header {
    background: linear-gradient(135deg, #f8f7ff 0%, #f3f0ff 100%) !important;
    border-bottom: 2px solid rgba(168, 85, 247, 0.1) !important;
    padding: 0.85rem 1.25rem !important;
}

#tabOverview .panel-title,
#tabOverview .card-title,
.tab-content.margin-bottom .panel-title,
.tab-content.margin-bottom .card-title {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #1e1b4b !important;
    letter-spacing: 0.01em;
}

/* Panel/Card Body */
#tabOverview .panel-body,
#tabOverview .card-body,
.tab-content.margin-bottom .panel-body,
.tab-content.margin-bottom .card-body {
    padding: 1.25rem !important;
}

/* cPanel Package Details */
.cpanel-package-details {
    padding: 0.5rem 0;
}

.cpanel-package-details em {
    color: #a855f7;
    font-style: normal;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cpanel-package-details h4 {
    font-size: 1.35rem !important;
    font-weight: 700 !important;
    color: #1e1b4b !important;
    margin: 0.25rem 0 0.5rem !important;
}

.cpanel-package-details a {
    color: #a855f7 !important;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.cpanel-package-details a:hover {
    color: #7c3aed !important;
}

/* Buttons in module output */
#tabOverview .btn-default,
.tab-content.margin-bottom .btn-default {
    background: #fff !important;
    border: 1px solid rgba(168, 85, 247, 0.2) !important;
    color: #374151 !important;
    border-radius: 10px !important;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.45rem 1rem;
    transition: all 0.25s ease;
}

#tabOverview .btn-default:hover,
.tab-content.margin-bottom .btn-default:hover {
    background: rgba(168, 85, 247, 0.05) !important;
    border-color: rgba(168, 85, 247, 0.35) !important;
    color: #7c3aed !important;
    transform: translateY(-1px);
}

#tabOverview .btn-success,
.tab-content.margin-bottom .btn-success {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%) !important;
    border: none !important;
    border-radius: 10px !important;
    font-weight: 600;
    transition: all 0.25s ease;
}

#tabOverview .btn-success:hover,
.tab-content.margin-bottom .btn-success:hover {
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
    transform: translateY(-1px);
}

#tabOverview .btn-primary,
.tab-content.margin-bottom .btn-primary {
    background: linear-gradient(135deg, #a855f7 0%, #6366f1 100%) !important;
    border: none !important;
    border-radius: 10px !important;
    font-weight: 600;
    transition: all 0.25s ease;
}

#tabOverview .btn-primary:hover,
.tab-content.margin-bottom .btn-primary:hover {
    box-shadow: 0 4px 14px rgba(168, 85, 247, 0.35);
    transform: translateY(-1px);
}

#tabOverview .btn-danger,
.tab-content.margin-bottom .btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #f87171 100%) !important;
    border: none !important;
    border-radius: 10px !important;
    font-weight: 600;
    transition: all 0.25s ease;
}

#tabOverview .btn-info,
.tab-content.margin-bottom .btn-info {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%) !important;
    border: none !important;
    border-radius: 10px !important;
    font-weight: 600;
    transition: all 0.25s ease;
}

/* Usage Stats styling */
.cpanel-usage-stats strong {
    color: #1e1b4b;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.cpanel-usage-stats .text-info.limit-near,
.cpanel-usage-stats .text-danger.limit-near {
    margin-top: 1rem;
    padding: 0.6rem 1rem;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 500;
}

.cpanel-usage-stats .text-info.limit-near {
    background: rgba(168, 85, 247, 0.05);
    color: #64748b !important;
}

.cpanel-usage-stats .text-danger.limit-near {
    background: rgba(239, 68, 68, 0.05);
}

/* Select/Form in module panels */
#tabOverview .form-control,
#tabOverview .custom-select,
.tab-content.margin-bottom .form-control,
.tab-content.margin-bottom .custom-select {
    border-radius: 10px !important;
    border: 1px solid rgba(168, 85, 247, 0.15) !important;
    font-size: 0.85rem;
    padding: 0.45rem 0.85rem;
    transition: all 0.25s ease;
}

#tabOverview .form-control:focus,
#tabOverview .custom-select:focus,
.tab-content.margin-bottom .form-control:focus,
.tab-content.margin-bottom .custom-select:focus {
    border-color: #a855f7 !important;
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1) !important;
}

/* Recommended / Upsell panels */
#cPanelGetSitejet .panel-body,
#cPanelGetSitejet .card-body {
    font-size: 0.875rem;
    color: #374151;
}

/* WordPress panel */
#cPanelWordPress .panel-body,
#cPanelWordPress .card-body {
    font-size: 0.875rem;
}

/* Nav tabs in product details (sidebar-driven) */
.tab-content.margin-bottom > .tab-pane {
    animation: pdFadeIn 0.3s ease;
}

@keyframes pdFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile dropdown fixes */
@media (max-width: 991.98px) {
    /* Ensure account dropdown doesn't interfere with navbar */
    .account-dropdown {
        position: relative;
    }
    
    .account-dropdown .dropdown-menu {
        position: absolute !important;
        right: 0 !important;
        left: auto !important;
        top: 100% !important;
        z-index: 1050 !important;
    }
    
    /* Make sure dropdown is hidden by default */
    .account-dropdown .dropdown-menu:not(.show) {
        display: none !important;
        pointer-events: none !important;
    }
    
    /* Navbar collapse should be below topbar */
    .main-navbar .navbar-collapse {
        position: relative;
        z-index: 1020;
    }
    
    /* Topbar dropdown should be above */
    .header-topbar .dropdown-menu {
        z-index: 1060 !important;
    }
}

/* ===== MODERN SERVICE ITEM STYLING ===== */
a.service-item-modern,
.service-item-modern {
    display: grid !important;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding: 1rem 1.25rem;
    background: #fff;
    border-bottom: 1px solid rgba(139, 92, 246, 0.08);
    transition: all 0.2s ease;
    cursor: pointer;
    gap: 1.5rem;
    width: 100% !important;
    box-sizing: border-box;
    text-decoration: none !important;
    color: inherit;
}

a.service-item-modern:hover,
.service-item-modern:hover {
    background: rgba(139, 92, 246, 0.02);
    text-decoration: none !important;
}

a.service-item-modern:last-child,
.service-item-modern:last-child {
    border-bottom: none;
}

.service-item-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.service-item-center {
    display: flex;
    justify-content: flex-start;
}

.service-item-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: flex-end;
}

/* Modern Status Badge */
.service-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.service-status-badge i {
    font-size: 0.7rem;
}

/* Status variations */
.service-status-badge.status-success,
.service-status-badge.status-Active {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(52, 211, 153, 0.15) 100%);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.service-status-badge.status-success i,
.service-status-badge.status-Active i {
    --fa-primary-color: #059669;
    --fa-secondary-color: #10b981;
}

.service-status-badge.status-warning,
.service-status-badge.status-Pending,
.service-status-badge.status-Suspended {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(251, 191, 36, 0.15) 100%);
    color: #d97706;
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.service-status-badge.status-warning i,
.service-status-badge.status-Pending i,
.service-status-badge.status-Suspended i {
    --fa-primary-color: #d97706;
    --fa-secondary-color: #f59e0b;
}

.service-status-badge.status-danger,
.service-status-badge.status-Cancelled,
.service-status-badge.status-Terminated {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(248, 113, 113, 0.15) 100%);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.service-status-badge.status-danger i,
.service-status-badge.status-Cancelled i,
.service-status-badge.status-Terminated i {
    --fa-primary-color: #dc2626;
    --fa-secondary-color: #ef4444;
}

/* Service Info */
.service-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.service-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: #1e1b4b;
}

.service-domain {
    font-size: 0.8rem;
    color: #64748b;
}

/* Service Meta (billing, price, next due) */
.service-meta {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.meta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
}

.meta-label {
    font-size: 0.65rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.meta-value {
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
}

/* Modern Buttons */
.btn-modern-primary {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.4rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.btn-modern-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.35);
    color: #fff;
}

.btn-modern-secondary {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 0.4rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.btn-modern-secondary:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
    color: #1e1b4b;
}

.btn-modern-outline,
a.btn-modern-outline {
    background: transparent;
    color: #8b5cf6;
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 6px;
    padding: 0.4rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    text-decoration: none !important;
}

.btn-modern-outline:hover,
a.btn-modern-outline:hover {
    background: rgba(139, 92, 246, 0.08);
    border-color: rgba(139, 92, 246, 0.5);
    color: #7c3aed;
    text-decoration: none !important;
}

.btn-modern-outline i,
.btn-modern-primary i,
.btn-modern-secondary i {
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 991.98px) {
    .service-item-modern {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .service-item-left {
        flex: 1 1 100%;
    }
    
    .service-item-center {
        flex: 1 1 100%;
        justify-content: flex-start;
    }
    
    .service-item-right {
        flex: 1 1 100%;
        justify-content: flex-end;
    }
    
    .service-meta {
        gap: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .service-meta {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .meta-item {
        flex: 0 0 auto;
    }
    
    .service-item-right {
        flex-wrap: wrap;
        gap: 0.4rem;
    }
}

/* ===== MODERN DOMAINS TABLE ===== */
.domains-table-modern {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.9) 100%);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.domains-table-modern table {
    margin: 0;
}

.domains-table-modern thead th {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%) !important;
    color: #fff !important;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 1rem 0.75rem;
    border: none !important;
    white-space: nowrap;
}

.domains-table-modern thead th a,
.domains-table-modern thead th span {
    color: #fff !important;
}

.domains-table-modern thead th:first-child {
    border-radius: 12px 0 0 12px;
}

.domains-table-modern thead th:last-child {
    border-radius: 0 12px 12px 0;
}

.domains-table-modern .th-checkbox {
    width: 50px;
    text-align: center;
}

.domains-table-modern .th-icon {
    width: 60px;
    text-align: center;
}

.domains-table-modern .th-actions {
    width: 100px;
    text-align: center;
}

.domains-table-modern tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(139, 92, 246, 0.08);
}

.domains-table-modern tbody tr:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(99, 102, 241, 0.03) 100%);
    transform: translateX(4px);
}

.domains-table-modern tbody tr:last-child {
    border-bottom: none;
}

.domains-table-modern tbody td {
    padding: 1rem 0.75rem;
    vertical-align: middle;
    border: none;
}

/* Checkbox styling */
.td-checkbox {
    text-align: center;
}

.custom-checkbox {
    display: inline-block;
    position: relative;
    cursor: pointer;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.custom-checkbox .checkmark {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    background: rgba(139, 92, 246, 0.1);
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 6px;
    transition: all 0.25s ease;
}

.custom-checkbox:hover .checkmark {
    border-color: #8b5cf6;
}

.custom-checkbox input:checked ~ .checkmark {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    border-color: transparent;
}

.custom-checkbox .checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
}

/* Domain Icon */
.domain-icon-wrap {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.domain-type-icon {
    font-size: 1.2rem;
    color: #3b82f6;
}

/* Domain Name */
.td-domain .domain-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.domain-name-link {
    color: #6366f1;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.8rem;
    background: rgba(99, 102, 241, 0.08);
    border-radius: 8px;
    transition: all 0.25s ease;
}

.domain-name-link:hover {
    background: rgba(99, 102, 241, 0.15);
    color: #4f46e5;
}

/* Date styling */
.td-date .date-wrap {
    display: flex;
    align-items: center;
    color: #64748b;
    font-size: 0.875rem;
}

.td-date .date-wrap i {
    color: #8b5cf6;
}

/* Auto-renew badge */
.autorenew-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.autorenew-badge.autorenew-on {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0.1) 100%);
    color: #059669;
}

.autorenew-badge.autorenew-off {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.1) 100%);
    color: #dc2626;
}

/* Expiring badge */
.expiring-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(217, 119, 6, 0.1) 100%);
    color: #d97706;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    margin-top: 0.35rem;
}

/* DNS button */
.btn-action.btn-dns {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
    color: #3b82f6;
}

.btn-action.btn-dns:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

/* Bulk action buttons */
.domain-bulk-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: stretch;
}

.bulk-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    height: 40px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(99, 102, 241, 0.05) 100%);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 10px;
    color: #6366f1;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
}

.bulk-action-btn:hover {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    color: #fff;
    border-color: transparent;
}

.bulk-action-btn i {
    font-size: 0.9rem;
}

.domain-bulk-actions .btn-group {
    display: flex;
    align-items: stretch;
}

.domain-bulk-actions .btn-group .bulk-action-btn {
    border-radius: 10px;
}

/* DataTables Override for Domains Table */
.domains-table-modern .dataTables_wrapper .dataTables_filter input {
    border-radius: 10px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.domains-table-modern .dataTables_wrapper .dataTables_filter input:focus {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
    outline: none;
}

.domains-table-modern .dataTables_wrapper .dataTables_length select {
    border-radius: 8px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    padding: 0.35rem 2rem 0.35rem 0.75rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%238b5cf6' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") no-repeat right 0.5rem center/12px 12px;
    cursor: pointer;
}

.domains-table-modern .dataTables_wrapper .dataTables_paginate .paginate_button {
    border-radius: 8px !important;
    margin: 0 2px;
}

.domains-table-modern .dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%) !important;
    border-color: transparent !important;
    color: #fff !important;
}

.domains-table-modern .dataTables_wrapper .dataTables_info {
    color: #64748b;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 991.98px) {
    .domains-table-modern {
        padding: 1rem;
        overflow-x: auto;
    }
    
    .domains-table-modern table {
        min-width: 900px;
    }
    
    .domain-bulk-actions {
        flex-wrap: wrap;
    }
}

@media (max-width: 575.98px) {
    .domains-table-modern {
        padding: 0.75rem;
        border-radius: 12px;
    }
    
    .bulk-action-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
}

/* Global DataTables Select Fix */
.dataTables_wrapper .dataTables_length select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 0.35rem 2rem 0.35rem 0.75rem !important;
    background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%238b5cf6' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") no-repeat right 0.5rem center/12px 12px !important;
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 8px;
    cursor: pointer;
    min-width: 60px;
}

/* Global Button Fix */
.btn-default,
.btn-secondary {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(99, 102, 241, 0.08) 100%) !important;
    border: 1px solid rgba(139, 92, 246, 0.25) !important;
    color: #6366f1 !important;
    border-radius: 10px;
    padding: 0.6rem 1.25rem;
    font-weight: 500;
    transition: all 0.25s ease;
}

.btn-default:hover,
.btn-secondary:hover {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%) !important;
    color: #fff !important;
    border-color: transparent !important;
}

/* =====================================================
   SSL CERTIFICATES TABLE - MODERN DESIGN
   ===================================================== */
.ssl-table-modern {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.9) 100%) !important;
    border-radius: 20px !important;
    padding: 1.5rem !important;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.08) !important;
    border: 1px solid rgba(139, 92, 246, 0.1) !important;
    margin-top: 1rem !important;
}

.ssl-table-modern table,
.ssl-table-modern table.table,
.ssl-table-modern table.table-list,
.ssl-table-modern .table {
    margin-bottom: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    background: transparent !important;
    width: 100% !important;
}

.ssl-table-modern thead tr,
.ssl-table-modern table thead tr {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%) !important;
}

.ssl-table-modern thead th,
.ssl-table-modern table thead th,
.ssl-table-modern .table thead th {
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 1rem 0.75rem !important;
    border: none !important;
    white-space: nowrap !important;
    background: transparent !important;
}

.ssl-table-modern thead th:first-child,
.ssl-table-modern table thead th:first-child {
    border-radius: 12px 0 0 12px !important;
}

.ssl-table-modern thead th:last-child,
.ssl-table-modern table thead th:last-child {
    border-radius: 0 12px 12px 0 !important;
}

.ssl-table-modern thead th.th-icon {
    width: 60px !important;
    text-align: center !important;
}

.ssl-table-modern thead th.th-actions {
    width: 150px !important;
    text-align: center !important;
}

.ssl-table-modern tbody tr,
.ssl-table-modern table tbody tr {
    transition: all 0.25s ease !important;
    background: #fff !important;
}

.ssl-table-modern tbody tr:hover,
.ssl-table-modern table tbody tr:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.03) 0%, rgba(99, 102, 241, 0.05) 100%) !important;
    transform: translateX(4px);
}

.ssl-table-modern tbody td,
.ssl-table-modern table tbody td {
    padding: 1rem 0.75rem !important;
    vertical-align: middle !important;
    border-bottom: 1px solid rgba(139, 92, 246, 0.08) !important;
    border-top: none !important;
}

.ssl-table-modern tbody tr:last-child td {
    border-bottom: none !important;
}

/* DataTables empty message */
.ssl-table-modern .dataTables_empty,
.ssl-table-modern td.dataTables_empty {
    text-align: center !important;
    padding: 2rem !important;
    color: #64748b !important;
    font-size: 0.95rem !important;
    background: #fff !important;
}

.ssl-table-modern .td-icon {
    text-align: center !important;
}

.ssl-table-modern .ssl-icon-wrap {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.12) 0%, rgba(16, 185, 129, 0.08) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.ssl-table-modern .ssl-type-icon {
    font-size: 1.25rem;
    color: #22c55e;
}

.ssl-table-modern .td-domain .domain-info {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.ssl-table-modern .td-domain .domain-name {
    font-weight: 600;
    color: #1e293b;
    font-size: 0.95rem;
}

.ssl-table-modern .td-product .product-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.ssl-table-modern .td-product .product-name {
    font-weight: 500;
    color: #334155;
}

/* Validation Type Badges */
.ssl-table-modern .validation-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ssl-table-modern .validation-badge.validation-dv {
    background: linear-gradient(135deg, rgba(100, 116, 139, 0.15) 0%, rgba(71, 85, 105, 0.1) 100%);
    color: #64748b;
}

.ssl-table-modern .validation-badge.validation-ov {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(217, 119, 6, 0.1) 100%);
    color: #d97706;
}

.ssl-table-modern .validation-badge.validation-ev {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(22, 163, 74, 0.1) 100%);
    color: #16a34a;
}

/* SSL Status Badges */
.ssl-table-modern .ssl-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
}

.ssl-table-modern .ssl-status-badge.ssl-awaiting {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(37, 99, 235, 0.08) 100%);
    color: #3b82f6;
}

.ssl-table-modern .ssl-status-badge.ssl-expired {
    background: linear-gradient(135deg, rgba(100, 116, 139, 0.12) 0%, rgba(71, 85, 105, 0.08) 100%);
    color: #64748b;
}

.ssl-table-modern .ssl-status-badge.ssl-expiring {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.12) 0%, rgba(220, 38, 38, 0.08) 100%);
    color: #ef4444;
    animation: pulse-warning 2s infinite;
}

@keyframes pulse-warning {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.ssl-table-modern .ssl-instant-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem 0.5rem;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(234, 179, 8, 0.1) 100%);
    color: #d97706;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
}

/* Date column */
.ssl-table-modern .td-date .date-wrap {
    display: flex;
    align-items: center;
    color: #64748b;
    font-size: 0.875rem;
}

.ssl-table-modern .td-date .date-wrap i {
    color: #8b5cf6;
    font-size: 0.95rem;
}

/* Actions */
.ssl-table-modern .td-actions {
    text-align: center;
}

.ssl-table-modern .action-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.ssl-table-modern .btn-action {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.ssl-table-modern .btn-action.btn-configure {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.12) 0%, rgba(99, 102, 241, 0.08) 100%);
    color: #8b5cf6;
}

.ssl-table-modern .btn-action.btn-configure:hover {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.35);
}

.ssl-table-modern .btn-action.btn-resend {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(37, 99, 235, 0.08) 100%);
    color: #3b82f6;
}

.ssl-table-modern .btn-action.btn-resend:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.35);
}

.ssl-table-modern .btn-action.btn-upgrade {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.12) 0%, rgba(22, 163, 74, 0.08) 100%);
    color: #22c55e;
}

.ssl-table-modern .btn-action.btn-upgrade:hover {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.35);
}

.ssl-table-modern .btn-action.btn-upgrade:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Responsive */
@media (max-width: 992px) {
    .ssl-table-modern {
        padding: 1rem;
        overflow-x: auto;
    }

    .ssl-table-modern table {
        min-width: 700px;
    }
}

/* =====================================================
   INVOICES TABLE - MODERN DESIGN
   ===================================================== */
.invoices-table-modern {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.9) 100%) !important;
    border-radius: 20px !important;
    padding: 1.5rem !important;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.08) !important;
    border: 1px solid rgba(139, 92, 246, 0.1) !important;
    margin-top: 1rem !important;
}

.invoices-table-modern table,
.invoices-table-modern table.table,
.invoices-table-modern table.table-list,
.invoices-table-modern .table {
    margin-bottom: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    background: transparent !important;
    width: 100% !important;
}

.invoices-table-modern thead tr,
.invoices-table-modern table thead tr {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%) !important;
}

.invoices-table-modern thead th,
.invoices-table-modern table thead th,
.invoices-table-modern .table thead th {
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 1rem 0.75rem !important;
    border: none !important;
    white-space: nowrap !important;
    background: transparent !important;
}

.invoices-table-modern thead th:first-child,
.invoices-table-modern table thead th:first-child {
    border-radius: 12px 0 0 12px !important;
}

.invoices-table-modern thead th:last-child,
.invoices-table-modern table thead th:last-child {
    border-radius: 0 12px 12px 0 !important;
}

.invoices-table-modern thead th.th-icon {
    width: 60px !important;
    text-align: center !important;
}

.invoices-table-modern thead th.th-actions {
    width: 150px !important;
    text-align: center !important;
}

.invoices-table-modern tbody tr,
.invoices-table-modern table tbody tr {
    transition: all 0.25s ease !important;
    background: #fff !important;
}

.invoices-table-modern tbody tr:hover,
.invoices-table-modern table tbody tr:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.03) 0%, rgba(99, 102, 241, 0.05) 100%) !important;
    transform: translateX(4px);
}

.invoices-table-modern tbody td,
.invoices-table-modern table tbody td {
    padding: 1rem 0.75rem !important;
    vertical-align: middle !important;
    border-bottom: 1px solid rgba(139, 92, 246, 0.08) !important;
    border-top: none !important;
}

.invoices-table-modern tbody tr:last-child td {
    border-bottom: none !important;
}

.invoices-table-modern .dataTables_empty,
.invoices-table-modern td.dataTables_empty {
    text-align: center !important;
    padding: 2rem !important;
    color: #64748b !important;
    font-size: 0.95rem !important;
    background: #fff !important;
}

.invoices-table-modern .td-icon {
    text-align: center !important;
}

.invoices-table-modern .invoice-icon-wrap {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.12) 0%, rgba(99, 102, 241, 0.08) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.invoices-table-modern .invoice-type-icon {
    font-size: 1.25rem;
    color: #8b5cf6;
}

.invoices-table-modern .td-invoicenum .invoice-number {
    font-weight: 700;
    color: #1e293b;
    font-size: 1rem;
}

.invoices-table-modern .td-date .date-wrap {
    display: flex;
    align-items: center;
    color: #64748b;
    font-size: 0.875rem;
}

.invoices-table-modern .td-date .date-wrap i {
    color: #8b5cf6;
    font-size: 0.95rem;
}

.invoices-table-modern .td-total .invoice-total {
    font-weight: 700;
    color: #1e293b;
    font-size: 1rem;
}

/* Invoice Status Badges */
.invoices-table-modern .td-status .status-badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: capitalize;
}

.invoices-table-modern .td-status .status-badge-modern .status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

.invoices-table-modern .status-badge-modern.status-paid {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.12) 0%, rgba(22, 163, 74, 0.08) 100%);
    color: #16a34a;
}

.invoices-table-modern .status-badge-modern.status-paid .status-dot {
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
}

.invoices-table-modern .status-badge-modern.status-unpaid {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.12) 0%, rgba(220, 38, 38, 0.08) 100%);
    color: #dc2626;
}

.invoices-table-modern .status-badge-modern.status-unpaid .status-dot {
    background: #ef4444;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.5);
}

.invoices-table-modern .status-badge-modern.status-cancelled {
    background: linear-gradient(135deg, rgba(100, 116, 139, 0.12) 0%, rgba(71, 85, 105, 0.08) 100%);
    color: #64748b;
}

.invoices-table-modern .status-badge-modern.status-cancelled .status-dot {
    background: #94a3b8;
    box-shadow: 0 0 8px rgba(148, 163, 184, 0.5);
    animation: none;
}

.invoices-table-modern .status-badge-modern.status-refunded {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(37, 99, 235, 0.08) 100%);
    color: #2563eb;
}

.invoices-table-modern .status-badge-modern.status-refunded .status-dot {
    background: #3b82f6;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.5);
}

/* Actions */
.invoices-table-modern .td-actions {
    text-align: center !important;
}

.invoices-table-modern .action-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.invoices-table-modern .btn-action {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-decoration: none;
}

.invoices-table-modern .btn-action.btn-view {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.12) 0%, rgba(99, 102, 241, 0.08) 100%);
    color: #8b5cf6;
}

.invoices-table-modern .btn-action.btn-view:hover {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.35);
}

.invoices-table-modern .btn-action.btn-pay {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.12) 0%, rgba(22, 163, 74, 0.08) 100%);
    color: #22c55e;
}

.invoices-table-modern .btn-action.btn-pay:hover {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.35);
}

.invoices-table-modern .btn-action.btn-download {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.12) 0%, rgba(220, 38, 38, 0.08) 100%);
    color: #ef4444;
}

.invoices-table-modern .btn-action.btn-download:hover {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
}

/* Responsive */
@media (max-width: 992px) {
    .invoices-table-modern {
        padding: 1rem;
        overflow-x: auto;
    }
    
    .invoices-table-modern table {
        min-width: 750px;
    }
}

/* =====================================================
   QUOTES TABLE - MODERN DESIGN
   ===================================================== */
.quotes-table-modern {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.9) 100%) !important;
    border-radius: 20px !important;
    padding: 1.5rem !important;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.08) !important;
    border: 1px solid rgba(139, 92, 246, 0.1) !important;
    margin-top: 1rem !important;
}

.quotes-table-modern table,
.quotes-table-modern table.table,
.quotes-table-modern table.table-list,
.quotes-table-modern .table {
    margin-bottom: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    background: transparent !important;
    width: 100% !important;
}

.quotes-table-modern thead tr,
.quotes-table-modern table thead tr {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%) !important;
}

.quotes-table-modern thead th,
.quotes-table-modern table thead th,
.quotes-table-modern .table thead th {
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 1rem 0.75rem !important;
    border: none !important;
    white-space: nowrap !important;
    background: transparent !important;
}

.quotes-table-modern thead th:first-child,
.quotes-table-modern table thead th:first-child {
    border-radius: 12px 0 0 12px !important;
}

.quotes-table-modern thead th:last-child,
.quotes-table-modern table thead th:last-child {
    border-radius: 0 12px 12px 0 !important;
}

.quotes-table-modern thead th.th-icon {
    width: 60px !important;
    text-align: center !important;
}

.quotes-table-modern thead th.th-actions {
    width: 120px !important;
    text-align: center !important;
}

.quotes-table-modern tbody tr,
.quotes-table-modern table tbody tr {
    transition: all 0.25s ease !important;
    background: #fff !important;
}

.quotes-table-modern tbody tr:hover,
.quotes-table-modern table tbody tr:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.03) 0%, rgba(99, 102, 241, 0.05) 100%) !important;
    transform: translateX(4px);
}

.quotes-table-modern tbody td,
.quotes-table-modern table tbody td {
    padding: 1rem 0.75rem !important;
    vertical-align: middle !important;
    border-bottom: 1px solid rgba(139, 92, 246, 0.08) !important;
    border-top: none !important;
}

.quotes-table-modern tbody tr:last-child td {
    border-bottom: none !important;
}

.quotes-table-modern .dataTables_empty,
.quotes-table-modern td.dataTables_empty {
    text-align: center !important;
    padding: 2rem !important;
    color: #64748b !important;
    font-size: 0.95rem !important;
    background: #fff !important;
}

.quotes-table-modern .td-icon {
    text-align: center !important;
}

.quotes-table-modern .quote-icon-wrap {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(217, 119, 6, 0.08) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.quotes-table-modern .quote-type-icon {
    font-size: 1.25rem;
    color: #f59e0b;
}

.quotes-table-modern .td-quotenum .quote-number {
    font-weight: 700;
    color: #1e293b;
    font-size: 1rem;
}

.quotes-table-modern .td-subject .quote-subject {
    font-weight: 500;
    color: #334155;
}

.quotes-table-modern .td-date .date-wrap {
    display: flex;
    align-items: center;
    color: #64748b;
    font-size: 0.875rem;
}

.quotes-table-modern .td-date .date-wrap i {
    color: #8b5cf6;
    font-size: 0.95rem;
}

/* Quote Status Badges */
.quotes-table-modern .td-status .status-badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: capitalize;
}

.quotes-table-modern .td-status .status-badge-modern .status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

.quotes-table-modern .status-badge-modern.status-delivered {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(37, 99, 235, 0.08) 100%);
    color: #2563eb;
}

.quotes-table-modern .status-badge-modern.status-delivered .status-dot {
    background: #3b82f6;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.5);
}

.quotes-table-modern .status-badge-modern.status-accepted {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.12) 0%, rgba(22, 163, 74, 0.08) 100%);
    color: #16a34a;
}

.quotes-table-modern .status-badge-modern.status-accepted .status-dot {
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
}

.quotes-table-modern .status-badge-modern.status-draft {
    background: linear-gradient(135deg, rgba(100, 116, 139, 0.12) 0%, rgba(71, 85, 105, 0.08) 100%);
    color: #64748b;
}

.quotes-table-modern .status-badge-modern.status-draft .status-dot {
    background: #94a3b8;
    box-shadow: 0 0 8px rgba(148, 163, 184, 0.5);
    animation: none;
}

.quotes-table-modern .status-badge-modern.status-onhold {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(217, 119, 6, 0.08) 100%);
    color: #d97706;
}

.quotes-table-modern .status-badge-modern.status-onhold .status-dot {
    background: #f59e0b;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
}

.quotes-table-modern .status-badge-modern.status-dead,
.quotes-table-modern .status-badge-modern.status-lost {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.12) 0%, rgba(220, 38, 38, 0.08) 100%);
    color: #dc2626;
}

.quotes-table-modern .status-badge-modern.status-dead .status-dot,
.quotes-table-modern .status-badge-modern.status-lost .status-dot {
    background: #ef4444;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.5);
    animation: none;
}

/* Actions */
.quotes-table-modern .td-actions {
    text-align: center !important;
}

.quotes-table-modern .action-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.quotes-table-modern .btn-action {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-decoration: none;
}

.quotes-table-modern .btn-action.btn-view {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.12) 0%, rgba(99, 102, 241, 0.08) 100%);
    color: #8b5cf6;
}

.quotes-table-modern .btn-action.btn-view:hover {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.35);
}

.quotes-table-modern .btn-action.btn-download {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.12) 0%, rgba(220, 38, 38, 0.08) 100%);
    color: #ef4444;
}

.quotes-table-modern .btn-action.btn-download:hover {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
}

/* Responsive */
@media (max-width: 992px) {
    .quotes-table-modern {
        padding: 1rem;
        overflow-x: auto;
    }
    
    .quotes-table-modern table {
        min-width: 800px;
    }
}

/* =====================================================
   SUPPORT TICKETS TABLE - MODERN DESIGN
   ===================================================== */
.tickets-table-modern {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.9) 100%) !important;
    border-radius: 20px !important;
    padding: 1.5rem !important;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.08) !important;
    border: 1px solid rgba(139, 92, 246, 0.1) !important;
    margin-top: 1rem !important;
}

.tickets-table-modern table,
.tickets-table-modern table.table,
.tickets-table-modern table.table-list,
.tickets-table-modern .table {
    margin-bottom: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    background: transparent !important;
    width: 100% !important;
}

.tickets-table-modern thead tr,
.tickets-table-modern table thead tr {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%) !important;
}

.tickets-table-modern thead th,
.tickets-table-modern table thead th,
.tickets-table-modern .table thead th {
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 1rem 0.75rem !important;
    border: none !important;
    white-space: nowrap !important;
    background: transparent !important;
}

.tickets-table-modern thead th:first-child,
.tickets-table-modern table thead th:first-child {
    border-radius: 12px 0 0 12px !important;
}

.tickets-table-modern thead th:last-child,
.tickets-table-modern table thead th:last-child {
    border-radius: 0 12px 12px 0 !important;
}

.tickets-table-modern thead th.th-icon {
    width: 60px !important;
    text-align: center !important;
}

.tickets-table-modern thead th.th-actions {
    width: 120px !important;
    text-align: center !important;
}

.tickets-table-modern tbody tr,
.tickets-table-modern table tbody tr {
    transition: all 0.25s ease !important;
    background: #fff !important;
}

.tickets-table-modern tbody tr:hover,
.tickets-table-modern table tbody tr:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.03) 0%, rgba(99, 102, 241, 0.05) 100%) !important;
    transform: translateX(4px);
}

.tickets-table-modern tbody td,
.tickets-table-modern table tbody td {
    padding: 1rem 0.75rem !important;
    vertical-align: middle !important;
    border-bottom: 1px solid rgba(139, 92, 246, 0.08) !important;
    border-top: none !important;
}

.tickets-table-modern tbody tr:last-child td {
    border-bottom: none !important;
}

.tickets-table-modern .dataTables_empty,
.tickets-table-modern td.dataTables_empty {
    text-align: center !important;
    padding: 2rem !important;
    color: #64748b !important;
    font-size: 0.95rem !important;
    background: #fff !important;
}

.tickets-table-modern .td-icon {
    text-align: center !important;
}

.tickets-table-modern .ticket-icon-wrap {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(37, 99, 235, 0.08) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
}

.tickets-table-modern .ticket-icon-wrap.has-unread {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.1) 100%);
}

.tickets-table-modern .ticket-type-icon {
    font-size: 1.25rem;
    color: #3b82f6;
}

.tickets-table-modern .ticket-icon-wrap.has-unread .ticket-type-icon {
    color: #ef4444;
}

.tickets-table-modern .unread-indicator {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 12px;
    height: 12px;
    background: #ef4444;
    border-radius: 50%;
    border: 2px solid #fff;
    animation: pulse-dot 2s infinite;
}

.tickets-table-modern .td-department .department-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.75rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(99, 102, 241, 0.05) 100%);
    border-radius: 8px;
    color: #6366f1;
    font-weight: 500;
    font-size: 0.85rem;
}

.tickets-table-modern .td-subject .ticket-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.tickets-table-modern .td-subject .ticket-id {
    font-size: 0.75rem;
    color: #8b5cf6;
    font-weight: 600;
}

.tickets-table-modern .td-subject .ticket-subject {
    font-weight: 500;
    color: #334155;
}

.tickets-table-modern .td-subject .ticket-subject.unread {
    font-weight: 700;
    color: #1e293b;
}

.tickets-table-modern .td-date .date-wrap {
    display: flex;
    align-items: center;
    color: #64748b;
    font-size: 0.875rem;
}

.tickets-table-modern .td-date .date-wrap i {
    color: #8b5cf6;
    font-size: 0.95rem;
}

/* Ticket Status Badges */
.tickets-table-modern .td-status .status-badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: capitalize;
}

.tickets-table-modern .td-status .status-badge-modern .status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

.tickets-table-modern .status-badge-modern.status-open {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.12) 0%, rgba(22, 163, 74, 0.08) 100%);
    color: #16a34a;
}

.tickets-table-modern .status-badge-modern.status-open .status-dot {
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
}

.tickets-table-modern .status-badge-modern.status-answered {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(37, 99, 235, 0.08) 100%);
    color: #2563eb;
}

.tickets-table-modern .status-badge-modern.status-answered .status-dot {
    background: #3b82f6;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.5);
}

.tickets-table-modern .status-badge-modern.status-customer-reply,
.tickets-table-modern .status-badge-modern.status-customerreply {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(217, 119, 6, 0.08) 100%);
    color: #d97706;
}

.tickets-table-modern .status-badge-modern.status-customer-reply .status-dot,
.tickets-table-modern .status-badge-modern.status-customerreply .status-dot {
    background: #f59e0b;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
}

.tickets-table-modern .status-badge-modern.status-closed {
    background: linear-gradient(135deg, rgba(100, 116, 139, 0.12) 0%, rgba(71, 85, 105, 0.08) 100%);
    color: #64748b;
}

.tickets-table-modern .status-badge-modern.status-closed .status-dot {
    background: #94a3b8;
    box-shadow: 0 0 8px rgba(148, 163, 184, 0.5);
    animation: none;
}

.tickets-table-modern .status-badge-modern.status-inprogress,
.tickets-table-modern .status-badge-modern.status-in-progress {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.12) 0%, rgba(99, 102, 241, 0.08) 100%);
    color: #8b5cf6;
}

.tickets-table-modern .status-badge-modern.status-inprogress .status-dot,
.tickets-table-modern .status-badge-modern.status-in-progress .status-dot {
    background: #8b5cf6;
    box-shadow: 0 0 8px rgba(139, 92, 246, 0.5);
}

.tickets-table-modern .status-badge-modern.status-onhold,
.tickets-table-modern .status-badge-modern.status-on-hold {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.12) 0%, rgba(220, 38, 38, 0.08) 100%);
    color: #dc2626;
}

.tickets-table-modern .status-badge-modern.status-onhold .status-dot,
.tickets-table-modern .status-badge-modern.status-on-hold .status-dot {
    background: #ef4444;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.5);
}

/* Custom status color support */
.tickets-table-modern .status-badge-modern.status-custom {
    background: linear-gradient(135deg, rgba(var(--status-color), 0.12) 0%, rgba(var(--status-color), 0.08) 100%);
}

.tickets-table-modern .status-badge-modern.status-custom .status-dot {
    background: var(--status-color);
}

/* Actions */
.tickets-table-modern .td-actions {
    text-align: center !important;
}

.tickets-table-modern .action-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tickets-table-modern .btn-action {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-decoration: none;
}

.tickets-table-modern .btn-action.btn-view {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.12) 0%, rgba(99, 102, 241, 0.08) 100%);
    color: #8b5cf6;
}

.tickets-table-modern .btn-action.btn-view:hover {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.35);
}

.tickets-table-modern .btn-action.btn-reply {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.12) 0%, rgba(22, 163, 74, 0.08) 100%);
    color: #22c55e;
}

.tickets-table-modern .btn-action.btn-reply:hover {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.35);
}

/* Responsive */
@media (max-width: 992px) {
    .tickets-table-modern {
        padding: 1rem;
        overflow-x: auto;
    }

    .tickets-table-modern table {
        min-width: 750px;
    }
}

/* =====================================================
   GLOBAL TABLE HEADER FIX - Remove black borders
   ===================================================== */
.services-table-modern thead,
.domains-table-modern thead,
.ssl-table-modern thead,
.invoices-table-modern thead,
.quotes-table-modern thead,
.tickets-table-modern thead {
    border: none !important;
    border-radius: 12px !important;
    overflow: hidden !important;
}

.services-table-modern thead tr,
.domains-table-modern thead tr,
.ssl-table-modern thead tr,
.invoices-table-modern thead tr,
.quotes-table-modern thead tr,
.tickets-table-modern thead tr {
    border: none !important;
    border-radius: 12px !important;
}

.services-table-modern thead th,
.domains-table-modern thead th,
.ssl-table-modern thead th,
.invoices-table-modern thead th,
.quotes-table-modern thead th,
.tickets-table-modern thead th {
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
    border-left: none !important;
    border-right: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.services-table-modern table,
.domains-table-modern table,
.ssl-table-modern table,
.invoices-table-modern table,
.quotes-table-modern table,
.tickets-table-modern table {
    border: none !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
}

/* DataTables sorting icons fix */
.services-table-modern thead th.sorting,
.services-table-modern thead th.sorting_asc,
.services-table-modern thead th.sorting_desc,
.domains-table-modern thead th.sorting,
.domains-table-modern thead th.sorting_asc,
.domains-table-modern thead th.sorting_desc,
.ssl-table-modern thead th.sorting,
.ssl-table-modern thead th.sorting_asc,
.ssl-table-modern thead th.sorting_desc,
.invoices-table-modern thead th.sorting,
.invoices-table-modern thead th.sorting_asc,
.invoices-table-modern thead th.sorting_desc,
.quotes-table-modern thead th.sorting,
.quotes-table-modern thead th.sorting_asc,
.quotes-table-modern thead th.sorting_desc,
.tickets-table-modern thead th.sorting,
.tickets-table-modern thead th.sorting_asc,
.tickets-table-modern thead th.sorting_desc {
    border: none !important;
    outline: none !important;
}

/* =====================================================
   TOPBAR ANNOUNCEMENT TICKER
   ===================================================== */
.topbar-ticker {
    flex: 1;
    max-width: 600px;
    margin: 0 2rem;
    overflow: hidden;
    position: relative;
}

.topbar-ticker::before,
.topbar-ticker::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40px;
    z-index: 2;
    pointer-events: none;
}

.topbar-ticker::before {
    left: 0;
    background: linear-gradient(to right, rgba(30, 27, 75, 1) 0%, transparent 100%);
}

.topbar-ticker::after {
    right: 0;
    background: linear-gradient(to left, rgba(30, 27, 75, 1) 0%, transparent 100%);
}

.ticker-wrapper {
    display: flex;
    align-items: center;
    height: 32px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(99, 102, 241, 0.1) 100%);
    border-radius: 20px;
    padding: 0 1rem;
    border: 1px solid rgba(139, 92, 246, 0.2);
    overflow: hidden;
}

.ticker-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    animation: ticker-scroll 30s linear infinite;
    white-space: nowrap;
    flex-shrink: 0;
    padding-right: 3rem;
}

.ticker-wrapper:hover .ticker-content {
    animation-play-state: paused;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
    font-weight: 500;
    flex-shrink: 0;
}

/* Promo/Coupon items - green/yellow accent */
.ticker-item.ticker-promo i {
    color: #34d399;
    font-size: 0.85rem;
}

.ticker-item.ticker-promo strong {
    color: #34d399;
    font-weight: 700;
}

/* Announcement items - purple accent */
.ticker-item.ticker-announcement i {
    color: #a78bfa;
    font-size: 0.85rem;
}

.ticker-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.2s ease;
}

.ticker-item a:hover {
    color: #a78bfa;
}

.ticker-item strong {
    font-weight: 700;
}

/* Responsive */
@media (max-width: 992px) {
    .topbar-ticker {
        display: none;
    }
}

@media (min-width: 993px) and (max-width: 1200px) {
    .topbar-ticker {
        max-width: 400px;
        margin: 0 1rem;
    }
}

/* ===== NOTIFICATION POPOVER ===== */
.popover-user-notifications {
    min-width: 320px;
    max-width: 400px;
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(139, 92, 246, 0.1);
    background: #fff;
}

.popover-user-notifications .popover-header {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    color: #fff;
    font-weight: 600;
    padding: 0.75rem 1rem;
    border-bottom: none;
    border-radius: 12px 12px 0 0;
}

.popover-user-notifications .popover-body {
    padding: 0;
}

.popover-user-notifications .notification-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.popover-user-notifications .notification-list li {
    border-bottom: 1px solid rgba(139, 92, 246, 0.08);
}

.popover-user-notifications .notification-list li:last-child {
    border-bottom: none;
}

.popover-user-notifications .notification-list li a {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    color: #1e293b;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.popover-user-notifications .notification-list li a:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(99, 102, 241, 0.08) 100%);
}

.popover-user-notifications .notification-list li a i {
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.popover-user-notifications .notification-list li a span {
    flex: 1;
    line-height: 1.4;
}

.popover-user-notifications .notification-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: #94a3b8;
    text-align: center;
}

.popover-user-notifications .notification-empty i {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    opacity: 0.5;
}

.popover-user-notifications .notification-empty span {
    font-size: 0.9rem;
}

/* Arrow styling */
.popover-user-notifications .arrow::before {
    border-bottom-color: transparent;
}

.popover-user-notifications .arrow::after {
    border-bottom-color: #fff;
}

/* Hidden class for notification content - without !important to allow jQuery .show() */
.w-hidden {
    display: none;
}

/* Button action icon reset */
button.action-icon {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}
/* Product name link in services table */
.product-name-link {
    color: #1e293b;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.product-name-link:hover {
    color: #7c3aed;
    text-decoration: none;
}
