/* Custom CSS for IsItDown.com */

/* Local Inter Variable Font - Optimized for Performance */
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter/Inter-VariableFont_opsz,wght.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter/Inter-Italic-VariableFont_opsz,wght.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

* {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #fff;
    min-height: 100vh;
	scrollbar-color: #000000 #ffffff00;
    scrollbar-width: thin; /* Optional: Makes the scrollbar thinner */
}



/* Vote Buttons */
.vote-btn {
    background: rgba(99,102,241,0.1);
    color: var(--primary-color);
    border: 1px solid rgba(99,102,241,0.2);
    padding: 0.2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
}

.vote-btn:hover {
    background: var(--primary-color);
    color: white;
    text-decoration: none;
}

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

/* Vote button variants */
.vote-btn-success {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.3);
}

.vote-btn-success:hover {
    background: #10b981;
    color: white;
    border-color: #10b981;
}

.vote-btn-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.3);
}

.vote-btn-danger:hover {
    background: #ef4444;
    color: white;
    border-color: #ef4444;
}

.vote-btn-category {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border-color: rgba(245, 158, 11, 0.3);
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.vote-btn-category:hover {
    background: #f59e0b;
    color: white;
    border-color: #f59e0b;
    transform: translateY(-1px);
    box-shadow: 0 0.25rem 0.5rem rgba(245, 158, 11, 0.3);
}

.vote-btn-category.w-100 {
    text-align: center;
    justify-content: center;
}

/* Enhanced Voting Buttons */
.vote-btn-enhanced {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    border: 2px solid #dc2626;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(220, 38, 38, 0.2);
    position: relative;
    overflow: hidden;
}

.vote-btn-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.vote-btn-enhanced:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
    color: white;
    border-color: #b91c1c;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
}

.vote-btn-enhanced:hover::before {
    left: 100%;
}

.vote-btn-enhanced:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.vote-btn-enhanced .bi-arrow-right {
    transition: transform 0.3s ease;
    color: white;
}

.vote-btn-enhanced:hover .bi-arrow-right {
    transform: translateX(3px);
}

/* Voting Section Styling */
.voting-section {
}

.voting-section h6 {
    color: #dc2626;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.voting-section .badge {
    font-size: 0.75rem;
    font-weight: 600;
}

::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.9);
	background-color: #CCCCCC;
}

::-webkit-scrollbar
{
	width: 12px;
	background-color: #F5F5F5;
}

::-webkit-scrollbar-thumb
{
    border-radius: 4px;
    background-color: #fb0808;
    background-image: -webkit-linear-gradient(90deg, #000000, rgb(0 0 0 / 38%) 50%, #000000f7, #000000e0);
}





.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

                    /* Pulsating Status Circles */
                    .status-indicator {
                        display: flex;
                        align-items: center;
                    }
                    
                    .pulsating-circle {
                        width: 36px;
                        height: 36px;
                        border-radius: 50%;
                        position: relative;
                        animation: pulsate 2s ease-in-out infinite;
                    }
                    
                    .pulsating-green {
                        background-color: #28a745;
                        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
                    }
                    
                    .pulsating-red {
                        background-color: #dc3545;
                        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
                    }
                    
                    .pulsating-yellow {
                        background-color: #ffc107;
                        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7);
                    }
					
					.pulsating-blue {
                        background-color: #0D6EFD;
                        box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.7);
                    }
                    
                    @keyframes pulsate {
                        0% {
                            transform: scale(1);
                            box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
                        }
                        50% {
                            transform: scale(1.1);
                            box-shadow: 0 0 0 8px rgba(40, 167, 69, 0);
                        }
                        100% {
                            transform: scale(1);
                            box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
                        }
                    }
                    
                    .pulsating-red {
                        animation: pulsate-red 2s ease-in-out infinite;
                    }
                    
                    @keyframes pulsate-red {
                        0% {
                            transform: scale(1);
                            box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
                        }
                        50% {
                            transform: scale(1.1);
                            box-shadow: 0 0 0 8px rgba(220, 53, 69, 0);
                        }
                        100% {
                            transform: scale(1);
                            box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
                        }
                    }
                    
                    .pulsating-yellow {
                        animation: pulsate-yellow 2s ease-in-out infinite;
                    }
                    
                    @keyframes pulsate-yellow {
                        0% {
                            transform: scale(1);
                            box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7);
                        }
                        50% {
                            transform: scale(1.1);
                            box-shadow: 0 0 0 8px rgba(255, 193, 7, 0);
                        }
                        100% {
                            transform: scale(1);
                            box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
                        }
                    }
					
					.pulsating-blue {
                        animation: pulsate-blue 2s ease-in-out infinite;
                    }
                    
                    @keyframes pulsate-blue{
                        0% {
                            transform: scale(1);
                            box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.7);
                        }
                        50% {
                            transform: scale(1.1);
                            box-shadow: 0 0 0 8px rgba(13, 110, 253, 0);
                        }
                        100% {
                            transform: scale(1);
                            box-shadow: 0 0 0 0 rgba(13, 110, 253, 0);
                        }
                    }
                    
                    /* Compact timeline and comments for desktop */
                    @media (min-width: 992px) {
                        .compact-timeline .timeline-item,
                        .compact-comments .comment-item {
                            margin-bottom: 0.75rem !important;
                            padding: 0.75rem 0.5rem !important;
                        }
                        .compact-timeline .timeline-badge,
                        .compact-comments .me-3 {
                            min-width: 32px !important;
                        }
                        .compact-timeline .rounded-circle,
                        .compact-comments .rounded-circle {
                            width: 28px !important;
                            height: 28px !important;
                        }
                        .compact-timeline .flex-grow-1,
                        .compact-comments .flex-grow-1 {
                            font-size: 0.95rem;
                        }
                    }
                    
                    /* Emoji Reactions Styling */
                    .emoji-container {
                        display: flex;
                        flex-wrap: wrap;
                        gap: 8px;
                        margin-top: 5px;
                    }
                    
                    .emoji-btn {
                        background: none;
                        border: none !important;
                        box-shadow: none !important;
                        padding: 0 4px;
                        font-size: 1.2em;
                        cursor: pointer;
                    }
                    
                    .emoji-btn:focus {
                        outline: none !important;
                        box-shadow: none !important;
                    }
                    
                    /* Responsive emoji buttons */
                    @media (max-width: 576px) {
                        .emoji-btn {
                            font-size: 18px;
                            min-width: 36px;
                            height: 36px;
                            padding: 6px 10px;
                        }
                    }
                    
                    /* Timeline Enhancements */
                    .timeline-box .fs-10 {
                        font-size: 0.625rem !important;
                    }
                    
                    .timeline-box .fs-11 {
                        font-size: 0.6875rem !important;
                    }
                    
                    .timeline-box .fs-12 {
                        font-size: 0.75rem !important;
                    }
                    
                    /* User reports indicator styling */
                    .timeline-box .text-warning {
                        color: #ffc107 !important;
                    }
                    
                    .timeline-box .text-info {
                        color: #0dcaf0 !important;
                    }
                    
                    /* Enhanced timeline content */
                    .timeline-box .d-flex.flex-column {
                        min-width: 60px;
                    }
                    
                    .timeline-box .badge {
                        white-space: nowrap;
                    }
                    
                    /* Timeline user experience context */
                    .timeline-box .fs-11.text-muted {
                        line-height: 1.3;
                    }
                    
                    /* Status Improvement Indicator */
                    .timeline-box .bg-success-transparent {
                        background-color: rgba(40, 167, 69, 0.1) !important;
                    }
                    
                    .timeline-box .border-success {
                        border-color: rgba(40, 167, 69, 0.3) !important;
                    }
                    
                    .timeline-box .text-success {
                        color: #198754 !important;
                    }
                    
                    .timeline-box .bi-arrow-up-circle {
                        font-size: 1.1em;
                    }
                    
                    /* Improvement indicator animation */
                    .timeline-box .bg-success-transparent {
                        animation: improvement-pulse 3s ease-in-out infinite;
                    }
                    
                                        @keyframes improvement-pulse {
                        0%, 100% {
                            opacity: 1;
                        }
                        50% {
                            opacity: 0.8;
                        }
                    }
                    }
                    
                    /* Dynamic Timeline Line Colors */
                    .timeline-content.timeline-status-up::after {
                        border-color: #28a745 !important;
                        background-color: #28a745 !important;
                    }
                    
                    .timeline-content.timeline-status-down::after {
                        border-color: #dc3545 !important;
                        background-color: #dc3545 !important;
                    }
                    
                    .timeline-content.timeline-status-degraded::after {
                        border-color: #ffc107 !important;
                        background-color: #ffc107 !important;
                    }
                    
                    .timeline-content.timeline-status-partial::after {
                        border-color: #0dcaf0 !important;
                        background-color: #0dcaf0 !important;
                    }
                    
                    .timeline-content.timeline-status-timeout::after {
                        border-color: #fd7e14 !important;
                        background-color: #fd7e14 !important;
                    }
                    
                    .timeline-content.timeline-status-error::after {
                        border-color: #6f42c1 !important;
                        background-color: #6f42c1 !important;
                    }
                    
                    .timeline-content.timeline-status-unknown::after {
                        border-color: #6c757d !important;
                        background-color: #6c757d !important;
                    }
					    /* Add this CSS block to your stylesheet */
    .btn-xs {
        padding: .2rem .4rem; /* Adjust padding to make them smaller */
        font-size: .75rem;    /* Smaller font size */
        line-height: 1.5;     /* Maintain line height for vertical alignment */
        border-radius: .2rem; /* Slightly smaller border radius for consistency */
    }             
					