/* ===== FONT IMPORTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');

/* ===== CSS VARIABLES (CI Colors from https://ci.sofa1.at/) ===== */
:root {
    /* Primary Colors */
    --primary-color: #001D3D;
    --primary-dark: #001D3D;
    --primary-light: #3385D6;
    
    /* Secondary Colors */
    --secondary-color: #FF6B35;
    --secondary-dark: #E55A2B;
    --secondary-light: #FF8A5B;
    
    /* Neutral Colors */
    --background-color: #F8F9FA;
    --surface-color: #FFFFFF;
    --text-primary: #212529;
    --text-secondary: #6C757D;
    --text-muted: #ADB5BD;
    --border-color: #DEE2E6;
    --border-light: #E9ECEF;
    
    /* Status Colors */
    --success-color: #28A745;
    --warning-color: #FFC107;
    --error-color: #DC3545;
    --info-color: #17A2B8;
    
    /* Layout */
    --header-height: 50px;
    --footer-height: 35px;
    --container-gap: 8px;
    --border-radius: 6px;
    --box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    
    /* Typography */
    --font-family: 'Josefin Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-size-base: 16px;
    --font-size-large: 18px;
    --font-size-xl: 24px;
    --font-size-xxl: 32px;
    --line-height: 1.5;
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: var(--font-size-base);
    height: 100%;
}

body {
    font-family: var(--font-family);
    line-height: var(--line-height);
    color: var(--text-primary);
    background-color: var(--background-color);
    height: 100vh;
    overflow: hidden; /* Prevent scrolling on TV display */
}

/* ===== DASHBOARD WRAPPER ===== */
.dashboard-wrapper {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100vw;
}

/* ===== HEADER STYLES ===== */
.dashboard-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    height: var(--header-height);
    display: flex;
    align-items: center;
    padding: 0 20px;
    box-shadow: var(--box-shadow);
    z-index: 10;
    position: relative;
    overflow: hidden;
}

.dashboard-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: headerShine 3s ease-in-out infinite;
}

@keyframes headerShine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.header-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin: 0;
}

.next-release-info {
    font-size: var(--font-size-base);
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
}

/* ===== MAIN DASHBOARD GRID ===== */
.dashboard-main {
    flex: 1;
    padding: var(--container-gap);
    overflow: hidden;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: var(--container-gap);
    height: 100%;
    width: 100%;
}

/* ===== DASHBOARD CONTAINERS ===== */
.dashboard-container {
    background: var(--surface-color);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.dashboard-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
    z-index: 1;
    pointer-events: none;
}

.dashboard-container:hover {    
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.2);
    border-color: var(--primary-light);
}

.dashboard-container:hover::before {
    left: 100%;
}

.dashboard-container:active {
    transform: translateY(-2px) scale(1.01);
}

.container-header {
    background: var(--primary-color);
    color: white;
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 36px;
}

.container-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

.container-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.container-content {
    flex: 1;
    padding: 8px;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
}

/* ===== AUTO-SCROLLING ANIMATION ===== */
.container-content.auto-scroll {
    animation: smoothScroll 30s linear infinite;
}

@keyframes smoothScroll {
    0% { transform: translateY(0); }
    25% { transform: translateY(-25%); }
    50% { transform: translateY(-50%); }
    75% { transform: translateY(-25%); }
    100% { transform: translateY(0); }
}

.container-content:hover.auto-scroll {
    animation-play-state: paused;
}

/* Enhanced scrolling for containers with overflow */
.container-content.has-overflow {
    animation: continuousScroll 45s linear infinite;
}

@keyframes continuousScroll {
    0% { transform: translateY(0); }
    20% { transform: translateY(0); }
    40% { transform: translateY(-30%); }
    60% { transform: translateY(-60%); }
    80% { transform: translateY(-30%); }
    100% { transform: translateY(0); }
}

/* Smooth scroll behavior for manual scrolling */
.container-content {
    scroll-behavior: smooth;
}

/* ===== LOADING STATES ===== */
.loading-indicator {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-skeleton {
    display: flex;
    flex-direction: column;
    gap: 8px;
    animation: fadeIn 0.3s ease-in;
}

.skeleton-item {
    height: 32px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    border-radius: 4px;
    animation: shimmer 1.5s infinite;
    position: relative;
    overflow: hidden;
}

.skeleton-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.6) 50%, transparent 100%);
    animation: skeletonWave 2s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes skeletonWave {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Enhanced loading states for different content types */
.skeleton-item.skeleton-title {
    height: 24px;
    width: 70%;
}

.skeleton-item.skeleton-text {
    height: 16px;
    width: 90%;
}

.skeleton-item.skeleton-meta {
    height: 14px;
    width: 50%;
}

/* Loading overlay for containers */
.container-loading {
    position: relative;
}

.container-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(2px);
    z-index: 5;
    animation: fadeIn 0.3s ease-in;
}

/* ===== CONTENT ITEMS ===== */
.release-item, .ticket-item {
    background: var(--surface-color);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    padding: 6px 8px;
    margin-bottom: 4px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.release-item::before, .ticket-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.release-item:hover, .ticket-item:hover {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    border-color: var(--primary-light);
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.1);
}

.release-item:hover::before, .ticket-item:hover::before {
    transform: scaleY(1);
}

.release-item:active, .ticket-item:active {
    transform: translateX(4px) scale(0.98);
}

.release-item:last-child, .ticket-item:last-child {
    margin-bottom: 0;
}

/* Staggered animation for items */
.release-item, .ticket-item {
    animation: slideInFromLeft 0.5s ease-out;
}

.release-item:nth-child(1) { animation-delay: 0.1s; }
.release-item:nth-child(2) { animation-delay: 0.2s; }
.release-item:nth-child(3) { animation-delay: 0.3s; }
.release-item:nth-child(4) { animation-delay: 0.4s; }
.release-item:nth-child(5) { animation-delay: 0.5s; }

.ticket-item:nth-child(1) { animation-delay: 0.1s; }
.ticket-item:nth-child(2) { animation-delay: 0.2s; }
.ticket-item:nth-child(3) { animation-delay: 0.3s; }
.ticket-item:nth-child(4) { animation-delay: 0.4s; }
.ticket-item:nth-child(5) { animation-delay: 0.5s; }

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.item-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 3px;
    line-height: 1.2;
}

.item-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 1px;
}

.item-date {
    font-weight: 500;
}

.item-status {
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
}

.status-upcoming {
    background: rgba(40, 167, 69, 0.1);
    color: var(--success-color);
}

.status-open {
    background: rgba(255, 193, 7, 0.1);
    color: var(--warning-color);
}

.status-completed {
    background: rgba(108, 117, 125, 0.1);
    color: var(--text-secondary);
}

.status-in-progress {
    background: rgba(23, 162, 184, 0.1);
    color: var(--info-color);
}

/* ===== TICKET SPECIFIC STYLES ===== */
.ticket-item .item-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
}

.ticket-assignee {
    font-weight: 500;
    color: var(--primary-color);
}

.ticket-priority {
    padding: 1px 4px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.priority-highest {
    background: rgba(220, 53, 69, 0.1);
    color: var(--error-color);
}

.priority-high {
    background: rgba(255, 193, 7, 0.1);
    color: var(--warning-color);
}

.priority-medium {
    background: rgba(23, 162, 184, 0.1);
    color: var(--info-color);
}

.priority-low {
    background: rgba(108, 117, 125, 0.1);
    color: var(--text-secondary);
}

/* ===== HOTFIX TICKET SPECIFIC STYLES ===== */
.hotfix-ticket {
    border-left: 3px solid var(--error-color);
    background: rgba(220, 53, 69, 0.02);
}

.hotfix-ticket .item-title {
    color: var(--error-color);
    font-weight: 700;
}

.hotfix-ticket .ticket-priority {
    background: rgba(220, 53, 69, 0.15);
    color: var(--error-color);
    font-weight: 700;
}

/* ===== FOOTER STYLES ===== */
.dashboard-footer {
    background: var(--surface-color);
    border-top: 1px solid var(--border-color);
    height: var(--footer-height);
    display: flex;
    align-items: center;
    padding: 0 20px;
    box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    font-size: 12px;
}

.update-info {
    color: var(--text-secondary);
}

.update-label {
    margin-right: 8px;
}

.update-timestamp {
    font-weight: 600;
    color: var(--text-primary);
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success-color);
    animation: pulse 2s infinite;
}

.status-dot.error {
    background: var(--error-color);
}

.status-dot.warning {
    background: var(--warning-color);
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.status-text {
    font-weight: 500;
    color: var(--text-secondary);
}

/* ===== EMPTY STATE ===== */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-muted);
    text-align: center;
}

.empty-state-icon {
    font-size: 36px;
    margin-bottom: 12px;
    opacity: 0.5;
}

.empty-state-text {
    font-size: var(--font-size-large);
    font-weight: 500;
}

/* ===== ERROR STATE ===== */
.error-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--error-color);
    text-align: center;
}

.error-state-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.error-state-text {
    font-size: var(--font-size-base);
    font-weight: 500;
    margin-bottom: 6px;
}

.error-state-details {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ===== RESPONSIVE DESIGN ===== */

/* 4K Display Support (3800px and above) - 2x scaling */
@media (min-width: 3800px) {
    :root {
        /* Typography - 2x scaling */
        --font-size-base: 32px;
        --font-size-large: 36px;
        --font-size-xl: 48px;
        --font-size-xxl: 64px;
        
        /* Layout - 2x scaling */
        --header-height: 100px;
        --footer-height: 70px;
        --container-gap: 16px;
        --border-radius: 12px;
        
        /* Spacing - 2x scaling */
        --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    
    /* Main layout scaling */
    .dashboard-main {
        padding: 32px;
    }
    
    /* Container scaling */
    .container-content {
        padding: 24px;
    }
    
    .container-header {
        padding: 16px 24px;
        min-height: 72px;
    }
    
    .container-title {
        font-size: 20px;
    }
    
    /* Item scaling */
    .release-item, .ticket-item {
        padding: 16px 24px;
        margin-bottom: 12px;
        border-radius: 8px;
    }
    
    .item-title {
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    .item-meta {
        font-size: 16px;
        margin-top: 4px;
    }
    
    .item-status {
        padding: 4px 12px;
        border-radius: 20px;
        font-size: 14px;
    }
    
    /* Ticket specific scaling */
    .ticket-priority {
        padding: 4px 8px;
        border-radius: 12px;
        font-size: 14px;
    }
    
    /* Header scaling */
    .header-content {
        padding: 0 40px;
    }
    
    .next-release-info {
        padding: 12px 24px;
        border-radius: 12px;
    }
    
    /* Footer scaling */
    .footer-content {
        font-size: 18px;
        padding: 0 40px;
    }
    
    /* Loading indicator scaling */
    .loading-indicator {
        width: 32px;
        height: 32px;
        border-width: 4px;
    }
    
    /* Status dot scaling */
    .status-dot {
        width: 16px;
        height: 16px;
    }
    
    /* Empty and error state scaling */
    .empty-state-icon, .error-state-icon {
        font-size: 72px;
        margin-bottom: 24px;
    }
    
    /* Skeleton loading scaling */
    .skeleton-item {
        height: 48px;
        border-radius: 8px;
    }
    
    .skeleton-item.skeleton-title {
        height: 36px;
    }
    
    .skeleton-item.skeleton-text {
        height: 24px;
    }
    
    .skeleton-item.skeleton-meta {
        height: 20px;
    }
    
    /* Update flash scaling */
    .update-flash {
        padding: 16px 32px;
        font-size: 20px;
        border-radius: 12px;
        top: 40px;
        right: 40px;
    }
    
    /* Scroll status indicator scaling */
    .scroll-status-indicator {
        padding: 20px 40px !important;
        font-size: 20px !important;
        border-radius: 10px !important;
        top: 40px !important;
        right: 40px !important;
    }
    
    /* Button scaling */
    .retry-button {
        padding: 20px 40px;
        font-size: 20px;
        border-radius: 12px;
    }
    
    /* Enhanced hover effects for 4K */
    .release-item:hover, .ticket-item:hover {
        transform: translateX(16px);
        box-shadow: 0 8px 24px rgba(0, 102, 204, 0.15);
    }
    
    .dashboard-container:hover {
        box-shadow: 0 16px 48px rgba(0, 102, 204, 0.2);
    }
    
    /* Avatar display scaling for 4K */
    .avatar-display {
        width: 96px;
        height: 96px;
        border-radius: 48px;
        border: 4px solid var(--border-color);
    }
    
    .avatar-display.small {
        width: 64px;
        height: 64px;
        border-radius: 32px;
        border-width: 3px;
    }
    
    .avatar-display.large {
        width: 128px;
        height: 128px;
        border-radius: 64px;
        border-width: 6px;
    }
    
    /* User summary bar scaling for 4K */
    .user-summary-bar {
        padding: 20px 24px;
        margin-bottom: 16px;
        border-radius: 12px;
        gap: 32px;
    }
    
    .user-summary-item {
        gap: 16px;
        padding: 12px 16px;
        border-radius: 8px;
    }
    
    .user-summary-stats {
        font-size: 20px;
        gap: 12px;
    }
    
    .user-summary-count {
        padding: 8px 16px;
        border-radius: 16px;
        font-size: 18px;
        min-width: 48px;
    }
    
    /* Ticket item with avatar scaling for 4K */
    .ticket-item-with-avatar {
        padding: 20px 24px;
        gap: 20px;
    }
    
    .ticket-item-avatar {
        width: 80px;
        height: 80px;
        border-radius: 40px;
        border: 3px solid var(--border-color);
    }
    
    .ticket-item-content {
        gap: 12px;
    }
    
    /* Timeline container scaling for 4K */
    .timeline-container-wrapper {
        padding: 24px;
        border-radius: 16px;
    }
    
    .timeline-wrapper-container.timeline-4k {
        padding: 48px;
        border-radius: 32px;
    }
    
    .timeline-display.timeline-4k-enhanced {
        font-size: 28px;
    }
    
    .timeline-display.timeline-4k-enhanced .timeline-item {
        margin: 0 60px;
        min-width: 400px;
    }
    
    .timeline-display.timeline-4k-enhanced .timeline-date {
        font-size: 28px;
        padding: 16px 32px;
        border-radius: 40px;
        margin-bottom: 30px;
    }
    
    .timeline-display.timeline-4k-enhanced .timeline-content {
        padding: 30px;
        min-width: 360px;
        max-width: 600px;
        border-radius: 24px;
    }
    
    .timeline-display.timeline-4k-enhanced .timeline-release {
        font-size: 26px;
        padding: 10px 0;
    }
    
    .timeline-display.timeline-4k-enhanced .timeline-nav-btn {
        width: 80px;
        height: 80px;
        font-size: 32px;
    }
    
    /* Enhanced visual feedback for 4K */
    .container-content.scroll-paused::before {
        font-size: 18px;
        padding: 10px 20px;
        border-radius: 8px;
        top: 20px;
        right: 20px;
    }
}

/* Ultra-wide TV Displays (2560px - 3799px) */
@media (min-width: 2560px) and (max-width: 3799px) {
    :root {
        --font-size-base: 20px;
        --font-size-large: 24px;
        --font-size-xl: 30px;
        --font-size-xxl: 40px;
        --header-height: 80px;
        --footer-height: 60px;
        --container-gap: 20px;
    }
    
    .dashboard-main {
        padding: 20px;
    }
    
    .container-content {
        padding: 16px;
    }
    
    .release-item, .ticket-item {
        padding: 12px 16px;
        margin-bottom: 8px;
    }
    
    .container-header {
        padding: 12px 16px;
        min-height: 50px;
    }
}

/* Large TV Displays (1920px - 2559px) */
@media (min-width: 1920px) and (max-width: 2559px) {
    :root {
        --font-size-base: 16px;
        --font-size-large: 20px;
        --font-size-xl: 24px;
        --font-size-xxl: 30px;
        --header-height: 60px;
        --footer-height: 45px;
        --container-gap: 12px;
    }
    
    .container-content {
        padding: 12px;
    }
    
    .release-item, .ticket-item {
        padding: 8px 12px;
        margin-bottom: 6px;
    }
    
    .container-header {
        padding: 10px 15px;
        min-height: 42px;
    }
}

/* Medium Screens (1366px - 1919px) */
@media (min-width: 1366px) and (max-width: 1919px) {
    :root {
        --font-size-base: 14px;
        --font-size-large: 16px;
        --font-size-xl: 20px;
        --font-size-xxl: 26px;
        --container-gap: 10px;
    }
}

/* Small Screens (1024px - 1365px) */
@media (min-width: 1024px) and (max-width: 1365px) {
    :root {
        --font-size-base: 13px;
        --font-size-large: 15px;
        --font-size-xl: 18px;
        --font-size-xxl: 22px;
        --header-height: 45px;
        --footer-height: 35px;
        --container-gap: 8px;
    }
    
    .header-content {
        padding: 0 15px;
    }
    
    .container-content {
        padding: 8px;
    }
}

/* Tablet Portrait (768px - 1023px) */
@media (max-width: 1023px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
    }
    
    :root {
        --font-size-base: 14px;
        --font-size-large: 16px;
        --font-size-xl: 20px;
        --font-size-xxl: 24px;
        --header-height: 60px;
        --footer-height: 50px;
        --container-gap: 10px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 8px;
    }
    
    .header-title {
        font-size: var(--font-size-xl);
    }
    
    .next-release-info {
        font-size: var(--font-size-base);
    }
}

/* Mobile Landscape (568px - 767px) */
@media (max-width: 767px) {
    body {
        overflow-y: auto;
    }
    
    .dashboard-wrapper {
        height: auto;
        min-height: 100vh;
    }
    
    .dashboard-main {
        flex: none;
    }
    
    .dashboard-grid {
        height: auto;
        grid-template-rows: repeat(4, 400px);
    }
    
    .container-content {
        overflow-y: visible;
    }
    
    .container-content.auto-scroll {
        animation: none;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .dashboard-wrapper {
        height: auto;
    }
    
    .dashboard-container {
        break-inside: avoid;
        page-break-inside: avoid;
    }
    
    .loading-indicator,
    .loading-skeleton {
        display: none;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    .container-content.auto-scroll {
        animation: none;
    }
    
    .loading-indicator {
        animation: none;
    }
    
    .skeleton-item {
        animation: none;
    }
    
    .status-dot {
        animation: none;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --border-color: #000000;
        --text-secondary: #000000;
        --background-color: #FFFFFF;
    }
    
    .dashboard-container {
        border-width: 3px;
    }
}

/* ===== FOCUS STYLES FOR ACCESSIBILITY ===== */
.dashboard-container:focus-within {
    outline: 3px solid var(--primary-light);
    outline-offset: 2px;
}

/* ===== AVATAR DISPLAY STYLES ===== */
.avatar-display {
    width: 48px;
    height: 48px;
    border-radius: 24px;
    border: 2px solid var(--border-color);
    object-fit: cover;
    background: var(--background-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 14px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.avatar-display.small {
    width: 32px;
    height: 32px;
    border-radius: 16px;
    border-width: 1px;
    font-size: 12px;
}

.avatar-display.large {
    width: 64px;
    height: 64px;
    border-radius: 32px;
    border-width: 3px;
    font-size: 18px;
}

.avatar-display img {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
}

.avatar-display.placeholder {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
}

/* ===== USER SUMMARY BAR STYLES ===== */
.user-summary-bar {
    background: var(--surface-color);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    padding: 12px 16px;
    margin-bottom: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.user-summary-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 4px;
    background: rgba(0, 102, 204, 0.05);
    transition: all 0.3s ease;
}

.user-summary-item:hover {
    background: rgba(0, 102, 204, 0.1);
    transform: translateY(-1px);
}

.user-summary-stats {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
}

.user-summary-count {
    background: var(--primary-color);
    color: white;
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.user-summary-count.open {
    background: var(--warning-color);
}

.user-summary-count.in-progress {
    background: var(--info-color);
}

/* ===== TICKET ITEM WITH AVATAR STYLES ===== */
.ticket-item-with-avatar {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 12px;
}

.ticket-item-avatar {
    width: 40px;
    height: 40px;
    border-radius: 20px;
    border: 2px solid var(--border-color);
    object-fit: cover;
    background: var(--background-color);
    flex-shrink: 0;
}

.ticket-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.ticket-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.ticket-item-title {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 13px;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

.ticket-item-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: var(--text-secondary);
}

.ticket-assignee-name {
    font-weight: 500;
    color: var(--primary-color);
}

/* ===== TIMELINE CONTAINER WRAPPER STYLES ===== */
.timeline-container-wrapper {
    width: 100%;
    height: 100%;
    padding: 12px;
    border-radius: var(--border-radius);
    background: var(--surface-color);
    overflow: hidden;
}

/* ===== UTILITY CLASSES ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.text-center {
    text-align: center;
}

.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slide-up {
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bounce-in {
    animation: bounceIn 0.6s ease-out;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.pulse-glow {
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(0, 102, 204, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 102, 204, 0.6);
    }
}

/* Data refresh animation */
.refreshing {
    animation: refreshPulse 1s ease-in-out infinite;
}

@keyframes refreshPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}/* ===== J
AVASCRIPT FUNCTIONALITY STYLES ===== */

/* Update flash indicator */
.update-flash {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--success-color);
    color: white;
    padding: 8px 16px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 14px;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: none;
}

.update-flash.update-success {
    background: var(--success-color);
}

.update-flash.update-error {
    background: var(--error-color);
}

/* Enhanced status dot styles */
.status-dot.success {
    background: var(--success-color);
    animation: successPulse 2s infinite;
}

@keyframes successPulse {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1);
    }
    50% { 
        opacity: 0.7; 
        transform: scale(1.1);
    }
}

/* Clickable timestamp styling */
.update-timestamp {
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 4px 8px;
    border-radius: 4px;
}

.update-timestamp:hover {
    background: rgba(0, 102, 204, 0.1);
    color: var(--primary-color);
    transform: scale(1.05);
}

.update-timestamp:active {
    transform: scale(0.95);
}

/* Error state enhancements */
.error-state {
    padding: 20px;
}

.error-icon {
    font-size: 48px;
    margin-bottom: 16px;
    color: var(--error-color);
}

.error-message {
    font-size: var(--font-size-large);
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.error-retry {
    margin-top: 16px;
}

.retry-button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.retry-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 102, 204, 0.3);
}

.retry-button:active {
    transform: translateY(0);
}

/* Empty state enhancements */
.empty-state {
    padding: 40px 20px;
    color: var(--text-muted);
}

.no-data-text {
    color: var(--text-muted);
    font-style: italic;
}

/* Release and ticket item enhancements */
.release-list, .ticket-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.release-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.release-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: var(--font-size-large);
}

.release-project {
    font-size: 12px;
    color: var(--text-secondary);
    background: rgba(0, 102, 204, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 500;
}

.release-details {
    color: var(--text-secondary);
    font-size: 14px;
}

.release-date {
    font-weight: 500;
    color: var(--text-primary);
}

.days-info {
    font-weight: 400;
    color: var(--text-secondary);
}

.days-today {
    color: var(--warning-color);
    font-weight: 600;
}

.days-past {
    color: var(--text-muted);
}

.start-date {
    color: var(--info-color);
    font-weight: 500;
}

.no-date {
    color: var(--text-muted);
    font-style: italic;
}

/* Ticket item enhancements */
.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.ticket-key {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 14px;
}

.ticket-priority {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 4px;
}

.priority-highest {
    background: var(--error-color);
    color: white;
}

.priority-high {
    background: var(--warning-color);
    color: white;
}

.priority-medium {
    background: var(--info-color);
    color: white;
}

.priority-low {
    background: var(--text-muted);
    color: white;
}

.ticket-title {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.4;
}

.ticket-assignee {
    font-size: 12px;
    color: var(--text-secondary);
}

.assignee-label {
    font-weight: 500;
}

.assignee-name {
    color: var(--primary-color);
    font-weight: 500;
}

/* Loading state enhancements */
.container-content.loading {
    position: relative;
}

.container-content.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(2px);
    z-index: 10;
}

/* Next release header enhancements */
.next-release-text {
    font-weight: 500;
}

.loading-text {
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
}

/* Auto-refresh visual indicators */
.auto-refresh-active .status-dot {
    animation: autoRefreshPulse 3s infinite;
}

@keyframes autoRefreshPulse {
    0%, 90%, 100% { 
        opacity: 1; 
        transform: scale(1);
    }
    45% { 
        opacity: 0.6; 
        transform: scale(1.2);
    }
}

/* Connection status enhancements */
.status-indicator {
    transition: all 0.3s ease;
}

.status-indicator.error .status-text {
    color: var(--error-color);
    font-weight: 600;
}

.status-indicator.warning .status-text {
    color: var(--warning-color);
    font-weight: 600;
}

.status-indicator.success .status-text {
    color: var(--success-color);
    font-weight: 500;
}

/* Responsive enhancements for JavaScript functionality */
@media (max-width: 1023px) {
    .update-flash {
        top: 10px;
        right: 10px;
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .error-state {
        padding: 15px;
    }
    
    .error-icon {
        font-size: 36px;
    }
    
    .error-message {
        font-size: var(--font-size-base);
    }
}

@media (max-width: 767px) {
    .release-header, .ticket-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .release-project {
        align-self: flex-end;
    }
    
    .ticket-priority {
        align-self: flex-end;
    }
}/* 
============================================================================
   AUTO-SCROLL STYLES FOR TV DISPLAYS
   ============================================================================ */

/* Smooth scrolling for all containers */
.container-content {
    scroll-behavior: smooth;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Hide scrollbars for cleaner TV display */
.container-content::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

.container-content::-webkit-scrollbar-thumb {
    background: transparent;
}

/* Firefox scrollbar hiding */
.container-content {
    scrollbar-width: none;
}

/* Scroll status indicator styles */
.scroll-status-indicator {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    padding: 10px 20px !important;
    border-radius: 5px !important;
    z-index: 1000 !important;
    font-size: 14px !important;
    font-weight: bold !important;
    color: white !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.scroll-status-indicator.success {
    background-color: #4CAF50 !important;
}

.scroll-status-indicator.warning {
    background-color: #FF9800 !important;
}

.scroll-status-indicator.error {
    background-color: #f44336 !important;
}

/* Hover effects for containers to indicate scroll pause */
.container-content:hover {
    background-color: rgba(255, 255, 255, 0.02);
    transition: background-color 0.3s ease;
}

/* Focus styles for accessibility */
.container-content:focus {
    outline: 2px solid #007bff;
    outline-offset: -2px;
}

/* Ensure containers are focusable */
.container-content {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: default;
}

/* Smooth transitions for scroll position changes */
.container-content * {
    transition: transform 0.1s ease-out;
}

/* Enhanced visual feedback for scrollable content */
.container-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), transparent);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.container-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.1), transparent);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

/* Show gradient indicators when content is scrollable */
.container-content.scrollable::before,
.container-content.scrollable::after {
    opacity: 1;
}

/* Pause indicator for containers */
.container-content.scroll-paused {
    position: relative;
}

.container-content.scroll-paused::before {
    content: '⏸️ Pausiert';
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    z-index: 10;
    opacity: 0.8;
}

/* Animation for smooth content updates */
@keyframes contentUpdate {
    0% { opacity: 0.8; transform: translateY(5px); }
    100% { opacity: 1; transform: translateY(0); }
}

.container-content.updating {
    animation: contentUpdate 0.5s ease-out;
}

/* Responsive adjustments for different screen sizes */
@media (max-width: 1920px) {
    .scroll-status-indicator {
        font-size: 12px !important;
        padding: 8px 16px !important;
    }
}

@media (max-width: 1366px) {
    .scroll-status-indicator {
        font-size: 11px !important;
        padding: 6px 12px !important;
        top: 15px !important;
        right: 15px !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .container-content:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }
    
    .scroll-status-indicator {
        border: 2px solid white;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .container-content {
        scroll-behavior: auto;
    }
    
    .container-content *,
    .scroll-status-indicator,
    .container-content::before,
    .container-content::after {
        transition: none;
    }
    
    .container-content.updating {
        animation: none;
    }
}

/* Print styles (hide scroll indicators) */
@media print {
    .scroll-status-indicator,
    .container-content::before,
    .container-content::after,
    .container-content.scroll-paused::before {
        display: none !important;
    }
}/* ====
========================================================================
   COUNT BADGES IN CONTAINER HEADERS
   ============================================================================ */

.count-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 1px 6px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: bold;
    margin-left: 6px;
    display: inline-block;
    min-width: 18px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.count-badge:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

/* Different colors for different container types */
.container-status .count-badge {
    background: var(--secondary-color);
    border-color: var(--secondary-dark);
}

/* Animation for count changes */
@keyframes countUpdate {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.count-badge.updated {
    animation: countUpdate 0.4s ease-out;
}

/* Responsive adjustments */
@media (max-width: 1366px) {
    .count-badge {
        font-size: 10px;
        padding: 1px 5px;
        margin-left: 5px;
    }
}

@media (max-width: 1024px) {
    .count-badge {
        font-size: 9px;
        padding: 1px 4px;
        margin-left: 4px;
    }
}/* ==
=== AVATAR DISPLAY COMPONENT ===== */
.avatar-display {
    position: relative;
    display: inline-block;
    border-radius: 50%;
    overflow: hidden;
    background-color: var(--border-light);
    border: 2px solid var(--border-color);
    transition: all 0.2s ease;
}

.avatar-display.small {
    width: 24px;
    height: 24px;
}

.avatar-display.medium {
    width: 32px;
    height: 32px;
}

.avatar-display.large {
    width: 48px;
    height: 48px;
}

.avatar-display .user-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.avatar-display .avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    color: white;
    font-weight: 600;
    font-size: 0.7em;
    text-transform: uppercase;
}

.avatar-display .avatar-loading {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--border-light);
    color: var(--text-muted);
    font-size: 0.8em;
    animation: spin 1s linear infinite;
}

.avatar-display.loading {
    opacity: 0.7;
}

.avatar-display.error {
    border-color: var(--error-color);
}

.avatar-display.loaded {
    border-color: var(--success-color);
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===== USER SUMMARY BAR COMPONENT ===== */
.user-summary-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 8px 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 249, 250, 0.9));
    border-radius: var(--border-radius);
    border: 1px solid var(--border-light);
    margin-bottom: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.user-summary-bar.empty {
    justify-content: center;
    padding: 16px;
    color: var(--text-muted);
    font-style: italic;
}

.user-summary-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: calc(var(--border-radius) - 1px);
    border: 1px solid var(--border-light);
    transition: all 0.2s ease;
}

.user-summary-item:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.user-avatar-container {
    flex-shrink: 0;
}

.user-name {
    font-size: 0.85em;
    font-weight: 500;
    color: var(--text-primary);
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-counts {
    display: flex;
    gap: 4px;
    align-items: center;
}

.user-open-count,
.user-inprogress-count,
.user-total-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 18px;
    padding: 0 4px;
    font-size: 0.75em;
    font-weight: 600;
    border-radius: 9px;
    color: white;
    text-align: center;
}

.user-open-count {
    background-color: var(--info-color);
}

.user-inprogress-count {
    background-color: var(--warning-color);
    color: var(--text-primary);
}

.user-total-count {
    background-color: var(--text-secondary);
}

.user-summary-more {
    display: flex;
    align-items: center;
    padding: 4px 8px;
    color: var(--text-muted);
    font-size: 0.8em;
    font-style: italic;
}

/* ===== ENHANCED TICKET DISPLAY ===== */
.ticket-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    margin-bottom: 8px;
    background: var(--surface-color);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-light);
    transition: all 0.2s ease;
}

.ticket-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.ticket-avatar {
    flex-shrink: 0;
    align-self: flex-start;
    margin-top: 2px;
}

.ticket-content {
    flex: 1;
    min-width: 0;
}

.ticket-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}

.ticket-key {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9em;
}

.ticket-priority,
.ticket-status {
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.75em;
    font-weight: 600;
    text-transform: uppercase;
}

.ticket-priority.priority-highest {
    background-color: var(--error-color);
    color: white;
}

.ticket-priority.priority-high {
    background-color: #FF8C00;
    color: white;
}

.ticket-priority.priority-medium {
    background-color: var(--warning-color);
    color: var(--text-primary);
}

.ticket-priority.priority-low {
    background-color: var(--success-color);
    color: white;
}

.ticket-status.status-open {
    background-color: var(--info-color);
    color: white;
}

.ticket-status.status-inprogress {
    background-color: var(--warning-color);
    color: var(--text-primary);
}

.ticket-title {
    font-size: 0.9em;
    line-height: 1.3;
    margin-bottom: 4px;
    color: var(--text-primary);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.ticket-assignee {
    font-size: 0.8em;
    color: var(--text-secondary);
}

.assignee-label {
    font-weight: 500;
}

.assignee-name {
    color: var(--text-primary);
}

/* ===== TIMELINE CONTAINER ===== */
.timeline-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.timeline-entry {
    background: var(--surface-color);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-light);
    padding: 12px;
    transition: all 0.2s ease;
}

.timeline-entry:hover {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.timeline-date {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 0.9em;
}

.timeline-releases {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.timeline-release {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 8px;
    background: rgba(51, 133, 214, 0.1);
    border-radius: calc(var(--border-radius) - 1px);
    font-size: 0.85em;
}

.timeline-release .release-name {
    font-weight: 500;
    color: var(--text-primary);
}

.timeline-release .release-project {
    color: var(--text-secondary);
    font-size: 0.9em;
}

/* ===== CONTAINER-SPECIFIC STYLES ===== */
.hotfix-summary {
    border-left: 4px solid var(--error-color);
}

.assigned-summary {
    border-left: 4px solid var(--info-color);
}

/* ===== 4K DISPLAY SUPPORT ===== */
@media screen and (min-width: 3800px) {
    .avatar-display.small {
        width: 48px;
        height: 48px;
    }
    
    .avatar-display.medium {
        width: 64px;
        height: 64px;
    }
    
    .avatar-display.large {
        width: 96px;
        height: 96px;
    }
    
    .user-summary-bar {
        gap: 24px;
        padding: 16px 24px;
        margin-bottom: 24px;
    }
    
    .user-summary-item {
        gap: 12px;
        padding: 8px 16px;
    }
    
    .user-name {
        font-size: 1.7em;
        max-width: 160px;
    }
    
    .user-open-count,
    .user-inprogress-count,
    .user-total-count {
        min-width: 40px;
        height: 36px;
        padding: 0 8px;
        font-size: 1.5em;
        border-radius: 18px;
    }
    
    .ticket-item {
        gap: 24px;
        padding: 24px;
        margin-bottom: 16px;
    }
    
    .ticket-header {
        gap: 16px;
        margin-bottom: 8px;
    }
    
    .ticket-key {
        font-size: 1.8em;
    }
    
    .ticket-priority,
    .ticket-status {
        padding: 4px 12px;
        font-size: 1.5em;
        border-radius: 6px;
    }
    
    .ticket-title {
        font-size: 1.8em;
        line-height: 1.4;
        margin-bottom: 8px;
    }
    
    .ticket-assignee {
        font-size: 1.6em;
    }
    
    .timeline-entry {
        gap: 24px;
        padding: 24px;
    }
    
    .timeline-date {
        font-size: 1.8em;
        margin-bottom: 16px;
    }
    
    .timeline-releases {
        gap: 8px;
    }
    
    .timeline-release {
        gap: 16px;
        padding: 8px 16px;
        font-size: 1.7em;
    }
}

/* ===== LOADING AND ERROR STATES ===== */
.error-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    color: var(--text-muted);
}

.error-icon {
    font-size: 2em;
    margin-bottom: 12px;
}

.error-message {
    font-size: 0.9em;
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.retry-button {
    padding: 8px 16px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 0.85em;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.retry-button:hover {
    background-color: var(--primary-dark);
}

.loading-skeleton {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
}

.skeleton-item {
    height: 20px;
    background: linear-gradient(90deg, var(--border-light) 25%, var(--border-color) 50%, var(--border-light) 75%);
    background-size: 200% 100%;
    border-radius: 4px;
    animation: skeleton-loading 1.5s infinite;
}

.skeleton-item:nth-child(1) { width: 80%; }
.skeleton-item:nth-child(2) { width: 60%; }
.skeleton-item:nth-child(3) { width: 90%; }

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Timeline Container Integration Styles */
.timeline-wrapper-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.timeline-display {
    width: 100%;
    height: 100%;
}

/* Timeline Empty/Error/Loading States */
.timeline-empty-state,
.timeline-error-state,
.timeline-loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding: 20px;
}

.timeline-empty-state .empty-icon,
.timeline-error-state .error-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.timeline-empty-state .empty-message,
.timeline-error-state .error-message {
    font-size: 18px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 10px;
}

.timeline-empty-state .empty-description {
    font-size: 14px;
    color: #6c757d;
}

.timeline-loading-state .loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e9ecef;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    animation: timeline-loading-spin 1s linear infinite;
    margin-bottom: 15px;
}

.timeline-loading-state .loading-message {
    font-size: 16px;
    color: #6c757d;
}

@keyframes timeline-loading-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.timeline-error-state .retry-button {
    background: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

.timeline-error-state .retry-button:hover {
    background: #0056b3;
}

/* 4K Display Support for Timeline States */
@media screen and (min-width: 3800px) {
    .timeline-empty-state .empty-icon,
    .timeline-error-state .error-icon {
        font-size: 96px;
        margin-bottom: 30px;
    }

    .timeline-empty-state .empty-message,
    .timeline-error-state .error-message {
        font-size: 36px;
        margin-bottom: 20px;
    }

    .timeline-empty-state .empty-description {
        font-size: 28px;
    }

    .timeline-loading-state .loading-spinner {
        width: 80px;
        height: 80px;
        border-width: 8px;
        margin-bottom: 30px;
    }

    .timeline-loading-state .loading-message {
        font-size: 32px;
    }

    .timeline-error-state .retry-button {
        border-radius: 12px;
        padding: 20px 40px;
        font-size: 28px;
        margin-top: 30px;
    }
}
/
* ===== SIMPLE TIMELINE STYLES ===== */
.simple-timeline-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 10px;
    max-height: calc(100% - 20px);
    overflow-y: auto;
}

.timeline-entry {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 12px;
    background: var(--surface-color);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

.timeline-entry:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.timeline-entry.today {
    border-left-color: var(--error-color);
    background: linear-gradient(135deg, #fff 0%, #fff5f5 100%);
}

.timeline-entry.upcoming {
    border-left-color: var(--primary-color);
}

.timeline-entry.past {
    border-left-color: var(--text-muted);
    opacity: 0.7;
}

.timeline-date {
    min-width: 120px;
    text-align: center;
}

.date-display {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
    margin-bottom: 4px;
}

.release-count {
    font-size: 12px;
    color: var(--text-secondary);
    background: var(--background-color);
    padding: 2px 8px;
    border-radius: 12px;
}

.timeline-releases {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.timeline-release {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: var(--background-color);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-light);
}

.timeline-release.high {
    border-left: 3px solid var(--error-color);
    background: linear-gradient(135deg, #fff 0%, #fff5f5 100%);
}

.timeline-release.medium {
    border-left: 3px solid var(--warning-color);
    background: linear-gradient(135deg, #fff 0%, #fffbf0 100%);
}

.timeline-release.low {
    border-left: 3px solid var(--success-color);
    background: linear-gradient(135deg, #fff 0%, #f8fff8 100%);
}

.project-key {
    font-weight: 600;
    color: var(--primary-color);
    background: var(--primary-light);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    min-width: 60px;
    text-align: center;
}

.release-name {
    flex: 1;
    font-weight: 500;
    color: var(--text-primary);
}

.days-until {
    font-size: 12px;
    color: var(--text-secondary);
    font-style: italic;
}

/* ===== USER SUMMARY BAR STYLES ===== */
.user-summary-bar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(248, 249, 250, 0.95);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-bottom: 15px;
    border-bottom: 3px solid var(--primary-color);
    padding: 15px 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
}

.summary-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
    font-size: 14px;
}

.summary-items {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.user-summary-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    background: var(--background-color);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.user-summary-item:hover {
    transform: translateY(-1px);
    box-shadow: var(--box-shadow);
    background: var(--surface-color);
}

.user-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 3px solid var(--border-color);
    object-fit: cover;
}

.user-avatar.placeholder {
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 28px;
}

.user-summary-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 32px;
    padding: 0 12px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 16px;
    color: white;
}

.user-summary-count.open {
    background: var(--warning-color);
}

.user-summary-count.in-progress {
    background: var(--info-color);
}

/* ===== ENHANCED ISSUE DISPLAY ===== */
.issue-with-avatar {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: var(--surface-color);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-light);
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.issue-with-avatar:hover {
    transform: translateY(-1px);
    box-shadow: var(--box-shadow);
}

.issue-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    object-fit: cover;
    flex-shrink: 0;
}

.issue-avatar.placeholder {
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
}

.issue-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.issue-title {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.3;
}

.issue-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--text-secondary);
}

.issue-priority {
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 11px;
}

.issue-priority.highest {
    background: var(--error-color);
    color: white;
}

.issue-priority.high {
    background: var(--warning-color);
    color: white;
}

.issue-priority.medium {
    background: var(--info-color);
    color: white;
}

.issue-priority.low {
    background: var(--success-color);
    color: white;
}

.issue-status {
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 11px;
    background: var(--background-color);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

/* ===== 4K DISPLAY SUPPORT ===== */
@media screen and (min-width: 3800px) {
    .timeline-4k .simple-timeline-container {
        gap: 24px;
        padding: 20px;
    }
    
    .timeline-4k .timeline-entry {
        gap: 30px;
        padding: 24px;
        border-left-width: 8px;
    }
    
    .timeline-4k .timeline-date {
        min-width: 240px;
    }
    
    .timeline-4k .date-display {
        font-size: 28px;
        margin-bottom: 8px;
    }
    
    .timeline-4k .release-count {
        font-size: 24px;
        padding: 4px 16px;
        border-radius: 24px;
    }
    
    .timeline-4k .timeline-releases {
        gap: 16px;
    }
    
    .timeline-4k .timeline-release {
        gap: 20px;
        padding: 16px 24px;
        border-left-width: 6px;
    }
    
    .timeline-4k .project-key {
        padding: 4px 12px;
        border-radius: 8px;
        font-size: 22px;
        min-width: 120px;
    }
    
    .timeline-4k .release-name {
        font-size: 28px;
    }
    
    .timeline-4k .days-until {
        font-size: 24px;
    }
    
    .timeline-4k .user-summary-bar {
        padding: 20px 30px;
        margin-bottom: 30px;
        border-bottom-width: 6px;
    }
    
    .timeline-4k .summary-items {
        gap: 24px;
    }
    
    .timeline-4k .user-summary-item {
        gap: 24px;
        padding: 20px 30px;
    }
    
    .timeline-4k .user-avatar {
        width: 128px;
        height: 128px;
        border-width: 6px;
        font-size: 56px;
    }
    
    .timeline-4k .user-summary-count {
        min-width: 72px;
        height: 64px;
        padding: 0 24px;
        border-radius: 32px;
        font-size: 32px;
    }
    
    .timeline-4k .issue-with-avatar {
        gap: 24px;
        padding: 24px;
        margin-bottom: 16px;
    }
    
    .timeline-4k .issue-avatar {
        width: 80px;
        height: 80px;
        border-width: 4px;
        font-size: 32px;
    }
    
    .timeline-4k .issue-details {
        gap: 8px;
    }
    
    .timeline-4k .issue-title {
        font-size: 28px;
    }
    
    .timeline-4k .issue-meta {
        gap: 20px;
        font-size: 24px;
    }
    
    .timeline-4k .issue-priority,
    .timeline-4k .issue-status {
        padding: 4px 12px;
        border-radius: 8px;
        font-size: 22px;
    }
}/*
 ===== AVATAR DISPLAY STYLES ===== */
.avatar-display {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 3px solid var(--border-color);
    overflow: hidden;
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    text-align: center;
    flex-shrink: 0;
    width: 96px;
    height: 96px;
    font-size: 36px;
}

.avatar-display.small {
    width: 64px;
    height: 64px;
    font-size: 28px;
    border-width: 2px;
}

.avatar-display.large {
    width: 128px;
    height: 128px;
    font-size: 48px;
    border-width: 4px;
}

.avatar-display img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-display.placeholder {
    background: var(--primary-color);
    color: white;
}

/* ===== TICKET LIST STYLES ===== */
.ticket-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.ticket-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: var(--surface-color);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.ticket-item:hover {
    transform: translateY(-1px);
    box-shadow: var(--box-shadow);
}

.ticket-avatar {
    flex-shrink: 0;
}

.ticket-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ticket-header {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.ticket-key {
    font-weight: 600;
    color: var(--primary-color);
    background: var(--background-color);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
}

.ticket-priority {
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 11px;
    color: white;
}

.ticket-priority.priority-highest {
    background: var(--error-color);
}

.ticket-priority.priority-high {
    background: var(--warning-color);
}

.ticket-priority.priority-medium {
    background: var(--info-color);
}

.ticket-priority.priority-low {
    background: var(--success-color);
}

.ticket-status {
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 11px;
    background: var(--background-color);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.ticket-title {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 18px;
    line-height: 1.4;
}

.ticket-assignee {
    font-size: 12px;
    color: var(--text-secondary);
}

.assignee-label {
    font-weight: 500;
}

.assignee-name {
    color: var(--text-primary);
}

/* ===== EMPTY STATE STYLES ===== */
.empty-state {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    color: var(--text-muted);
    font-style: italic;
    background: var(--background-color);
    border-radius: var(--border-radius);
    border: 2px dashed var(--border-color);
}

/* ===== 4K DISPLAY SUPPORT FOR AVATARS AND TICKETS ===== */
@media screen and (min-width: 3800px) {
    .timeline-4k .avatar-display {
        width: 192px;
        height: 192px;
        font-size: 72px;
        border-width: 6px;
    }
    
    .timeline-4k .avatar-display.small {
        width: 128px;
        height: 128px;
        font-size: 56px;
        border-width: 4px;
    }
    
    .timeline-4k .avatar-display.large {
        width: 256px;
        height: 256px;
        font-size: 96px;
        border-width: 8px;
    }
    
    .timeline-4k .ticket-list {
        gap: 16px;
    }
    
    .timeline-4k .ticket-item {
        gap: 24px;
        padding: 24px;
    }
    
    .timeline-4k .ticket-header {
        gap: 16px;
    }
    
    .timeline-4k .ticket-key {
        padding: 4px 12px;
        border-radius: 8px;
        font-size: 24px;
    }
    
    .timeline-4k .ticket-priority,
    .timeline-4k .ticket-status {
        padding: 4px 12px;
        border-radius: 8px;
        font-size: 22px;
    }
    
    .timeline-4k .ticket-title {
        font-size: 36px;
    }
    
    .timeline-4k .ticket-assignee {
        font-size: 24px;
    }
    
    .timeline-4k .empty-state {
        height: 400px;
        font-size: 32px;
        border-width: 4px;
    }
}