* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    min-height: 100vh;
    color: #1a1a1a;
}

.CDSTYMainsiteUAP-list-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

/* Mobile Filter Toggle Button */
.CDSTYMainsiteUAP-list-mobile-filter-toggle {
    display: none;
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
    z-index: 998;
    transition: all 0.3s ease;
}

.CDSTYMainsiteUAP-list-mobile-filter-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(102, 126, 234, 0.4);
}

/* Dark Overlay */
.CDSTYMainsiteUAP-list-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.CDSTYMainsiteUAP-list-overlay.CDSTYMainsiteUAP-list-show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.CDSTYMainsiteUAP-list-command-section {
    text-align: center;
    margin-bottom: 2rem;
    animation: CDSTYMainsiteUAP-list-fadeInDown 0.6s ease-out;
}

@keyframes CDSTYMainsiteUAP-list-fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.CDSTYMainsiteUAP-list-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.CDSTYMainsiteUAP-list-subtitle {
    color: #666;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.CDSTYMainsiteUAP-list-command-palette {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.CDSTYMainsiteUAP-list-search-wrapper {
    position: relative;
    margin-bottom: 1rem;
}

.CDSTYMainsiteUAP-list-search-box {
    width: 100%;
    padding: 1.25rem 4rem 1.25rem 1.5rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 16px;
    background: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.CDSTYMainsiteUAP-list-search-box:focus {
    outline: none;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

.CDSTYMainsiteUAP-list-search-icon {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 1.2rem;
}

/* Filter Bar Container */
.CDSTYMainsiteUAP-list-filter-bar {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

/* Modal Mode for Mobile */
.CDSTYMainsiteUAP-list-filter-bar.CDSTYMainsiteUAP-list-modal {
    display: block !important;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
}

.CDSTYMainsiteUAP-list-filter-bar.CDSTYMainsiteUAP-list-modal.CDSTYMainsiteUAP-list-show {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    visibility: visible;
}

/* Mobile Close Button */
.CDSTYMainsiteUAP-list-mobile-close {
    display: none;
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: #f3f4f6;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 1;
}

.CDSTYMainsiteUAP-list-mobile-close:hover {
    background: #e5e7eb;
    transform: rotate(90deg);
}

/* Mobile Filter Header */
.CDSTYMainsiteUAP-list-mobile-filter-header {
    display: none;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #f3f4f6;
}

.CDSTYMainsiteUAP-list-mobile-filter-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
}

.CDSTYMainsiteUAP-list-filter-controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.CDSTYMainsiteUAP-list-filter-dropdown {
    position: relative;
}

.CDSTYMainsiteUAP-list-dropdown-trigger {
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    background: #f8f9fa;
    border: 2px solid transparent;
    border-radius: 10px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.CDSTYMainsiteUAP-list-dropdown-trigger:hover {
    border-color: #667eea;
    background: #f3f4f6;
}

.CDSTYMainsiteUAP-list-dropdown-trigger.CDSTYMainsiteUAP-list-active {
    border-color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.CDSTYMainsiteUAP-list-dropdown-trigger::after {
    content: '▼';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.75rem;
    color: #667eea;
    transition: transform 0.2s;
}

.CDSTYMainsiteUAP-list-dropdown-trigger.CDSTYMainsiteUAP-list-open::after {
    transform: translateY(-50%) rotate(180deg);
}

.CDSTYMainsiteUAP-list-dropdown-label {
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 0.25rem;
}

.CDSTYMainsiteUAP-list-dropdown-value {
    color: #666;
    font-size: 0.875rem;
}

.CDSTYMainsiteUAP-list-dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    margin-top: 0.5rem;
    padding: 1rem;
    max-height: 320px;
    overflow-y: auto;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.CDSTYMainsiteUAP-list-dropdown-content.CDSTYMainsiteUAP-list-show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.CDSTYMainsiteUAP-list-dropdown-search {
    width: 100%;
    padding: 0.5rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.CDSTYMainsiteUAP-list-dropdown-search:focus {
    outline: none;
    border-color: #667eea;
}

.CDSTYMainsiteUAP-list-dropdown-options {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.CDSTYMainsiteUAP-list-dropdown-option {
    display: flex;
    align-items: center;
    padding: 0.625rem 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.875rem;
}

.CDSTYMainsiteUAP-list-dropdown-option:hover {
    background: #f3f4f6;
}

.CDSTYMainsiteUAP-list-dropdown-option.CDSTYMainsiteUAP-list-selected {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    color: #667eea;
    font-weight: 500;
}

.CDSTYMainsiteUAP-list-option-checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid #e5e7eb;
    border-radius: 4px;
    margin-right: 0.75rem;
    position: relative;
    transition: all 0.2s;
}

.CDSTYMainsiteUAP-list-dropdown-option.CDSTYMainsiteUAP-list-selected .CDSTYMainsiteUAP-list-option-checkbox {
    background: #667eea;
    border-color: #667eea;
}

.CDSTYMainsiteUAP-list-option-checkbox::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.75rem;
    opacity: 0;
}

.CDSTYMainsiteUAP-list-dropdown-option.CDSTYMainsiteUAP-list-selected .CDSTYMainsiteUAP-list-option-checkbox::after {
    opacity: 1;
}

.CDSTYMainsiteUAP-list-option-count {
    margin-left: auto;
    color: #999;
    font-size: 0.75rem;
}

/* Active Filters Display */
.CDSTYMainsiteUAP-list-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.CDSTYMainsiteUAP-list-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 20px;
    font-size: 0.8rem;
    color: #667eea;
    animation: CDSTYMainsiteUAP-list-slideIn 0.3s ease;
}

@keyframes CDSTYMainsiteUAP-list-slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.CDSTYMainsiteUAP-list-filter-tag-label {
    font-weight: 500;
}

.CDSTYMainsiteUAP-list-filter-tag-value {
    color: #764ba2;
}

.CDSTYMainsiteUAP-list-filter-tag-remove {
    width: 16px;
    height: 16px;
    background: rgba(102, 126, 234, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.CDSTYMainsiteUAP-list-filter-tag-remove:hover {
    background: #667eea;
    color: white;
}

/* Quick Actions */
.CDSTYMainsiteUAP-list-quick-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.CDSTYMainsiteUAP-list-action-btn {
    padding: 0.5rem 1.25rem;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.875rem;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
}

.CDSTYMainsiteUAP-list-action-btn:hover {
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-1px);
}

.CDSTYMainsiteUAP-list-action-btn.CDSTYMainsiteUAP-list-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
}

.CDSTYMainsiteUAP-list-action-btn.CDSTYMainsiteUAP-list-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Results Section */
.CDSTYMainsiteUAP-list-stats-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.CDSTYMainsiteUAP-list-stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.CDSTYMainsiteUAP-list-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.CDSTYMainsiteUAP-list-stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
}

.CDSTYMainsiteUAP-list-stat-label {
    color: #999;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.CDSTYMainsiteUAP-list-results-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.CDSTYMainsiteUAP-list-result-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.CDSTYMainsiteUAP-list-result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.CDSTYMainsiteUAP-list-result-card:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.CDSTYMainsiteUAP-list-result-card:hover::before {
    opacity: 0.03;
}

.CDSTYMainsiteUAP-list-company-visual {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    color: white;
    position: relative;
    z-index: 1;
}

.CDSTYMainsiteUAP-list-info-section {
    flex: 1;
    z-index: 1;
}

.CDSTYMainsiteUAP-list-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #f3f4f6;
    border-radius: 20px;
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.CDSTYMainsiteUAP-list-company-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.CDSTYMainsiteUAP-list-location {
    color: #666;
    font-size: 0.875rem;
}

.CDSTYMainsiteUAP-list-risk-visual {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    z-index: 1;
}

.CDSTYMainsiteUAP-list-risk-bar {
    display: flex;
    gap: 4px;
}

.CDSTYMainsiteUAP-list-risk-segment {
    width: 8px;
    height: 30px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.CDSTYMainsiteUAP-list-risk-high { background: #ef4444; }
.CDSTYMainsiteUAP-list-risk-medium { background: #f59e0b; }
.CDSTYMainsiteUAP-list-risk-low { background: #10b981; }
.CDSTYMainsiteUAP-list-risk-unknown { background: #e5e7eb; }

.CDSTYMainsiteUAP-list-result-card:hover .CDSTYMainsiteUAP-list-risk-segment {
    transform: scaleY(1.2);
}

.CDSTYMainsiteUAP-list-risk-label {
    font-size: 0.875rem;
    color: #666;
}

/* Floating Filter Summary */
.CDSTYMainsiteUAP-list-filter-summary {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    max-width: 300px;
    transition: all 0.3s ease;
}

.CDSTYMainsiteUAP-list-summary-title {
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.CDSTYMainsiteUAP-list-summary-item {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.CDSTYMainsiteUAP-list-summary-count {
    color: #667eea;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .CDSTYMainsiteUAP-list-container {
        padding: 1rem;
    }

    .CDSTYMainsiteUAP-list-title {
        font-size: 1.75rem;
    }

    .CDSTYMainsiteUAP-list-subtitle {
        font-size: 0.875rem;
        margin-bottom: 1rem;
    }

    .CDSTYMainsiteUAP-list-search-box {
        padding: 1rem 3.5rem 1rem 1rem;
        font-size: 1rem;
    }

    .CDSTYMainsiteUAP-list-mobile-filter-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .CDSTYMainsiteUAP-list-filter-bar {
        display: none;
    }

    /* Show mobile close button in modal mode */
    .CDSTYMainsiteUAP-list-filter-bar.CDSTYMainsiteUAP-list-modal .CDSTYMainsiteUAP-list-mobile-close {
        display: block;
    }

    /* Show mobile filter header in modal mode */
    .CDSTYMainsiteUAP-list-filter-bar.CDSTYMainsiteUAP-list-modal .CDSTYMainsiteUAP-list-mobile-filter-header {
        display: block;
    }

    .CDSTYMainsiteUAP-list-filter-controls {
        grid-template-columns: 1fr;
    }

    .CDSTYMainsiteUAP-list-stats-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .CDSTYMainsiteUAP-list-stat-card {
        padding: 1rem;
    }

    .CDSTYMainsiteUAP-list-stat-number {
        font-size: 1.5rem;
    }

    .CDSTYMainsiteUAP-list-result-card {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        text-align: center;
        gap: 1rem;
    }

    .CDSTYMainsiteUAP-list-result-card:hover {
        transform: none;
    }

    .CDSTYMainsiteUAP-list-company-visual {
        margin: 0 auto;
    }

    .CDSTYMainsiteUAP-list-risk-visual {
        align-items: center;
    }

    .CDSTYMainsiteUAP-list-filter-summary {
        display: none;
    }

    .CDSTYMainsiteUAP-list-quick-actions {
        flex-direction: column;
    }

    .CDSTYMainsiteUAP-list-action-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .CDSTYMainsiteUAP-list-title {
        font-size: 1.5rem;
    }

    .CDSTYMainsiteUAP-list-stats-bar {
        grid-template-columns: 1fr;
    }

    .CDSTYMainsiteUAP-list-filter-bar.CDSTYMainsiteUAP-list-modal {
        width: 95%;
        padding: 1.25rem;
        max-height: 85vh;
    }
}

/* Additional styles for the new design */
.CDSTYMainsiteUAP-list-additional-info {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.CDSTYMainsiteUAP-list-alert-badge {
    background: #ef4444;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    margin-right: 0.5rem;
    display: inline-block;
    white-space: nowrap;
}

.CDSTYMainsiteUAP-list-result-card {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.CDSTYMainsiteUAP-list-result-card:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.CDSTYMainsiteUAP-list-company-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Loader styles */
.loader {
    text-align: center;
    padding: 2rem;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Page navigation */
.uap-page-nav {
    text-align: center;
    color: #666;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 8px;
}

/* View more link */
.uap-view-more-link {
    margin-top: 2rem;
    text-align: center;
    padding: 1rem 0;
}

.uap-view-more-link .CDSTYMainsiteUAP-list-action-btn {
    min-width: 150px;
}

/* Ensure proper spacing for scroll detection */
.CDSTYMainsiteUAP-list-results-grid {
    margin-bottom: 2rem;
}

/* Hide load more section by default */
#loadMoreSection {
    display: none;
}

/* Ensure proper document height calculation */
body {
    min-height: 100vh;
}

/* Smooth scrolling for better UX */
html {
    scroll-behavior: smooth;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .CDSTYMainsiteUAP-list-result-card {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        text-align: center;
        gap: 1rem;
    }

    .CDSTYMainsiteUAP-list-result-card:hover {
        transform: none;
    }

    .CDSTYMainsiteUAP-list-company-visual {
        margin: 0 auto;
        width: 80px;
        height: 80px;
    }

    .CDSTYMainsiteUAP-list-risk-visual {
        align-items: center;
    }

    .CDSTYMainsiteUAP-list-additional-info {
        justify-content: center;
    }
}

/* Animation for filter tags */
@keyframes CDSTYMainsiteUAP-list-slideOut {
    to {
        opacity: 0;
        transform: translateX(20px);
    }
}

/* Ensure proper spacing for the new design */
.CDSTYMainsiteUAP-list-results-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Fix for the filter summary positioning */
.CDSTYMainsiteUAP-list-filter-summary {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    max-width: 300px;
    transition: all 0.3s ease;
    z-index: 997;
}

/* Ensure proper z-index for mobile filter */
.CDSTYMainsiteUAP-list-filter-bar.CDSTYMainsiteUAP-list-modal {
    z-index: 1000;
}

/* Fix for autocomplete dropdown */
.ui-autocomplete {
    z-index: 1001;
    max-height: 200px;
    overflow-y: auto;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.ui-menu-item {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f3f4f6;
    cursor: pointer;
}

.ui-menu-item:hover {
    background: #f3f4f6;
}

.ui-menu-item:last-child {
    border-bottom: none;
}

/* Ensure proper button styling */
.CDSTYMainsiteUAP-list-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.875rem;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.CDSTYMainsiteUAP-list-action-btn:hover {
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-1px);
    text-decoration: none;
}

.CDSTYMainsiteUAP-list-action-btn.CDSTYMainsiteUAP-list-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
}

.CDSTYMainsiteUAP-list-action-btn.CDSTYMainsiteUAP-list-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    color: white;
    text-decoration: none;
}

/* Location Input Field Styles */
.CDSTYMainsiteUAP-list-filter-input {
    position: relative;
}

.CDSTYMainsiteUAP-list-location-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: #f8f9fa;
    border: 2px solid transparent;
    border-radius: 10px;
    font-size: 0.875rem;
    transition: all 0.2s;
    margin-top: 0.25rem;
}

.CDSTYMainsiteUAP-list-location-input:focus {
    outline: none;
    border-color: #667eea;
    background: #f3f4f6;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.CDSTYMainsiteUAP-list-location-input::placeholder {
    color: #999;
    font-size: 0.875rem;
}

/* Ensure proper spacing for the location input */
.CDSTYMainsiteUAP-list-filter-input .CDSTYMainsiteUAP-list-dropdown-label {
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
}

/* UAP Detail Page */
:root {
    --primary-gradient: linear-gradient(135deg, #5559BC, #9857CD);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --border-radius: 12px;
}


/* Top Navigation Bar */
.CDSTYMainsiteUAP-details-top-nav {
    background: white;
    border-bottom: 1px solid #e1e5eb;
    box-shadow: var(--shadow-sm);
}

.CDSTYMainsiteUAP-details-nav-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.CDSTYMainsiteUAP-details-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #8b95a6;
    font-size: 0.875rem;
}

.CDSTYMainsiteUAP-details-breadcrumb-separator {
    color: #cbd5e1;
}

.CDSTYMainsiteUAP-details-nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.CDSTYMainsiteUAP-details-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid #e1e5eb;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: #64748b;
}

.CDSTYMainsiteUAP-details-icon-btn:hover {
    background: #f8f9fa;
    border-color: #5559BC;
    color: #5559BC;
}

.CDSTYMainsiteUAP-details-gradient-btn {
    background: var(--primary-gradient);
    color: white;
    padding: 0.625rem 1.25rem;
    border: none;
    border-radius: 10px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(85, 89, 188, 0.15);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.CDSTYMainsiteUAP-details-gradient-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(85, 89, 188, 0.25);
}

/* Main Container */
.CDSTYMainsiteUAP-details-main-wrapper {
    max-width: 1440px;
    margin: 0 auto;
    padding: 2rem;
}

/* Profile Header */
.CDSTYMainsiteUAP-details-profile-header {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
    position: relative;
}

.CDSTYMainsiteUAP-details-header-banner {
    background: var(--primary-gradient);
    height: 140px;
    position: relative;
    overflow: hidden;
}

.CDSTYMainsiteUAP-details-header-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.CDSTYMainsiteUAP-details-header-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.CDSTYMainsiteUAP-details-header-content {
    padding: 0 2.5rem 2.5rem;
    margin-top: -60px;
    position: relative;
}

.CDSTYMainsiteUAP-details-company-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
    margin-bottom: 1.5rem;
}

.CDSTYMainsiteUAP-details-company-left {
    display: flex;
    gap: 1.5rem;
    flex: 1;
    flex-direction: column;
}

.CDSTYMainsiteUAP-details-company-avatar {
    width: 90px;
    height: 90px;
    background: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: #5559BC;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 3px solid white;
}

.CDSTYMainsiteUAP-details-company-info h1 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.CDSTYMainsiteUAP-details-company-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.CDSTYMainsiteUAP-details-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 1rem;
}

.CDSTYMainsiteUAP-details-status-chip {
    background: #fef3c7;
    color: #92400e;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.CDSTYMainsiteUAP-details-risk-panel {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 12px;
    padding: 1.5rem;
    min-width: 220px;
}

.CDSTYMainsiteUAP-details-risk-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #7c2d12;
    font-weight: 600;
    margin-bottom: 1rem;
}

.CDSTYMainsiteUAP-details-risk-score-display {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.CDSTYMainsiteUAP-details-risk-number {
    font-size: 3rem;
    font-weight: 700;
    color: #dc2626;
}

.CDSTYMainsiteUAP-details-risk-total {
    font-size: 1.5rem;
    color: #7c2d12;
}

.CDSTYMainsiteUAP-details-risk-bars {
    display: flex;
    gap: 0.25rem;
}

.CDSTYMainsiteUAP-details-risk-bar {
    width: 35px;
    height: 6px;
    background: #fecaca;
    border-radius: 3px;
    transition: all 0.3s;
}

.CDSTYMainsiteUAP-details-risk-bar.CDSTYMainsiteUAP-details-filled {
    background: #dc2626;
}

/* Tab Navigation */
.CDSTYMainsiteUAP-details-tab-nav {
    display: flex;
    gap: 0.5rem;
    background: #f1f3f5;
    padding: 0.5rem;
    border-radius: 12px;
    overflow-x: auto;
    scrollbar-width: none;
}

.CDSTYMainsiteUAP-details-tab-nav::-webkit-scrollbar {
    display: none;
}

.CDSTYMainsiteUAP-details-tab {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: #64748b;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.CDSTYMainsiteUAP-details-tab.CDSTYMainsiteUAP-details-active {
    background: white;
    color: #5559BC;
    box-shadow: var(--shadow-sm);
}

.CDSTYMainsiteUAP-details-tab:hover:not(.CDSTYMainsiteUAP-details-active) {
    background: #e5e7eb;
}

/* Content Layout with Floating Sidebar */
.CDSTYMainsiteUAP-details-content-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2rem;
    align-items: start;
    margin-top: 2rem;
}

/* Main Content Area */
.CDSTYMainsiteUAP-details-content-main {
    display: grid;
    gap: 2rem;
}

.CDSTYMainsiteUAP-details-content-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.CDSTYMainsiteUAP-details-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.CDSTYMainsiteUAP-details-card-icon {
    width: 44px;
    height: 44px;
    background: #fee2e2;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.CDSTYMainsiteUAP-details-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
}

/* Classification Card */
.CDSTYMainsiteUAP-details-classification-alert {
    background: linear-gradient(to right, #fffbeb, #fef3c7);
    border: 1px solid #fbbf24;
    border-radius: 10px;
    padding: 1.25rem;
    display: flex;
    flex: 1 1;
    gap: 1rem;
    align-items: start;
}

.CDSTYMainsiteUAP-details-alert-icon {
    width: 24px;
    height: 24px;
    background: #f59e0b;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: bold;
}

/* Findings Grid - Updated Style from 2nd HTML */
.CDSTYMainsiteUAP-details-findings-grid {
    display: grid;
    gap: 1rem;
}

.CDSTYMainsiteUAP-details-finding-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
    transition: all 0.2s;
    font-size: 14px;
    cursor: pointer;
}

.CDSTYMainsiteUAP-details-finding-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transform: translateY(-2px);
}

.CDSTYMainsiteUAP-details-finding-card strong {
    display: block;
    margin-bottom: 4px;
    color: #1e293b;
}

/* Flagged Sections */
.CDSTYMainsiteUAP-details-flagged-section {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.CDSTYMainsiteUAP-details-flagged-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    color: #dc2626;
}

.CDSTYMainsiteUAP-details-flagged-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #fef2f2;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #dc2626;
}

.CDSTYMainsiteUAP-details-flagged-content {
    color: #334155;
    line-height: 1.6;
}

.CDSTYMainsiteUAP-details-flagged-content a {
    color: #5559BC;
    text-decoration: none;
}

.CDSTYMainsiteUAP-details-flagged-content a:hover {
    text-decoration: underline;
}

/* Floating Sidebar */
.CDSTYMainsiteUAP-details-floating-sidebar {
    position: sticky;
    top: 20px;
}

.CDSTYMainsiteUAP-details-sidebar-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 1.5rem;
}

.CDSTYMainsiteUAP-details-sidebar-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.CDSTYMainsiteUAP-details-contact-list {
    display: grid;
    gap: 1rem;
}

.CDSTYMainsiteUAP-details-contact-item {
    display: flex;
    gap: 0.75rem;
    align-items: start;
}

.CDSTYMainsiteUAP-details-contact-icon {
    width: 36px;
    height: 36px;
    background: #f1f3f5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #5559BC;
}

.CDSTYMainsiteUAP-details-contact-details {
    flex: 1;
}

.CDSTYMainsiteUAP-details-contact-label {
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.CDSTYMainsiteUAP-details-contact-value {
    color: #334155;
    font-size: 0.875rem;
    line-height: 1.4;
}

.CDSTYMainsiteUAP-details-contact-value a {
    color: #5559BC;
    text-decoration: none;
}

.CDSTYMainsiteUAP-details-contact-value a:hover {
    text-decoration: underline;
}

/* Social Links */
.CDSTYMainsiteUAP-details-social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.CDSTYMainsiteUAP-details-social-link {
    width: 40px;
    height: 40px;
    background: #f1f3f5;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #64748b;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.CDSTYMainsiteUAP-details-social-link:hover {
    background: var(--primary-gradient);
    color: white;
    transform: translateY(-2px);
}

/* Quick Actions */
.CDSTYMainsiteUAP-details-action-buttons {
    display: grid;
    gap: 0.75rem;
}

.CDSTYMainsiteUAP-details-action-btn {
    background: white;
    border: 2px solid #e5e7eb;
    padding: 0.875rem;
    border-radius: 10px;
    font-weight: 500;
    color: #334155;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    font-size: 0.875rem;
}

.CDSTYMainsiteUAP-details-action-btn:hover {
    border-color: #5559BC;
    color: #5559BC;
    background: #f5f3ff;
}

.CDSTYMainsiteUAP-details-action-btn.CDSTYMainsiteUAP-details-primary {
    background: var(--primary-gradient);
    color: white;
    border: none;
}

.CDSTYMainsiteUAP-details-action-btn.CDSTYMainsiteUAP-details-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(85, 89, 188, 0.3);
}

/* Floating Feedback Button */
.CDSTYMainsiteUAP-details-feedback-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary-gradient);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(85, 89, 188, 0.3);
    transition: all 0.3s;
    border: none;
}

.CDSTYMainsiteUAP-details-feedback-float:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(85, 89, 188, 0.4);
}

/* Tab Content */
.CDSTYMainsiteUAP-details-tab-content {
    display: none;
}

.CDSTYMainsiteUAP-details-tab-content.CDSTYMainsiteUAP-details-active {
    display: block;
}

/* Empty State */
.CDSTYMainsiteUAP-details-empty-state {
    text-align: center;
    padding: 3rem;
}

.CDSTYMainsiteUAP-details-empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.CDSTYMainsiteUAP-details-empty-title {
    margin-bottom: 0.5rem;
    color: #64748b;
}

.CDSTYMainsiteUAP-details-empty-text {
    color: #94a3b8;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .CDSTYMainsiteUAP-details-content-layout {
        grid-template-columns: 1fr;
    }

    .CDSTYMainsiteUAP-details-floating-sidebar {
        position: relative;
        top: 0;
    }

    .CDSTYMainsiteUAP-details-company-main {
        flex-direction: column;
    }

    .CDSTYMainsiteUAP-details-company-left {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .CDSTYMainsiteUAP-details-nav-container {
        padding: 1rem;
    }

    .CDSTYMainsiteUAP-details-nav-actions {
        gap: 0.5rem;
    }

    .CDSTYMainsiteUAP-details-gradient-btn span {
        display: none;
    }

    .CDSTYMainsiteUAP-details-main-wrapper {
        padding: 1rem;
    }

    .CDSTYMainsiteUAP-details-header-content {
        padding: 0 1.5rem 1.5rem;
    }

    .CDSTYMainsiteUAP-details-company-info h1 {
        font-size: 1.75rem;
    }

    .CDSTYMainsiteUAP-details-content-card {
        padding: 1.5rem;
    }

    .CDSTYMainsiteUAP-details-risk-panel {
        width: 100%;
    }

    .CDSTYMainsiteUAP-details-finding-card strong {
        display: inline;
        margin-right: 0.5rem;
    }
}