body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
}

header {
    background: linear-gradient(90deg, #007bff, #0056b3);
    border-bottom: 2px solid #0056b3;
}

.logo {
    max-height: 40px;
    width: auto;
}

.search-container {
    width: 100%;
    max-width: 300px;
}

.search-container .form-control {
    border-radius: 20px;
    font-size: 0.9rem;
    padding: 6px 12px;
}

.sticky-tags {
    position: sticky;
    top: 0;
    background-color: #f8f9fa;
    z-index: 1000;
    padding-top: 10px;
    padding-bottom: 10px;
}

.teacher-section {
    background-color: #ffffff;
    border-top: 1px solid #e9ecef;
}

.teacher-photo {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 3px solid #007bff;
}

.card {
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.card-link {
    text-decoration: none;
    color: inherit;
}

.card-link:hover .card-title {
    color: #0056b3;
}

.card-title {
    color: #007bff;
    font-weight: 600;
}

.card-text {
    color: #6c757d;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    border-radius: 8px;
    padding: 8px 16px;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.btn-outline-primary, .btn-outline-danger {
    border-radius: 8px;
}

.tag-btn {
    margin: 5px;
    font-size: 0.9rem;
    padding: 6px 12px;
}

.tag-btn:hover {
    background-color: #007bff;
    color: white;
}

.breadcrumb {
    background-color: transparent;
    margin-bottom: 1.5rem;
}

.breadcrumb-item a {
    color: #007bff;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #6c757d;
}

.card-text.small.text-end {
    font-size: 0.85rem;
    margin-bottom: 0;
}

footer {
    background: #212529;
    border-top: 2px solid #343a40;
}

footer .text-muted {
    color: #adb5bd !important;
}

footer a:hover {
    color: #adb5bd;
}

@media (max-width: 576px) {
    .logo {
        max-height: 30px;
    }
    .search-container {
        max-width: 200px;
    }
    .search-container .form-control {
        font-size: 0.8rem;
        padding: 5px 10px;
    }
    .card-text.small.text-end {
        font-size: 0.8rem;
    }
    .sticky-tags {
        padding-top: 5px;
        padding-bottom: 5px;
    }
    .teacher-photo {
        width: 100px;
        height: 100px;
    }
}


.comment {
    background: #f8f9fa;
}
.reply-link {
    color: #007bff;
    text-decoration: none;
}
.reply-link:hover {
    text-decoration: underline;
}
#auth-status a {
    color: #007bff;
    text-decoration: none;
}
#auth-status a:hover {
    text-decoration: underline;
}
