/* Site95 international format prefs bar — mobile-first */
.s95-format-host {
    max-width: 36rem;
    width: 100%;
    margin: 0 auto 0.85rem;
    min-width: 0;
    box-sizing: border-box;
}
.s95-format-host[hidden],
.s95-format-host-hidden {
    display: none !important;
    margin: 0;
}

.s95-format-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.55rem 0.75rem;
    margin: 0;
    padding: 0.65rem 0.75rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.s95-format-field {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
    flex: 1 1 8.5rem;
}

.s95-format-field-wide {
    flex: 1 1 16rem;
    max-width: 100%;
}

.s95-format-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.s95-format-select {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    font-size: 16px; /* prevent iOS zoom */
    min-height: 2.75rem;
    padding: 0.55rem 0.65rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
    background: #fff;
    color: #0f172a;
    -webkit-appearance: none;
    appearance: none;
}

.s95-format-select:focus {
    outline: 2px solid #94a3b8;
    outline-offset: 1px;
}

.s95-format-hint {
    flex: 1 1 100%;
    margin: 0;
    font-size: 0.72rem;
    color: #94a3b8;
    line-height: 1.35;
}

/* Phones: currency full-width, compact padding */
@media (max-width: 520px) {
    .s95-format-bar {
        padding: 0.55rem 0.65rem;
        gap: 0.45rem;
        border-radius: 0.65rem;
    }
    .s95-format-field,
    .s95-format-field-wide {
        flex: 1 1 100%;
        max-width: 100%;
    }
    .s95-format-hint {
        font-size: 0.68rem;
        line-height: 1.3;
    }
}

@media (max-width: 360px) {
    .s95-format-bar {
        padding: 0.5rem 0.55rem;
    }
    .s95-format-select {
        padding: 0.5rem 0.55rem;
    }
}
