/* Waterford Chamber - English / Espanol switch */
.wc-lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    font-size: 0.85rem;
    line-height: 1.2;
    white-space: nowrap;
}
.wc-lang-toggle i { opacity: 0.85; }
.wc-lang-toggle a {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
    opacity: 0.8;
    padding: 2px 2px;
    border-bottom: 2px solid transparent;
}
.wc-lang-toggle a:hover,
.wc-lang-toggle a:focus { opacity: 1; border-bottom-color: currentColor; }
.wc-lang-toggle a.is-active { opacity: 1; border-bottom-color: currentColor; }
.wc-lang-toggle span { opacity: 0.5; }

.header-top .wc-lang-toggle { color: #fff; padding: 0; }
.header-top .wc-lang-toggle a { opacity: 0.9; }
.header-top .wc-lang-toggle a:hover { text-decoration: none; }

/* Pages without the site header */
.wc-lang-floating {
    position: fixed;
    top: 8px;
    right: 8px;
    z-index: 9999;
    background: #0b3c5d;
    color: #fff;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.wc-lang-floating .wc-lang-toggle { margin: 0; }

@media (max-width: 600px) {
    .header-top .wc-lang-toggle { padding: 2px 6px; font-size: 0.8rem; }
}

/* First-visit "Prefer Spanish?" bar (shown only to browsers set to Spanish) */
.wc-lang-prompt {
    background: #fff7dd;
    border-bottom: 1px solid #e8d9a0;
    color: #14303a;
    font-size: 0.95rem;
    line-height: 1.4;
}
.wc-lang-prompt__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 20px;
}
.wc-lang-prompt__text { margin: 0; text-align: center; }
.wc-lang-prompt__text span { display: block; font-size: 0.82rem; opacity: 0.75; }
.wc-lang-prompt__actions { display: flex; gap: 10px; align-items: center; }
.wc-lang-prompt__yes {
    background: var(--primary-color, #2f8fb0);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 999px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
}
.wc-lang-prompt__yes:hover, .wc-lang-prompt__yes:focus { filter: brightness(0.92); color: #fff; }
.wc-lang-prompt__no {
    color: #14303a;
    text-decoration: underline;
    padding: 8px 6px;
    font-size: 0.9rem;
}
