/* ===========================
   Global Styles
=========================== */
html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin-bottom: 60px;
}

#title {
    font-weight: 800;
    font-size: 3rem;
    margin: 4px 0 10px;
    color: #444;
}

a {
    color: #346297;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
    .col-50 {
        flex: 1;
    }
}

/* Focus outlines for accessibility */
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border-width: 0;
}

/* Header Section */
.header-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

#aboutModalBtn {
    cursor: pointer;
    border-radius: 50px;
    background: rgb(52, 98, 151);
    height: 32px;
    width: 32px;
    border: 0;
}

#aboutModalBtn:focus {
    outline: 3px solid #0066cc;
    outline-offset: 2px;
}

#aboutImage {
    width: 100%;
    height: 100%;
}

#msdLogo {
    max-width: 200px;
    height: auto;
    display: block;
    margin: 0 auto 10px auto;
}

/* Screen reader helper */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border-width: 0;
}

/* Responsive two-column rows */
@media (min-width: 768px) {
    .form-row {
        display: flex;
        gap: 20px;
    }
}

lojic-button {
    padding: 0.25rem 0.5rem;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}