/* Modern Minimalistic Design */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #ffffff;
    min-height: 100vh;
    color: #0f0f0f;
    line-height: 1.5;
    font-weight: 400;
}

/* Dashboard Layout */
.dashboard {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header - Ultra Clean */
.header {
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    padding: 0.40rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2.25rem;
    font-weight: 600;
    color: #0f0f0f;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo i {
    color: #6366f1;
}

.logo-image {
    height: 3rem;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-weight: 600;
    color: #5560f0;
}

.header-actions {
    display: flex;
    gap: 0.75rem;
}

/* Minimalist Buttons */
.btn {
    padding: 0.625rem 1.25rem;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.15s ease;
    text-decoration: none;
    font-size: 0.875rem;
}

.btn-primary {
    background: #0f0f0f;
    color: white;
}

.btn-primary:hover {
    background: #262626;
}

.btn-secondary {
    background: #f5f5f5;
    color: #525252;
    border: 1px solid #e5e5e5;
}

.btn-secondary:hover {
    background: #f0f0f0;
    border-color: #d4d4d4;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

/* Main Content */
.main-content {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    width: 100%;
}

/* Call Info - Clean Header */
.call-info-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.call-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.call-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0f0f0f;
    margin-bottom: 0.75rem;
}

.call-details {
    display: flex;
    gap: 2rem;
    color: #737373;
    font-size: 0.875rem;
}

.call-details span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.call-details i {
    color: #a3a3a3;
}

.status-badge {
    padding: 0.375rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.status-badge.completed {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

/* Analytics Overview - Clean Metrics */
.analytics-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.metric-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: border-color 0.15s ease;
}

.metric-card:hover {
    border-color: #d4d4d4;
}

.metric-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 6px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6366f1;
    font-size: 1rem;
}

.metric-content {
    flex: 1;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0f0f0f;
    line-height: 1;
}

.metric-label {
    font-size: 0.875rem;
    color: #737373;
    margin-top: 0.25rem;
}

/* Dashboard Grid - Clean Layout */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

/* Cards - Minimal Design */
.card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
    transition: border-color 0.15s ease;
}

.card:hover {
    border-color: #d4d4d4;
}

.card-header {
    padding: 1rem;
    border-bottom: 1px solid #f5f5f5;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #0f0f0f;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-title i {
    color: #6366f1;
    font-size: 0.875rem;
}

.card-content {
    padding: 1rem;
}

/* Audio Player - Clean Design */
.audio-player {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.waveform-container {
    position: relative;
    background: #f8fafc;
    border-radius: 6px;
    padding: 1rem;
    border: 1px solid #f1f5f9;
}

.waveform-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.playhead {
    position: absolute;
    top: 1rem;
    bottom: 1rem;
    width: 2px;
    background: #6366f1;
    transition: left 0.3s ease;
}

.audio-element {
    width: 100%;
    height: 40px;
    border-radius: 6px;
}

.audio-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.audio-btn {
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    border-radius: 50%;
    background: #0f0f0f;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: background 0.15s ease;
}

.audio-btn:hover {
    background: #262626;
}

.audio-progress {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.progress-bar {
    height: 3px;
    background: #f1f5f9;
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #6366f1;
    transition: width 0.3s ease;
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #737373;
    font-variant-numeric: tabular-nums;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #737373;
}

.volume-slider {
    width: 60px;
    height: 3px;
    background: #f1f5f9;
    border-radius: 2px;
    outline: none;
    -webkit-appearance: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: #6366f1;
    border-radius: 50%;
    cursor: pointer;
}

/* Sentiment Analysis */
.sentiment-chart-container {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    height: 150px;
}

.sentiment-breakdown {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.sentiment-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #525252;
}

.sentiment-color {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.sentiment-color.positive {
    background: #22c55e;
}

.sentiment-color.neutral {
    background: #f59e0b;
}

.sentiment-color.negative {
    background: #ef4444;
}

/* Speaker Analytics - Clean Stats */
.speaker-stats {
    display: flex;
    flex-direction: column;
}

.speaker-stat {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 6px;
    border: 1px solid #f1f5f9;
}

.speaker-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 140px;
}

.speaker-avatar {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: #6366f1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.75rem;
}

.speaker-details {
    display: flex;
    flex-direction: column;
}

.speaker-name {
    font-weight: 600;
    color: #0f0f0f;
    font-size: 0.875rem;
}

.speaker-role {
    font-size: 0.75rem;
    color: #737373;
}

.speaker-metrics {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.talk-time {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.progress-bar.small {
    height: 4px;
    flex: 1;
    max-width: 80px;
    background: #f1f5f9;
    border-radius: 2px;
}

.speaker-pace {
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
    color: #737373;
}

/* Audio Quality - Minimal Bars */
.quality-metrics {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.quality-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quality-label {
    min-width: 120px;
    font-size: 0.875rem;
    color: #525252;
}

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

.quality-fill {
    height: 100%;
    transition: width 0.3s ease;
}

.quality-fill.excellent {
    background: #22c55e;
}

.quality-fill.good {
    background: #84cc16;
}

.quality-fill.fair {
    background: #f59e0b;
}

.quality-fill.poor {
    background: #ef4444;
}

.quality-value {
    min-width: 50px;
    text-align: right;
    font-size: 0.875rem;
    font-weight: 500;
    color: #0f0f0f;
}

/* Keywords - Clean Tags */
.keywords-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.keyword-tag {
    position: relative;
    padding: 0.375rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
}

.keyword-tag.high-priority {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.keyword-tag.medium-priority {
    background: #fffbeb;
    color: #d97706;
    border: 1px solid #fed7aa;
}

.keyword-tag.low-priority {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.keyword-tag:hover {
    transform: translateY(-1px);
}

.keyword-tag::after {
    content: attr(data-count);
    position: absolute;
    top: -6px;
    right: -6px;
    background: #0f0f0f;
    color: white;
    font-size: 0.625rem;
    padding: 2px 4px;
    border-radius: 8px;
    min-width: 14px;
    text-align: center;
    line-height: 1;
}

.topic-timeline {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f5f5f5;
}

.topic-timeline h4 {
    margin-bottom: 1rem;
    color: #0f0f0f;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Advanced Analytics Grid */
.advanced-analytics-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Emotion Timeline */
.emotion-chart {
    margin-bottom: 1rem;
    height: 200px;
}

.emotion-legend {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.emotion-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #525252;
}

.emotion-color {
    width: 8px;
    height: 8px;
    border-radius: 2px;
}

.emotion-color.joy {
    background: #fbbf24;
}

.emotion-color.confidence {
    background: #22c55e;
}

.emotion-color.concern {
    background: #ef4444;
}

.emotion-color.neutral {
    background: #9ca3af;
}

/* Language Analysis */
.language-metrics {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.language-metric {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.metric-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.metric-title {
    font-size: 0.875rem;
    color: #525252;
}

.metric-bar {
    height: 4px;
    background: #f1f5f9;
    border-radius: 2px;
    overflow: hidden;
}

.metric-fill {
    height: 100%;
    background: #6366f1;
    transition: width 0.3s ease;
}

.word-cloud {
    padding-top: 1rem;
    border-top: 1px solid #f5f5f5;
}

.word-cloud h4 {
    margin-bottom: 1rem;
    color: #0f0f0f;
    font-size: 0.875rem;
    font-weight: 600;
}

.word-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.word-tag {
    padding: 0.375rem 0.75rem;
    background: #f8fafc;
    color: #6366f1;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.15s ease;
}

.word-tag:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.word-tag.size-large {
    font-size: 1rem;
    font-weight: 600;
}

.word-tag.size-medium {
    font-size: 0.875rem;
}

.word-tag.size-small {
    font-size: 0.75rem;
}

/* Flow Insights */
.flow-insights {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.insight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: #525252;
}

.text-blue {
    color: #3b82f6;
}

.text-purple {
    color: #8b5cf6;
}

.text-green {
    color: #22c55e;
}

.text-yellow {
    color: #f59e0b;
}

.text-orange {
    color: #f97316;
}

/* Transcription - Clean Layout */
.transcription-card {
    grid-column: 1 / -1;
}

.transcription-controls {
    display: flex;
    gap: 0.5rem;
}

.transcription-content {
    max-height: 700px;
    overflow-y: auto;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 6px;
    border: 1px solid #f1f5f9;
}

.speaker-segment {
    padding: 0.5rem;
    background: white;
    border-radius: 6px;
    border: 1px solid #f1f5f9;
}

.speaker-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.speaker-name {
    font-weight: 600;
    color: #0f0f0f;
    font-size: 0.875rem;
}

.timestamp {
    font-size: 0.75rem;
    color: #737373;
    margin-left: auto;
    font-variant-numeric: tabular-nums;
}

.speaker-text {
    color: #525252;
    line-height: 1.6;
}

/* Chart Containers */
.timeline-chart,
.flow-chart,
.emotion-chart,
.sentiment-chart-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

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

    .advanced-analytics-grid {
        grid-template-columns: 1fr;
    }

    .main-content {
        padding: 1rem;
    }

    .call-details {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 768px) {
    .header-content {
        padding: 0 1rem;
    }

    .call-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .analytics-overview {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }

    .speaker-stat {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .sentiment-breakdown {
        flex-direction: column;
        gap: 0.5rem;
    }

    .emotion-legend {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: #f8fafc;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Animation for updates */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.metric-card.updating {
    animation: pulse 0.8s ease-in-out;
}

/* Call
 Summary Section */
.call-summary-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Summary Card */
.summary-card {
    grid-column: 1;
}

.summary-actions {
    display: flex;
    gap: 0.5rem;
}

.summary-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.summary-overview h4,
.key-highlights h4,
.next-steps h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0f0f0f;
    margin-bottom: 0.75rem;
}

.summary-overview p {
    color: #525252;
    line-height: 1.6;
}

/* Key Highlights */
.highlights-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
}

.highlight-item.positive {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.highlight-item.neutral {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fed7aa;
}

.highlight-item.concern {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.highlight-item i {
    font-size: 0.75rem;
}

/* Next Steps */
.next-steps-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.next-steps-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: #000000;
    font-size: 0.875rem;
    line-height: 1.5;
}

.next-steps-list li::before {
    content: "→";
    color: #6366f1;
    font-weight: 600;
    margin-top: 0.1rem;
}

/* Action Items Card */
.action-items-card {
    grid-column: 2;
}

.action-stats {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.completed-count {
    font-size: 0.75rem;
    color: #737373;
    background: #f8fafc;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.action-items-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.action-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 6px;
    border: 1px solid #f1f5f9;
    transition: all 0.15s ease;
}

.action-item:hover {
    background: #f1f5f9;
    border-color: #e2e8f0;
}

.action-item.completed {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.action-item.completed .action-text {
    text-decoration: line-through;
    color: #737373;
}

.action-checkbox {
    width: 16px;
    height: 16px;
    border: 2px solid #d1d5db;
    border-radius: 3px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.action-checkbox:hover {
    border-color: #6366f1;
}

.action-checkbox.checked {
    background: #6366f1;
    border-color: #6366f1;
    color: white;
}

.action-checkbox.checked::after {
    content: "✓";
    font-size: 0.75rem;
    font-weight: 600;
}

.action-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.action-text {
    font-size: 0.875rem;
    color: #0f0f0f;
    line-height: 1.4;
}

.action-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.75rem;
    color: #737373;
}

.action-priority {
    padding: 0.125rem 0.375rem;
    border-radius: 3px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.action-priority.high {
    background: #fef2f2;
    color: #dc2626;
}

.action-priority.medium {
    background: #fffbeb;
    color: #d97706;
}

.action-priority.low {
    background: #f0fdf4;
    color: #16a34a;
}

.add-action-btn {
    width: 100%;
    justify-content: center;
    border: 1px dashed #d1d5db;
    background: transparent;
    color: #737373;
}

.add-action-btn:hover {
    border-color: #6366f1;
    color: #6366f1;
    background: #f8fafc;
}

/* Individual Summary Cards */
.summary-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.summary-mini-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 1rem;
    transition: border-color 0.15s ease;
}

.summary-mini-card:hover {
    border-color: #d4d4d4;
}

.summary-mini-card h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0f0f0f;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.summary-mini-card h4 i {
    color: #6366f1;
    font-size: 0.75rem;
}

.summary-mini-card p,
.summary-mini-card ul {
    color: #000000;
    font-size: 0.975rem;
    line-height: 1.5;
}

.summary-mini-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.summary-mini-card ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.summary-mini-card ul li::before {
    content: "•";
    color: #6366f1;
    font-weight: 600;
    margin-top: 0.1rem;
}

.personal-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f5f5f5;
}

.personal-info-item:last-child {
    border-bottom: none;
}

.personal-info-label {
    font-weight: 500;
    color: #737373;
    font-size: 0.75rem;
}

.personal-info-value {
    color: #0f0f0f;
    font-size: 0.875rem;
}

/* Responsive Design for Summary Section */
@media (max-width: 1024px) {
    .call-summary-section {
        grid-template-columns: 1fr;
    }

    .summary-cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .highlights-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .summary-cards-grid {
        grid-template-columns: 1fr;
    }

    .action-item {
        flex-direction: column;
        gap: 0.5rem;
    }

    .action-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
}

/* Action I
tems Section - 1/3 Width */
.action-items-section {
    width: 33.333%;
    margin-bottom: 1rem;
    height: 573px;
    overflow-y: scroll;
}

.action-items-section .card {
    width: 100%;
}

/* Update all remaining paddings to 1rem */
.call-info-card {
    padding: 1rem;
    margin-bottom: 1rem;
}

.call-title {
    margin-bottom: 1rem;
}

.summary-mini-card {
    padding: 1rem;
}

.summary-mini-card h4 {
    margin-bottom: 1rem;
}

.speaker-stat {
    padding: 1rem;
}

.action-item {
    padding: 0.3rem;
}

.waveform-container {
    padding: 1rem;
}

.transcription-content {
    padding: 0rem;
}

.speaker-segment {
    padding: 0.5rem;
}

.speaker-info {}

/* Advanced Analytics Grid */
.advanced-analytics-grid {
    gap: 1rem;
    margin-bottom: 1rem;
}

/* Update margins to 1rem */
.analytics-overview {
    margin-bottom: 1rem;
}

.dashboard-grid {
    margin-bottom: 1rem;
}

.keywords-grid {
    margin-bottom: 1rem;
}

.topic-timeline {
    margin-top: 1rem;
    padding-top: 1rem;
}

.topic-timeline h4 {
    margin-bottom: 1rem;
}

.emotion-chart {
    margin-bottom: 1rem;
}

.language-metrics {
    margin-bottom: 1rem;
}

.word-cloud {
    padding-top: 1rem;
}

.word-cloud h4 {
    margin-bottom: 1rem;
}

.flow-insights {
    margin-top: 1rem;
}

.action-items-list {
    margin-bottom: 1rem;
}

.sentiment-chart-container {
    margin-bottom: 1rem;
}

.quality-metrics {
    gap: 1rem;
}

.highlights-grid {
    gap: 1rem;
}

.summary-content {
    gap: 1rem;
}

.key-highlights h4,
.next-steps h4 {
    margin-bottom: 1rem;
}

.personal-info-item {
    padding: 1rem 0;
}

.personal-info-item:first-child {
    padding-top: 0;
}

.personal-info-item:last-child {
    padding-bottom: 0;
}

/* Su
mmary and Action Items Row Layout */
.summary-action-row {
    display: flex;
    gap: 1rem;
}

/* Summary Cards Section - 2/3 Width */
.summary-cards-section {
    flex: 2;
    width: 66.666%;
}

/* Update Action Items Section - 1/3 Width */
.action-items-section {
    flex: 1;
    width: 33.333%;
}

.action-items-section .card {
    width: 100%;
    height: fit-content;
}

/* Responsive adjustments for summary-action row */
@media (max-width: 1024px) {
    .summary-action-row {
        flex-direction: column;
    }

    .summary-cards-section,
    .action-items-section {
        width: 100%;
        flex: none;
    }
}

/* Trans
cription and Analytics Row Layout */
.transcription-analytics-row {
    display: flex;
    gap: 1rem;
}

/* Transcription Section - 1/2 Width in Performance Row */
.transcription-section {
    width: 100%;
}

/* Performance Analysis Section - 1/2 Width in Row */
.performance-analysis-section {
    width: 100%;
}

/* Action Items Section - Full Width */
.action-items-section {
    width: 100%;
    margin-bottom: 2rem;
}

.analytics-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Remove duplicate transcription card styling */
.transcription-card {
    grid-column: unset;
}

/* Ensure transcription content has proper height */
.transcription-section .transcription-content {
    max-height: 700px;
    overflow-y: auto;
}

/* Action items section cards should be compact */
.action-items-section .card {
    margin-bottom: 0;
}

.action-items-section .card:last-child {
    margin-bottom: 0;
}

/* Simp
le Audio Player */
.simple-audio-player {
    width: 100%;
    height: 40px;
    border-radius: 6px;
    outline: none;
}

.simple-audio-player::-webkit-media-controls-panel {
    background-color: #f8fafc;
    border-radius: 6px;
}

.simple-audio-player::-webkit-media-controls-play-button,
.simple-audio-player::-webkit-media-controls-pause-button {
    background-color: #6366f1;
    border-radius: 50%;
}

.simple-audio-player::-webkit-media-controls-timeline {
    background-color: #e2e8f0;
    border-radius: 2px;
}

.simple-audio-player::-webkit-media-controls-current-time-display,
.simple-audio-player::-webkit-media-controls-time-remaining-display {
    color: #525252;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
}

/* H
ome Page Styles */

/* Navigation */
.home-nav {
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.nav-brand .logo {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0f0f0f;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-brand .logo i {
    color: #6366f1;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: #525252;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: color 0.15s ease;
}

.nav-link:hover {
    color: #0f0f0f;
}

/* Hero Section */
.hero-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #0f0f0f;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-highlight {
    color: #6366f1;
}

.hero-description {
    font-size: 1.125rem;
    color: #525252;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn-large {
    padding: 0.875rem 2rem;
    font-size: 1rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #0f0f0f;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: #737373;
    margin-top: 0.25rem;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.dashboard-preview {
    width: 100%;
    max-width: 400px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.preview-header {
    background: #f8fafc;
    padding: 1rem;
    border-bottom: 1px solid #e5e5e5;
}

.preview-controls {
    display: flex;
    gap: 0.5rem;
}

.control-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control-dot.red {
    background: #ef4444;
}

.control-dot.yellow {
    background: #f59e0b;
}

.control-dot.green {
    background: #22c55e;
}

.preview-content {
    padding: 1.5rem;
}

.preview-waveform {
    margin-bottom: 1.5rem;
}

.waveform-bars {
    display: flex;
    align-items: end;
    gap: 4px;
    height: 60px;
}

.bar {
    flex: 1;
    background: #6366f1;
    border-radius: 2px;
    min-height: 4px;
    animation: waveform 2s ease-in-out infinite;
}

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

.bar:nth-child(3) {
    animation-delay: 0.4s;
}

.bar:nth-child(4) {
    animation-delay: 0.6s;
}

.bar:nth-child(5) {
    animation-delay: 0.8s;
}

.bar:nth-child(6) {
    animation-delay: 1s;
}

.bar:nth-child(7) {
    animation-delay: 1.2s;
}

.bar:nth-child(8) {
    animation-delay: 1.4s;
}

@keyframes waveform {

    0%,
    100% {
        opacity: 0.6;
        transform: scaleY(1);
    }

    50% {
        opacity: 1;
        transform: scaleY(1.2);
    }
}

.preview-metrics {
    display: flex;
    gap: 1rem;
}

.metric-preview {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: #f8fafc;
    border-radius: 6px;
    font-size: 0.875rem;
}

.metric-icon {
    color: #6366f1;
}

.metric-text {
    color: #525252;
    font-weight: 500;
}

/* Sections */
.section-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0f0f0f;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.125rem;
    color: #525252;
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background: #ffffff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    text-align: center;
    transition: all 0.15s ease;
}

.feature-card:hover {
    border-color: #6366f1;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.1);
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    background: #f8fafc;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #6366f1;
    font-size: 1.5rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0f0f0f;
    margin-bottom: 1rem;
}

.feature-description {
    color: #525252;
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works-section {
    padding: 5rem 0;
    background: #f8fafc;
}

.steps-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.step-number {
    width: 3rem;
    height: 3rem;
    background: #6366f1;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0f0f0f;
    margin-bottom: 0.75rem;
}

.step-description {
    color: #525252;
    line-height: 1.6;
}

.step-connector {
    width: 2rem;
    height: 2px;
    background: #e5e5e5;
    margin: 0 1rem;
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
    background: #ffffff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    padding: 2rem;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-text {
    color: #525252;
    line-height: 1.6;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 3rem;
    height: 3rem;
    background: #6366f1;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.author-name {
    font-weight: 600;
    color: #0f0f0f;
}

.author-role {
    font-size: 0.875rem;
    color: #737373;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.cta-actions .btn-primary {
    background: white;
    color: #6366f1;
}

.cta-actions .btn-primary:hover {
    background: #f8fafc;
}

.cta-actions .btn-secondary {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cta-note {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Footer */
.footer {
    background: #0f0f0f;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand .logo {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-brand .logo i {
    color: #6366f1;
}

.footer-description {
    color: #a3a3a3;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

.footer-link {
    display: block;
    color: #a3a3a3;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.15s ease;
}

.footer-link:hover {
    color: white;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    border-top: 1px solid #262626;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    color: #a3a3a3;
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal .footer-link {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .steps-container {
        flex-direction: column;
        gap: 3rem;
    }

    .step-connector {
        width: 2px;
        height: 2rem;
        margin: 1rem 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }

    .nav-link {
        display: none;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .feature-card,
    .testimonial-card {
        padding: 1.5rem;
    }
}/*
 Call Logs Page Styles */

/* Page Header */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e5e5;
}

.page-title-section {
    flex: 1;
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    color: #0f0f0f;
    margin-bottom: 0.5rem;
}

.page-description {
    color: #737373;
    font-size: 1rem;
    margin: 0;
}

.page-actions {
    display: flex;
    gap: 0.75rem;
}

/* Logs Stats Overview */
.logs-stats-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: border-color 0.15s ease;
}

.stat-card:hover {
    border-color: #d4d4d4;
}

.stat-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 8px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6366f1;
    font-size: 1.25rem;
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f0f0f;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: #737373;
    margin-top: 0.25rem;
}

/* Table Card */
.logs-table-card {
    margin-bottom: 2rem;
}

.table-actions {
    display: flex;
    gap: 0.5rem;
}

.table-container {
    overflow-x: auto;
}

/* DataTables Customization */
.call-logs-table {
    width: 100% !important;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.call-logs-table thead th {
    background: #f8fafc;
    border-bottom: 2px solid #e5e5e5;
    padding: 1rem 0.75rem;
    text-align: left;
    font-weight: 600;
    color: #0f0f0f;
    font-size: 0.875rem;
}

.call-logs-table tbody td {
    padding: 1rem 0.75rem;
    border-bottom: 1px solid #f5f5f5;
    vertical-align: middle;
}

.call-logs-table tbody tr:hover {
    background: #f8fafc;
}

/* Custom DataTables Styling */
.dataTables_wrapper {
    font-family: 'Space Grotesk', sans-serif;
}

.dataTables_length,
.dataTables_filter,
.dataTables_info,
.dataTables_paginate {
    margin: 1rem 0;
}

.dataTables_length select,
.dataTables_filter input {
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-family: 'Space Grotesk', sans-serif;
}

.dataTables_filter input {
    width: 250px;
}

.dataTables_paginate .paginate_button {
    padding: 0.5rem 0.75rem;
    margin: 0 0.25rem;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    background: #ffffff;
    color: #525252;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.15s ease;
}

.dataTables_paginate .paginate_button:hover {
    background: #f8fafc;
    border-color: #d4d4d4;
    color: #0f0f0f;
}

.dataTables_paginate .paginate_button.current {
    background: #6366f1;
    border-color: #6366f1;
    color: white;
}

.dataTables_paginate .paginate_button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Table Cell Styles */
.call-id {
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.75rem;
    background: #f8fafc;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    color: #6366f1;
    font-weight: 600;
}

.call-title-link {
    color: #0f0f0f;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.15s ease;
}

.call-title-link:hover {
    color: #6366f1;
    text-decoration: underline;
}

.datetime-cell {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.datetime-cell .date {
    font-weight: 600;
    color: #0f0f0f;
}

.datetime-cell .time {
    font-size: 0.75rem;
    color: #737373;
    font-variant-numeric: tabular-nums;
}

.duration {
    font-variant-numeric: tabular-nums;
    font-weight: 500;
    color: #525252;
}

.participants-cell {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.participants-list {
    color: #0f0f0f;
    font-weight: 500;
}

.participants-count {
    font-size: 0.75rem;
    color: #737373;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.status-badge.analyzed {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.status-badge.processing {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fed7aa;
}

.status-badge.failed {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.sentiment-cell {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.sentiment-cell.positive {
    color: #166534;
}

.sentiment-cell.negative {
    color: #dc2626;
}

.sentiment-cell.neutral {
    color: #92400e;
}

.confidence-cell {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.confidence-bar {
    width: 60px;
    height: 6px;
    background: #f1f5f9;
    border-radius: 3px;
    overflow: hidden;
}

.confidence-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.confidence-fill.high {
    background: #22c55e;
}

.confidence-fill.medium {
    background: #f59e0b;
}

.confidence-fill.low {
    background: #ef4444;
}

.confidence-value {
    font-size: 0.75rem;
    font-weight: 600;
    color: #525252;
    min-width: 35px;
    font-variant-numeric: tabular-nums;
}

.action-buttons {
    display: flex;
    gap: 0.25rem;
}

.action-buttons .btn {
    padding: 0.375rem;
    min-width: auto;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-buttons .btn i {
    font-size: 0.75rem;
}

/* DataTables Search and Length Styling */
.dataTables_length label,
.dataTables_filter label {
    font-weight: 500;
    color: #525252;
    font-size: 0.875rem;
}

.dataTables_info {
    color: #737373;
    font-size: 0.875rem;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .page-actions {
        justify-content: flex-start;
    }

    .logs-stats-overview {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 1.5rem;
    }

    .logs-stats-overview {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 1rem;
    }

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

    .dataTables_filter input {
        width: 200px;
    }

    .action-buttons {
        flex-direction: column;
    }

    /* Hide less important columns on mobile */
    .call-logs-table th:nth-child(1),
    .call-logs-table td:nth-child(1),
    .call-logs-table th:nth-child(8),
    .call-logs-table td:nth-child(8) {
        display: none;
    }
}

@media (max-width: 480px) {
    .dataTables_filter input {
        width: 150px;
    }

    .participants-cell,
    .datetime-cell {
        font-size: 0.75rem;
    }

    /* Hide more columns on very small screens */
    .call-logs-table th:nth-child(4),
    .call-logs-table td:nth-child(4),
    .call-logs-table th:nth-child(7),
    .call-logs-table td:nth-child(7) {
        display: none;
    }
}

/* Custom scrollbar for table container */
.table-container::-webkit-scrollbar {
    height: 6px;
}

.table-container::-webkit-scrollbar-track {
    background: #f8fafc;
    border-radius: 3px;
}

.table-container::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.table-container::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}