/* BIK Anhänger-Registrierung
   Deliberately plain. Inherits the Enfold theme's typography and colours
   rather than fighting them; only layout and the few bits the theme has no
   opinion about are set here. */

.bikreg {
    max-width: 640px;
}

.bikreg fieldset {
    border: 1px solid rgba(0, 0, 0, .12);
    padding: 1em 1.25em 1.25em;
    margin: 0 0 1.5em;
}

.bikreg legend {
    padding: 0 .5em;
    font-weight: 600;
}

.bikreg p {
    margin: 0 0 1em;
}

.bikreg label {
    display: block;
    margin-bottom: .3em;
}

.bikreg input[type="text"],
.bikreg input[type="tel"],
.bikreg input[type="email"],
.bikreg select,
.bikreg textarea {
    width: 100%;
    box-sizing: border-box;
}

/* Comments. Same face as every other field; the theme supplies the font. */
.bikreg textarea {
    resize: vertical;
}

/* Postcode and town side by side, stacking on small screens. */
.bikreg-two {
    display: flex;
    gap: 1em;
}

.bikreg-two > span {
    flex: 1 1 0;
    min-width: 0;
}

.bikreg-two > span:first-child {
    flex: 0 0 8em;
}

@media (max-width: 480px) {
    .bikreg-two {
        display: block;
    }
    .bikreg-two > span {
        display: block;
        margin-bottom: 1em;
    }
}

/* The promise made to the visitor. Visible, not buried in small print. */
.bikreg-reassurance {
    border-left: 3px solid var(--enfold-main-color-secondary, #ee7401);
    padding: .6em 0 .6em .9em;
    margin: 0 0 1.5em;
    font-size: .95em;
}

.bikreg-legal {
    margin: 0 0 1.5em;
}

.bikreg-purpose {
    font-size: .9em;
}

.bikreg-check label {
    display: flex;
    align-items: flex-start;
    gap: .6em;
    margin: 0;
    font-size: .9em;
    cursor: pointer;
}

.bikreg-check input[type="checkbox"] {
    margin-top: .25em;
    flex: 0 0 auto;
}

.bikreg-required-note {
    font-size: .85em;
    opacity: .75;
}

.bikreg-error {
    border-left: 3px solid #c0392b;
    padding: .6em 0 .6em .9em;
    margin: 0 0 1.5em;
}

.bikreg-thanks {
    margin-top: 0;
}

.bikreg-admin-notice {
    border-left: 3px solid #c0392b;
    padding: .6em 0 .6em .9em;
}

/* Submit button — the site's own orange.
   Values read from Enfold's generated stylesheet
   (wp-content/uploads/dynamic_avia/bik_ag.css):
     --enfold-main-color-secondary     #ee7401   background
     --enfold-main-color-button-border #cc5200   border and hover
     --enfold-main-color-button-font   #ffffff   text
   The variables are used first so the button follows the theme if the colour
   is ever changed; the measured hex values are the fallback. */
.bikreg-submit button {
    display: inline-block;
    background-color: var(--enfold-main-color-secondary, #ee7401);
    border: 1px solid var(--enfold-main-color-button-border, #cc5200);
    color: var(--enfold-main-color-button-font, #ffffff);
    font: inherit;
    font-weight: 600;
    line-height: 1.2;
    padding: 13px 34px;
    border-radius: 2px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color .15s ease-in-out;
}

.bikreg-submit button:hover,
.bikreg-submit button:focus {
    background-color: var(--enfold-main-color-button-border, #cc5200);
    color: var(--enfold-main-color-button-font, #ffffff);
}

/* Honeypot: off-screen rather than display:none, which some bots detect. */
.bikreg-hp {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* --------------------------------------------------------------------------
   The two service registration pages (1.3.0)

   Alain, 2026-09-23: "there hadd to be not just two sales pages but also two
   more registration pages". Only the two things the key tag form never needed:
   a small line of help under a field, and a box around each of the up-to-three
   people to call, so three sets of the same questions do not read as one long
   list.
   -------------------------------------------------------------------------- */

.bikreg-help {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.85em;
    line-height: 1.4;
    opacity: 0.75;
}

.bikreg-person {
    border-left: 3px solid rgba(0, 0, 0, 0.12);
    padding-left: 1rem;
    margin: 0 0 1.5rem;
}

.bikreg-person:last-child {
    margin-bottom: 0;
}

.bikreg-person h4 {
    margin: 0 0 0.5rem;
    font-size: 1em;
}
