/* Dashboard Preview */
.dashboard-preview {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

/* Demo Section Styles */
.demo-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #f1f5f9 0%, #ffffff 100%);
    position: relative;
}

.demo-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.demo-header {
    text-align: center;
    margin-bottom: 80px;
}

.demo-header h2 {
    font-size: 48px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.2;
}

.demo-header p {
    font-size: 20px;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Wide Dashboard Preview */
.dashboard-preview-wide {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.dashboard-preview-wide .dashboard-content {
    min-height: 680px;
}

.dashboard-preview-wide .asset-grid-preview {
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 28px;
    padding: 40px;
}

.dashboard-preview-wide .asset-card-preview {
    transition: all 0.3s ease;
}

.dashboard-preview-wide .asset-card-preview:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments for demo section */
@media (max-width: 1440px) {
    .demo-container {
        max-width: 1200px;
    }

    .dashboard-preview-wide {
        max-width: 1140px;
    }
}

@media (max-width: 1200px) {
    .dashboard-preview-wide .asset-grid-preview {
        grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
        gap: 24px;
        padding: 32px;
    }

    .ai-upload-preview {
        padding: 16px;
    }

    .search-filters {
        flex-direction: column;
        gap: 8px;
        padding: 12px;
    }

    .filter-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .search-stats {
        flex-direction: column;
        gap: 12px;
        padding: 12px;
    }

    .stats-item {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }

    .asset-list-search {
        padding: 12px;
    }

    .asset-item-search {
        margin-bottom: 8px;
    }
}

@media (max-width: 768px) {
    .demo-section {
        padding: 80px 0;
    }

    .demo-header {
        margin-bottom: 60px;
    }

    .demo-header h2 {
        font-size: 36px;
        line-height: 1.2;
    }

    .demo-header p {
        font-size: 18px;
        line-height: 1.5;
    }

    .dashboard-preview-wide {
        margin: 0 -20px; /* Extend to screen edges on mobile */
        border-radius: 16px 16px 0 0;
        max-width: none;
    }

    .dashboard-preview-wide .dashboard-content {
        min-height: 600px;
        height: auto;
    }

    .dashboard-preview-wide .asset-grid-preview {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 16px;
    }

    .dashboard-content {
        min-height: 600px;
        padding: 16px;
    }

    .dashboard-panel {
        padding: 16px;
        min-height: 500px;
    }

    /* Dashboard Navigation */
    .dashboard-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        height: auto;
        min-height: 56px;
        padding: 0 16px;
        gap: 8px;
    }

    .dashboard-tab {
        padding: 12px 20px;
        white-space: nowrap;
        flex-shrink: 0;
        font-size: 13px;
        gap: 6px;
    }

    .tab-icon {
        font-size: 14px;
    }

    /* AI Panel Mobile */
    .ai-analysis-bar {
        padding: 12px 16px;
        gap: 12px;
        flex-direction: column;
        align-items: flex-start;
    }

    .ai-tag {
        align-self: flex-end;
        padding: 4px 8px;
        font-size: 11px;
    }

    .upload-summary {
        padding: 16px 12px;
        margin-bottom: 20px;
    }

    .upload-summary h3 {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .upload-summary p {
        font-size: 13px;
    }

    .asset-categorization {
        gap: 12px;
    }

    .asset-item {
        flex-direction: column;
        gap: 12px;
        padding: 16px 12px;
        align-items: stretch;
    }

    .asset-preview {
        width: 100%;
        justify-content: flex-start;
    }

    .asset-preview .asset-thumbnail {
        width: 36px;
        height: 36px;
    }

    .asset-preview .asset-icon {
        font-size: 16px;
    }

    .asset-details {
        flex: 1;
    }

    .asset-name {
        font-size: 13px;
    }

    .ai-description {
        font-size: 11px;
    }

    .categorization-arrow {
        transform: rotate(90deg);
        align-self: center;
        font-size: 16px;
    }

    .target-folder {
        width: 100%;
        justify-content: center;
        min-width: auto;
        padding: 10px 12px;
    }

    .folder-name {
        font-size: 12px;
    }

    .confidence {
        font-size: 10px;
        padding: 2px 6px;
    }

    .categorization-actions {
        flex-direction: column;
        gap: 10px;
        padding: 16px 12px;
    }

    .categorization-actions .action-btn {
        text-align: center;
        padding: 12px 16px;
        font-size: 13px;
    }

    /* Search Panel Mobile */
    .search-bar-demo {
        padding: 12px 16px;
        margin-bottom: 12px;
        flex-direction: column;
        gap: 8px;
    }

    .search-icon {
        align-self: flex-start;
        margin-right: 0;
    }

    .search-text {
        font-size: 13px;
    }

    .typing-effect {
        font-size: 13px;
    }

    .search-results-count {
        align-self: flex-end;
        font-size: 11px;
        padding: 3px 8px;
    }

    .search-suggestions {
        position: static;
        margin-top: 8px;
        box-shadow: none;
        border: 1px solid #e2e8f0;
        border-radius: 6px;
    }

    .suggestion {
        padding: 10px 12px;
        font-size: 12px;
    }

    .search-filters {
        padding: 12px;
        gap: 10px;
    }

    .filter-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .filter-label {
        min-width: auto;
        font-size: 12px;
        font-weight: 600;
    }

    .filter-tags {
        gap: 6px;
        flex-wrap: wrap;
    }

    .filter-tag {
        padding: 6px 10px;
        font-size: 11px;
        border-radius: 12px;
    }

    .search-ai-help {
        padding: 8px 12px;
        margin-top: 6px;
    }

    .search-ai-help .ai-text {
        font-size: 11px;
    }

    .search-stats {
        flex-direction: column;
        gap: 12px;
        padding: 12px;
    }

    .stats-item {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }

    .stats-number {
        font-size: 14px;
    }

    .stats-label {
        font-size: 10px;
    }

    .results-heading {
        padding: 10px 12px;
        font-size: 13px;
    }

    .asset-list-search {
        padding: 12px;
        gap: 10px;
    }

    .asset-item-search {
        padding: 12px;
        gap: 12px;
        flex-direction: column;
        align-items: flex-start;
    }

    .asset-item-search .asset-thumbnail {
        width: 40px;
        height: 40px;
        align-self: flex-start;
    }

    .asset-item-search .asset-info {
        width: 100%;
    }

    .asset-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        margin-bottom: 6px;
    }

    .asset-name {
        font-size: 13px;
        margin-bottom: 2px;
    }

    .asset-meta {
        font-size: 11px;
    }

    .match-indicator {
        align-self: flex-start;
        padding: 2px 6px;
        font-size: 9px;
    }

    .asset-item-search .asset-actions {
        width: 100%;
        justify-content: flex-start;
        gap: 8px;
        flex-wrap: wrap;
    }

    .action-btn {
        padding: 8px 12px;
        font-size: 11px;
        flex: 1;
        min-width: 80px;
        text-align: center;
    }

    /* Version Panel Mobile */
    .version-header {
        padding: 12px 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .version-info {
        font-size: 14px;
    }

    .version-tag {
        font-size: 12px;
        padding: 4px 10px;
    }

    .version-card {
        padding: 16px 12px;
        margin-bottom: 12px;
    }

    .asset-card-preview {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .asset-card-preview .asset-thumbnail {
        width: 40px;
        height: 40px;
        align-self: flex-start;
    }

    .asset-card-preview .asset-info {
        width: 100%;
    }

    .asset-card-preview .asset-name {
        font-size: 13px;
    }

    .asset-card-preview .asset-meta {
        font-size: 11px;
    }

    .version-status {
        align-self: flex-start;
        font-size: 11px;
        padding: 4px 8px;
        margin: 8px 0 0 0;
    }

    .asset-card-preview .asset-actions {
        width: 100%;
        justify-content: flex-start;
        gap: 8px;
        flex-wrap: wrap;
    }

    .change-preview {
        padding: 8px;
        margin-top: 8px;
        width: 100%;
    }

    .change-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        margin-bottom: 8px;
    }

    .change-summary {
        font-size: 12px;
    }

    .change-meta {
        font-size: 10px;
        gap: 6px;
    }

    .change-item,
    .feedback-item {
        font-size: 11px;
        padding: 4px 8px;
        margin-bottom: 4px;
    }

    .approval-info {
        font-size: 11px;
        padding: 4px 8px;
    }
}

@media (max-width: 480px) {
    .demo-header h2 {
        font-size: 28px;
    }

    .demo-header p {
        font-size: 16px;
    }

    .dashboard-preview-wide .dashboard-content {
        height: 700px;
    }

    .dashboard-content {
        min-height: 620px;
    }

    .version-card {
        padding: 12px;
        margin-bottom: 10px;
    }

    .change-preview {
        padding: 4px;
        margin-top: 4px;
    }

    .change-item,
    .feedback-item {
        padding: 1px 4px;
        margin-bottom: 2px;
        font-size: 11px;
    }

    .approval-info {
        padding: 2px 6px;
        margin-bottom: 3px;
        font-size: 11px;
    }

    .ai-upload-preview {
        padding: 12px;
    }

    .upload-summary {
        padding: 12px;
        margin-bottom: 16px;
    }

    .upload-summary h3 {
        font-size: 16px;
    }

    .upload-summary p {
        font-size: 12px;
    }

    .asset-item {
        padding: 10px;
    }

    .asset-name {
        font-size: 12px;
        flex: 1;
        margin-right: 8px;
    }

    .ai-description {
        font-size: 11px;
    }

    .folder-name {
        font-size: 12px;
    }

    .confidence {
        font-size: 10px;
    }

    .categorization-actions .action-btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    .ai-analysis-bar {
        padding: 12px 16px;
        gap: 12px;
    }

    .match-indicator {
        padding: 1px 4px;
        font-size: 9px;
    }

    .results-heading {
        padding: 10px 12px;
        font-size: 13px;
    }

    .search-ai-help {
        padding: 6px 10px;
    }

    .search-ai-help .ai-text {
        font-size: 11px;
    }
}

/* Dashboard Navigation */
.dashboard-nav {
    display: flex;
    padding: 0;
    background: #fff;
    border-bottom: 1px solid #eceef1;
    height: 56px;
}

.dashboard-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 32px;
    height: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: #64748b;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
}

.dashboard-tab:hover {
    color: #0f172a;
}

.dashboard-tab.active {
    color: #0066ff;
    border-bottom-color: #0066ff;
}

.tab-icon {
    font-size: 16px;
}

/* Dashboard Content */
.dashboard-content {
    position: relative;
    min-height: 500px;
    background: #f8fafc;
    overflow: hidden;
    transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: height;
}

.dashboard-panel {
    position: absolute;
    width: 100%;
    height: auto;
    min-height: 500px;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(40px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: visible;
    padding: 20px;
    box-sizing: border-box;
    will-change: transform, opacity;
}

.dashboard-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* AI Panel Specifics */
.ai-analysis-bar {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.ai-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: linear-gradient(
        135deg,
        rgba(0, 102, 255, 0.1) 0%,
        rgba(0, 102, 255, 0.15) 100%
    );
    color: #0066ff;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(0, 102, 255, 0.2);
    animation: pulse 2s infinite;
}

.ai-tag-icon {
    font-size: 14px;
    animation: sparkle 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 102, 255, 0.4);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 0 0 5px rgba(0, 102, 255, 0.1);
    }
}

@keyframes sparkle {
    0%,
    100% {
        transform: rotate(0deg) scale(1);
    }
    25% {
        transform: rotate(-5deg) scale(1.1);
    }
    75% {
        transform: rotate(5deg) scale(1.1);
    }
}

/* AI Panel Enhancements */
.ai-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.ai-progress {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
}

.progress-bar {
    flex: 1;
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0066ff 0%, #00ccff 100%);
    border-radius: 2px;
    width: 0%;
    animation: progressAnimation 3s ease-in-out infinite;
}

.progress-text {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
    min-width: 80px;
}

@keyframes progressAnimation {
    0% {
        width: 0%;
    }
    50% {
        width: 94%;
    }
    100% {
        width: 94%;
    }
}

.ai-upload-preview {
    padding: 20px;
}

.upload-summary {
    text-align: center;
    margin-bottom: 24px;
    padding: 16px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.upload-summary h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 8px 0;
}

.upload-summary p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

.asset-categorization {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.asset-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.asset-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.asset-item.uncertain {
    border-color: #f59e0b;
    background: rgba(245, 158, 11, 0.02);
}

.asset-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.asset-preview .asset-thumbnail {
    width: 40px;
    height: 40px;
    background: #f1f5f9;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
}

.asset-preview .asset-icon {
    font-size: 18px;
}

.asset-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.asset-name {
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
}

.ai-description {
    font-size: 12px;
    color: #64748b;
    font-style: italic;
}

.categorization-arrow {
    font-size: 18px;
    color: #0066ff;
    font-weight: bold;
}

.categorization-arrow.uncertain {
    color: #f59e0b;
}

.target-folder {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(0, 102, 255, 0.05);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: 6px;
    min-width: 140px;
}

.target-folder.uncertain {
    background: rgba(245, 158, 11, 0.05);
    border-color: rgba(245, 158, 11, 0.2);
}

.folder-icon {
    font-size: 16px;
}

.folder-name {
    font-size: 13px;
    font-weight: 500;
    color: #1e293b;
    flex: 1;
}

.confidence {
    font-size: 11px;
    font-weight: 600;
    color: #0066ff;
    background: rgba(0, 102, 255, 0.1);
    padding: 2px 6px;
    border-radius: 12px;
}

.target-folder.uncertain .confidence {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
}

.categorization-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    padding: 16px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.categorization-actions .action-btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
}

.categorization-actions .action-btn.primary {
    background: linear-gradient(135deg, #0066ff 0%, #0052cc 100%);
    color: white;
    border-color: #0066ff;
}

.categorization-actions .action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.categorization-actions .action-btn.primary:hover {
    background: linear-gradient(135deg, #0052cc 0%, #0041a3 100%);
    box-shadow: 0 2px 8px rgba(0, 102, 255, 0.3);
}

/* Version Panel Specifics */
.version-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.version-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1e293b;
    font-size: 15px;
    font-weight: 500;
}

.version-tag {
    background: rgba(0, 102, 255, 0.1);
    color: #0066ff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.version-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    width: fit-content;
    font-size: 13px;
    margin-left: auto;
    margin-right: 5px;
    padding: 4px 12px;
    border-radius: 16px;
    background: #f1f5f9;
    color: #475569;
    align-self: flex-start;
}

.version-status.pending {
    background: rgba(0, 102, 255, 0.1);
    color: #0066ff;
}

.version-status.needs-changes {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.version-status.approved {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.version-card {
    position: relative;
    padding: 16px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
    margin-bottom: 12px;
    width: 100%;
}

.version-card.pending {
    border-left: 4px solid #0066ff;
}

.version-card.in-review {
    border-left: 4px solid #f59e0b;
}

.version-card.approved {
    border-left: 4px solid #10b981;
}

.version-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.change-preview {
    margin-top: 8px;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 8px;
    padding: 8px;
    width: 100%;
}

.change-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.change-summary {
    font-size: 13px;
    font-weight: 500;
    color: #1e293b;
    margin-bottom: 0;
}

.change-item,
.feedback-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #475569;
    margin-bottom: 3px;
    padding: 2px 6px;
    background: #fff;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
}

.change-icon,
.feedback-icon {
    font-size: 14px;
}

.approval-info {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 4px;
    font-size: 12px;
    color: #059669;
    margin-bottom: 4px;
}

.change-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 0;
    font-size: 12px;
    color: #64748b;
}

.meta-divider {
    color: #cbd5e1;
}

.action-btn.primary {
    background: #0066ff;
    color: white;
}

.action-btn.primary:hover {
    background: #0052cc;
    color: white;
}

/* Animation */
@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Transitions */
.dashboard-tab,
.action-btn,
.asset-card-preview {
    transition: all 0.2s ease;
}

/* Existing dashboard styles enhancements */
.dashboard-header {
    padding: 10px;
    background: #fff;
    border-bottom: 1px solid #eceef1;
}

.search-bar-demo {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 16px;
    position: relative;
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 10;
    margin-top: 4px;
    max-height: 200px;
    overflow-y: auto;
}

.suggestion {
    padding: 8px 12px;
    font-size: 13px;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
}

.suggestion:hover,
.suggestion.active {
    background: rgba(0, 102, 255, 0.05);
    color: #0066ff;
}

.search-filters {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    background: #fafbfc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    margin-bottom: 16px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-label {
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    min-width: 70px;
}

.filter-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.filter-tag {
    padding: 4px 12px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-tag:hover {
    border-color: #0066ff;
    color: #0066ff;
}

.filter-tag.active {
    background: #0066ff;
    color: white;
    border-color: #0066ff;
}

.filter-tag.highlight {
    background: rgba(0, 102, 255, 0.1);
    color: #0066ff;
    border-color: rgba(0, 102, 255, 0.3);
}

.search-ai-help {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(0, 102, 255, 0.05);
    border-radius: 6px;
    border: 1px solid rgba(0, 102, 255, 0.2);
    margin-top: 4px;
}

.search-ai-help .ai-icon {
    font-size: 14px;
}

.search-ai-help .ai-text {
    font-size: 12px;
    color: #0066ff;
    font-weight: 500;
}

.search-stats {
    display: flex;
    gap: 24px;
    padding: 12px 16px;
    background: #f8fafc;
    border-radius: 6px;
    margin-bottom: 20px;
}

.stats-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.stats-number {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
}

.stats-label {
    font-size: 11px;
    color: #64748b;
    text-align: center;
}

.search-results {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.results-section {
    background: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.results-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}

.match-icon {
    font-size: 16px;
}

.asset-list-search {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
}

.asset-item-search {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.asset-item-search:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-color: #cbd5e1;
}

.asset-item-search {
    position: relative;
}

.asset-item-search .asset-thumbnail {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.asset-item-search .asset-info {
    flex: 1;
    min-width: 0;
}

.asset-item-search .asset-actions {
    flex-shrink: 0;
    display: flex;
    gap: 8px;
}

.asset-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.match-indicator {
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.match-indicator.exact {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.asset-item-search.exact-match {
    border-left: 3px solid #10b981;
    background: rgba(16, 185, 129, 0.02);
}

.asset-item-search.exact-match:hover {
    border-color: #10b981;
    box-shadow: 0 2px 12px rgba(16, 185, 129, 0.1);
}
