/* =====================================================
   SharedModern.css
   Styles shared across multiple Assessor pages:
   top bar, back/navigation links, text-size control.
   Linked by: details.aspx, Results.aspx, Disclaimer.aspx, AssessorParcelMap.aspx
   ===================================================== */

/* ===== PAGE TOP BAR ===== */
/* Flex row that places a nav link on the left and the
   text-size control on the right, matching both pages. */
.page-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

/* ===== BACK / NAV LINK ===== */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 500;
    color: #1260cc;
    text-decoration: underline;
}

.back-link:hover  { color: #0a4fa8; }

.back-link:focus-visible {
    outline: 3px solid #1260cc;
    outline-offset: 3px;
    border-radius: 3px;
}

/* ===== TEXT SIZE CONTROL ===== */
.text-size-control {
    display: flex;
    align-items: center;
    gap: 5px;
}

.text-size-label {
    font-size: 14px;
    color: #445571;
    margin-right: 2px;
}

.text-size-btn {
    background: none;
    border: 1px solid #c7d9f8;
    border-radius: 4px;
    color: #1260cc;
    cursor: pointer;
    padding: 2px 7px;
    font-family: inherit;
    line-height: 1.4;
    transition: background 0.1s, border-color 0.1s;
}

/* Three A buttons at increasing sizes */
.text-size-btn:nth-of-type(1) { font-size: 13px; }
.text-size-btn:nth-of-type(2) { font-size: 16px; }
.text-size-btn:nth-of-type(3) { font-size: 20px; }

.text-size-btn:hover {
    background: #edf3ff;
}

.text-size-btn.active {
    background: #edf3ff;
    border-color: #1260cc;
    font-weight: 700;
}

.text-size-btn:focus-visible {
    outline: 3px solid #1260cc;
    outline-offset: 3px;
    border-radius: 3px;
}

/* =====================================================
   SITE FOOTER
   ===================================================== */
.site-footer {
    background: #0d1f47;
    padding: 24px 48px;
    margin-top: 32px;
}

.footer-links {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0 0 12px 0;
}

.footer-links a {
    font-size: 13px;
    color: #c8deff;
    text-decoration: underline;
}

.footer-links a:hover { color: #fff; }

.footer-links a:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
    border-radius: 3px;
}

.footer-copy {
    font-size: 12px;
    color: #a8bde0;
    line-height: 1.6;
}

.footer-copy a {
    color: #c8deff;
    text-decoration: underline;
}

.footer-copy a:hover { color: #fff; }

/* ===== FOOTER RESPONSIVE ===== */
@media (max-width: 768px) {
    .site-footer {
        padding: 20px 20px;
    }

    .footer-links {
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 16px;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}
