/* AlgoCompare Dashboard CSS - Professional Design */

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

:root {
    --primary-blue: #4f46e5;
    --secondary-blue: #6366f1;
    --light-blue: #e0e7ff;
    --success-green: #10b981;
    --warning-orange: #f59e0b;
    --danger-red: #ef4444;
    --text-dark: #1f2937;
    --text-medium: #6b7280;
    --text-light: #9ca3af;
    --bg-white: #ffffff;
    --bg-gray: #f9fafb;
    --bg-light: #f3f4f6;
    --border-light: #e5e7eb;
    --border-medium: #d1d5db;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

html, body {
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  margin: 0;
  padding: 0;
}

.dashboard-container,
.dashboard,
.sidebar-left-container,
.sidebar-right-container,
.main-content {
  height: auto !important;
  min-height: unset !important;
  max-height: unset !important;
  overflow-y: visible !important;
  overflow-x: visible !important;
}

.sidebar-left,
.sidebar-right {
  overflow-y: visible !important;
}

@media (max-width: 600px) {
  .sidebar-left-container,
  .sidebar-right-container,
  .main-content {
    overflow-y: auto !important;
  }
}

/* Header Styles - Updated for Three-Panel Layout */

.pro-btn {
    background: #f7a600;
    border: none;
    border-radius: 8px;
    padding: 10px 12px;
    color: #fff;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s;
}

.pro-btn:hover {
    background: #ffb700;
}

.header-nav {
    display: flex;
    gap: 8px;
}

.nav-tab {
    padding: 8px 16px;
    background: none;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-medium);
    cursor: pointer;
    transition: all 0.2s ease;
}

.nav-tab:hover {
    background: var(--bg-light);
    color: var(--text-dark);
}

.nav-tab.active {
    background: var(--primary-blue);
    color: white;
}

.pro-btn:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
    transform: translateY(-1px);
}

/* Dashboard Layout */
.dashboard {
    display: grid;
    grid-template-columns: 300px 1fr 320px;
    height: calc(100vh - 64px);
    gap: 0;
    transition: grid-template-columns 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* Left Sidebar - Algorithm List */
.sidebar-left {
    background: var(--bg-white);
    border-right: 1px solid var(--border-light);
    overflow-y: auto;
    padding: 24px 0;
}

.algorithms-section {
    padding: 0 24px;
}

/* Algorithms Header */
.algorithms-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px 20px 16px 20px;
    border-bottom: 1px solid var(--border-light);
}

/* Add Dataset Button (Red) */
.add-dataset-btn {
    background: #dc2626;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.add-dataset-btn:hover {
    background: #b91c1c;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(220, 38, 38, 0.3);
}

.add-dataset-btn:active {
    transform: translateY(0);
    background: #991b1b;
}

.add-dataset-btn i {
    font-size: 12px;
}

/* Add Algorithm Button (Keep existing green style) */
.add-algorithm-btn {
    background: var(--success-green);
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.add-algorithm-btn:hover {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.3);
}

.add-algorithm-btn:active {
    transform: translateY(0);
    background: #047857;
}

.add-algorithm-btn i {
    font-size: 12px;
}

/* Algorithm Items */
.algorithm-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.algorithm-item {
    padding: 16px;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    background: var(--bg-white);
    transition: all 0.2s ease;
    position: relative;
}

.algorithm-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.algorithm-item.active {
    border-color: var(--primary-blue);
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05), rgba(99, 102, 241, 0.05));
}

.algorithm-item.training {
    border-color: var(--warning-orange);
}

.algorithm-item.inactive {
    opacity: 0.7;
    background: var(--bg-light);
}

/* Algorithm Status */
.algorithm-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    position: relative;
}

/* Golden Star for Best Performer */
.golden-star {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #ffd700, #ffed4e, #fbbf24);
    color: #92400e;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 
        0 4px 12px rgba(255, 215, 0, 0.4),
        0 2px 6px rgba(255, 215, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border: 2px solid #fbbf24;
    animation: starGlow 2s ease-in-out infinite alternate;
    z-index: 10;
}

.golden-star.show {
    display: flex;
}

.golden-star i {
    filter: drop-shadow(0 1px 1px rgba(146, 64, 14, 0.3));
}

/* Star Glow Animation */
@keyframes starGlow {
    0% {
        box-shadow: 
            0 4px 12px rgba(255, 215, 0, 0.4),
            0 2px 6px rgba(255, 215, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
        transform: scale(1);
    }
    100% {
        box-shadow: 
            0 6px 20px rgba(255, 215, 0, 0.6),
            0 3px 10px rgba(255, 215, 0, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.4);
        transform: scale(1.05);
    }
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-light);
}

.status-indicator.training {
    background: var(--warning-orange);
    animation: pulse 2s infinite;
}

.status-indicator.active {
    background: var(--primary-blue);
}

.status-indicator.ready {
    background: var(--success-green);
}

.status-indicator.inactive {
    background: var(--text-light);
}

.status-text {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.algorithm-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 12px 0;
}

.algorithm-metrics {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

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

.metric-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-medium);
    margin-top: 4px;
}

.metric-algorithm {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-blue);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.metric-value {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dark);
}

.progress-bar {
    height: 4px;
    background: var(--bg-light);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 2px;
    transition: width 0.3s ease;
}

.view-details-btn {
    background: none;
    border: none;
    color: var(--primary-blue);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    padding: 0;
    transition: color 0.2s ease;
}

.view-details-btn:hover {
    color: var(--secondary-blue);
}

/* Main Content Area */
.main-content {
    padding: 24px 24px 0 24px;
    overflow-y: auto;
    background: var(--bg-gray);
}

/* Top Metrics */
.top-metrics {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.metrics-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    text-align: center;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-blue);
}

#bestAnalysisTitle {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

/* Desktop: 4 columns */
.metrics-grid {
    display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Tablets and Mobile: 2 columns */
@media (max-width: 900px) {
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .metric-card {
    padding: 16px;
    font-size: 15px;
  }
  .metric-number {
    font-size: 22px;
  }
  .metric-label,
  .metric-algorithm {
    font-size: 13px;
  }
}

/* Mobile: 2 columns, even smaller font */
@media (max-width: 600px) {
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .metric-card {
    padding: 10px;
    font-size: 13px;
  }
  .metric-number {
    font-size: 18px;
  }
  .metric-label,
  .metric-algorithm {
    font-size: 11px;
  }
}

.metric-card {
    background: var(--bg-white);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    text-align: center;
    transition: all 0.2s ease;
}

.metric-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.metric-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.metric-card .metric-label {
    font-size: 14px;
    color: var(--text-medium);
    font-weight: 500;
}

/* Chart Header */
.chart-header {
    background: var(--bg-white);
    padding: 24px;
    border-radius: 8px 8px 0 0;
    border: 1px solid var(--border-light);
    border-bottom: none;
    position: relative;
    z-index: 0;
}

/* Result Navigation Tabs */
.result-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    background: var(--bg-light);
    padding: 4px;
    border-radius: 8px;
    overflow-x: auto;
    position: relative;
    z-index: 1;
    flex-wrap: nowrap;
}

/* Base result tab styles - works for desktop */
.result-tab {
    padding: 12px 20px;
    background: transparent;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-medium);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    min-width: fit-content;
    position: relative;
    text-decoration: none;
    outline: none;
    z-index: 1;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    box-sizing: border-box;
    flex-shrink: 0;
}

.result-tab:hover {
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary-blue);
}

.result-tab.active {
    background: var(--primary-blue);
    color: white;
    box-shadow: var(--shadow-sm);
}

.result-tab i {
    font-size: 12px;
    pointer-events: none;
    flex-shrink: 0;
}

.result-tab .tab-label {
    pointer-events: none;
    flex-shrink: 0;
}

/* Ensure button is fully clickable */
.result-tab:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

/* Tablet styles */
@media (max-width: 900px) and (min-width: 601px) {
  .result-tab {
    padding: 10px 16px;
    font-size: 13px;
    gap: 6px;
    z-index: 1;
    position: relative;
  }
  .result-tab i {
    font-size: 14px;
    pointer-events: none;
    flex-shrink: 0;
  }
}

/* Mobile styles */
@media (max-width: 600px) {
  .result-tab .tab-label {
    display: none;
  }
  .result-tab {
    padding: 0;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    gap: 0;
    font-size: 18px;
    z-index: 1;
    position: relative;
    box-sizing: border-box;
  }
  .result-tab i {
    font-size: 18px;
    margin: 0;
    pointer-events: none;
    flex-shrink: 0;
  }
  .result-tabs {
    gap: 8px;
    padding: 4px 2px;
    justify-content: center;
    z-index: 1;
    position: relative;
  }
}

.chart-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 4px 0;
}

.chart-subtitle {
    font-size: 14px;
    color: var(--text-medium);
    margin: 0 0 20px 0;
}

.chart-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.time-controls {
    display: flex;
    gap: 8px;
    align-items: center;
}

.time-btn {
    padding: 6px 12px;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-medium);
    cursor: pointer;
    transition: all 0.2s ease;
}

.time-btn:hover {
    background: var(--light-blue);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.time-btn.active {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
}

.chart-type-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.chart-type-controls label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
}

.chart-type-controls select {
    padding: 6px 12px;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    font-size: 14px;
    background: var(--bg-white);
    color: var(--text-dark);
}

/* Result Content Sections */
.result-content {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-top: none;
    border-radius: 0 0 8px 8px;
}

.result-section {
    display: none;
    padding: 24px;
}

.result-section.active {
    display: block;
}

/* Chart Container */
.chart-container {
    background: var(--bg-white);
    padding: 24px;
    position: relative;
    height: 400px;
    margin-bottom: 24px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
}

.chart-container canvas {
    max-width: 100%;
    max-height: 100%;
}

.chart-legend {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 12px;
    align-items: center;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-medium);
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
}

/* Data Table */
.data-table-container {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    overflow-x: auto;
}

.performance-table {
    width: 100%;
    border-collapse: collapse;
}

.performance-table th {
    background: var(--bg-light);
    padding: 12px 16px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border-light);
}

.performance-table td {
    padding: 12px 16px;
    font-size: 14px;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-light);
}

.performance-table tbody tr:hover {
    background: var(--bg-light);
}

/* Mobile responsive table */
@media (max-width: 768px) {
    .performance-table {
        font-size: 11px;
    }
    
    .performance-table th {
        padding: 8px 6px;
        font-size: 9px;
        letter-spacing: 0.3px;
    }
    
    .performance-table td {
        padding: 8px 6px;
        font-size: 11px;
    }
    
    /* Show abbreviated headers on mobile */
    .performance-table th::before {
        content: attr(data-mobile);
        display: block;
    }
    
    .performance-table th {
        text-indent: -9999px;
        position: relative;
    }
    
    .performance-table th::before {
        position: absolute;
        left: 6px;
        top: 8px;
        text-indent: 0;
        font-size: 9px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.3px;
    }
}

.status-cell {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.training {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning-orange);
}

.status-badge.active {
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary-blue);
}

.status-badge.ready {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-green);
}

.status-badge.inactive {
    background: rgba(156, 163, 175, 0.1);
    color: var(--text-medium);
}

/* Comparison Grid */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.comparison-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 20px;
    transition: all 0.2s ease;
}

.comparison-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.comparison-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.comparison-card i {
    color: var(--primary-blue);
}

.winner-algorithm {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.algorithm-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
}

.accuracy-score {
    font-size: 24px;
    font-weight: 700;
    color: var(--success-green);
}

.winner-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

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

.detail .label {
    font-size: 14px;
    color: var(--text-medium);
}

.detail .value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.speed-metric {
    text-align: center;
}

.time-value {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.avg-metrics {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.metric .label {
    font-size: 14px;
    color: var(--text-medium);
}

.metric .value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

/* Evolution Timeline */
.evolution-timeline {
    margin-bottom: 32px;
}

.evolution-timeline h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.timeline-container {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 20px;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-medium);
    font-style: italic;
}

.generation-details h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.generation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

/* Statistics Grid */
.statistics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.stat-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 20px;
    transition: all 0.2s ease;
}

.stat-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.stat-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.stat-card i {
    color: var(--primary-blue);
}

.stat-chart {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 6px;
    color: var(--text-medium);
    font-style: italic;
}

.convergence-stats,
.success-rates,
.cv-results {
    background: var(--bg-light);
    border-radius: 6px;
    padding: 16px;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-medium);
    font-style: italic;
}

/* Export Options */
.export-options h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.export-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.export-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.2s ease;
}

.export-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.export-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.export-card p {
    font-size: 14px;
    color: var(--text-medium);
    margin: 0 0 16px 0;
}

.export-btn {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.export-btn:hover {
    background: var(--secondary-blue);
    transform: translateY(-1px);
}

/* Right Sidebar - Configuration */
.sidebar-right {
    background: var(--bg-white);
    border-left: 1px solid var(--border-light);
    overflow-y: auto;
    padding: 24px;
}

.config-section {
    margin-bottom: 32px;
}

.config-section h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 16px 0;
}

/* Algorithm Summary */
.algorithm-summary h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 8px 0;
}

.algorithm-summary p {
    font-size: 13px;
    color: var(--text-medium);
    line-height: 1.5;
    margin: 0 0 16px 0;
}

.summary-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}

.detail-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-medium);
    min-width: 60px;
}

.detail-value {
    font-size: 12px;
    color: var(--text-dark);
    text-align: right;
    flex: 1;
}

/* Configuration Forms */
.config-group {
    margin-bottom: 16px;
}

.config-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.config-group input,
.config-group select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    font-size: 13px;
    background: var(--bg-white);
    color: var(--text-dark);
    transition: all 0.2s ease;
}

.config-group input:focus,
.config-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.slider-container {
    position: relative;
}

.slider {
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: var(--bg-light);
    outline: none;
    -webkit-appearance: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary-blue);
    cursor: pointer;
}

.slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary-blue);
    cursor: pointer;
    border: none;
}

.slider-value {
    display: block;
    font-size: 12px;
    color: var(--text-medium);
    margin-top: 4px;
}

.advanced-params {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.advanced-params h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 16px 0;
}

.param-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.apply-config-btn {
    width: 100%;
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 16px;
}

.apply-config-btn:hover {
    background: var(--secondary-blue);
    transform: translateY(-1px);
}

/* Dataset Info */
.dataset-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-label {
    font-size: 13px;
    color: var(--text-medium);
}

.info-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
}

.quality-good {
    color: var(--success-green);
}

.quality-warning {
    color: var(--warning-orange);
}

.quality-poor {
    color: var(--danger-red);
}

/* Control Panel (Floating) */
.control-panel {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 16px 24px;
    display: flex;
    gap: 12px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 1;
}

.control-panel.auto-hidden {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
    pointer-events: none;
}

/* Subtle pulse animation when visible */
.control-panel:not(.auto-hidden) {
    animation: subtlePulse 4s ease-in-out infinite;
}

@keyframes subtlePulse {
    0%, 100% { 
        box-shadow: var(--shadow-lg);
    }
    50% { 
        box-shadow: 0 10px 25px -3px rgba(79, 70, 229, 0.15), 0 4px 6px -2px rgba(79, 70, 229, 0.05);
    }
}

.btn {
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 120px;
    justify-content: center;
}

.btn-primary {
    background: var(--primary-blue);
    color: white;
}

.btn-primary:hover:not(:disabled) {
    background: var(--secondary-blue);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--text-medium);
    color: white;
}

.btn-secondary:hover:not(:disabled) {
    background: var(--text-dark);
    transform: translateY(-1px);
}

.btn-danger {
    background: var(--danger-red);
    color: white;
}

.btn-danger:hover:not(:disabled) {
    background: #dc2626;
    transform: translateY(-1px);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Animations */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(79, 70, 229, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    color: white;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 16px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: var(--bg-white);
    margin: 15% auto;
    padding: 24px;
    border-radius: 8px;
    width: 400px;
    max-width: 90%;
    position: relative;
}

.close {
    color: var(--text-light);
    float: right;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 16px;
    right: 20px;
}

.close:hover {
    color: var(--text-dark);
}

/* --- Responsive Three-Panel Layout --- */
.dashboard {
    display: grid;
    grid-template-columns: 300px 1fr 320px;
    height: calc(100vh - 64px);
    gap: 0;
    transition: grid-template-columns 0.3s cubic-bezier(0.4,0,0.2,1);
    position: relative;
}

.sidebar-left-container,
.sidebar-right-container {
    position: relative;
    height: 100vh;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg-white);
    border-right: 1px solid var(--border-light);
    overflow: hidden;
}

.sidebar-left-container {
    width: 300px;
    min-width: 300px;
    max-width: 300px;
    /* Desktop-specific left-to-right animation - no width transition */
    transform: translateX(0);
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}

.sidebar-right-container {
    width: 320px;
    min-width: 320px;
    max-width: 320px;
    border-right: none;
    border-left: 1px solid var(--border-light);
    /* Desktop-specific right-to-left animation - no width transition */
    transform: translateX(0);
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}

.sidebar-left-container.collapsed {
    width: 300px !important;
    min-width: 300px !important;
    max-width: 300px !important;
    overflow: hidden;
    border: none;
}

/* Desktop-specific sidebar animations */
@media (min-width: 769px) {
    .sidebar-left-container.collapsed {
        transform: translateX(-100%);
        width: 300px !important;
        min-width: 300px !important;
        max-width: 300px !important;
    }
    
    .sidebar-left-container {
        transform: translateX(0);
    }
    
    .sidebar-right-container.collapsed {
        transform: translateX(100%);
        width: 320px !important;
        min-width: 320px !important;
        max-width: 320px !important;
    }
    
    .sidebar-right-container {
        transform: translateX(0);
    }
}

/* Mobile behavior - keep width transitions */
@media (max-width: 768px) {
    .sidebar-left-container {
        transition: width 0.3s cubic-bezier(0.4,0,0.2,1), min-width 0.3s, max-width 0.3s;
        transform: none;
    }
    
    .sidebar-left-container.collapsed {
        width: 0 !important;
        min-width: 0 !important;
        max-width: 0 !important;
        transform: none;
    }
    
    .sidebar-right-container {
        transition: width 0.3s cubic-bezier(0.4,0,0.2,1), min-width 0.3s, max-width 0.3s;
        transform: none;
    }
    
    .sidebar-right-container.collapsed {
        width: 0 !important;
        min-width: 0 !important;
        max-width: 0 !important;
        transform: none;
    }
}

/* Header Layout */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 64px;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    position: relative;
}

.header-left {
    display: flex;
    align-items: center;
    flex: 1;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    justify-content: flex-end;
}

.brand {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    white-space: nowrap;
}

/* Toggle Button Styling */
.sidebar-toggle {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 16px;
    color: var(--primary-blue);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(79,70,229,0.04);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
}

.sidebar-toggle:hover {
    background: var(--primary-blue);
    color: white;
    box-shadow: 0 4px 12px rgba(79,70,229,0.2);
}

.sidebar-toggle:active {
    transform: scale(0.95);
}

.sidebar-toggle.left-toggle {
    margin-right: 16px;
}

.sidebar-toggle.right-toggle {
    margin-left: 16px;
}

/* Icon rotation - initial state points right for both buttons */
.sidebar-toggle i {
    transition: transform 0.3s ease;
    transform: rotate(0deg);
}

/* Icon rotation for collapsed state - points left */
.sidebar-toggle.left-toggle.collapsed i {
    transform: rotate(180deg);
}

.sidebar-toggle.right-toggle.collapsed i {
    transform: rotate(180deg);
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
    .dashboard {
        grid-template-columns: 220px 1fr 220px;
    }
    .sidebar-left-container { 
        width: 220px; 
        min-width: 220px; 
        max-width: 220px; 
    }
    .sidebar-right-container { 
        width: 220px; 
        min-width: 220px; 
        max-width: 220px; 
    }
}

@media (max-width: 992px) {
    .dashboard {
        grid-template-columns: 180px 1fr 180px;
    }
    .sidebar-left-container { 
        width: 180px; 
        min-width: 180px; 
        max-width: 180px; 
    }
    .sidebar-right-container { 
        width: 180px; 
        min-width: 180px; 
        max-width: 180px; 
    }
}

@media (max-width: 768px) {
    .dashboard {
        grid-template-columns: 1fr;
    }
    
    .sidebar-left-container,
    .sidebar-right-container {
        position: fixed;
        top: 64px;
        bottom: 0;
        height: calc(100vh - 64px);
        z-index: 100;
        background: var(--bg-white);
        box-shadow: 0 4px 24px rgba(0,0,0,0.08);
        transition: left 0.3s, right 0.3s, width 0.3s, min-width 0.3s, max-width 0.3s;
        border: none;
    }
    
    .sidebar-left-container {
        left: -100vw;
        width: 80vw;
        min-width: 0;
        max-width: 80vw;
    }
    
    .sidebar-right-container {
        right: -100vw;
        width: 80vw;
        min-width: 0;
        max-width: 80vw;
    }
    
    .sidebar-left-container.open { 
        left: 0; 
    }
    
    .sidebar-right-container.open { 
        right: 0; 
    }
    
    .sidebar-left-container.collapsed,
    .sidebar-right-container.collapsed {
        left: -100vw !important;
        right: -100vw !important;
    }
    
    .main-content {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    /* Mobile header adjustments */
    .header {
        padding: 0 16px;
    }
    
    .brand {
        font-size: 20px;
    }
    
    .sidebar-toggle {
        padding: 6px 10px;
        min-width: 36px;
        height: 36px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .sidebar-left-container,
    .sidebar-right-container {
        width: 100vw;
        max-width: 100vw;
    }
    
    .header {
        padding: 0 12px;
    }
    
    .brand {
        font-size: 18px;
    }
    
    .sidebar-toggle {
        padding: 5px 8px;
        min-width: 32px;
        height: 32px;
        font-size: 12px;
    }
    
    .metric-card {
        padding: 16px;
    }
    
    .chart-container {
        height: 450px;
    }
    
    .performance-table {
        font-size: 12px;
    }
} 

/* Timeline Styles */
.timeline-items {
    position: relative;
    padding: 20px 0;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 24px;
    padding: 16px;
    background: var(--bg-white);
    border-radius: 8px;
    border: 1px solid var(--border-light);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
    animation-delay: var(--delay, 0s);
}

.timeline-marker {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin-right: 16px;
    margin-top: 4px;
    flex-shrink: 0;
    border: 2px solid var(--bg-white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.timeline-content {
    flex: 1;
}

.timeline-content h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

.timeline-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.timeline-stats .stat {
    font-size: 13px;
    color: var(--text-medium);
    background: var(--bg-light);
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.timeline-progress {
    position: relative;
    height: 6px;
    background: var(--bg-light);
    border-radius: 3px;
    overflow: hidden;
}

.timeline-progress .progress-bar {
    height: 100%;
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* Generation Grid */
.generation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.generation-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 16px;
    text-align: center;
}

.generation-card h4 {
    margin: 0 0 8px 0;
    font-size: 14px;
    color: var(--text-medium);
}

.generation-card .value {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
}

.generation-card .metric-small {
    display: flex;
        flex-direction: column;
    gap: 4px;
    margin-top: 8px;
}

.generation-card .metric-small span {
    font-size: 11px;
    color: var(--text-medium);
    background: var(--bg-light);
    padding: 2px 6px;
    border-radius: 3px;
}

/* Chart Container Enhancements */
.chart-container {
    position: relative;
    background: var(--bg-white);
    border-radius: 8px;
    border: 1px solid var(--border-light);
    padding: 24px;
    margin-bottom: 24px;
}

.chart-container canvas {
    max-height: 400px;
}

/* Chart Legend */
.chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.legend-item {
    display: flex;
        align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-medium);
}

.legend-color {
    width: 7px;
    height: 12px;
    border-radius: 2px;
    border: none;
}

/* Chart Type Controls */
.chart-type-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.chart-type-controls label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-medium);
    white-space: nowrap;
    flex-shrink: 0;
}

.chart-type-controls select {
    padding: 6px 12px;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    background: var(--bg-white);
    color: var(--text-dark);
    font-size: 13px;
    cursor: pointer;
    transition: border-color 0.2s ease;
    min-width: 120px;
}

.chart-type-controls select:hover {
    border-color: var(--primary-color);
}

.chart-type-controls select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

/* Additional Chart Containers */
.complexity-chart,
.distribution-chart {
    height: 200px;
    position: relative;
}

.complexity-chart canvas,
.distribution-chart canvas {
    max-height: 200px;
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Chart Adjustments */
@media (max-width: 768px) {
    .timeline-stats {
        flex-direction: column;
        gap: 8px;
    }
    
    .timeline-stats .stat {
        align-self: flex-start;
    }
    
    .chart-legend {
        gap: 8px;
        margin-top: 12px;
        padding-top: 12px;
        flex-wrap: wrap;
    }
    
    .legend-item {
        gap: 5px;
        font-size: 11px;
    }
    
    .legend-color {
        width: 6px;
        height: 6px;
        border-radius: 50%;
    }
    
    .chart-type-controls {
        gap: 6px;
    }
    
    .chart-type-controls label {
        font-size: 12px;
    }
    
    .chart-type-controls select {
        font-size: 12px;
        padding: 4px 8px;
        min-width: 100px;
    }
} 

.algorithm-summary-inline {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    margin: 12px 0 0 0;
    padding: 16px 18px;
    font-size: 14px;
    color: var(--text-dark);
    box-shadow: 0 2px 8px rgba(79,70,229,0.04);
    transition: max-height 0.3s cubic-bezier(0.4,0,0.2,1), opacity 0.3s;
    opacity: 1;
    overflow: hidden;
} 

.has-control-panel .main-content {
  padding-bottom: 200px !important;
}

/* Increase mobile bottom padding for floating control panel */
@media (max-width: 600px) {
  .has-control-panel .main-content {
    padding-bottom: 140px !important;
  }
}

/* Ensure legend is always inside scrollable area and has margin below */
.chart-legend {
  margin-bottom: 24px;
  position: static !important;
}

/* If legend is inside a table/chart container, ensure it doesn't overlap */
.chart-container .chart-legend,
.data-table-container .chart-legend {
  margin-bottom: 24px;
  position: static !important;
} 

/* Dashboard container padding */
.dashboard-container {
        padding: 20px;
}

/* Margin around each chart container */
.chart-container {
  margin: 15px 0;
}

/* Padding for buttons and controls */
.btn,
.chart-controls,
.result-tabs,
.chart-type-controls,
.time-controls {
  padding: 10px;
}

@media (max-width: 600px) {
  .dashboard-container {
    padding: 8px;
  }
  .chart-container {
    margin: 8px 0;
  }
  .btn,
  .chart-controls,
  .result-tabs,
  .chart-type-controls,
  .time-controls {
    padding: 6px;
    }
} 

/* Footer Styles - Now integrated into main content */
.site-footer {
  width: 100%;
  background: var(--bg-gray);
  border-top: 1px solid var(--border-light);
  color: var(--text-medium);
  font-size: 14px;
  padding: 20px 0;
  margin-top: 32px;
  box-shadow: none;
  position: relative;
  z-index: 10;
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 0;
}

.footer-text {
  font-size: 14px;
  color: var(--text-medium);
  font-weight: 500;
}

.heart {
  color: #ef4444;
  font-size: 16px;
  animation: heartbeat 2s ease-in-out infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-dark);
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link i {
  color: inherit;
  font-weight: 900;
}

.social-link:hover {
  background: var(--primary-blue);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(79, 70, 229, 0.3);
}

.twitter-link {
  color: var(--text-dark) !important;
}

.twitter-link:hover {
  background: #1da1f2;
  color: white !important;
  box-shadow: 0 4px 8px rgba(29, 161, 242, 0.3);
}

.twitter-link i {
  color: inherit;
}

.linkedin-link {
  color: var(--text-dark) !important;
}

.linkedin-link:hover {
  background: #0077b5;
  color: white !important;
  box-shadow: 0 4px 8px rgba(0, 119, 181, 0.3);
}

.linkedin-link i {
  color: inherit;
}

.profile-image {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.profile-link {
  background: transparent;
  padding: 2px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-link:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.profile-link:hover .profile-image {
  border-color: rgba(255, 255, 255, 0.4);
}

/* Responsive footer */
@media (max-width: 600px) {
  .site-footer {
    padding: 16px 0;
    font-size: 13px;
    margin-top: 24px;
  }
  
  .footer-content {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
  }
  
  .footer-text {
    font-size: 12px;
    text-align: center;
    flex-shrink: 0;
  }
  
  .footer-social {
    justify-content: center;
    gap: 10px;
  }
  
  .social-link {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }
  
  .profile-image {
    width: 22px;
    height: 22px;
  }
  
  .profile-link {
    padding: 2px;
  }
} 

/* Toast Notification */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--primary-blue);
    color: white;
    padding: 16px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-size: 14px;
    font-weight: 500;
    z-index: 9999;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 300px;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast i {
    font-size: 16px;
}

.toast.success {
    background: var(--success-green);
}

.toast.warning {
    background: var(--warning-orange);
}

.toast.error {
    background: var(--danger-red);
}

@media (max-width: 600px) {
    .toast {
        right: 10px;
        left: 10px;
        max-width: none;
        transform: translateY(-100px);
    }
    
    .toast.show {
        transform: translateY(0);
    }
} 