/* ==========================================================
   global.css — Site-wide layout utilities
   ========================================================== */

/* Item 40: Accessibility skip-link
   Hidden off-screen, becomes visible on :focus
   --------------------------------------------------------- */
.sadan-skip-link {
    position: absolute;
    top: -50px;
    right: 0;
    background: #233f5a;
    color: #fff;
    padding: 8px 15px;
    z-index: 9999;
    font-size: 14px;
    font-weight: 600;
    border-radius: 0 0 5px 5px;
    transition: top .2s ease;
    text-decoration: none;
}
.sadan-skip-link:focus {
    top: 0;
    outline: 3px solid #f0a500;
    outline-offset: 2px;
}

/* Skip-link target — must be focusable */
#sadan-main-content {
    outline: none;
}

/* Item 39: Body clearance for mobile floating action bar
   Footer floating-icons bar is ~60 px tall on small screens;
   add padding so content isn't hidden beneath it.
   --------------------------------------------------------- */
@media only screen and (max-width: 786px) {
    body {
        padding-bottom: 70px;
    }
}

/* Item 48: reCAPTCHA TOS notice (required when badge is hidden)
   --------------------------------------------------------- */
.sadan-recaptcha-notice {
    font-size: 11px;
    color: #777;
    margin: 8px 0 0;
    line-height: 1.5;
    text-align: center;
}
.sadan-recaptcha-notice a {
    color: #233f5a;
    text-decoration: underline;
}

/* Item 44: Empty state component
   Used in related projects, search, dashboard
   --------------------------------------------------------- */
.sadan-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    width: 100%;
}
.sadan-empty-state__icon {
    font-size: 52px;
    margin-bottom: 14px;
    opacity: .35;
    line-height: 1;
}
.sadan-empty-state__title {
    font-size: 18px;
    font-weight: 700;
    color: #555;
    margin: 0 0 8px;
}
.sadan-empty-state__sub {
    font-size: 14px;
    color: #888;
    margin: 0 0 20px;
}
.sadan-empty-state__action {
    display: inline-block;
    padding: 10px 24px;
    background: #233f5a;
    color: #fff;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s;
}
.sadan-empty-state__action:hover {
    background: #1a2e42;
    color: #fff;
}
   --------------------------------------------------------- */
.sadan-validation-summary {
    background: #fff3f3;
    border: 1px solid #f5c2c2;
    border-radius: 6px;
    padding: 12px 16px;
    margin-bottom: 16px;
    position: relative;
    font-size: 14px;
    color: #b91c1c;
}
.sadan-validation-summary__heading {
    font-weight: 700;
    margin: 0 0 6px;
}
.sadan-validation-summary__list {
    margin: 0;
    padding-inline-start: 20px;
}
.sadan-validation-summary__list li {
    margin-bottom: 3px;
}
.sadan-validation-summary__close {
    position: absolute;
    top: 8px;
    inset-inline-end: 10px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #b91c1c;
    line-height: 1;
    padding: 0 4px;
}
