/* Enhanced Updates Section Styles */

/* Updates container layout improvements */
.updates-container {
    display: grid;
    grid-template-columns: 2fr 3fr; /* Balanced - planned features get good space, timeline gets more */
    gap: 2rem;
    margin-top: 2rem;
}

/* Planned features sidebar improvements */
.updates-sidebar {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    height: fit-content;
    max-height: 80vh; /* Increased max height */
    overflow-y: auto;
    /* Custom scrollbar styling */
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--bg-primary);
}

/* Custom scrollbar for planned features */
.updates-sidebar::-webkit-scrollbar {
    width: 8px;
}

.updates-sidebar::-webkit-scrollbar-track {
    background: var(--bg-primary);
    border-radius: 10px;
}

.updates-sidebar::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
    border-radius: 10px;
    border: 2px solid var(--bg-secondary);
}

.updates-sidebar::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #4f46e5, #7c3aed);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.updates-sidebar::-webkit-scrollbar-corner {
    background: var(--bg-primary);
}

/* Global custom scrollbar theme improvements */
.timeline::-webkit-scrollbar,
.updates-timeline::-webkit-scrollbar {
    width: 8px;
}

.timeline::-webkit-scrollbar-track,
.updates-timeline::-webkit-scrollbar-track {
    background: var(--bg-primary);
    border-radius: 10px;
}

.timeline::-webkit-scrollbar-thumb,
.updates-timeline::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
    border-radius: 10px;
    border: 2px solid var(--bg-secondary);
}

.timeline::-webkit-scrollbar-thumb:hover,
.updates-timeline::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #4f46e5, #7c3aed);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.updates-sidebar h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 600;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

/* Enhanced Planned Features Styling */
.planned-feature {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem; /* Increased padding */
    margin-bottom: 1.5rem; /* Increased margin */
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.planned-feature:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

.feature-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.feature-header h4 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.2rem; /* Increased font size */
    font-weight: 600;
    line-height: 1.4;
    flex: 1;
}

.planned-feature p {
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    line-height: 1.6;
    font-size: 0.95rem; /* Slightly larger description text */
}

.feature-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.priority-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.priority-badge {
    padding: 0.3rem 0.8rem; /* Increased padding */
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.priority-badge.critical {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.priority-badge.high {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.priority-badge.medium {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.priority-badge.low {
    background: rgba(107, 114, 128, 0.15);
    color: #6b7280;
    border: 1px solid rgba(107, 114, 128, 0.3);
}

.status-badge {
    padding: 0.3rem 0.8rem; /* Increased padding */
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.status-badge.planned {
    background: rgba(107, 114, 128, 0.15);
    color: #6b7280;
}

.status-badge.in-progress {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.status-badge.completed {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.eta-badge {
    background: var(--bg-tertiary);
    color: var(--text-muted);
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
}

.feature-progress {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-progress .progress-bar {
    flex: 1;
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    overflow: hidden;
}

.feature-progress .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 4px;
    transition: width 0.5s ease;
}

.progress-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-color);
    min-width: 3rem;
    text-align: right;
}

/* Improved timeline styling */
.timeline-item {
    position: relative;
    padding-left: 2rem;
    padding-bottom: 2rem;
    border-left: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.timeline-item:hover {
    border-left-color: var(--primary-color);
}

.timeline-item:last-child {
    border-left: none;
}

.timeline-marker {
    position: absolute;
    left: -8px;
    top: 0;
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 3px solid var(--bg-primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-marker {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.timeline-item.major .timeline-marker {
    background: #10b981;
}

.timeline-item.minor .timeline-marker {
    background: var(--primary-color);
}

.timeline-item.patch .timeline-marker {
    background: #f59e0b;
}

.timeline-content {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.timeline-content:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.timeline-header h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
}

.timeline-meta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.version-tag, .date-tag, .prerelease-tag {
    font-size: 0.8rem;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-weight: 500;
    white-space: nowrap;
}

.version-tag {
    background: linear-gradient(135deg, var(--primary-color), #5a67d8);
    color: white;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
}

.date-tag {
    background: var(--bg-primary);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.prerelease-tag {
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: white;
    animation: pulse 2s infinite;
}

.timeline-changes ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.timeline-changes li {
    padding: 0.4rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.5;
    transition: color 0.2s ease;
}

.timeline-changes li:hover {
    color: var(--text-primary);
}

.timeline-changes li::before {
    content: '▶';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 0.4rem;
    font-size: 0.7rem;
    transition: transform 0.2s ease;
}

.timeline-changes li:hover::before {
    transform: translateX(2px);
}

.timeline-actions {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.release-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    border: 1px solid transparent;
}

.release-link:hover {
    color: var(--primary-color);
    background: rgba(59, 130, 246, 0.05);
    border-color: var(--primary-color);
}

/* Enhanced planned features */
.planned-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.planned-feature {
    background: var(--bg-primary);
    padding: 1.25rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.planned-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.planned-feature:hover::before {
    transform: translateX(100%);
}

.planned-feature:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.planned-feature.completed {
    border-color: #10b981;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.02), rgba(16, 185, 129, 0.05));
}

.planned-feature.completed::before {
    background: linear-gradient(90deg, transparent, #10b981, transparent);
}

.planned-feature.in-progress {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.02), rgba(59, 130, 246, 0.05));
}

.planned-feature.on-hold {
    border-color: #f59e0b;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.02), rgba(245, 158, 11, 0.05));
}

.feature-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    gap: 1rem;
}

.feature-header h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.3;
}

.status-badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.status-badge.completed {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.status-badge.in-progress {
    background: linear-gradient(135deg, var(--primary-color), #3730a3);
    color: white;
}

.status-badge.planned {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: white;
}

.status-badge.on-hold {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.status-badge.cancelled {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.planned-feature p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.feature-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.priority-badge, .eta-badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.priority-badge.critical {
    background: rgba(239, 68, 68, 0.15);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.priority-badge.high {
    background: rgba(245, 158, 11, 0.15);
    color: #d97706;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.priority-badge.medium {
    background: rgba(59, 130, 246, 0.15);
    color: #2563eb;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.priority-badge.low {
    background: rgba(156, 163, 175, 0.15);
    color: #6b7280;
    border: 1px solid rgba(156, 163, 175, 0.3);
}

.eta-badge {
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Progress bars */
.feature-progress {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.progress-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-secondary);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), #5a67d8);
    transition: width 0.5s ease;
    border-radius: 4px;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(255,255,255,0.1) 25%, 
        transparent 25%, 
        transparent 50%, 
        rgba(255,255,255,0.1) 50%, 
        rgba(255,255,255,0.1) 75%, 
        transparent 75%
    );
    background-size: 20px 20px;
    animation: progress-stripes 1s linear infinite;
}

@keyframes progress-stripes {
    0% { background-position: 0 0; }
    100% { background-position: 20px 0; }
}

/* Animation improvements */
.animate-in {
    animation: slideInUp 0.6s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Loading states */
.updates-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem;
    color: var(--text-secondary);
}

.updates-loading i {
    font-size: 2rem;
    margin-bottom: 1rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.updates-error {
    text-align: center;
    padding: 2rem;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 12px;
    margin: 1rem 0;
}

.updates-error i {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .updates-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .updates-sidebar {
        order: 2;
        padding: 1.5rem;
    }
    
    .timeline-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .timeline-meta {
        flex-wrap: wrap;
    }
    
    .feature-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .feature-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .timeline-content {
        padding: 1rem;
    }
}

/* Empty state and error state styling for planned features */
.empty-state, .error-state {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin: 1rem 0;
}

.empty-state i, .error-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    opacity: 0.7;
}

.empty-state i {
    color: var(--text-muted);
}

.error-state i {
    color: #f59e0b;
}

.empty-state h3, .error-state h3 {
    color: var(--text-primary);
    margin: 0.5rem 0;
    font-size: 1.2rem;
}

.empty-state p, .error-state p {
    margin: 0.5rem 0;
    line-height: 1.6;
}



/* Next Release Card Styles */
.next-release-container {
    margin-bottom: 3rem;
}

.next-release-card {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(59, 130, 246, 0.05) 100%);
    border: 2px solid var(--primary-color);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
}

.next-release-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.next-release-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.15);
}

.next-release-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.next-release-info h3 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.next-release-date {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.next-release-progress-info {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.progress-percentage {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.progress-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.next-release-progress {
    margin-bottom: 1.5rem;
}

.progress-bar.large {
    height: 12px;
    border-radius: 6px;
    background: var(--bg-primary);
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.progress-bar.large .progress-fill {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
    animation: progress-glow 2s ease-in-out infinite alternate;
}

@keyframes progress-glow {
    0% { box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3); }
    100% { box-shadow: 0 2px 12px rgba(59, 130, 246, 0.5); }
}

.next-release-description {
    margin-bottom: 1.5rem;
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 8px;
    padding: 1rem;
}

.next-release-description p {
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
    white-space: pre-line; /* Preserve line breaks from textarea */
    word-wrap: break-word;
    font-size: 0.95rem;
}

.next-release-status {
    display: flex;
    justify-content: center;
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.status-indicator.ready {
    background: linear-gradient(135deg, #10b981, #34d399);
    color: white;
    animation: pulse-ready 2s ease-in-out infinite;
}

.status-indicator.near-completion {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: white;
}

.status-indicator.in-progress {
    background: linear-gradient(135deg, var(--primary-color), #60a5fa);
    color: white;
}

.status-indicator.early-development {
    background: rgba(107, 114, 128, 0.1);
    color: #6b7280;
    border: 1px solid #6b7280;
}

@keyframes pulse-ready {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* No Updates Card Styles */
.no-updates-card {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(107, 114, 128, 0.05) 100%);
    border: 2px solid #6b7280;
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(107, 114, 128, 0.1);
    transition: all 0.3s ease;
}

.no-updates-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6b7280, #9ca3af);
}

.no-updates-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(107, 114, 128, 0.15);
}

.no-updates-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.no-updates-icon {
    font-size: 3rem;
    color: #6b7280;
    opacity: 0.8;
    animation: pulse-pause 3s ease-in-out infinite;
}

.no-updates-info h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.no-updates-info p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

@keyframes pulse-pause {
    0%, 100% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

/* Responsive styling for states and layout */
@media (max-width: 1024px) {
    /* Tablet layout adjustments */
    .updates-container {
        grid-template-columns: 1fr 2fr; /* Give timeline even more space on smaller screens */
        gap: 1.5rem;
    }
    
    .planned-feature {
        padding: 1.25rem;
        margin-bottom: 1.25rem;
    }
    
    .feature-header h4 {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    /* Mobile layout - stack vertically */
    .updates-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .updates-sidebar {
        order: 2; /* Show planned features after timeline on mobile */
        max-height: 60vh;
        padding: 1.5rem;
    }
    
    .updates-timeline {
        order: 1;
    }
    
    .planned-feature {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .feature-header {
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch;
    }
    
    .feature-header h4 {
        font-size: 1rem;
    }
    
    .feature-meta {
        gap: 0.5rem;
    }
    
    .priority-badge, .status-badge {
        padding: 0.25rem 0.6rem;
        font-size: 0.7rem;
    }
    
    .empty-state, .error-state {
        padding: 2rem 1rem;
    }
    
    .empty-state i, .error-state i {
        font-size: 2rem;
    }
    
    .next-release-card {
        padding: 1.5rem;
    }
    
    .next-release-header {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .next-release-progress-info {
        align-items: center;
        text-align: center;
    }
    
    .progress-percentage {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    /* Extra small mobile adjustments */
    .updates-sidebar {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .planned-feature {
        padding: 0.75rem;
    }
    
    .feature-header h4 {
        font-size: 0.95rem;
    }
    
    .planned-feature p {
        font-size: 0.9rem;
    }
    
    /* No updates card mobile adjustments */
    .no-updates-card {
        padding: 1.5rem;
    }
    
    .no-updates-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .no-updates-icon {
        font-size: 2.5rem;
    }
    
    .no-updates-info h3 {
        font-size: 1.3rem;
    }
    
    .no-updates-info p {
        font-size: 0.9rem;
    }
    
    /* Mobile adjustments for release description */
    .next-release-description {
        padding: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .next-release-description p {
        font-size: 0.9rem;
    }
}

/* GitHub Error Message Styles */
.github-error-message {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.1);
    border-radius: 12px;
    margin: 2rem 0;
}

.github-error-message .error-icon {
    font-size: 3rem;
    color: #ef4444;
    margin-bottom: 1rem;
}

.github-error-message h3 {
    color: var(--text-primary);
    margin: 0.5rem 0;
    font-size: 1.3rem;
}

.github-error-message p {
    color: var(--text-secondary);
    margin: 1rem 0;
    line-height: 1.6;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.error-actions .btn {
    min-width: 140px;
}

@media (max-width: 480px) {
    .error-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .error-actions .btn {
        width: 100%;
        max-width: 250px;
    }
}
