/* Option 2: Import via CSS */
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.3.0/font/bootstrap-icons.css");

body {
    font-family: 'Nunito', sans-serif;
    font-weight: 300;
    background-color: #f8f9fa;
    color: #212529;
}

.navbar {
    background-color: #0047a5 !important;
}

.navbar .navbar-brand,
.navbar .nav-link {
    color: #ffffff !important;
}

.navbar .nav-link:hover {
    color: #ffcc70 !important;
}

.section-title {
    color: #0047a5;
    font-weight: 600;
}

.section-alt {
    background-color: #eef2f7;
}

.card {
    border: none;
    background-color: #ffffff;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.05);
}

.card-title {
    color: #1b4965;
}

.card-text {
    color: #6c757d;
}

footer {
    background-color: #0047a5;
    color: #ffffff;
}

footer a {
    color: #ffcc70;
}

footer a:hover {
    text-decoration: underline;
}

.badge-link img {
    transition: transform 0.2s ease;
}

.badge-link:hover img {
    transform: scale(1.1);
}

h1, h2 {
    font-weight: 600; /* Bold for main headings */
}

h3, h4, h5, h6 {
    font-weight: 500; /* Medium-bold for subheadings */
}

.equivalence-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.5em 1em;
    font-size: 1em;
    padding: 0.5em 0;
}

.equivalence-list div {
    white-space: nowrap;
}

.map-type-grid {
    display: grid;
    grid-template-columns: minmax(120px, 1.5fr) repeat(8, 1fr);
    border-collapse: collapse;
    gap: 2px;
    margin: 1em 0;
}

.map-type-grid .row {
    display: contents;
}

.map-type-grid .cell {
    padding: 0.4em 0.6em;
    border: 1px solid #ccc;
    background: #f9f9f9;
    font-size: 0.95em;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.map-type-grid .cell.wide {
    font-weight: bold;
    background-color: #eeeeee;
}

.map-type-grid .header .cell {
    font-weight: bold;
    background-color: #eeeeee;
}

.autm-grid {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    margin: 1.5em 0;
}

.autm-grid .row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
    justify-content: center;
}

.autm-grid .cell {
    padding: 0.5em 0.75em;
    background: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 0.95em;
    white-space: nowrap;
    text-align: center;
}
