/* ============================================
   COLOBIRD PROFESSIONAL LIGHT THEME
   Refined, Unique, Executive Dashboard Design
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    /* Brand Colors - Professional Light Theme */
    --color-primary: #0054b5;
    --color-primary-dark: #003d85;
    --color-primary-light: #1a6dd4;
    --color-accent: #002370;
    --color-accent-light: #e5f2ff;
    
    /* Neutral Palette - Sophisticated Grays */
    --color-background: #f8fafb;
    --color-surface: #ffffff;
    --color-surface-elevated: #ffffff;
    --color-border: #e5e9ef;
    --color-border-light: #f0f3f7;
    
    /* Text Hierarchy */
    --color-text-primary: #0f172a;
    --color-text-secondary: #475569;
    --color-text-tertiary: #94a3b8;
    --color-text-inverse: #ffffff;
    
    /* Semantic Colors */
    --color-success: #10b981;
    --color-success-light: #d1fae5;
    --color-warning: #f59e0b;
    --color-warning-light: #fef3c7;
    --color-error: #ef4444;
    --color-error-light: #fee2e2;
    --color-info: #3b82f6;
    --color-info-light: #dbeafe;
    
    /* Shadows - Layered Depth System */
    --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.03);
    --shadow-md: 0 4px 8px rgba(15, 23, 42, 0.08), 0 2px 4px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 8px 16px rgba(15, 23, 42, 0.10), 0 4px 8px rgba(15, 23, 42, 0.06);
    --shadow-xl: 0 20px 25px rgba(15, 23, 42, 0.12), 0 8px 10px rgba(15, 23, 42, 0.08);
    --shadow-inner: inset 0 2px 4px rgba(15, 23, 42, 0.06);
    
    /* Spacing Scale */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    
    /* Border Radius Scale */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.25rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Typography */
    --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================
   GLOBAL RESETS & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-primary);
    background: var(--color-background);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.dashboard-container {
    max-width: 1700px;
    margin: 0 auto;
    padding: var(--space-8) var(--space-6);
}

.master-breadcrumb .container{
    max-width: 1500px;
}

/* ============================================
   NAVIGATION PILLS - REFINED DESIGN
   ============================================ */
.icon-nav-container {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-4);
    margin-bottom: var(--space-8);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.icon-nav-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--color-primary) 20%, 
        var(--color-primary) 80%, 
        transparent
    );
    opacity: 0.3;
}

.nav__food {
    list-style: none;
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    gap: var(--space-2);
    margin: 0;
    padding: 0;
}

.nav__food li {
    flex: 1;
    min-width: 100px;
}

.nav__food li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--color-text-secondary);
    font-weight: 600;
    font-size: 0.8125rem;
    font-family: var(--font-display);
    padding: var(--space-4) var(--space-3);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    position: relative;
    letter-spacing: -0.01em;
}

.nav__food li a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-accent-light), transparent);
    opacity: 0;
    border-radius: var(--radius-md);
    transition: opacity var(--transition-base);
    z-index: -1;
}

.nav__food li a:hover::before {
    opacity: 1;
}

.nav__food li a:hover {
    color: var(--color-primary);
    transform: translateY(-2px);
}

.nav__food li a:active {
    transform: translateY(0);
}

.nav__food li a img {
    height: 40px;
    width: auto;
    margin-bottom: var(--space-3);
    opacity: 0.7;
    transition: all var(--transition-base);
    filter: grayscale(0.4);
}

.nav__food li a:hover img {
    opacity: 1;
    filter: grayscale(0);
    transform: scale(1.08);
}

.nav__food li a span {
    display: block;
    white-space: nowrap;
}

/* ============================================
   DIGITAL ID CARD - REFINED COMPACT DESIGN
   ============================================ */
.digital-id-card {
    /* Main Card Background - Dark Navy Gradient */
    background: linear-gradient(180deg, #051937 0%, #002370 100%); 
    color: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    font-family: var(--font-display);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin: 2rem 0rem;
}

.digital-id-card .id-header {
    padding: 20px 24px 10px; /* Reduced bottom padding */
    text-align: left;
}

.digital-id-card .id-header h3 {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* --- AVATAR SECTION (Smaller Size) --- */
.digital-id-card .id-body {
    padding: 10px 20px; /* Tighter padding */
    text-align: center;
}

.digital-id-card .user-avatar {
    margin: 0 auto 15px;
    position: relative;
    width: 80px; /* Reduced from 100px */
    height: 80px;
}

/* The glowing ring behind avatar */
.digital-id-card .user-avatar::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;  /* Reduced from 110px */
    height: 90px;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.05));
    border-radius: 50%;
    z-index: 0;
}

.digital-id-card .user-avatar img {
    width: 80px;  /* Reduced from 100px */
    height: 80px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
    object-fit: cover;
}

.digital-id-card .user-name {
    color: #fff;
    margin: 0 0 4px;
    font-size: 23px; /* Slightly smaller font */
    font-weight: 700;
}

.digital-id-card .user-country {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 12px;
    font-weight: 500;
}

.digital-id-card .user-address {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    line-height: 1.5;
    margin-bottom: 20px;
    padding: 0 10px;
}

/* ============================================
   NEW MENU BUTTONS (Dark Blocks)
   ============================================ */
.digital-id-card .id-menu-container {
    padding: 0 20px 25px;
}

.id-menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Dark Blue Block Background matching your image */
    background-color: rgba(13, 33, 66, 0.6); 
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
    padding: 14px 20px;
    border-radius: 12px;
    margin-bottom: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 0.95rem;
}

.id-menu-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    color: #fff;
    text-decoration: none;
    border-color: rgba(255, 255, 255, 0.2);
}

.id-menu-item .id-item-left i {
    width: 20px;
    text-align: center;
    margin-right: 12px;
    opacity: 0.7;
    font-size: 1rem;
}

/* Circular Green Badge */
.id-badge {
    background: #88d73f; /* Bright Neon Green */
    color: #051937;      /* Dark Text for contrast */
    font-weight: 700;
    font-size: 0.75rem;
    height: 22px;
    min-width: 22px;
    line-height: 22px;
    border-radius: 50%; /* Makes it a perfect circle */
    text-align: center;
    padding: 0 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    display: inline-block;
}

/* Footer Section (Divider + Links) */
.digital-id-card .id-footer {
    padding: 20px 0;
    margin: 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* Thin divider line */
}

.id-text-link {
    display: block;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.id-text-link:hover {
    color: #fff;
    text-decoration: none;
}

/* 1. The Container Wrapper */
.id-accordion-item {
    margin-bottom: 10px;
    border-radius: 12px;
    background-color: rgba(13, 33, 66, 0.6); /* Default block color */
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

/* 2. The Header (Clickable Part) */
.id-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 20px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 0.95rem;
    transition: background 0.2s ease;
}

.id-menu-header:hover, 
.id-menu-header.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* Left Icon & Text */
.id-menu-header .id-item-left i {
    width: 20px;
    text-align: center;
    margin-right: 12px;
    opacity: 0.7;
    font-size: 1rem;
}

/* Right Badge & Arrow */
.id-header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.accordion-arrow {
    font-size: 0.75rem;
    opacity: 0.5;
    transition: transform 0.3s ease;
}

/* Rotate arrow when active */
.id-menu-header.active .accordion-arrow {
    transform: rotate(180deg);
}

/* 3. The Accordion Body (Hidden List) */
.id-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(0, 0, 0, 0.2); /* Slightly darker for contrast */
}

/* 4. Sub-Items (The Rows inside) */
.id-sub-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 20px 10px 52px; /* Indented padding (icon space + gap) */
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    text-decoration: none;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s;
}

.id-sub-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    text-decoration: none;
    padding-left: 56px; /* Subtle movement on hover */
}

.sub-count {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    min-width: 20px;
    text-align: center;
}

/* Keep your existing badge style */
.id-badge {
    background: #88d73f;
    color: #051937;
    font-weight: 700;
    font-size: 0.75rem;
    height: 22px;
    min-width: 22px;
    line-height: 22px;
    border-radius: 50%;
    text-align: center;
    padding: 0 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    display: inline-block;
}

/* ============================================
   HOVER-BASED ACCORDION LOGIC
   ============================================ */

/* 1. Ensure the container handles hover events smoothly */
.id-hover-wrapper {
    position: relative;
    transition: background 0.2s;
}

/* 2. When hovering the wrapper, expand the body */
.id-hover-wrapper:hover .id-accordion-body {
    max-height: 500px; /* Large enough to fit content */
    opacity: 1;
    transition: max-height 0.5s ease-in-out, opacity 0.3s ease-in-out;
}

/* 3. Rotate the arrow on hover */
.id-hover-wrapper:hover .accordion-arrow {
    transform: rotate(180deg);
}

/* 4. Style the Header Link (Since it's now an <a> tag) */
a.id-menu-header {
    text-decoration: none !important;
    display: flex;
    justify-content: space-between;
    width: 100%;
    color: rgba(255, 255, 255);
}

a.id-menu-header:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

/* 5. Adjust the body default state */
.id-accordion-body {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    /* Smooth transition for closing */
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1), opacity 0.3s ease-out;
}


/* ============================================
   CONTENT CARDS - PREMIUM DESIGN SYSTEM
   ============================================ */
.content-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--space-6);
    transition: all var(--transition-base);
    position: relative;
    max-height: 400px;
    overflow-y: auto;
}

.content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-primary) 50%, transparent);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.content-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 84, 181, 0.2);
    transform: translateY(-2px);
}

.content-card:hover::before {
    opacity: 1;
}

.card-title-head {
    padding: var(--space-5) var(--space-6);
    font-size: 1.0625rem;
    font-weight: 700;
    font-family: var(--font-display);
    color: var(--color-text-primary);
    background: linear-gradient(180deg, rgba(248, 250, 251, 0.5), transparent);
    border-bottom: 1px solid var(--color-border-light);
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-body-custom {
    padding: var(--space-6);
    color: var(--color-text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.card-footer-custom {
    padding: var(--space-4) var(--space-6);
    background: rgba(248, 250, 251, 0.5);
    border-top: 1px solid var(--color-border-light);
}

/* ============================================
   INFRASTRUCTURE STATUS HUB - UNIQUE LAYOUT
   ============================================ */
.status-hub-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
    padding: var(--space-6);
    background: linear-gradient(135deg, 
        rgba(229, 242, 255, 0.3) 0%, 
        rgba(255, 255, 255, 0.5) 50%,
        rgba(229, 242, 255, 0.3) 100%
    );
    border-radius: var(--radius-lg);
    position: relative;
}

.status-hub-grid::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, 
        rgba(0, 84, 181, 0.1), 
        transparent 30%,
        transparent 70%,
        rgba(0, 84, 181, 0.1)
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.hub-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.hub-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-accent-light), transparent);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.hub-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 84, 181, 0.2);
}

.hub-item:hover::before {
    opacity: 0.5;
}

.hub-item a {
    text-decoration: none !important;
    color: white;
    display: block;
    position: relative !important;
    z-index: 1;
}

.hub-item .icon-box {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-4);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-accent-light), rgba(229, 242, 255, 0.3));
    border-radius: var(--radius-md);
    color: var(--color-primary);
    font-size: 1.5rem;
    transition: all var(--transition-base);
}

.hub-item:hover .icon-box {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: var(--color-text-inverse);
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-md);
}

.hub-item .hub-stat {
    font-size: 2rem;
    font-weight: 800;
    font-family: var(--font-display);
    color: var(--color-text-primary);
    line-height: 1;
    margin-bottom: var(--space-2);
    letter-spacing: -0.03em;
}

.hub-item .hub-label {
    font-size: 0.8125rem;
    color: var(--color-text-secondary);
    font-weight: 700;
    font-family: var(--font-display);
    margin-bottom: var(--space-1);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hub-item .hub-sub {
    font-size: 0.75rem;
    color: var(--color-text-tertiary);
    font-weight: 500;
}

/* Special Ticket Button */
.btn-hub-ticket {
    margin-top: var(--space-4);
    font-size: 0.6875rem;
    padding: var(--space-2) var(--space-4);
    background: var(--color-primary);
    color: var(--color-text-inverse);
    border: none;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    display: inline-block;
}

.btn-hub-ticket:hover {
    background: var(--color-primary-dark);
    color: var(--color-text-inverse);
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* ============================================
   LIST GROUPS & WIDGETS
   ============================================ */
.content-card .list-group-item {
    border: none;
    border-bottom: 1px solid var(--color-border-light);
    padding: var(--space-4) var(--space-6);
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    transition: all var(--transition-fast);
    background: transparent;
    font-weight: 500;
}

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

.content-card .list-group-item:hover {
    background: rgba(229, 242, 255, 0.3);
    color: var(--color-primary);
    padding-left: calc(var(--space-6) + var(--space-2));
}

.content-card .list-group-item-action {
    cursor: pointer;
}

/* ============================================
   BUTTONS & INTERACTIVE ELEMENTS
   ============================================ */
.btn-outline-primary {
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    background: transparent;
    font-weight: 700;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.75rem;
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

.btn-outline-primary:hover {
    background: var(--color-primary);
    color: var(--color-text-inverse);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    text-decoration: none;
}

.btn-outline-primary i {
    font-size: 0.875rem;
}

/* Primary Button */
.btn-primary,
.content-card .btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: var(--color-text-inverse);
    border: none;
    font-weight: 700;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.75rem;
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

.btn-primary:hover,
.content-card .btn-primary:hover {
    background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
    color: var(--color-text-inverse);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    text-decoration: none;
}

/* Secondary Button */
.btn-secondary,
.content-card .btn-secondary {
    background: var(--color-border-light);
    color: var(--color-text-secondary);
    border: 1px solid var(--color-border);
    font-weight: 600;
    font-family: var(--font-display);
    font-size: 0.8125rem;
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.btn-secondary:hover,
.content-card .btn-secondary:hover {
    background: var(--color-surface);
    color: var(--color-text-primary);
    border-color: var(--color-primary);
    text-decoration: none;
}

/* Success Button */
.btn-success,
.content-card .btn-success {
    background: var(--color-success);
    color: white;
    border: none;
    font-weight: 700;
    font-family: var(--font-display);
    font-size: 0.8125rem;
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.btn-success:hover,
.content-card .btn-success:hover {
    background: #0d9668;
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
}

/* Small Button */
.btn-sm,
.content-card .btn-sm {
    font-size: 0.75rem;
    padding: var(--space-2) var(--space-4);
}

/* Block Button */
.btn-block,
.content-card .btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* ============================================
   BADGES & STATUS INDICATORS
   ============================================ */
.badge-info {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: var(--color-text-inverse);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-weight: 700;
    font-family: var(--font-display);
    font-size: 0.6875rem;
    letter-spacing: 0.03em;
    box-shadow: var(--shadow-xs);
}

/* ============================================
   ALERTS & MESSAGES
   ============================================ */
.content-card .alert {
    margin: var(--space-4) var(--space-6);
    border-radius: var(--radius-md);
    border: 1px solid;
    padding: var(--space-4) var(--space-5);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.content-card .alert-info {
    background: linear-gradient(135deg, rgba(229, 242, 255, 0.5), rgba(255, 255, 255, 0.8));
    border-color: rgba(0, 84, 181, 0.2);
    color: var(--color-text-primary);
}

.content-card .alert-info a {
    color: var(--color-primary);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color var(--transition-fast);
}

.content-card .alert-info a:hover {
    border-bottom-color: var(--color-primary);
}

/* ============================================
   ACTIVE SERVICES / PRODUCTS STYLING
   ============================================ */

/* Services Table */
.content-card .table,
.content-card table {
    width: 100%;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.9375rem;
}

.content-card .table thead th,
.content-card table thead th {
    background: linear-gradient(180deg, rgba(248, 250, 251, 0.8), rgba(248, 250, 251, 0.5));
    color: var(--color-text-secondary);
    font-weight: 700;
    font-family: var(--font-display);
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: var(--space-4) var(--space-5);
    border-bottom: 2px solid var(--color-border);
    text-align: left;
}

.content-card .table tbody td,
.content-card table tbody td {
    padding: var(--space-4) var(--space-5);
    border-bottom: 1px solid var(--color-border-light);
    color: var(--color-text-primary);
    vertical-align: middle;
}

.content-card .table tbody tr:last-child td,
.content-card table tbody tr:last-child td {
    border-bottom: none;
}

.content-card .table tbody tr,
.content-card table tbody tr {
    transition: background-color var(--transition-fast);
}

.content-card .table tbody tr:hover,
.content-card table tbody tr:hover {
    background: rgba(229, 242, 255, 0.2);
}

/* Service Links */
.content-card .table a,
.content-card table a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-fast);
}

.content-card .table a:hover,
.content-card table a:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

/* Status Badges in Tables */
.content-card .table .label,
.content-card table .label,
.content-card .table .badge,
.content-card table .badge {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--font-display);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.content-card .table .label-success,
.content-card table .label-success {
    background: var(--color-success-light);
    color: var(--color-success);
}

.content-card .table .label-warning,
.content-card table .label-warning {
    background: var(--color-warning-light);
    color: var(--color-warning);
}

.content-card .table .label-danger,
.content-card table .label-danger {
    background: var(--color-error-light);
    color: var(--color-error);
}

.content-card .table .label-info,
.content-card table .label-info {
    background: var(--color-info-light);
    color: var(--color-info);
}

.content-card .table .label-default,
.content-card table .label-default {
    background: var(--color-border-light);
    color: var(--color-text-secondary);
}

/* Product/Service Cards (Alternative Layout) */
.content-card .product-card,
.content-card .service-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    padding: var(--space-5);
    margin-bottom: var(--space-4);
    transition: all var(--transition-base);
}

.content-card .product-card:hover,
.content-card .service-card:hover {
    border-color: rgba(0, 84, 181, 0.2);
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}

.content-card .product-card:last-child,
.content-card .service-card:last-child {
    margin-bottom: 0;
}

/* Service Title/Name */
.content-card .product-card h4,
.content-card .service-card h4,
.content-card .product-name,
.content-card .service-name {
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font-display);
    color: var(--color-text-primary);
    margin: 0 0 var(--space-2);
}

.content-card .product-card h4 a,
.content-card .service-card h4 a,
.content-card .product-name a,
.content-card .service-name a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.content-card .product-card h4 a:hover,
.content-card .service-card h4 a:hover,
.content-card .product-name a:hover,
.content-card .service-name a:hover {
    color: var(--color-primary-dark);
}

/* Service Meta Info */
.content-card .product-meta,
.content-card .service-meta {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-3);
}

/* Service Actions */
.content-card .product-actions,
.content-card .service-actions {
    display: flex;
    gap: var(--space-2);
    flex-wrap: wrap;
    margin-top: var(--space-3);
}

.content-card .product-actions a,
.content-card .service-actions a,
.content-card .product-actions button,
.content-card .service-actions button {
    font-size: 0.8125rem;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-family: var(--font-display);
    text-decoration: none;
    transition: all var(--transition-fast);
}

/* Panel Body (WHMCS Default) */
.content-card .panel-body {
    padding: 0;
    background: transparent;
}

/* List Groups in Services */
.content-card .panel-body .list-group {
    margin: 0;
}

.content-card .panel-body .list-group-item {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--color-border-light);
    padding: var(--space-4) var(--space-6);
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    transition: all var(--transition-fast);
}

.content-card .panel-body .list-group-item:last-child {
    border-bottom: none;
}

.content-card .panel-body .list-group-item:hover {
    background: rgba(229, 242, 255, 0.3);
    color: var(--color-primary);
    padding-left: calc(var(--space-6) + var(--space-2));
}

.content-card .panel-body .list-group-item strong {
    font-weight: 700;
    color: var(--color-text-primary);
    margin-right: var(--space-2);
}

/* Services List (Alternative) */
.content-card .services-list,
.content-card .products-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.content-card .services-list li,
.content-card .products-list li {
    padding: var(--space-4) var(--space-6);
    border-bottom: 1px solid var(--color-border-light);
    transition: all var(--transition-fast);
}

.content-card .services-list li:last-child,
.content-card .products-list li:last-child {
    border-bottom: none;
}

.content-card .services-list li:hover,
.content-card .products-list li:hover {
    background: rgba(229, 242, 255, 0.3);
    padding-left: calc(var(--space-6) + var(--space-2));
}

/* Responsive Tables */
@media (max-width: 768px) {
    .content-card .table-responsive {
        border: none;
        margin: 0;
    }
    
    .content-card .table thead {
        display: none;
    }
    
    .content-card .table tbody tr {
        display: block;
        margin-bottom: var(--space-4);
        border: 1px solid var(--color-border-light);
        border-radius: var(--radius-md);
        padding: var(--space-3);
    }
    
    .content-card .table tbody td {
        display: block;
        text-align: right;
        padding: var(--space-2) var(--space-3);
        border-bottom: 1px solid var(--color-border-light);
    }
    
    .content-card .table tbody td:last-child {
        border-bottom: none;
    }
    
    .content-card .table tbody td::before {
        content: attr(data-label);
        float: left;
        font-weight: 700;
        color: var(--color-text-secondary);
    }
}

/* ============================================
   EMPTY STATES
   ============================================ */
.text-muted {
    color: var(--color-text-tertiary) !important;
    font-style: italic;
    font-size: 0.875rem;
}

.text-muted-white {
    color: #5d6774 !important;
    font-style: italic;
    font-size: 0.875rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
    .status-hub-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-3);
    }
}

@media (max-width: 768px) {
    .dashboard-container {
        padding: var(--space-6) var(--space-4);
    }
    
    .icon-nav-container {
        padding: var(--space-3);
    }
    
    .nav__food {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-2);
    }
    
    .nav__food li {
        flex: 0 1 auto;
        min-width: 80px;
    }
    
    .nav__food li a {
        padding: var(--space-3) var(--space-2);
        font-size: 0.75rem;
    }
    
    .nav__food li a img {
        height: 32px;
    }
    
    .status-hub-grid {
        grid-template-columns: 1fr;
        gap: var(--space-3);
        padding: var(--space-4);
    }
    
    .digital-id-card {
        position: relative;
        top: 0;
    }
    
    .card-title-head {
        font-size: 1rem;
        padding: var(--space-4) var(--space-5);
    }
    
    .card-body-custom {
        padding: var(--space-5);
    }
}

/* ============================================
   ACCESSIBILITY & FOCUS STATES
   ============================================ */
*:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* ============================================
   SELECTION STYLING
   ============================================ */
::selection {
    background: var(--color-primary);
    color: var(--color-text-inverse);
}

::-moz-selection {
    background: var(--color-primary);
    color: var(--color-text-inverse);
}

/* ============================================
   SMOOTH SCROLLING
   ============================================ */
html {
    scroll-behavior: smooth;
}

/* ============================================
   CUSTOM SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: var(--color-background);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--color-primary), var(--color-accent));
    border-radius: var(--radius-full);
    border: 3px solid var(--color-background);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--color-accent), var(--color-primary-dark));
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--color-primary) var(--color-background);
}




/* ==================== */

/* ============================================
   COLOBIRD PROFESSIONAL THEME
   Advanced Animations & Micro-interactions
   ============================================ */

/* ============================================
   PAGE LOAD ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Staggered entrance animations */
.dashboard-container {
    animation: fadeIn 0.5s ease-out;
}

.icon-nav-container {
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.digital-id-card {
    animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.content-card {
    animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.content-card:nth-child(1) {
    animation-delay: 0.15s;
}

.content-card:nth-child(2) {
    animation-delay: 0.2s;
}

.content-card:nth-child(3) {
    animation-delay: 0.25s;
}

.content-card:nth-child(4) {
    animation-delay: 0.3s;
}

/* ============================================
   HOVER & INTERACTION ANIMATIONS
   ============================================ */

/* Ripple effect for buttons */
@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 0.6;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

.btn-outline-primary,
.btn-hub-ticket,
.digital-id-card .id-btn {
    position: relative;
    overflow: hidden;
}

.btn-outline-primary::after,
.btn-hub-ticket::after,
.digital-id-card .id-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
}

.btn-outline-primary:active::after,
.btn-hub-ticket:active::after,
.digital-id-card .id-btn:active::after {
    animation: ripple 0.6s ease-out;
}

/* Icon pulse on hover */
@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.hub-item:hover .icon-box {
    animation: iconPulse 0.8s ease-in-out;
}

/* Number count-up effect */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hub-stat {
    display: inline-block;
}

.hub-item:hover .hub-stat {
    animation: countUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================
   CARD SHIMMER EFFECT
   ============================================ */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.content-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.8),
        transparent
    );
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.content-card:hover::after {
    animation: shimmer 2s infinite;
    opacity: 1;
}

/* ============================================
   FLOATING ANIMATION
   ============================================ */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-6px);
    }
}

.digital-id-card .user-avatar {
    animation: float 4s ease-in-out infinite;
}

/* ============================================
   GRADIENT ANIMATION
   ============================================ */
@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.status-hub-grid {
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
}

/* ============================================
   BORDER GLOW ANIMATION
   ============================================ */
@keyframes borderGlow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(0, 84, 181, 0.2),
                    0 0 10px rgba(0, 84, 181, 0.1);
    }
    50% {
        box-shadow: 0 0 10px rgba(0, 84, 181, 0.4),
                    0 0 20px rgba(0, 84, 181, 0.2);
    }
}

.content-card:hover {
    animation: borderGlow 2s ease-in-out infinite;
}

/* ============================================
   LOADING STATES
   ============================================ */
@keyframes skeleton {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.skeleton {
    background: linear-gradient(
        90deg,
        var(--color-border-light) 25%,
        var(--color-background) 50%,
        var(--color-border-light) 75%
    );
    background-size: 200% 100%;
    animation: skeleton 1.5s ease-in-out infinite;
    border-radius: var(--radius-sm);
}

.skeleton-text {
    height: 12px;
    margin-bottom: 8px;
}

.skeleton-title {
    height: 20px;
    width: 60%;
    margin-bottom: 12px;
}

.skeleton-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
}

/* ============================================
   STATUS BADGE PULSE
   ============================================ */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.badge-info {
    animation: pulse 2s ease-in-out infinite;
}

/* ============================================
   NOTIFICATION SLIDE IN
   ============================================ */
@keyframes slideInTop {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.alert {
    animation: slideInTop 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================
   PROGRESS BAR ANIMATION
   ============================================ */
@keyframes progressFill {
    from {
        width: 0;
    }
    to {
        width: var(--progress-width, 100%);
    }
}

.progress-bar {
    animation: progressFill 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ============================================
   TOOLTIP ANIMATIONS
   ============================================ */
@keyframes tooltipIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(-8px);
    }
}

[data-tooltip]::before {
    animation: tooltipIn 0.2s ease-out;
}

/* ============================================
   ICON ROTATE ON INTERACTION
   ============================================ */
@keyframes rotate360 {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.id-btn:active i,
.btn-outline-primary:active i {
    animation: rotate360 0.5s ease-in-out;
}

/* ============================================
   CARD STACK EFFECT
   ============================================ */
@keyframes stackReveal {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.content-card {
    transform-origin: center top;
}

/* ============================================
   BOUNCE ON CLICK
   ============================================ */
@keyframes bounceClick {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.95);
    }
}

.hub-item:active,
.nav__food li a:active {
    animation: bounceClick 0.3s ease-in-out;
}

/* ============================================
   TEXT REVEAL EFFECT
   ============================================ */
@keyframes textReveal {
    from {
        opacity: 0;
        transform: translateY(10px);
        filter: blur(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.card-title-head {
    animation: textReveal 0.6s ease-out;
}

/* ============================================
   SMOOTH HEIGHT TRANSITIONS
   ============================================ */
.list-group-item {
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   GLOW EFFECT ON FOCUS
   ============================================ */
@keyframes focusGlow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 84, 181, 0.4);
    }
    50% {
        box-shadow: 0 0 0 4px rgba(0, 84, 181, 0.2);
    }
}

*:focus-visible {
    animation: focusGlow 1.5s ease-in-out infinite;
}

/* ============================================
   SUBTLE BACKGROUND PATTERNS
   ============================================ */
@keyframes patternMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 40px 40px;
    }
}

.dashboard-container {
    background-image: 
        radial-gradient(circle at 20px 20px, rgba(0, 84, 181, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: patternMove 60s linear infinite;
}

/* ============================================
   PARALLAX SCROLL EFFECT (OPTIONAL)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .digital-id-card {
        transform-style: preserve-3d;
        transition: transform 0.1s ease-out;
    }
    
    .digital-id-card:hover {
        transform: perspective(1000px) rotateY(2deg) rotateX(2deg);
    }
}

/* ============================================
   PERFORMANCE OPTIMIZATIONS
   ============================================ */
.content-card,
.hub-item,
.digital-id-card,
.nav__food li a {
    will-change: transform;
}

.icon-box,
.hub-stat {
    will-change: transform, opacity;
}

/* Remove will-change after animation completes */
.content-card,
.hub-item,
.digital-id-card,
.nav__food li a {
    animation-fill-mode: forwards;
}

/* ============================================
   REDUCED MOTION SUPPORT
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .digital-id-card .user-avatar {
        animation: none;
    }
    
    .status-hub-grid {
        animation: none;
    }
    
    .content-card:hover {
        animation: none;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .icon-nav-container,
    .digital-id-card .id-footer,
    .btn-hub-ticket {
        display: none !important;
    }
    
    .content-card {
        break-inside: avoid;
        box-shadow: none !important;
        animation: none !important;
    }
    
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* ============================================
   HIGH CONTRAST MODE
   ============================================ */
@media (prefers-contrast: high) {
    .content-card,
    .hub-item,
    .digital-id-card {
        border-width: 2px;
    }
    
    .content-card:hover {
        animation: none;
    }
}

/* ============================================
   CUSTOM CURSOR EFFECTS
   ============================================ */
.hub-item a,
.nav__food li a,
.digital-id-card .id-btn,
.btn-outline-primary {
    cursor: pointer;
    position: relative;
}

.hub-item a::before,
.nav__food li a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* ============================================
   STAGGER DELAY UTILITIES
   ============================================ */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* ============================================
   SMOOTH SCALE TRANSFORM
   ============================================ */
@keyframes smoothScale {
    0% {
        transform: scale(0.9);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-content,
.dropdown-menu {
    animation: smoothScale 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}


/* ============================================
   MODERN LIST CARDS - COMPREHENSIVE STYLING
   Card-based redesign for Invoices, Quotes, Services, Tickets
   ============================================ */

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */
.modern-list-container {
    background: transparent;
    padding: var(--space-6) 0;
}

/* ============================================
   FILTER HEADER
   ============================================ */
.list-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
    flex-wrap: wrap;
}

/* Search Box */
.filter-search-box {
    position: relative;
    flex: 1;
    min-width: 280px;
    max-width: 400px;
}

.filter-search-box i {
    position: absolute;
    left: var(--space-4);
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-tertiary);
    font-size: 0.875rem;
    pointer-events: none;
}

.filter-search-input {
    width: 100%;
    padding: var(--space-3) var(--space-4) var(--space-3) 44px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    font-size: 0.9375rem;
    font-family: var(--font-body);
    color: var(--color-text-primary);
    background: var(--color-surface);
    transition: all var(--transition-base);
    outline: none;
}

.filter-search-input::placeholder {
    color: var(--color-text-tertiary);
}

.filter-search-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 84, 181, 0.1);
}

/* Filter Dropdown */
.filter-dropdown-wrapper {
    position: relative;
}

.filter-status-btn {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-5);
    background: var(--color-surface);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    color: var(--color-text-primary);
    font-size: 0.9375rem;
    font-weight: 600;
    font-family: var(--font-display);
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.filter-status-btn:hover {
    border-color: var(--color-primary);
    background: rgba(0, 84, 181, 0.03);
}

.filter-status-btn i {
    font-size: 0.75rem;
    color: var(--color-text-tertiary);
    transition: transform var(--transition-base);
}

.filter-status-btn:hover i {
    color: var(--color-primary);
}

.filter-label {
    color: var(--color-text-primary);
}

/* Dropdown Menu */
.filter-dropdown-menu {
    position: absolute;
    top: calc(100% + var(--space-2));
    right: 0;
    min-width: 220px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: var(--space-3);
    animation: dropdownSlideIn 0.2s ease-out;
    z-index: 2;
}

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

.filter-option {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    margin-bottom: var(--space-1);
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    font-weight: 500;
}

.filter-option:last-child {
    margin-bottom: 0;
}

.filter-option:hover {
    background: rgba(0, 84, 181, 0.05);
    color: var(--color-text-primary);
}

.filter-option input[type="radio"] {
    margin: 0;
    cursor: pointer;
    accent-color: var(--color-primary);
}

.filter-option input[type="radio"]:checked + span {
    color: var(--color-primary);
    font-weight: 700;
}

/* Status Dots in Dropdown */
.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.status-dot.status-paid,
.status-dot.status-accepted,
.status-dot.status-active,
.status-dot.status-answered  {
    background: var(--color-success);
}

.status-dot.status-unpaid,
.status-dot.status-pending,
.status-dot.status-customer-reply {
    background: var(--color-warning);
}

.status-dot.status-cancelled,
.status-dot.status-suspended,
.status-dot.status-lost {
    background: var(--color-error);
}

.status-dot.status-delivered,
.status-dot.status-open {
    background: var(--color-info);
}

.status-dot.status-dead,
.status-dot.status-terminated,
.status-dot.status-closed {
    background: var(--color-text-tertiary);
}

.status-dot.status-refunded {
    background: #8b5cf6;
}

/* ============================================
   CARDS GRID
   ============================================ */
.modern-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: var(--space-5);
    margin-bottom: var(--space-6);
}

/* ============================================
   INDIVIDUAL CARD DESIGN
   ============================================ */
.modern-list-card {
    background: var(--color-surface);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-5);
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.modern-list-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.modern-list-card:hover {
    border-color: rgba(0, 84, 181, 0.3);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.modern-list-card:hover::before {
    opacity: 1;
}

.modern-list-card:active {
    transform: translateY(-2px);
}

/* ============================================
   CARD HEADER ROW
   ============================================ */
.card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--color-border-light);
}

.card-title-section {
    flex: 1;
    min-width: 0;
}

.card-invoice-number,
.card-service-title,
.card-ticket-title {
    font-size: 1.125rem;
    font-weight: 700;
    font-family: var(--font-display);
    color: var(--color-text-primary);
    margin: 0 0 var(--space-1);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card-subtitle {
    font-size: 0.8125rem;
    color: var(--color-text-tertiary);
    margin: 0;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card-domain-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 0.8125rem;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-fast);
    margin-top: var(--space-1);
}

.card-domain-link:hover {
    color: var(--color-primary-dark);
    text-decoration: none;
    gap: var(--space-3);
}

.card-domain-link i {
    font-size: 0.75rem;
}

/* ============================================
   STATUS BADGES
   ============================================ */
.card-status-badge {
    flex-shrink: 0;
}

.status-badge {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

/* Invoice Status Colors */
.status-badge.status-paid {
    background: var(--color-success-light);
    color: var(--color-success);
    border: 1px solid var(--color-success);
}

.status-badge.status-unpaid {
    background: var(--color-warning-light);
    color: var(--color-warning);
    border: 1px solid var(--color-warning);
}

.status-badge.status-cancelled,
.status-badge.status-refunded {
    background: var(--color-error-light);
    color: var(--color-error);
    border: 1px solid var(--color-error);
}

/* Quote Status Colors */
.status-badge.status-delivered { background: #E3F2FD; color: #3b82f6;  border: 1px solid #3b82f6;}
.status-badge.status-accepted  { background: #E8F5E9; color: #10b981; border: 1px solid #10b981; }
.status-badge.status-on-hold   { background: #FFF3E0; color: #E65100; border: 1px solid #FFE0B2; }
.status-badge.status-expired   { background: #FFEBEE; color: #B71C1C; border: 1px solid #FFCDD2; }

.status-dot.status-delivered { background: #3b82f6; }
.status-dot.status-accepted  { background: #10b981; }
.status-dot.status-on-hold   { background: #FF9800; }
.status-dot.status-expired   { background: #F44336; }

/* Service Status Colors */
.status-badge.status-active {
    background: var(--color-success-light);
    color: var(--color-success);
    border: 1px solid var(--color-success);
}

.status-badge.status-pending {
    background: var(--color-warning-light);
    color: var(--color-warning);
    border: 1px solid var(--color-warning);
}

.status-badge.status-suspended {
    background: var(--color-error-light);
    color: var(--color-error);
    border: 1px solid var(--color-error);
}

.status-badge.status-terminated {
    background: rgba(148, 163, 184, 0.15);
    color: var(--color-text-tertiary);
    border: 1px solid var(--color-text-tertiary);
}

/* Ticket Status Colors */
.status-badge.status-open {
    background: var(--color-info-light);
    color: var(--color-info);
    border: 1px solid var(--color-info);
}

.status-badge.status-answered {
    background: var(--color-success-light);
    color: var(--color-success);
    border: 1px solid var(--color-success);
}

.status-badge.status-customer-reply {
    background: var(--color-warning-light);
    color: var(--color-warning);
    border: 1px solid var(--color-warning);
}

.status-badge.status-closed {
    background: rgba(148, 163, 184, 0.15);
    color: var(--color-text-tertiary);
    border: 1px solid var(--color-text-tertiary);
}

.status-badge.status-custom {
    color: white;
}

/* ============================================
   CARD BODY SECTION
   ============================================ */
.card-body-section {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.info-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: var(--space-4);
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.info-item.full-width {
    grid-column: 1 / -1;
}

.info-label {
    font-size: 0.75rem;
    color: var(--color-text-tertiary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.info-label i {
    font-size: 0.875rem;
    color: var(--color-text-tertiary);
}

.info-value {
    font-size: 0.9375rem;
    color: var(--color-text-primary);
    font-weight: 600;
    font-family: var(--font-display);
}

.info-value-large {
    font-size: 1.5rem;
    color: var(--color-primary);
    font-weight: 700;
    font-family: var(--font-display);
    letter-spacing: -0.02em;
}

.info-highlight {
    color: var(--color-primary);
}

.info-subtext {
    font-size: 0.75rem;
    color: var(--color-text-tertiary);
    margin-top: var(--space-1);
    font-weight: 500;
}

/* ============================================
   CARD ACTIONS
   ============================================ */
.card-actions {
    margin-top: var(--space-3);
    padding-top: var(--space-3);
    border-top: 1px solid var(--color-border-light);
}

.card-actions form {
    margin: 0;
}

.btn-card-action {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: var(--color-primary);
    color: var(--color-text-inverse);
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.8125rem;
    font-weight: 700;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-card-action:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.btn-card-action i {
    font-size: 0.875rem;
}

/* ============================================
   SERVICE CARD SPECIFIC
   ============================================ */
.service-card {
    position: relative;
}

.ssl-status-icon {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-surface);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xs);
}

.ssl-status-icon img {
    width: 24px;
    height: 24px;
}

/* ============================================
   TICKET CARD SPECIFIC
   ============================================ */
.ticket-card {
    position: relative;
}

.unread-ticket {
    border-color: var(--color-primary);
    background: linear-gradient(135deg, rgba(0, 84, 181, 0.03), var(--color-surface));
}

.unread-indicator {
    position: absolute;
    top: var(--space-5);
    left: 0;
    width: 4px;
    height: 40px;
    background: var(--color-primary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.ticket-number-badge {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    background: rgba(0, 84, 181, 0.1);
    color: var(--color-primary);
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--font-display);
    margin-bottom: var(--space-2);
}

.card-ticket-title.unread {
    color: var(--color-primary);
    font-weight: 800;
}

/* ============================================
   NO RESULTS MESSAGE
   ============================================ */
.no-results-message {
    text-align: center;
    padding: var(--space-12) var(--space-6);
    background: var(--color-surface);
    border: 2px dashed var(--color-border);
    border-radius: var(--radius-xl);
    color: var(--color-text-tertiary);
}

.no-results-message i {
    font-size: 3rem;
    color: var(--color-text-tertiary);
    opacity: 0.5;
    margin-bottom: var(--space-4);
}

.no-results-message p {
    font-size: 1.125rem;
    font-weight: 600;
    font-family: var(--font-display);
    margin: 0;
}

/* ============================================
   EMPTY STATE MESSAGE (No Records at All)
   ============================================ */
.empty-state-message {
    text-align: center;
    padding: var(--space-12) var(--space-6);
    background: linear-gradient(135deg, rgba(229, 242, 255, 0.3), rgba(255, 255, 255, 0.5));
    border: 2px dashed var(--color-border);
    border-radius: var(--radius-xl);
    color: var(--color-text-secondary);
    grid-column: 1 / -1; /* Span full width of grid */
}

.empty-state-message i {
    font-size: 4rem;
    color: var(--color-primary);
    opacity: 0.3;
    margin-bottom: var(--space-5);
    display: block;
}

.empty-state-message h3 {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-display);
    color: var(--color-text-primary);
    margin: 0 0 var(--space-2);
}

.empty-state-message p {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-tertiary);
    margin: 0;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 992px) {
    .modern-cards-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: var(--space-4);
    }
}

@media (max-width: 768px) {
    .list-filter-header {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-search-box {
        max-width: none;
        min-width: 0;
    }

    .filter-dropdown-wrapper {
        width: 100%;
    }

    .filter-status-btn {
        width: 100%;
        justify-content: space-between;
    }

    .filter-dropdown-menu {
        left: 0;
        right: 0;
        min-width: 0;
    }

    .modern-cards-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }

    .info-row {
        grid-template-columns: 1fr;
        gap: var(--space-3);
    }

    .card-header-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .card-status-badge {
        align-self: flex-start;
    }
}

@media (max-width: 480px) {
    .modern-list-card {
        padding: var(--space-4);
    }

    .card-invoice-number,
    .card-service-title,
    .card-ticket-title {
        font-size: 1rem;
    }

    .info-value-large {
        font-size: 1.25rem;
    }

    .ssl-status-icon {
        top: var(--space-3);
        right: var(--space-3);
        width: 28px;
        height: 28px;
    }

    .ssl-status-icon img {
        width: 20px;
        height: 20px;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modern-list-card {
    animation: cardFadeIn 0.4s ease-out backwards;
}

.modern-list-card:nth-child(1) { animation-delay: 0.05s; }
.modern-list-card:nth-child(2) { animation-delay: 0.1s; }
.modern-list-card:nth-child(3) { animation-delay: 0.15s; }
.modern-list-card:nth-child(4) { animation-delay: 0.2s; }
.modern-list-card:nth-child(5) { animation-delay: 0.25s; }
.modern-list-card:nth-child(6) { animation-delay: 0.3s; }
.modern-list-card:nth-child(n+7) { animation-delay: 0.35s; }

/* ============================================
   ACCESSIBILITY
   ============================================ */
.modern-list-card:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
}

.filter-status-btn:focus-visible,
.filter-search-input:focus-visible,
.btn-card-action:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .list-filter-header {
        display: none;
    }

    .modern-cards-grid {
        grid-template-columns: 1fr;
        gap: var(--space-3);
    }

    .modern-list-card {
        break-inside: avoid;
        border: 1px solid var(--color-border);
        box-shadow: none;
        animation: none;
    }

    .modern-list-card:hover {
        transform: none;
        box-shadow: none;
    }

    .card-actions {
        display: none;
    }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    .modern-list-card,
    .filter-dropdown-menu,
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   BILLING SUMMARY / DUE INVOICES CARD
   ============================================ */
.billing-summary-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-5) var(--space-6);
    margin-bottom: var(--space-6);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all var(--transition-base);
    animation: cardFadeIn 0.5s ease-out backwards;
}

/* Top Accent Line (Blue to Green gradient) */
.billing-summary-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-success));
    opacity: 0.8;
}

.billing-summary-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: rgba(0, 84, 181, 0.2);
}

/* Left Side: Icon & Text Wrapper */
.billing-summary-content {
    display: flex;
    align-items: center;
    gap: var(--space-5);
}

/* The Icon Box */
.billing-summary-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-accent-light), rgba(229, 242, 255, 0.4));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-xs);
}

/* The Text */
.billing-summary-text h4 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--color-text-primary);
    margin: 0 0 2px 0;
}

.billing-summary-text p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--color-text-tertiary);
    font-weight: 500;
}

.billing-summary-text strong.amount-due {
    color: var(--color-error);
    font-weight: 700;
}

/* Right Side: Action Button / Badge */
.billing-status-action {
    flex-shrink: 0;
}

/* The "All Paid" Badge Style */
.billing-badge-success {
    background: var(--color-success);
    color: #fff;
    padding: var(--space-2) var(--space-5);
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.8125rem;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
    letter-spacing: 0.03em;
}

/* The "Pay Now" Button Style */
.billing-btn-pay {
    background: var(--color-error); /* Red for urgency */
    color: #fff;
    padding: var(--space-2) var(--space-5);
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.8125rem;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
    transition: all var(--transition-base);
}

.billing-btn-pay:hover {
    background: #dc2626;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.35);
    text-decoration: none;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .billing-summary-card {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-4);
        padding: var(--space-4);
    }
    
    .billing-summary-content {
        width: 100%;
    }
    
    .billing-status-action {
        width: 100%;
        display: flex;
        justify-content: flex-end; /* Pushes button to right */
    }
}


/* Support Submit Page Styles */
.support-submit-container {
    max-width: 1200px;
    margin-top: 33px !important;
    margin: 0 auto;
    padding: 0;
}

.support-submit-header {
    background: linear-gradient(135deg, #051937 0%, #002370 100%);
    border-radius: 16px 16px 0 0;
    padding: 32px 40px;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.support-submit-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 84, 181, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.support-header-content {
    display: flex;
    align-items: center;
    gap: 24px;
    position: relative;
    z-index: 1;
}

.support-icon-wrapper {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.support-icon-wrapper i {
    font-size: 28px;
    color: #ffffff;
}

.support-main-title {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.support-subtitle {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.5;
}

.support-submit-body {
    background: #ffffff;
    border-radius: 0 0 16px 16px;
    padding: 40px;
    box-shadow: 0 4px 24px rgba(0, 14, 30, 0.08);
}

.submit-instruction-card {
    background: #e5f2ff;
    padding: 24px 28px;
    border-radius: 12px;
    margin-bottom: 32px;
}

.instruction-title {
    font-size: 20px;
    font-weight: 600;
    color: #000e1e;
    margin: 0 0 12px 0;
}

.instruction-text {
    font-size: 14px;
    color: #002370;
    margin: 0;
    line-height: 1.6;
}

.departments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.department-card {
    background: #ffffff;
    border: 2px solid #e5f2ff;
    border-radius: 12px;
    padding: 24px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: block;
}

.department-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #0054b5;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.department-card:hover {
    border-color: #0054b5;
    box-shadow: 0 8px 24px rgba(0, 84, 181, 0.15);
    transform: translateY(-4px);
}

.department-card:hover::before {
    transform: scaleY(1);
    transform-origin: top;
}

.department-card-inner {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.department-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #e5f2ff 0%, #ffffff 100%);
    border: 2px solid #e5f2ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.department-card:hover .department-icon {
    background: linear-gradient(135deg, #0054b5 0%, #002370 100%);
    border-color: #0054b5;
    transform: scale(1.05);
}

.department-icon i {
    font-size: 24px;
    color: #0054b5;
    transition: color 0.3s ease;
}

.department-card:hover .department-icon i {
    color: #ffffff;
}

.department-content {
    flex: 1;
    min-width: 0;
}

.department-name {
    font-size: 18px;
    font-weight: 600;
    color: #000e1e;
    margin: 0 0 8px 0;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.department-card:hover .department-name {
    color: #0054b5;
}

.department-description {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.department-arrow {
    width: 32px;
    height: 32px;
    background: #e5f2ff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.department-card:hover .department-arrow {
    background: #0054b5;
    transform: translateX(4px);
}

.department-arrow i {
    font-size: 14px;
    color: #0054b5;
    transition: color 0.3s ease;
}

.department-card:hover .department-arrow i {
    color: #ffffff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .support-submit-header {
        padding: 24px 20px;
        border-radius: 12px 12px 0 0;
    }

    .support-header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .support-icon-wrapper {
        width: 56px;
        height: 56px;
    }

    .support-icon-wrapper i {
        font-size: 24px;
    }

    .support-main-title {
        font-size: 26px;
    }

    .support-subtitle {
        font-size: 14px;
    }

    .support-submit-body {
        padding: 24px 20px;
        border-radius: 0 0 12px 12px;
    }

    .submit-instruction-card {
        padding: 20px;
    }

    .instruction-title {
        font-size: 18px;
    }

    .departments-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .department-card {
        padding: 20px;
    }

    .department-card-inner {
        gap: 16px;
    }

    .department-icon {
        width: 48px;
        height: 48px;
    }

    .department-icon i {
        font-size: 20px;
    }

    .department-name {
        font-size: 16px;
    }

    .department-description {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .support-submit-header {
        padding: 20px 16px;
    }

    .support-submit-body {
        padding: 20px 16px;
    }

    .department-card-inner {
        flex-direction: column;
        gap: 12px;
    }

    .department-arrow {
        align-self: flex-end;
    }
}

/* Animation for cards on load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.department-card {
    animation: fadeInUp 0.5s ease-out forwards;
}

.department-card:nth-child(1) { animation-delay: 0.1s; opacity: 0; }
.department-card:nth-child(2) { animation-delay: 0.2s; opacity: 0; }
.department-card:nth-child(3) { animation-delay: 0.3s; opacity: 0; }
.department-card:nth-child(4) { animation-delay: 0.4s; opacity: 0; }
.department-card:nth-child(5) { animation-delay: 0.5s; opacity: 0; }

/* Billing Action Buttons */
.billing-action-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.billing-btn-addfunds {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    background: transparent;
    border: 2px solid #4f8ef7;   /* adjust to match your theme accent */
    color: #4f8ef7;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

.billing-btn-addfunds:hover {
    background: #4f8ef7;
    color: #fff;
    text-decoration: none;
}

/* Responsive stacking on small screens */
@media (max-width: 480px) {
    .billing-action-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    .billing-btn-addfunds,
    .billing-btn-pay {
        text-align: center;
        justify-content: center;
    }
}


/* ============================================
   CB TABLE SYSTEM — colobird.css additions
   Paste this at the very bottom of colobird.css
   ============================================ */

/* ── Container ── */
.cb-table-container {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--space-6);
}

/* ── Toolbar ── */
.cb-table-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    padding: var(--space-4) var(--space-5);
    border-bottom: 1px solid var(--color-border-light);
    background: linear-gradient(180deg, rgba(248,250,251,0.8), transparent);
    flex-wrap: wrap;
}

/* Search */
.cb-search-wrap {
    position: relative;
    flex: 1;
    min-width: 200px;
    max-width: 380px;
}
.cb-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-tertiary);
    font-size: 0.8rem;
    pointer-events: none;
}
.cb-search-input {
    width: 100%;
    padding: 9px 14px 9px 36px;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-lg);
    font-size: 0.9rem;
    font-family: var(--font-body);
    color: var(--color-text-primary);
    background: var(--color-surface);
    outline: none;
    transition: border-color 150ms, box-shadow 150ms;
}
.cb-search-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0,84,181,0.1);
}
.cb-search-input::placeholder { color: var(--color-text-tertiary); }

/* Filter */
.cb-filter-wrap { position: relative; }

.cb-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    background: var(--color-surface);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    font-weight: 600;
    font-family: var(--font-display);
    color: var(--color-text-primary);
    cursor: pointer;
    transition: border-color 150ms, color 150ms;
    white-space: nowrap;
}
.cb-filter-btn:hover { border-color: var(--color-primary); color: var(--color-primary); }
.cb-caret { font-size: 0.65rem; color: var(--color-text-tertiary); }

.cb-filter-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 190px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 6px;
    z-index: 200;
}
.cb-filter-opt {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    font-weight: 500;
    transition: background 100ms;
    margin-bottom: 2px;
}
.cb-filter-opt:last-child { margin-bottom: 0; }
.cb-filter-opt:hover { background: rgba(0,84,181,0.05); color: var(--color-text-primary); }
.cb-filter-opt input[type="radio"] { accent-color: var(--color-primary); margin: 0; cursor: pointer; flex-shrink: 0; }

/* Status dots */
.cb-dot {
    display: inline-block;
    width: 8px; height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.cb-dot--paid, .cb-dot--active, .cb-dot--accepted, .cb-dot--answered { background: var(--color-success); }
.cb-dot--unpaid, .cb-dot--pending                                      { background: var(--color-warning); }
.cb-dot--cancelled, .cb-dot--suspended, .cb-dot--expired               { background: var(--color-error); }
.cb-dot--refunded                                                        { background: #8b5cf6; }
.cb-dot--terminated, .cb-dot--closed                                    { background: var(--color-text-tertiary); }
.cb-dot--open, .cb-dot--delivered                                       { background: var(--color-info); }
.cb-dot--onhold                                                          { background: var(--color-warning); }
.cb-dot--customer-reply                                                  { background: var(--color-warning); }

/* ── Table ── */
.cb-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.cb-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    font-family: var(--font-body);
}

.cb-th {
    padding: 12px 20px;
    text-align: left;
    font-size: 0.72rem;
    font-weight: 700;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-secondary);
    background: linear-gradient(180deg, rgba(248,250,251,0.95), rgba(248,250,251,0.6));
    border-bottom: 2px solid var(--color-border);
    white-space: nowrap;
}
.cb-th--right  { text-align: right; }
.cb-th--center { text-align: center; }

.cb-row { border-bottom: 1px solid var(--color-border-light); transition: background 100ms; }
.cb-row:last-child { border-bottom: none; }
.cb-row:hover { background: rgba(229,242,255,0.3); }
.cb-row--unread { background: rgba(0,84,181,0.03); }
.cb-row--unread:hover { background: rgba(0,84,181,0.07); }

.cb-td {
    padding: 12px 20px;
    color: var(--color-text-primary);
    vertical-align: middle;
    line-height: 1.4;
}
.cb-td--date    { color: var(--color-text-secondary); font-size: 0.875rem; white-space: nowrap; }
.cb-td--accent  { color: var(--color-primary) !important; font-weight: 600; }
.cb-td--amount  { font-weight: 700; font-family: var(--font-display); white-space: nowrap; }
.cb-td--right   { text-align: right; }
.cb-td--center  { text-align: center; }
.cb-td--bold    { font-weight: 700; }
.cb-td--muted   { color: var(--color-text-tertiary); }
.cb-td--subject { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* domain link */
.cb-domain-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
}
.cb-domain-link:hover { color: var(--color-primary-dark); text-decoration: underline; }

/* unread dot */
.cb-unread-dot {
    display: inline-block;
    width: 8px; height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
    box-shadow: 0 0 0 2px rgba(0,84,181,0.2);
}

/* ── Badges ── */
.cb-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 700;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
    border: 1px solid transparent;
}
.cb-badge--paid,
.cb-badge--active,
.cb-badge--accepted,
.cb-badge--answered     { background: var(--color-success-light); color: var(--color-success); border-color: var(--color-success); }
.cb-badge--unpaid,
.cb-badge--pending,
.cb-badge--collections,
.cb-badge--customer-reply { background: var(--color-warning-light); color: var(--color-warning); border-color: var(--color-warning); }
.cb-badge--cancelled,
.cb-badge--suspended,
.cb-badge--expired      { background: var(--color-error-light); color: var(--color-error); border-color: var(--color-error); }
.cb-badge--refunded     { background: #ede9fe; color: #7c3aed; border-color: #7c3aed; }
.cb-badge--terminated,
.cb-badge--closed       { background: rgba(148,163,184,0.15); color: var(--color-text-tertiary); border-color: var(--color-text-tertiary); }
.cb-badge--open,
.cb-badge--delivered    { background: var(--color-info-light); color: var(--color-info); border-color: var(--color-info); }
.cb-badge--on-hold      { background: #fef3c7; color: #b45309; border-color: #f59e0b; }
.cb-badge--custom       { color: #fff; border-color: transparent; }

/* ── Action button ── */
.cb-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: transparent;
    border: 1.5px solid var(--color-primary);
    color: var(--color-primary);
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    cursor: pointer;
    text-decoration: none;
    transition: all 150ms;
    white-space: nowrap;
}
.cb-action-btn:hover {
    background: var(--color-primary);
    color: #fff;
    text-decoration: none;
}

/* ── Empty state ── */
.cb-empty {
    text-align: center;
    padding: 60px 24px;
    color: var(--color-text-tertiary);
}
.cb-empty-icon {
    display: block;
    font-size: 2.5rem;
    margin-bottom: 16px;
    opacity: 0.3;
}
.cb-empty p { font-size: 1rem; font-weight: 600; font-family: var(--font-display); margin: 0; }

/* No-results message */
.cb-no-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 48px 24px;
    color: var(--color-text-tertiary);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9375rem;
    text-align: center;
}
.cb-no-results i { font-size: 1.5rem; opacity: 0.4; }
.cb-no-results p { margin: 0; }

/* ── Pagination bar ── */
.cb-pagination-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 20px;
    border-top: 1px solid var(--color-border-light);
    background: linear-gradient(0deg, rgba(248,250,251,0.5), transparent);
}
.cb-page-info {
    font-size: 0.8125rem;
    color: var(--color-text-tertiary);
    font-weight: 500;
    min-width: 160px;
}
.cb-page-controls { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }

.cb-page-btn {
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-surface);
    color: var(--color-text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font-display);
    cursor: pointer;
    transition: all 150ms;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.cb-page-btn:hover:not(:disabled) {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: rgba(0,84,181,0.05);
}
.cb-page-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.cb-page-btn--active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}
.cb-page-btn--active:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: #fff;
}
.cb-page-ellipsis {
    width: 28px;
    text-align: center;
    color: var(--color-text-tertiary);
    font-size: 0.875rem;
}

.cb-page-size-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    color: var(--color-text-tertiary);
    font-weight: 500;
}
.cb-page-size-select {
    padding: 5px 10px;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-family: var(--font-body);
    color: var(--color-text-primary);
    background: var(--color-surface);
    cursor: pointer;
    outline: none;
}
.cb-page-size-select:focus { border-color: var(--color-primary); }

/* ── Responsive ── */
@media (max-width: 768px) {
    .cb-table-toolbar { flex-direction: column; align-items: stretch; }
    .cb-search-wrap   { max-width: none; }
    .cb-filter-wrap   { width: 100%; }
    .cb-filter-btn    { width: 100%; justify-content: space-between; }
    .cb-filter-dropdown { left: 0; right: 0; min-width: 0; }
    .cb-pagination-bar  { flex-direction: column; align-items: center; text-align: center; }
    .cb-page-info       { min-width: auto; }
    .cb-th, .cb-td      { padding: 10px 14px; }
}
@media (max-width: 480px) {
    .cb-th, .cb-td { padding: 8px 10px; font-size: 0.8125rem; }
}

/* ── Print ── */
@media print {
    .cb-table-toolbar, .cb-pagination-bar, .cb-action-btn { display: none !important; }
    .cb-table-container { box-shadow: none; border: 1px solid #ddd; }
    .cb-row:hover { background: transparent; }
}







