﻿.menu-setting-space {
    margin-left:20px;
}

.modal {
    overflow-y: auto;
}

.modal-open {
    overflow: auto;
}

.avatar-menu-icon {
    font-size:1.3em;
    color:black;
}

.login-errors ul {
    list-style-type: none;
    padding: 0;
}

.optionRowControl
{
    font-size: 25px;
}

.navbar-toggle .icon-bar {
    background-color: #fff;
}

.navbar-toggle {
    background-color: transparent;
    background-image: none;
    border: 1px solid transparent;
}


.on {
    color:green;
}

.hand
{
    cursor: pointer;
}

.suggestion-reply {
    border-left: 3px solid grey;
    padding-left: 10px;
    margin-left:20px;
    margin-top:10px;
}

.toast {
    left: 50%;
    position: fixed;
    transform: translate(-50%, 0px);
    z-index: 9999;
    min-width:300px;
}

pre {
    font-family: var(--bs-font-sans-serif);
}

/* AI Features Purple Accent */
.ai-accent {
    color: #6b5eae !important;
}

.bg-ai {
    background-color: #6b5eae !important;
}

/* Remove horizontal divider between AI Insights and filters */
.filterContainer .nav-tabs {
    border-bottom: none;
}

/* AI Sentiment Speedometer */
.sentiment-speedometer {
    position: relative;
    width: 200px;
    height: 100px;
    margin: 0 auto;
}

.speedometer-arc {
    width: 200px;
    height: 100px;
    border-radius: 100px 100px 0 0;
    position: relative;
    background: linear-gradient(90deg, #dc3545 0%, #ffc107 50%, #28a745 100%);
    overflow: hidden;
    box-shadow: 0 0 15px rgba(107, 94, 174, 0.3);
    border: 2px solid rgba(107, 94, 174, 0.2);
}

.speedometer-arc::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: -1px;
    background: #fff;
    border-radius: 92px 92px 0 0;
}

.speedometer-needle {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 3px;
    height: 80px;
    background: #6b5eae;
    transform-origin: bottom center;
    transform: translateX(-50%) rotate(-90deg);
    transition: transform 0.5s ease-out;
    z-index: 10;
    box-shadow: 0 0 8px rgba(107, 94, 174, 0.6);
}

.speedometer-needle::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: -6px;
    width: 15px;
    height: 15px;
    background: #6b5eae;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 8px rgba(107, 94, 174, 0.6);
}

/* AI Summary Loading Skeleton */
.ai-loading-skeleton {
    padding: 1rem;
}

.skeleton-line {
    height: 16px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    border-radius: 4px;
    margin-bottom: 12px;
    width: 100%;
}

.skeleton-animate {
    animation: shimmer 1.5s infinite linear;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.ai-summary-text {
    padding: 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #555;
    background-color: rgba(107, 94, 174, 0.05);
    border-radius: 8px;
    border-left: 4px solid #6b5eae;
}

/* AI Insights Expand/Collapse */


.ai-collapse-btn {
    border: none;
    background: none;
    outline: none;
    transition: transform 0.3s ease;
}

.ai-collapse-btn:hover {
    background: none !important;
    transform: scale(1.1);
}

.ai-collapse-btn:focus {
    box-shadow: none !important;
}

.ai-content {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    opacity: 1;
    max-height: 800px;
    overflow: hidden;
    transform: translateY(0);
}

.ai-content.collapsed {
    opacity: 0 !important;
    max-height: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    transform: translateY(-10px) !important;
    overflow: hidden !important;
}

/* Ensure the card adjusts properly when collapsed */
.ai-insights-card {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
}

.ai-insights-card:has(.ai-content.collapsed) {
    min-height: auto;
}

.ai-collapse-icon {
    transition: transform 0.3s ease;
}

.ai-collapse-icon.rotated {
    transform: rotate(180deg);
}

/* Apple-style Sentiment Cards */
.sentiment-count-card {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    padding: 0.75rem 0.5rem;
    border: 1px solid rgba(107, 94, 174, 0.1);
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

.sentiment-count-card:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(107, 94, 174, 0.15);
}

/* Overall Sentiment Apple Style */
.overall-sentiment {
    margin-top: 1rem;
}

.sentiment-label {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
}

#totalSuggestions {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Speedometer Styling */
.sentiment-speedometer {
    position: relative;
    width: 200px;
    height: 100px;
    margin: 2rem auto;
}

.speedometer-arc {
    width: 200px;
    height: 100px;
    border-radius: 200px 200px 0 0;
    background: linear-gradient(90deg, #dc3545 0%, #ffc107 50%, #28a745 100%);
    position: relative;
    overflow: hidden;
}

.speedometer-arc::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: -10px;
    background: #f3f1fc;
    border-radius: 200px 200px 0 0;
}

.speedometer-needle {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 3px;
    height: 80px;
    background: #6b5eae;
    transform-origin: bottom center;
    transform: translateX(-50%) rotate(0deg);
    transition: transform 0.8s cubic-bezier(0.4, 0.0, 0.2, 1);
    z-index: 10;
    border-radius: 2px 2px 0 0;
}

.speedometer-needle::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: -6px;
    width: 15px;
    height: 15px;
    background: #6b5eae;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 8px rgba(107, 94, 174, 0.6);
}

/* Compact AI Insights Design */
.sentiment-progress-container {
    position: relative;
}

.sentiment-progress-bar {
    position: relative;
    margin-bottom: 1rem;
}

.sentiment-progress-bar .progress {
    border-radius: 12px;
    background-color: #f8f9fa;
    overflow: visible;
}

.sentiment-progress-bar .progress-bar:first-child {
    border-radius: 12px 0 0 12px;
}

.sentiment-progress-bar .progress-bar:last-child {
    border-radius: 0 12px 12px 0;
}

.sentiment-progress-bar .progress-bar:only-child {
    border-radius: 12px;
}

.sentiment-progress-bar .progress-bar:not(:first-child):not(:last-child):not(:only-child) {
    border-radius: 0;
}

.sentiment-marker {
    position: absolute;
    top: -2px;
    left: 50%;
    width: 8px;
    height: 28px;
    background-color: #6b5eae;
    border-radius: 4px;
    transform: translateX(-50%);
    box-shadow: 0 2px 4px rgba(107, 94, 174, 0.4);
    transition: left 0.5s ease-out;
    z-index: 10;
}

.sentiment-marker::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid #6b5eae;
}

.sentiment-badges {
    display: flex;
    gap: 0.25rem;
}

.sentiment-badges .badge {
    font-size: 0.75rem;
    min-width: 1.5rem;
    border-radius: 0.375rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    /* Center AI filter tabs on mobile */
    .filterContainer .nav-tabs {
        justify-content: center;
        flex-wrap: wrap;
        overflow-x: visible;
    }
    
    .filterContainer .nav-item {
        margin-bottom: 0.5rem;
    }
    
    /* AI Insights collapsed by default on mobile */
    .ai-content.collapsed {
        max-height: 0 !important;
        opacity: 0 !important;
        transform: translateY(-10px) !important;
        overflow: hidden !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    }
    
    .ai-content:not(.collapsed) {
        max-height: 1000px;
        opacity: 1;
        transform: translateY(0);
        transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    }
    
    /* Compact layout on mobile */
    .sentiment-progress-container .col-lg-5 {
        margin-bottom: 1rem;
    }
    
    .sentiment-badges {
        flex-wrap: wrap;
        justify-content: flex-end;
    }
    
    .sentiment-badges .badge {
        margin-bottom: 0.25rem;
    }
}

/* AI Upsell Widget Styles - Exact Match */
.ai-upsell-widget {
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    background: #FFFFFF;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.close-button {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
    z-index: 10;
    font-size: 18px;
    color: #9CA3AF;
    font-weight: 300;
}

.close-button:hover {
    background: #F3F4F6;
    color: #6B7280;
}

.widget-content {
    display: flex;
    align-items: stretch;
}

.left-section {
    width: 240px;
    padding: 32px 32px 32px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.widget-title {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.1;
    margin: 0 0 12px 0;
    letter-spacing: -0.025em;
}

/* Gradient text effects for title */
.ai-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.insights-gradient {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.widget-subtitle {
    font-size: 16px;
    color: #6B7280;
    margin: 0;
    line-height: 1.5;
}

.middle-section {
    flex: 1;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.icon-wrapper svg {
    width: 20px;
    height: 20px;
}

/* Colorful icon backgrounds and colors */
.sentiment-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.sentiment-icon svg {
    color: white;
}

.filtering-icon {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.filtering-icon svg {
    color: white;
}

.summarization-icon {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.summarization-icon svg {
    color: white;
}

.feature-text {
    flex: 1;
    padding-top: 2px;
}

.feature-title {
    font-size: 16px;
    font-weight: 500;
    color: #1F2937;
    margin-bottom: 4px;
    line-height: 1.3;
}

.feature-description {
    font-size: 14px;
    color: #6B7280;
    line-height: 1.4;
}

.right-section {
    width: 280px;
    background: #F8FAFC;
    border-left: 1px solid #E5E7EB;
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.benefits-text {
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 32px;
    line-height: 1.6;
    font-weight: 400;
}

.upgrade-button {
    display: inline-block;
    background: #8B5CF6;
    color: white;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    margin-bottom: 16px;
    min-width: 160px;
}

.upgrade-button:hover {
    background: #7C3AED;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.25);
}

.pricing-text {
    font-size: 13px;
    color: #9CA3AF;
    font-weight: 400;
}

/* Collapsed state */
.ai-teaser-collapsed {
    padding: 16px 24px;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.ai-pro-badge {
    background: #8B5CF6;
    color: white;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
}

.ai-expand-btn {
    color: #8B5CF6;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

.ai-expand-btn:hover {
    color: #7C3AED;
    text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .widget-content {
        flex-direction: column;
    }
    
    .left-section {
        width: 100%;
        padding: 32px 32px 24px;
        text-align: center;
    }
    
    .middle-section {
        padding: 0 32px 24px;
    }
    
    .right-section {
        width: 100%;
        padding: 24px 32px 32px;
        border-left: none;
        border-top: 1px solid #E5E7EB;
    }
}

@media (max-width: 768px) {
    .left-section {
        padding: 24px 24px 20px;
    }
    
    .middle-section {
        padding: 0 24px 20px;
    }
    
    .right-section {
        padding: 20px 24px 24px;
    }
    
    .widget-title {
        font-size: 28px;
    }
    
    .widget-subtitle {
        font-size: 15px;
    }
    
    .feature-list {
        gap: 16px;
    }
    
    .close-button {
        top: 16px;
        right: 16px;
    }
}

.ai-teaser-badge {
    transition: all 0.2s ease;
}

.ai-teaser-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* AI Filter Pro Badge */
#ai-filters-label {
    cursor: pointer;
    transition: color 0.2s ease;
}

#ai-filters-label:hover {
    color: #6b5eae !important;
}

/* Dashboard Sentiment Info */
.dashboard-sentiment-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sentiment-summary {
    transition: transform 0.2s ease;
}

.sentiment-summary:hover {
    transform: scale(1.02);
}

.sentiment-locked {
    transition: all 0.2s ease;
    opacity: 0.8;
}

.sentiment-locked:hover {
    opacity: 1;
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* AI Locked Badge Styling */
.ai-locked-badge {
    transition: all 0.2s ease;
    opacity: 0.85;
}

.ai-locked-badge:hover {
    opacity: 1;
    transform: scale(1.08);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    background-color: #6b5eae !important;
}

/* AI Unlock Trigger General Styling */
.ai-unlock-trigger {
    position: relative;
    transition: all 0.2s ease;
}

.ai-unlock-trigger:hover {
    z-index: 1000; /* Ensure hovered element is above others */
}

/* Enhanced AI Pro Badge */
.ai-pro-badge {
    background: linear-gradient(135deg, #8B5CF6, #6b5eae);
    border: none;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 1px 3px rgba(139, 92, 246, 0.4);
}

/* Lock icon styling */
.fe-lock {
    margin-left: 2px;
    font-size: 0.9em;
}

/* Dashboard activity item hover effects */
.list-group-activity .list-group-item:hover .sentiment-locked {
    transform: scale(1.1);
}

/* AI Upgrade Hover Dialog */
.ai-upgrade-hover-dialog {
    position: absolute;
    z-index: 10000;
    width: 280px;
    opacity: 0;
    transform: scale(0.95) translateY(-5px);
    transition: all 0.2s ease-out;
    pointer-events: none;
}

.ai-upgrade-hover-dialog.show {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
}

.hover-dialog-content {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(107, 94, 174, 0.1);
    padding: 16px;
    position: relative;
}

.hover-dialog-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    z-index: 1;
}

.hover-dialog-close:hover {
    background: rgba(108, 117, 125, 0.1);
    color: #495057;
}

.hover-dialog-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding-right: 16px;
}

.hover-dialog-header .ai-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #8B5CF6, #6b5eae);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
}

.hover-dialog-header h6 {
    font-weight: 600;
    color: #2d3748;
    margin: 0;
}

.hover-dialog-header small {
    color: #6c757d;
    font-size: 12px;
    line-height: 1.2;
}

.hover-dialog-features {
    margin-bottom: 16px;
}

.hover-dialog-features .feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    font-size: 13px;
    color: #4a5568;
}

.hover-dialog-features .feature-icon {
    color: #8B5CF6;
    font-size: 14px;
    width: 16px;
    text-align: center;
}

.hover-dialog-footer {
    text-align: center;
}

.hover-dialog-footer .btn {
    background: linear-gradient(135deg, #8B5CF6, #6b5eae);
    border: none;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.hover-dialog-footer .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.hover-dialog-footer .pricing-text {
    color: #6c757d;
    font-size: 11px;
    margin-top: 6px;
    display: block;
}

/* Dialog Arrow */
.hover-dialog-arrow {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #ffffff;
    border: 1px solid rgba(107, 94, 174, 0.1);
    transform: rotate(45deg);
    z-index: -1;
}

.hover-dialog-arrow.arrow-left {
    left: -5px;
    top: 50%;
    margin-top: -5px;
    border-right: none;
    border-bottom: none;
}

.hover-dialog-arrow.arrow-right {
    right: -5px;
    top: 50%;
    margin-top: -5px;
    border-left: none;
    border-top: none;
}

.hover-dialog-arrow.arrow-top {
    top: -5px;
    left: 50%;
    margin-left: -5px;
    border-bottom: none;
    border-left: none;
}

.hover-dialog-arrow.arrow-bottom {
    bottom: -5px;
    left: 50%;
    margin-left: -5px;
    border-top: none;
    border-right: none;
}

/* Dashboard Sentiment Stats */
.sentiment-stat {
    padding: 12px;
}

.sentiment-number {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 4px;
}

.sentiment-label {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Locked sentiment card styling */
.sentiment-locked-card {
    position: relative;
    overflow: hidden;
}

.sentiment-locked-card .blurred {
    filter: blur(2px);
    opacity: 0.6;
}

.sentiment-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(139, 92, 246, 0.05) 0%,
        rgba(139, 92, 246, 0.02) 50%,
        rgba(139, 92, 246, 0.05) 100%);
    pointer-events: none;
}

.unlock-overlay-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.unlock-overlay-center:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.unlock-overlay-center .fe-zap {
    display: block;
    margin-bottom: 4px;
}

/* AI Teaser Feature Items Hover Effects */
.ai-upsell-widget .feature-item.ai-unlock-trigger {
    transition: all 0.2s ease;
    border-radius: 8px;
    padding: 8px;
    margin: -8px;
    cursor: pointer;
    position: relative;
}

.ai-upsell-widget .feature-item.ai-unlock-trigger::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(107, 94, 174, 0.05));
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.ai-upsell-widget .feature-item.ai-unlock-trigger:hover::after {
    opacity: 1;
}

.ai-upsell-widget .feature-item.ai-unlock-trigger:hover {
    background: rgba(139, 92, 246, 0.1);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.ai-upsell-widget .feature-item.ai-unlock-trigger:hover .icon-wrapper {
    transform: scale(1.1);
    background: linear-gradient(135deg, #8B5CF6, #6b5eae);
    color: white;
}

.ai-upsell-widget .feature-item.ai-unlock-trigger:hover .feature-title {
    color: #8B5CF6;
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ai-upgrade-hover-dialog {
        width: 260px;
    }
    
    .hover-dialog-content {
        padding: 14px;
    }
    
    .hover-dialog-header {
        gap: 10px;
        margin-bottom: 10px;
    }
    
    .hover-dialog-features {
        margin-bottom: 12px;
    }
    
    .ai-upsell-widget .feature-item.ai-unlock-trigger {
        padding: 6px;
        margin: -6px;
    }
}

