/* Encomenda da loja: its own look, kept with the form (Bit Form > Settings >
   Custom Code > CSS), so nothing in the site's theme depends on it. The
   form sits in the shop's order dialog, a white sheet in both site modes,
   so the site's content colours keep their light values here too. Only Bit
   Form's general classes, no form number or field key: they hold wherever
   the form is imported, whatever number it gets there. Same fields and
   button as the Proposta de sócio. */
.bf-form-wrapper {
    --white:  #FFFFFF;   --white-rgb:  255, 255, 255;
    --light:  #F2F4F7;   --light-rgb:  242, 244, 247;
    --silver: #E4E7EC;   --silver-rgb: 228, 231, 236;
    --gray:   #66707E;   --gray-rgb:   102, 112, 126;
    --dark:   #39404B;   --dark-rgb:   57, 64, 75;
    --black:  #15181D;   --black-rgb:  21, 24, 29;
    --border: rgba(16, 24, 40, .12);
    --field:  #FFFFFF;

    background: #FFFFFF;
    color: #15181D;
}

/* Fields side by side keep 16px between them; on a phone each takes the
   whole width */
.bf-form-wrapper .bf-form {
    margin-inline: -8px;
}

.bf-form-wrapper .btcd-fld-itm {
    min-height: 0;
    padding-inline: 8px;
}

@media (max-width: 599px) {
    .bf-form-wrapper .bf-form {
        display: block;
    }
}

/* No side padding of its own: the fields line up with the titles around
   the form */
.bf-form-wrapper .bf-fld-wrp {
    padding: 10px 0;
}

.bf-form-wrapper .bf-lbl {
    font-size: 1rem;
    font-weight: 600;
}

.bf-form-wrapper .bf-fld {
    height: 48px;
    margin-bottom: 0;
    padding: 0 14px;
    border-radius: 8px;
    font-size: 1rem;
}

.bf-form-wrapper textarea.bf-fld {
    height: 96px;
    padding-top: 12px;
}

.bf-form-wrapper .bf-phone-field-container .bf-phone-field-wrapper {
    height: 48px;
    border-radius: 8px;
}

.bf-form-wrapper .bf-phone-field-wrapper .bf-phone-inner-wrapper,
.bf-form-wrapper .bf-phone-field-wrapper .bf-phone-number-input {
    height: 100%;
    min-height: 0;
}

/* The flag the box's full height, so it sits level with the number */
.bf-form-wrapper .bf-phone-field-wrapper .bf-dpd-wrapper {
    height: 100%;
    margin: 0;
    padding-block: 0;
}

.bf-form-wrapper .bf-hlp-txt {
    margin-top: 6px;
    padding: 0;
    color: #66707E;
    font-size: .875rem;
    font-style: normal;
}

/* Fazer encomenda: the site's button (the club red, 6px corners, small
   spaced capitals, 42px), the whole width of the dialog. Bit Form sets
   the corners, the text size and its own red with !important, so only
   these take !important here too. */
.bf-form-wrapper .bf-btn {
    width: 100%;
    min-height: 42px;
    padding: 0 20px;
    border-color: #E2001A !important;
    border-radius: 6px !important;
    background: #E2001A !important;
    color: #FFFFFF;
    font-size: .8125rem !important;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
