/* Benotable Forms — frontend styles */

.bnf-block {
    box-sizing: border-box;
    padding: 1.5rem;
}

/* Honeypot — must be hidden */
.bnf-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
}

/* Newsletter layout */
.bnf-newsletter__title {
    margin: 0 0 .5rem;
    font-size: 1.25em;
}
.bnf-newsletter__description {
    margin: 0 0 1rem;
    opacity: .85;
}
.bnf-newsletter__row {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}
.bnf-newsletter__row .bnf-field--email {
    flex: 1 1 200px;
}

/* Shared field styles */
.bnf-field {
    display: block;
    width: 100%;
    padding: .6rem .8rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    color: #333;
    box-sizing: border-box;
    transition: border-color .15s;
}
.bnf-field:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0,115,170,.15);
}
.bnf-field--textarea {
    resize: vertical;
    min-height: 120px;
}

/* Field wrappers */
.bnf-field-wrap {
    margin-bottom: 1rem;
}
.bnf-label {
    display: block;
    margin-bottom: .3rem;
    font-weight: 600;
    font-size: .9em;
}
.bnf-required {
    color: #d63638;
}

/* Button */
.bnf-btn {
    display: inline-block;
    padding: .6rem 1.4rem;
    font-size: 1rem;
    font-weight: 600;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity .15s;
    white-space: nowrap;
}
.bnf-btn:hover:not(:disabled) {
    opacity: .88;
}
.bnf-btn:disabled {
    opacity: .6;
    cursor: default;
}

/* Messages */
.bnf-msg {
    margin-top: .75rem;
    font-size: .95em;
}
.bnf-msg--error {
    color: #d63638;
}
.bnf-msg--success {
    color: #00a32a;
}
.bnf-success {
    font-size: 1.1em;
    color: #00a32a;
    font-weight: 600;
}

/* Contact form heading */
.bnf-contact__title {
    margin: 0 0 1rem;
    font-size: 1.25em;
}

/* Benotable branding badge */
.bnf-brand-badge {
    display: flex;
    align-items: center;
    gap: .3rem;
    margin-top: 1rem;
    padding-top: .6rem;
    border-top: 1px solid rgba(0,0,0,.07);
    font-size: .72em;
    color: #999;
    letter-spacing: .04em;
}
.bnf-brand-badge__mark {
    color: #1a1a2e;
    font-size: 1.1em;
    line-height: 1;
}
.bnf-brand-badge__text {
    font-weight: 700;
    text-transform: uppercase;
    color: #1a1a2e;
}
