/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

/* Social network buttons */
#social-links li{
    list-style: none;
    background: #e2e2e2;
    margin-left: 5px;
    text-align: center;
    border-radius:5px;
}
#social-links li span{
    font-size: 18px;
}
#social-links ul li{
    display: inline-block;
    padding: 10px 10px 5px;
}

#qrcode svg {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Load Alpine modules */
[x-cloak] {
    display: none;
}

/* Skip link for accessibility */
.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;
}

.sr-only:focus {
    position: fixed;
    width: auto;
    height: auto;
    padding: 0.5rem 1rem;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    background-color: #fff;
    color: #111;
    text-decoration: underline;
    z-index: 9999;
    border: 2px solid #000;
}

/* Focus indicators for better keyboard navigation */
*:focus {
    outline: 2px solid #ec4899;
    outline-offset: 2px;
}

button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #ec4899;
    outline-offset: 2px;
}

/* Donation / embed: tighter spacing between form, secure line, and footer on desktop */
.donation-page .secure-block {
    margin-top: 0;
}
.donation-page footer[role="contentinfo"] {
    padding-top: 1.5rem;
}
.embed-page .secure-block {
    margin-top: 0;
    margin-bottom: 0;
}

/* Form card: glass + shadow on both donation page and embed */
.embed-page .donation-form-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

/* Footer links: horizontal scroll on non-English (longer labels) */
.footer-links-scroll {
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}
.footer-links-scroll::-webkit-scrollbar {
    display: none;
}
