/**
 * TrustHub Public Styles - Modern Trust Center Design
 *
 * @package TrustHub
 */

/* ============================================
   CSS Custom Properties (Design Tokens)
   ============================================ */
:root {
    /* Primary Colors */
    --th-primary: #2563eb;
    --th-primary-dark: #1d4ed8;
    --th-primary-light: #3b82f6;
    --th-primary-subtle: #eff6ff;
    
    /* Accent Colors */
    --th-success: #059669;
    --th-success-light: #10b981;
    --th-success-bg: #ecfdf5;
    --th-warning: #d97706;
    --th-warning-light: #f59e0b;
    --th-warning-bg: #fffbeb;
    --th-danger: #dc2626;
    
    /* Neutral Colors */
    --th-gray-50: #f9fafb;
    --th-gray-100: #f3f4f6;
    --th-gray-200: #e5e7eb;
    --th-gray-300: #d1d5db;
    --th-gray-400: #9ca3af;
    --th-gray-500: #6b7280;
    --th-gray-600: #4b5563;
    --th-gray-700: #374151;
    --th-gray-800: #1f2937;
    --th-gray-900: #111827;
    
    /* Typography */
    --th-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --th-font-mono: 'SF Mono', SFMono-Regular, ui-monospace, Menlo, Monaco, Consolas, monospace;
    
    /* Spacing */
    --th-space-1: 0.25rem;
    --th-space-2: 0.5rem;
    --th-space-3: 0.75rem;
    --th-space-4: 1rem;
    --th-space-5: 1.25rem;
    --th-space-6: 1.5rem;
    --th-space-8: 2rem;
    --th-space-10: 2.5rem;
    --th-space-12: 3rem;
    --th-space-16: 4rem;
    
    /* Border Radius */
    --th-radius-sm: 0.375rem;
    --th-radius-md: 0.5rem;
    --th-radius-lg: 0.75rem;
    --th-radius-xl: 1rem;
    --th-radius-2xl: 1.5rem;
    --th-radius-full: 9999px;
    
    /* Shadows */
    --th-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --th-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --th-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --th-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --th-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --th-shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    
    /* Transitions */
    --th-transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --th-transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --th-transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   Reset & Base Styles
   ============================================ */
.trusthub-trust-center {
    font-family: var(--th-font-sans);
    color: var(--th-gray-800);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.trusthub-trust-center *,
.trusthub-trust-center *::before,
.trusthub-trust-center *::after {
    box-sizing: border-box;
}

.trusthub-trust-center img {
    max-width: 100%;
    height: auto;
}

/* Ensure all SVGs have explicit dimensions */
.trusthub-trust-center svg {
    width: 1.25rem !important;
    height: 1.25rem !important;
    max-width: 1.25rem !important;
    max-height: 1.25rem !important;
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
}

/* Specific icon sizes - override the base */
.trusthub-trust-center .shield-icon {
    width: 1.25rem !important;
    height: 1.25rem !important;
}

.trusthub-trust-center .empty-state-icon svg {
    width: 2.5rem !important;
    height: 2.5rem !important;
    max-width: 2.5rem !important;
    max-height: 2.5rem !important;
}

.trusthub-trust-center .compliance-badge-item .badge-icon svg {
    width: 1.5rem !important;
    height: 1.5rem !important;
    max-width: 1.5rem !important;
    max-height: 1.5rem !important;
}

.trusthub-trust-center .doc-type-icon {
    width: 1.5rem !important;
    height: 1.5rem !important;
    max-width: 1.5rem !important;
    max-height: 1.5rem !important;
}

.trusthub-trust-center .trusthub-btn svg {
    width: 1.125rem !important;
    height: 1.125rem !important;
    max-width: 1.125rem !important;
    max-height: 1.125rem !important;
}

.trusthub-trust-center .success-checkmark {
    width: 5rem !important;
    height: 5rem !important;
    max-width: 5rem !important;
    max-height: 5rem !important;
}

.trusthub-trust-center .modal-header-icon svg {
    width: 1.5rem !important;
    height: 1.5rem !important;
    max-width: 1.5rem !important;
    max-height: 1.5rem !important;
}

.trusthub-trust-center .footer-security-notice svg {
    width: 1.125rem !important;
    height: 1.125rem !important;
    max-width: 1.125rem !important;
    max-height: 1.125rem !important;
}

/* Container */
.trusthub-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--th-space-6);
}

@media (max-width: 640px) {
    .trusthub-container {
        padding: 0 var(--th-space-4);
    }
}

/* ============================================
   Hero Section
   ============================================ */
.trusthub-hero {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1e40af 100%);
    color: white;
    overflow: hidden;
    padding: var(--th-space-16) 0 var(--th-space-12);
}

.trusthub-hero-bg {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(147, 51, 234, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 40% 80%, rgba(16, 185, 129, 0.08) 0%, transparent 40%);
}

/* Animated grid pattern */
.trusthub-hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.trusthub-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

/* Trust Badge */
.trusthub-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--th-space-2);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: var(--th-space-2) var(--th-space-4);
    border-radius: var(--th-radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: var(--th-space-6);
}

.trusthub-trust-badge .shield-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #22c55e;
}

/* Logo */
.trusthub-logo {
    max-height: 64px;
    margin-bottom: var(--th-space-6);
    filter: brightness(0) invert(1);
}

/* Hero Title */
.trusthub-hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    margin: 0 0 var(--th-space-4) 0;
    background: linear-gradient(to right, #ffffff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Subtitle */
.trusthub-hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto var(--th-space-8);
    line-height: 1.7;
}

/* Compliance Badges */
.trusthub-compliance-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--th-space-4);
    margin-top: var(--th-space-8);
}

.compliance-badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--th-space-2);
}

.compliance-badge-item .badge-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: var(--th-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--th-shadow-lg);
    flex-shrink: 0;
}

.compliance-badge-item .badge-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
}

.compliance-badge-item .badge-name {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.9;
    text-align: center;
    white-space: nowrap;
}

/* ============================================
   Stats Bar
   ============================================ */
.trusthub-stats-bar {
    background: white;
    border-bottom: 1px solid var(--th-gray-200);
    padding: var(--th-space-6) 0;
}

.trusthub-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--th-space-10);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--th-primary);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: var(--th-gray-500);
    margin-top: var(--th-space-1);
}

.stat-divider {
    width: 1px;
    height: 2.5rem;
    background: var(--th-gray-200);
}

@media (max-width: 640px) {
    .trusthub-stats {
        gap: var(--th-space-6);
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-divider {
        height: 2rem;
    }
}

/* ============================================
   Session Access Banner
   ============================================ */
.trusthub-session-banner {
    background: linear-gradient(135deg, var(--th-success-bg) 0%, #d1fae5 100%);
    border-bottom: 1px solid #a7f3d0;
    padding: var(--th-space-4) 0;
}

.session-banner-content {
    display: flex;
    align-items: center;
    gap: var(--th-space-4);
}

.session-banner-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--th-success);
    border-radius: 50%;
    color: white;
    flex-shrink: 0;
}

.session-banner-icon svg {
    width: 24px !important;
    height: 24px !important;
}

.session-banner-text h3 {
    margin: 0 0 var(--th-space-1) 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #065f46;
}

.session-banner-text p {
    margin: 0;
    font-size: 0.875rem;
    color: #047857;
}

@media (max-width: 640px) {
    .session-banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .session-banner-text h3 {
        font-size: 1rem;
    }
}

/* ============================================
   Category Navigation
   ============================================ */
.trusthub-category-nav {
    background: white;
    border-bottom: 1px solid var(--th-gray-200);
    padding: var(--th-space-4) 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.trusthub-filter-header {
    display: flex;
    align-items: center;
    margin-bottom: var(--th-space-4);
}

.filter-title {
    display: flex;
    align-items: center;
    gap: var(--th-space-2);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--th-gray-600);
    margin: 0;
}

.filter-title svg {
    width: 1.125rem;
    height: 1.125rem;
}

.trusthub-categories {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: var(--th-space-2);
}

.trusthub-category-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--th-space-2);
    padding: var(--th-space-2) var(--th-space-4);
    background: var(--th-gray-50);
    border: 1px solid var(--th-gray-200);
    border-radius: var(--th-radius-full);
    color: var(--th-gray-700);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--th-transition);
    white-space: nowrap;
}

.trusthub-category-btn:hover {
    background: white;
    border-color: var(--th-primary);
    color: var(--th-primary);
    box-shadow: var(--th-shadow-sm);
}

.trusthub-category-btn.active {
    background: var(--th-primary);
    border-color: var(--th-primary);
    color: white;
    box-shadow: var(--th-shadow-md);
}

.trusthub-category-btn .category-icon-svg {
    width: 1rem;
    height: 1rem;
}

.category-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: var(--th-radius-full);
    flex-shrink: 0;
}

.category-count {
    background: rgba(0, 0, 0, 0.08);
    padding: 0.125rem 0.5rem;
    border-radius: var(--th-radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.trusthub-category-btn.active .category-count {
    background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .trusthub-categories {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: var(--th-space-2);
        margin: 0 calc(var(--th-space-4) * -1);
        padding-left: var(--th-space-4);
        padding-right: var(--th-space-4);
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .trusthub-categories::-webkit-scrollbar {
        display: none;
    }
}

/* ============================================
   Main Content Area
   ============================================ */
.trusthub-main {
    background: var(--th-gray-50);
    padding: var(--th-space-10) 0 var(--th-space-16);
    min-height: 60vh;
}

/* ============================================
   Empty State
   ============================================ */
.trusthub-empty-state {
    text-align: center;
    padding: var(--th-space-16) var(--th-space-4);
}

.empty-state-icon {
    width: 5rem;
    height: 5rem;
    background: var(--th-gray-100);
    border-radius: var(--th-radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--th-space-6);
}

.empty-state-icon svg {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--th-gray-400);
}

.trusthub-empty-state h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--th-gray-800);
    margin: 0 0 var(--th-space-3) 0;
}

.trusthub-empty-state p {
    color: var(--th-gray-500);
    margin: 0;
}

/* ============================================
   Documents Grid
   ============================================ */
.trusthub-documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--th-space-6);
}

@media (max-width: 640px) {
    .trusthub-documents-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Document Card
   ============================================ */
.trusthub-document-card {
    background: white;
    border-radius: var(--th-radius-xl);
    box-shadow: var(--th-shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all var(--th-transition);
    border: 1px solid var(--th-gray-100);
}

.trusthub-document-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--th-shadow-xl);
    border-color: var(--th-gray-200);
}

/* Card Type Bar */
.document-type-bar {
    height: 4px;
}

/* Card Header */
.document-card-header {
    padding: var(--th-space-5);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--th-space-4);
}

.document-icon-wrap {
    width: 3rem;
    height: 3rem;
    border-radius: var(--th-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.doc-type-icon {
    width: 1.5rem;
    height: 1.5rem;
}

.document-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--th-space-2);
}

.document-framework-badge {
    background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
    color: #3730a3;
    padding: var(--th-space-1) var(--th-space-3);
    border-radius: var(--th-radius-md);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.document-access-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--th-space-1);
    padding: var(--th-space-1) var(--th-space-3);
    border-radius: var(--th-radius-md);
    font-size: 0.75rem;
    font-weight: 600;
}

.document-access-badge svg {
    width: 0.875rem;
    height: 0.875rem;
}

.document-access-badge.public {
    background: var(--th-success-bg);
    color: var(--th-success);
}

.document-access-badge.restricted {
    background: var(--th-warning-bg);
    color: var(--th-warning);
}

/* Card Body */
.document-card-body {
    padding: 0 var(--th-space-5);
    flex: 1;
}

.document-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--th-gray-900);
    margin: 0 0 var(--th-space-2) 0;
    line-height: 1.4;
}

.document-description {
    font-size: 0.875rem;
    color: var(--th-gray-500);
    margin: 0;
    line-height: 1.6;
}

/* Card Meta */
.document-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--th-space-4);
    padding: var(--th-space-4) var(--th-space-5);
    border-top: 1px solid var(--th-gray-100);
    margin-top: var(--th-space-4);
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: var(--th-space-2);
    font-size: 0.8125rem;
}

.meta-item.category {
    font-weight: 500;
}

.meta-dot {
    width: 0.375rem;
    height: 0.375rem;
    border-radius: var(--th-radius-full);
}

.meta-item.date {
    color: var(--th-gray-500);
}

.meta-item.date svg {
    width: 0.875rem;
    height: 0.875rem;
}

/* Card Footer */
.document-card-footer {
    padding: var(--th-space-4) var(--th-space-5) var(--th-space-5);
}

/* ============================================
   Buttons
   ============================================ */
.trusthub-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--th-space-2);
    padding: var(--th-space-3) var(--th-space-5);
    border-radius: var(--th-radius-lg);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--th-transition);
    white-space: nowrap;
}

.trusthub-btn svg {
    width: 1.125rem;
    height: 1.125rem;
}

.trusthub-btn-block {
    width: 100%;
}

.trusthub-btn-primary {
    background: linear-gradient(135deg, var(--th-primary) 0%, var(--th-primary-dark) 100%);
    color: white;
    box-shadow: var(--th-shadow-sm), inset 0 1px 0 rgba(255,255,255,0.1);
}

.trusthub-btn-primary:hover {
    background: linear-gradient(135deg, var(--th-primary-light) 0%, var(--th-primary) 100%);
    box-shadow: var(--th-shadow-md), inset 0 1px 0 rgba(255,255,255,0.1);
    transform: translateY(-1px);
}

.trusthub-btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: var(--th-shadow-sm), inset 0 1px 0 rgba(255,255,255,0.1);
}

.trusthub-btn-success:hover {
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    box-shadow: var(--th-shadow-md), inset 0 1px 0 rgba(255,255,255,0.1);
    transform: translateY(-1px);
    color: white;
}

.trusthub-btn-outline {
    background: white;
    color: var(--th-gray-700);
    border: 1.5px solid var(--th-gray-300);
}

.trusthub-btn-outline:hover {
    border-color: var(--th-primary);
    color: var(--th-primary);
    background: var(--th-primary-subtle);
}

.trusthub-btn-ghost {
    background: transparent;
    color: var(--th-gray-600);
}

.trusthub-btn-ghost:hover {
    background: var(--th-gray-100);
    color: var(--th-gray-800);
}

/* ============================================
   Footer
   ============================================ */
.trusthub-footer {
    background: white;
    border-top: 1px solid var(--th-gray-200);
    padding: var(--th-space-8) 0;
}

.trusthub-footer-content {
    text-align: center;
}

.footer-security-notice {
    display: inline-flex;
    align-items: center;
    gap: var(--th-space-2);
    background: var(--th-success-bg);
    color: var(--th-success);
    padding: var(--th-space-2) var(--th-space-4);
    border-radius: var(--th-radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: var(--th-space-4);
}

.footer-security-notice svg {
    width: 1.125rem;
    height: 1.125rem;
}

.footer-copyright {
    color: var(--th-gray-500);
    font-size: 0.875rem;
    margin: 0;
}

/* ============================================
   Modal
   ============================================ */
.trusthub-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--th-space-4);
}

.trusthub-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.trusthub-modal-dialog {
    position: relative;
    background: white;
    border-radius: var(--th-radius-2xl);
    box-shadow: var(--th-shadow-2xl);
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.2s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.trusthub-modal-header {
    display: flex;
    align-items: flex-start;
    gap: var(--th-space-4);
    padding: var(--th-space-6);
    border-bottom: 1px solid var(--th-gray-100);
}

.modal-header-icon {
    width: 3rem;
    height: 3rem;
    background: var(--th-primary-subtle);
    border-radius: var(--th-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.modal-header-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--th-primary);
}

.modal-header-text {
    flex: 1;
}

.modal-header-text h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 var(--th-space-1) 0;
    color: var(--th-gray-900);
}

.modal-subtitle {
    font-size: 0.875rem;
    color: var(--th-gray-500);
    margin: 0;
}

.trusthub-modal-close {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: var(--th-space-2);
    border-radius: var(--th-radius-md);
    color: var(--th-gray-400);
    transition: all var(--th-transition-fast);
}

.trusthub-modal-close:hover {
    background: var(--th-gray-100);
    color: var(--th-gray-600);
}

.trusthub-modal-close svg {
    width: 1.25rem;
    height: 1.25rem;
}

.trusthub-modal-body {
    padding: var(--th-space-6);
}

.trusthub-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: var(--th-space-3);
    padding: var(--th-space-4) var(--th-space-6);
    border-top: 1px solid var(--th-gray-100);
    background: var(--th-gray-50);
    border-radius: 0 0 var(--th-radius-2xl) var(--th-radius-2xl);
}

/* Request Document Info */
.request-document-info {
    display: flex;
    align-items: center;
    gap: var(--th-space-3);
    background: var(--th-gray-50);
    padding: var(--th-space-3) var(--th-space-4);
    border-radius: var(--th-radius-lg);
    margin-bottom: var(--th-space-5);
}

.request-document-info svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--th-gray-400);
    flex-shrink: 0;
}

#request-document-name {
    font-weight: 600;
    color: var(--th-gray-800);
}

/* Form Grid */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--th-space-4);
}

@media (max-width: 480px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

/* Form Groups */
.trusthub-form-group {
    margin-bottom: var(--th-space-4);
}

.trusthub-form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--th-gray-700);
    margin-bottom: var(--th-space-2);
}

.trusthub-form-group .required {
    color: var(--th-danger);
}

.trusthub-form-group input[type="text"],
.trusthub-form-group input[type="email"],
.trusthub-form-group textarea {
    width: 100%;
    padding: var(--th-space-3);
    border: 1.5px solid var(--th-gray-200);
    border-radius: var(--th-radius-lg);
    font-size: 0.9375rem;
    font-family: inherit;
    transition: all var(--th-transition-fast);
    background: white;
}

.trusthub-form-group input::placeholder,
.trusthub-form-group textarea::placeholder {
    color: var(--th-gray-400);
}

.trusthub-form-group input:focus,
.trusthub-form-group textarea:focus {
    outline: none;
    border-color: var(--th-primary);
    box-shadow: 0 0 0 3px var(--th-primary-subtle);
}

/* NDA Section */
.nda-section {
    margin-top: var(--th-space-4);
}

.nda-box {
    background: #fffbeb;
    border: 1px solid #fcd34d;
    border-radius: var(--th-radius-lg);
    padding: var(--th-space-4);
}

.nda-header {
    display: flex;
    align-items: center;
    gap: var(--th-space-2);
    margin-bottom: var(--th-space-3);
}

.nda-header svg {
    width: 1.25rem;
    height: 1.25rem;
    color: #b45309;
}

.nda-header h4 {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #92400e;
}

.nda-text {
    font-size: 0.8125rem;
    color: #78350f;
    line-height: 1.6;
    margin-bottom: var(--th-space-4);
    max-height: 100px;
    overflow-y: auto;
}

.nda-checkbox {
    display: flex;
    align-items: center;
    gap: var(--th-space-3);
    cursor: pointer;
}

.nda-checkbox input[type="checkbox"] {
    width: 1.125rem;
    height: 1.125rem;
    accent-color: var(--th-primary);
}

.nda-checkbox .checkbox-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #92400e;
}

/* Success Modal */
.trusthub-modal-success {
    max-width: 400px;
    text-align: center;
}

.trusthub-modal-success .trusthub-modal-body {
    padding: var(--th-space-10) var(--th-space-6);
}

.success-animation {
    margin-bottom: var(--th-space-6);
}

.success-checkmark {
    width: 5rem;
    height: 5rem;
    color: var(--th-success);
    animation: successPop 0.4s ease-out;
}

@keyframes successPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.trusthub-modal-success h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--th-gray-900);
    margin: 0 0 var(--th-space-3) 0;
}

.trusthub-modal-success p {
    color: var(--th-gray-500);
    margin: 0 0 var(--th-space-6) 0;
    line-height: 1.6;
}

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 768px) {
    .trusthub-hero {
        padding: var(--th-space-10) 0 var(--th-space-8);
    }
    
    .trusthub-trust-badge {
        font-size: 0.75rem;
    }
    
    .trusthub-hero-subtitle {
        font-size: 1rem;
    }
    
    .trusthub-compliance-badges {
        gap: var(--th-space-3);
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        max-width: 100%;
    }
    
    .compliance-badge-item {
        width: 100%;
        min-width: 0;
    }
    
    .compliance-badge-item .badge-icon {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .compliance-badge-item .badge-icon svg {
        width: 1.25rem;
        height: 1.25rem;
    }
    
    .compliance-badge-item .badge-name {
        font-size: 0.65rem;
        max-width: 100%;
        line-height: 1.3;
        white-space: normal;
        word-break: break-word;
    }
    
    .trusthub-main {
        padding: var(--th-space-6) 0 var(--th-space-10);
    }
    
    .trusthub-modal-dialog {
        max-height: 95vh;
    }
    
    /* Document card mobile improvements */
    .document-card-header {
        padding: var(--th-space-4);
        flex-wrap: wrap;
    }
    
    .document-card-body {
        padding: 0 var(--th-space-4);
    }
    
    .document-card-meta {
        padding: var(--th-space-3) var(--th-space-4);
        gap: var(--th-space-3);
    }
    
    .document-card-footer {
        padding: var(--th-space-3) var(--th-space-4) var(--th-space-4);
    }
    
    .document-title {
        font-size: 1rem;
    }
    
    /* Bigger touch targets for buttons */
    .trusthub-btn {
        padding: var(--th-space-3) var(--th-space-4);
        min-height: 44px;
    }
    
    /* Footer mobile */
    .footer-security-notice {
        font-size: 0.8125rem;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .trusthub-compliance-badges {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--th-space-4);
    }
    
    .compliance-badge-item .badge-name {
        font-size: 0.7rem;
        max-width: 100%;
    }
    
    .compliance-badge-item .badge-icon {
        width: 3rem;
        height: 3rem;
    }
    
    .compliance-badge-item .badge-icon svg {
        width: 1.5rem;
        height: 1.5rem;
    }
    
    .trusthub-stats {
        flex-direction: column;
        gap: var(--th-space-4);
    }
    
    .stat-divider {
        width: 3rem;
        height: 1px;
    }
    
    /* Hero section mobile */
    .trusthub-hero {
        padding: var(--th-space-8) 0 var(--th-space-6);
    }
    
    .trusthub-hero-title {
        font-size: 1.75rem;
    }
    
    .trusthub-hero-subtitle {
        font-size: 0.9375rem;
        margin-bottom: var(--th-space-6);
    }
    
    /* Filter header mobile */
    .trusthub-filter-header {
        margin-bottom: var(--th-space-3);
    }
    
    .filter-title {
        font-size: 0.8125rem;
    }
    
    /* Modal adjustments for small screens */
    .trusthub-modal {
        padding: var(--th-space-3);
    }
    
    .trusthub-modal-dialog {
        border-radius: var(--th-radius-xl);
    }
    
    .modal-body {
        padding: var(--th-space-4);
    }
    
    .modal-footer {
        padding: var(--th-space-3) var(--th-space-4);
    }
}

/* ============================================
   Dark Mode Support (if enabled)
   ============================================ */
@media (prefers-color-scheme: dark) {
    .trusthub-trust-center.dark-mode {
        --th-gray-50: #18181b;
        --th-gray-100: #27272a;
        --th-gray-200: #3f3f46;
        --th-gray-300: #52525b;
        --th-gray-400: #71717a;
        --th-gray-500: #a1a1aa;
        --th-gray-600: #d4d4d8;
        --th-gray-700: #e4e4e7;
        --th-gray-800: #f4f4f5;
        --th-gray-900: #fafafa;
    }
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    .trusthub-category-nav,
    .trusthub-modal,
    .trusthub-btn {
        display: none !important;
    }
    
    .trusthub-hero {
        background: #1e3a5f !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .trusthub-document-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* ============================================
   Animation Utilities
   ============================================ */
.trusthub-document-card {
    animation: cardFadeIn 0.3s ease-out;
    animation-fill-mode: both;
}

.trusthub-documents-grid .trusthub-document-card:nth-child(1) { animation-delay: 0.05s; }
.trusthub-documents-grid .trusthub-document-card:nth-child(2) { animation-delay: 0.1s; }
.trusthub-documents-grid .trusthub-document-card:nth-child(3) { animation-delay: 0.15s; }
.trusthub-documents-grid .trusthub-document-card:nth-child(4) { animation-delay: 0.2s; }
.trusthub-documents-grid .trusthub-document-card:nth-child(5) { animation-delay: 0.25s; }
.trusthub-documents-grid .trusthub-document-card:nth-child(6) { animation-delay: 0.3s; }

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Shortcode Styles
   ============================================ */
.trusthub-documents-shortcode {
    font-family: var(--th-font-sans);
    color: var(--th-gray-800);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding: var(--th-space-4);
}

.trusthub-documents-shortcode *,
.trusthub-documents-shortcode *::before,
.trusthub-documents-shortcode *::after {
    box-sizing: border-box;
}

/* List Style */
.trusthub-documents-shortcode.trusthub-style-list {
    display: flex;
    flex-direction: column;
    gap: var(--th-space-4);
}

.trusthub-style-list .trusthub-document-item {
    background: white;
    border: 1px solid var(--th-gray-200);
    border-radius: var(--th-radius-lg);
    padding: var(--th-space-5);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--th-space-4);
    transition: all var(--th-transition);
    box-shadow: var(--th-shadow-sm);
}

.trusthub-style-list .trusthub-document-item:hover {
    border-color: var(--th-primary-light);
    box-shadow: var(--th-shadow-md);
    transform: translateY(-2px);
}

.trusthub-style-list .trusthub-document-item h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--th-gray-800);
    flex: 1;
}

.trusthub-style-list .trusthub-document-description {
    margin: var(--th-space-2) 0 0 0;
    font-size: 0.875rem;
    color: var(--th-gray-500);
    flex: 2;
}

/* Grid Style */
.trusthub-documents-shortcode.trusthub-style-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--th-space-6);
}

.trusthub-style-grid .trusthub-document-item {
    background: white;
    border: 1px solid var(--th-gray-200);
    border-radius: var(--th-radius-lg);
    padding: var(--th-space-6);
    display: flex;
    flex-direction: column;
    gap: var(--th-space-3);
    transition: all var(--th-transition);
    box-shadow: var(--th-shadow-sm);
}

.trusthub-style-grid .trusthub-document-item:hover {
    border-color: var(--th-primary-light);
    box-shadow: var(--th-shadow-lg);
    transform: translateY(-4px);
}

.trusthub-style-grid .trusthub-document-item h4 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--th-gray-800);
}

.trusthub-style-grid .trusthub-document-description {
    margin: 0;
    font-size: 0.875rem;
    color: var(--th-gray-500);
    line-height: 1.5;
    flex: 1;
}

/* Buttons */
.trusthub-documents-shortcode .trusthub-download-btn,
.trusthub-documents-shortcode .trusthub-request-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--th-space-2);
    padding: var(--th-space-2) var(--th-space-4);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--th-radius-md);
    cursor: pointer;
    transition: all var(--th-transition);
    text-decoration: none;
    white-space: nowrap;
}

.trusthub-documents-shortcode .trusthub-download-btn {
    background: var(--th-primary);
    color: white;
    border: none;
}

.trusthub-documents-shortcode .trusthub-download-btn:hover {
    background: var(--th-primary-dark);
    color: white;
    text-decoration: none;
}

.trusthub-documents-shortcode .trusthub-request-btn {
    background: white;
    color: var(--th-primary);
    border: 1px solid var(--th-primary);
}

.trusthub-documents-shortcode .trusthub-request-btn:hover {
    background: var(--th-primary-subtle);
    border-color: var(--th-primary-dark);
}

/* No documents message */
.trusthub-documents-shortcode .trusthub-no-documents {
    text-align: center;
    padding: var(--th-space-8);
    color: var(--th-gray-500);
    font-style: italic;
}

/* Debug panel styling */
.trusthub-documents-shortcode .trusthub-debug {
    font-size: 0.75rem;
    font-family: var(--th-font-mono);
    overflow-x: auto;
}

.trusthub-documents-shortcode .trusthub-debug pre {
    margin: 0;
    white-space: pre-wrap;
    word-break: break-all;
}

/* Document item structure */
.trusthub-document-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--th-space-4);
}

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

.trusthub-document-action {
    flex-shrink: 0;
}

/* Product badges in documents shortcode */
.trusthub-document-products {
    display: flex;
    flex-wrap: wrap;
    gap: var(--th-space-1);
    margin-top: var(--th-space-2);
}

.trusthub-doc-product-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: var(--th-radius-md);
    border: 1px solid;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.trusthub-doc-product-badge-all {
    background-color: var(--th-gray-100) !important;
    color: var(--th-gray-600) !important;
    border-color: var(--th-gray-200) !important;
}

/* Grid style adjustments for product badges */
.trusthub-style-grid .trusthub-document-item {
    flex-direction: column;
}

.trusthub-style-grid .trusthub-document-action {
    width: 100%;
    margin-top: auto;
}

.trusthub-style-grid .trusthub-download-btn,
.trusthub-style-grid .trusthub-request-btn {
    width: 100%;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .trusthub-style-list .trusthub-document-item {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--th-space-3);
    }
    
    .trusthub-style-list .trusthub-document-item h4 {
        width: 100%;
    }
    
    .trusthub-documents-shortcode .trusthub-download-btn,
    .trusthub-documents-shortcode .trusthub-request-btn {
        width: 100%;
    }
    
    .trusthub-documents-shortcode.trusthub-style-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Subprocessors Shortcode Styles
   ============================================ */

.trusthub-subprocessors-shortcode {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--th-space-4);
}

.trusthub-subprocessor-group {
    margin-bottom: var(--th-space-8);
}

.trusthub-subprocessor-group-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--th-gray-800);
    margin-bottom: var(--th-space-4);
    padding-bottom: var(--th-space-2);
    border-bottom: 2px solid var(--th-primary-subtle);
}

.trusthub-subprocessor-list {
    display: grid;
    gap: var(--th-space-4);
}

.trusthub-subprocessors-columns-2 .trusthub-subprocessor-list,
.trusthub-subprocessors-columns-3 .trusthub-subprocessor-list {
    grid-template-columns: repeat(2, 1fr);
}

.trusthub-subprocessor-card {
    background: #fff;
    border: 1px solid var(--th-gray-200);
    border-radius: var(--th-radius-lg);
    padding: var(--th-space-5);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.trusthub-subprocessor-card:hover {
    border-color: var(--th-primary-light);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.trusthub-subprocessor-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--th-space-3);
    margin-bottom: var(--th-space-3);
}

.trusthub-subprocessor-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--th-gray-900);
    margin: 0;
}

.trusthub-subprocessor-location {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--th-primary);
    background: var(--th-primary-subtle);
    padding: var(--th-space-1) var(--th-space-2);
    border-radius: var(--th-radius-md);
    white-space: nowrap;
}

.trusthub-subprocessor-description {
    font-size: 0.875rem;
    color: var(--th-gray-600);
    margin: 0 0 var(--th-space-3);
    line-height: 1.5;
}

.trusthub-subprocessor-data-use {
    font-size: 0.8125rem;
    color: var(--th-gray-700);
    margin: 0 0 var(--th-space-3);
    padding: var(--th-space-3);
    background: var(--th-gray-50);
    border-radius: var(--th-radius-md);
    line-height: 1.5;
}

.trusthub-subprocessor-data-use strong {
    color: var(--th-gray-800);
}

.trusthub-subprocessor-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--th-space-3);
    margin-bottom: var(--th-space-3);
}

.trusthub-subprocessor-links a {
    font-size: 0.8125rem;
    color: var(--th-primary);
    text-decoration: none;
    transition: color 0.15s ease;
}

.trusthub-subprocessor-links a:hover {
    color: var(--th-primary-dark);
    text-decoration: underline;
}

.trusthub-subprocessor-products {
    display: flex;
    flex-wrap: wrap;
    gap: var(--th-space-2);
    margin-top: var(--th-space-3);
    padding-top: var(--th-space-3);
    border-top: 1px solid var(--th-gray-100);
}

.trusthub-product-badge {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 500;
    padding: var(--th-space-1) var(--th-space-2);
    border-radius: var(--th-radius-md);
    border: 1px solid;
}

/* Responsive adjustments for subprocessors */
@media (max-width: 768px) {
    .trusthub-subprocessors-columns-2 .trusthub-subprocessor-list,
    .trusthub-subprocessors-columns-3 .trusthub-subprocessor-list {
        grid-template-columns: 1fr;
    }
    
    .trusthub-subprocessor-header {
        flex-direction: column;
        gap: var(--th-space-2);
    }
}

/* ============================================
   Products Filter Nav
   ============================================ */
.trusthub-product-nav {
    background: var(--th-gray-50);
    padding: var(--th-space-4) 0;
    border-bottom: 1px solid var(--th-gray-200);
}

.trusthub-products-filter {
    display: flex;
    flex-wrap: wrap;
    gap: var(--th-space-2);
    list-style: none;
    margin: 0;
    padding: 0;
}

.trusthub-product-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--th-space-2);
    padding: var(--th-space-2) var(--th-space-4);
    background: white;
    border: 1px solid var(--th-gray-200);
    border-radius: var(--th-radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--th-gray-700);
    cursor: pointer;
    transition: all 0.15s ease;
}

.trusthub-product-btn:hover {
    background: var(--th-primary-subtle);
    border-color: var(--th-primary-light);
    color: var(--th-primary);
}

.trusthub-product-btn.active {
    background: var(--th-primary);
    border-color: var(--th-primary);
    color: white;
}

.trusthub-product-btn.active .product-dot {
    background-color: white !important;
}

.product-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.product-count {
    background: var(--th-gray-100);
    color: var(--th-gray-600);
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: var(--th-radius-full);
}

.trusthub-product-btn.active .product-count {
    background: rgba(255, 255, 255, 0.25);
    color: white;
}

/* ============================================
   Document Product Badges
   ============================================ */
.document-products {
    display: flex;
    flex-wrap: wrap;
    gap: var(--th-space-1);
    padding: var(--th-space-2) var(--th-space-4);
    background: var(--th-gray-50);
    border-bottom: 1px solid var(--th-gray-100);
}

.document-product-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: var(--th-radius-md);
    border: 1px solid;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

/* ============================================
   Products Shortcode Styles
   ============================================ */
.trusthub-products-shortcode {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--th-space-4);
}

.trusthub-products-list {
    display: grid;
    gap: var(--th-space-6);
}

/* Grid layouts */
.trusthub-products-grid .trusthub-products-list {
    grid-template-columns: repeat(1, 1fr);
}

.trusthub-products-columns-2 .trusthub-products-list {
    grid-template-columns: repeat(2, 1fr);
}

.trusthub-products-columns-3 .trusthub-products-list {
    grid-template-columns: repeat(3, 1fr);
}

.trusthub-products-columns-4 .trusthub-products-list {
    grid-template-columns: repeat(4, 1fr);
}

/* List layout */
.trusthub-products-list .trusthub-products-list {
    grid-template-columns: 1fr;
}

/* Product Card */
.trusthub-product-card {
    background: white;
    border: 1px solid var(--th-gray-200);
    border-left-width: 4px;
    border-radius: var(--th-radius-lg);
    padding: var(--th-space-5);
    transition: all 0.2s ease;
}

.trusthub-product-card:hover {
    border-color: var(--th-gray-300);
    box-shadow: var(--th-shadow-md);
    transform: translateY(-2px);
}

.trusthub-product-header {
    display: flex;
    align-items: center;
    gap: var(--th-space-3);
    margin-bottom: var(--th-space-3);
}

.trusthub-product-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--th-radius-md);
    flex-shrink: 0;
}

.trusthub-product-icon svg {
    width: 24px;
    height: 24px;
}

.trusthub-product-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--th-gray-900);
    margin: 0;
    line-height: 1.4;
}

.trusthub-product-name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease;
}

.trusthub-product-name a:hover {
    color: var(--th-primary);
}

.trusthub-product-description {
    font-size: 0.875rem;
    color: var(--th-gray-600);
    line-height: 1.6;
    margin: 0 0 var(--th-space-4);
}

.trusthub-product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--th-space-3);
    align-items: center;
}

.trusthub-product-doc-count {
    display: inline-flex;
    align-items: center;
    gap: var(--th-space-1);
    font-size: 0.8125rem;
    color: var(--th-gray-500);
}

.trusthub-product-doc-count svg {
    width: 14px;
    height: 14px;
    color: var(--th-gray-400);
}

.trusthub-product-action {
    margin-top: var(--th-space-4);
    padding-top: var(--th-space-4);
    border-top: 1px solid var(--th-gray-100);
}

.trusthub-product-link {
    display: inline-flex;
    align-items: center;
    gap: var(--th-space-2);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--th-primary);
    text-decoration: none;
    transition: gap 0.15s ease;
}

.trusthub-product-link:hover {
    gap: var(--th-space-3);
    text-decoration: underline;
}

.trusthub-product-link svg {
    width: 14px;
    height: 14px;
}

/* Product Card Subprocessors List */
.trusthub-product-subprocessors {
    margin-top: var(--th-space-4);
    padding-top: var(--th-space-4);
    border-top: 1px solid var(--th-gray-100);
}

.trusthub-product-subprocessors-title {
    display: flex;
    align-items: center;
    gap: var(--th-space-2);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--th-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 var(--th-space-3);
}

.trusthub-product-subprocessors-title svg {
    width: 14px;
    height: 14px;
    color: var(--th-gray-400);
}

.trusthub-product-subprocessors-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.trusthub-product-subprocessors-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--th-space-2) 0;
    border-bottom: 1px solid var(--th-gray-50);
    font-size: 0.8125rem;
}

.trusthub-product-subprocessors-list li:last-child {
    border-bottom: none;
}

.trusthub-product-subprocessors-list .subprocessor-name {
    color: var(--th-gray-800);
    font-weight: 500;
}

.trusthub-product-subprocessors-list .subprocessor-location {
    color: var(--th-gray-500);
    font-size: 0.75rem;
    background: var(--th-gray-100);
    padding: 2px 8px;
    border-radius: var(--th-radius-full);
}

.trusthub-product-subprocessors-list .subprocessor-more {
    color: var(--th-gray-400);
    font-style: italic;
    font-size: 0.75rem;
}

/* All Products Badge */
.document-product-badge-all {
    background-color: var(--th-gray-100) !important;
    color: var(--th-gray-600) !important;
    border-color: var(--th-gray-200) !important;
}

/* Responsive adjustments for products */
@media (max-width: 992px) {
    .trusthub-products-columns-4 .trusthub-products-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .trusthub-products-columns-3 .trusthub-products-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .trusthub-products-columns-2 .trusthub-products-list,
    .trusthub-products-columns-3 .trusthub-products-list,
    .trusthub-products-columns-4 .trusthub-products-list {
        grid-template-columns: 1fr;
    }
    
    .trusthub-products-filter {
        flex-direction: column;
    }
    
    .trusthub-product-btn {
        justify-content: flex-start;
        width: 100%;
    }
    
    .trusthub-product-header {
        flex-direction: column;
        text-align: center;
    }
    
    .document-products {
        justify-content: center;
    }
}

/* ============================================
   Request All Button Shortcode
   ============================================ */
.trusthub-request-all-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--th-space-2);
}

.trusthub-request-all-btn svg {
    width: 18px !important;
    height: 18px !important;
}

.trusthub-request-all-granted {
    display: inline-flex;
    align-items: center;
    gap: var(--th-space-2);
    padding: var(--th-space-3) var(--th-space-4);
    background: var(--th-success-bg);
    border: 1px solid #a7f3d0;
    border-radius: var(--th-radius-lg);
    color: #047857;
    font-weight: 500;
}

.trusthub-request-all-granted .trusthub-checkmark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--th-success);
    border-radius: 50%;
    color: white;
    font-size: 14px;
}
