/**
 * VOD Time Display Improvements
 * Apple-style time formatting and visual hierarchy
 */

/* VOD Parts Container */
.vod-parts-container {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    padding: 16px;
    margin: 16px 0;
}

/* VOD Part Cards */
.vod-part-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 8px;
    transition: all 0.2s ease;
}

.vod-part-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(4px);
}

/* Part Label */
.vod-part-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--warning-yellow);
    min-width: 60px;
}

/* Time Display */
.vod-part-time {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex: 1;
    margin: 0 16px;
}

.vod-part-time-value {
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.01em;
}

.vod-part-time-zone {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

/* Duration */
.vod-part-duration {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    min-width: 60px;
    text-align: right;
}

/* Watch Button */
.vod-watch-btn {
    background: linear-gradient(135deg, #9147FF, #772CE8);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.vod-watch-btn:hover {
    background: linear-gradient(135deg, #a35bff, #8840f5);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(145, 71, 255, 0.3);
}

.vod-watch-btn:active {
    transform: translateY(0);
}

/* Timezone indicator (show once) */
.vod-timezone-notice {
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .vod-part-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 14px;
    }
    
    .vod-part-time {
        margin: 0;
        width: 100%;
    }
    
    .vod-part-info {
        display: flex;
        justify-content: space-between;
        width: 100%;
        align-items: center;
    }
    
    .vod-watch-btn {
        width: 100%;
        justify-content: center;
        padding: 12px;
        font-size: 14px;
    }
    
    /* Larger touch targets */
    .vod-part-card {
        min-height: 60px;
    }
}

/* Improved time formatting for all times */
.time-display {
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

/* Ensure consistent time width */
.time-display-fixed {
    display: inline-block;
    min-width: 80px;
    font-variant-numeric: tabular-nums;
}

/* Status indicator for currently playing */
.vod-part-card.current {
    background: rgba(145, 71, 255, 0.1);
    border-color: #9147FF;
}

.vod-part-card.current .vod-part-label {
    color: #9147FF;
}

.vod-part-card.current::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #9147FF;
    border-radius: 3px 0 0 3px;
}

/* Interruption notice styling */
.vod-interruption-notice {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.vod-interruption-notice i {
    color: var(--warning-yellow);
    font-size: 18px;
}

.vod-interruption-text {
    flex: 1;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

/* Highlight part indicator refinement */
.highlight-part-indicator {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 215, 0, 0.15);
    color: var(--warning-yellow);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
