/* Custom CSS for IsItDown.com */

/* Import Inter font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&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: #333;
    min-height: 100vh;
    overflow-x: hidden;
}



/* 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;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #fff;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-danger);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-gradient);
}


.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);
}
