:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --info-color: #0dcaf0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

footer {
    margin-top: auto;
}

.question-card {
    transition: transform 0.2s, box-shadow 0.2s;
}

.question-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.vote-section {
    min-width: 60px;
}

.vote-count {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.like-btn {
    transition: all 0.3s ease;
}

.like-btn:hover:not(:disabled) {
    transform: scale(1.1);
}

.like-btn:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.answer-item:last-child {
    border-bottom: none !important;
}

.avatar-circle {
    display: inline-block;
}

.card {
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.badge {
    padding: 0.4em 0.6em;
    font-weight: 500;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.list-group-item {
    border-left: 3px solid transparent;
    transition: all 0.2s;
}

.list-group-item:hover {
    border-left-color: var(--primary-color);
    background-color: #f8f9fa;
}

.list-group-item.active {
    border-left-color: var(--primary-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .vote-section {
        min-width: 50px;
    }
    
    .vote-count {
        font-size: 1.2rem;
    }
}