/**
 * Book a Service form (book-service.html).
 */
.bk-form {
    --bk-black: #111111;
    --bk-muted: #666666;
    --bk-line: #e3e3e3;
    --bk-green: #25d366;
    --bk-green-dark: #1ebe5b;
    --bk-cream: #f3b21d;
    --bk-red: #d93025;
    padding: 30px 24px;
    background: #ffffff;
    border: 1px solid #ececec;
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.07);
}

@media (min-width: 992px) {
    .bk-form {
        padding: 40px 40px 34px;
    }
}

.bk-form-head {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
}

.bk-form-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    color: #ffffff;
    background: var(--bk-green);
    border-radius: 16px;
}

.bk-form-title {
    margin: 0 0 6px;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--bk-black);
}

.bk-form-intro {
    margin: 0;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.55;
    color: var(--bk-muted);
}

.bk-grid {
    display: grid;
    gap: 0 18px;
}

@media (min-width: 576px) {
    .bk-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.bk-field {
    margin: 0 0 20px;
}

.bk-fieldset {
    min-width: 0;
    padding: 0;
    border: 0;
}

.bk-label {
    display: block;
    float: none;
    width: auto;
    margin: 0 0 8px;
    padding: 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--bk-black);
}

.bk-req {
    color: var(--bk-red);
}

.bk-optional {
    font-weight: 400;
    color: #8a8a8a;
}

.bk-input {
    display: block;
    width: 100%;
    min-height: 50px;
    padding: 12px 16px;
    font: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--bk-black);
    background: #fafafa;
    border: 1.5px solid var(--bk-line);
    border-radius: 14px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.bk-input::placeholder {
    color: #a3a3a3;
}

.bk-input:hover {
    border-color: #cfcfcf;
}

.bk-input:focus {
    background: #ffffff;
    border-color: var(--bk-black);
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.06);
}

.bk-textarea {
    min-height: 116px;
    resize: vertical;
}

.bk-textarea-sm {
    min-height: 50px;
}

/* Tap-to-select chips (radio buttons) */
.bk-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bk-chip {
    position: relative;
    display: inline-flex;
    margin: 0;
    cursor: pointer;
}

.bk-chip input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

/* The theme script adds a styled dummy span after every radio; not needed here. */
.bk-chip .radio-custom-dummy {
    display: none;
}

.bk-chip-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    color: #333333;
    background: #fafafa;
    border: 1.5px solid var(--bk-line);
    border-radius: 999px;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.bk-chip:hover .bk-chip-text {
    border-color: #bdbdbd;
}

.bk-chip input:checked ~ .bk-chip-text {
    color: #ffffff;
    background: var(--bk-black);
    border-color: var(--bk-black);
}

.bk-chip input:checked ~ .bk-chip-text::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--bk-cream);
}

.bk-chip input:focus-visible ~ .bk-chip-text {
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.12);
}

/* Errors */
.bk-error {
    margin: 6px 0 0;
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.35;
    color: var(--bk-red);
}

.bk-error:empty {
    display: none;
}

.bk-field.has-error .bk-input {
    border-color: var(--bk-red);
    background: #fffafa;
}

.bk-field.has-error .bk-input:focus {
    box-shadow: 0 0 0 4px rgba(217, 48, 37, 0.1);
}

.bk-field.has-error .bk-chip-text {
    border-color: #f0b4ae;
}

/* Submit */
.bk-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: 8px;
    padding: 16px 24px;
    font: inherit;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    background: var(--bk-green);
    border: 0;
    border-radius: 999px;
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.3);
    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.bk-submit:hover {
    background: var(--bk-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(37, 211, 102, 0.36);
}

.bk-submit:focus-visible {
    outline: 3px solid rgba(37, 211, 102, 0.45);
    outline-offset: 3px;
}

.bk-note {
    margin: 14px 0 0;
    font-size: 13.5px;
    line-height: 1.5;
    text-align: center;
    color: #808080;
}

.bk-note a,
.bk-success a {
    font-weight: 700;
    color: var(--bk-black);
    text-decoration: underline;
}

.bk-success {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 18px;
    padding: 16px 18px;
    font-size: 14.5px;
    line-height: 1.5;
    color: #14532d;
    background: #ecfdf3;
    border: 1px solid #b7ebc9;
    border-radius: 14px;
}

.bk-success[hidden] {
    display: none;
}

.bk-success strong {
    font-size: 15.5px;
    color: #0f3d22;
}
