body {
    background-color: #f8f9fa;
    color: #212529;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Navbar */
.navbar-brand {
    font-weight: 700;
    letter-spacing: -0.3px;
    font-size: 1.1rem;
}

/* Cards */
.card {
    border: 1px solid #dee2e6;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.card-header {
    background-color: #f8f9fa;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6c757d;
}

/* Tables */
.table thead th {
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6c757d;
    border-top: none;
    border-bottom-width: 1px;
}

.table td {
    vertical-align: middle;
    font-size: 0.95rem;
}

.table a {
    color: #212529;
    font-weight: 500;
    text-decoration: none;
}

.table a:hover {
    color: #000;
    text-decoration: underline;
}

/* Links */
a {
    color: #212529;
}

a:hover {
    color: #000;
}

/* Term heading on detail page */
.term-heading {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Search input */
#search {
    border-radius: 4px;
}

/* Info sidebar */
.sidebar-card .card-body {
    font-size: 0.9rem;
    color: #6c757d;
}

/* Share inputs */
.share-input {
    font-size: 0.8rem;
    color: #6c757d;
    background: #f8f9fa;
}

/* Footer */
footer {
    padding: 2.5rem 0 1.5rem;
    margin-top: 3rem;
    background-color: #fff;
    border-top: 1px solid #dee2e6;
}

footer .navbar-brand {
    font-size: 1rem;
    padding: 0;
    color: #212529;
    margin-bottom: 0.25rem;
    display: inline-block;
}

footer p {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
}

footer h5 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #495057;
    margin-bottom: 0.75rem;
}

footer a {
    color: #6c757d;
    text-decoration: none;
}

footer a:hover {
    color: #212529;
}

/* Page top spacing */
.page-content {
    padding-top: 1.5rem;
    padding-bottom: 2rem;
}

/* Breadcrumb */
.page-breadcrumb {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.page-breadcrumb a {
    color: #6c757d;
}

.page-breadcrumb a:hover {
    color: #212529;
}
