/* ============================================
   Backlogs - Frontend Styles
   ============================================ */

body {
    background: #f8f9fa;
    color: #1f2937;
    font-size: 15px;
    line-height: 1.6;
}

a { text-decoration: none; }

.card { border-radius: 8px; }

.navbar-brand { font-size: 1.4rem; font-weight: 700; }

.breadcrumb { background: transparent; padding: 0; margin: 0; }

/* Article content */
.article-content {
    color: #1f2937;
}

.article-content > *:first-child {
    margin-top: 0;
}

.article-content figure {
    margin: 2rem auto;
    text-align: center;
}

.article-content figure img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.article-content figcaption {
    font-size: 0.85rem;
    color: #6b7280;
    margin-top: 0.5rem;
    font-style: italic;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.95rem;
}

.article-content table th,
.article-content table td {
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    text-align: left;
}

.article-content table th {
    background: #f9fafb;
    font-weight: 600;
}

/* Buttons */
.btn-outline-secondary {
    border-color: #d1d5db;
    color: #4b5563;
}
.btn-outline-secondary:hover {
    background-color: #f3f4f6;
    color: #1f2937;
    border-color: #9ca3af;
}

/* Pagination */
.page-link {
    color: var(--bl-primary, #2563eb);
}
.page-item.active .page-link {
    background-color: var(--bl-primary, #2563eb);
    border-color: var(--bl-primary, #2563eb);
}

/* Cards hover */
.card.shadow-sm:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,.08) !important;
}

/* Badge */
.badge {
    font-weight: 500;
}

/* Smooth scrolling */
html { scroll-behavior: smooth; }

/* Mobile improvements */
@media (max-width: 768px) {
    body { font-size: 14px; }
    h1 { font-size: 1.4rem !important; }
    h2 { font-size: 1.2rem !important; }
    .container { padding-left: 12px; padding-right: 12px; }
}

/* Offcanvas mobile */
.offcanvas-body .card {
    border: none !important;
    box-shadow: none !important;
}
.offcanvas-body .card-header { display: none; }
