/* Discovery-call booking widget (js/booking-widget.js) */
.bk-card {
    background: linear-gradient(160deg, rgba(22, 22, 27, 0.95), rgba(12, 12, 15, 0.95));
    border: 1px solid rgba(197, 160, 89, 0.28);
    border-radius: 18px;
    padding: 26px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    text-align: left;
    color: #ddd;
}

.bk-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.bk-title {
    font-size: 1.25rem;
    margin: 0 0 6px;
    color: #fff;
    letter-spacing: 0.5px;
}

.bk-muted {
    color: #9a9a9a;
    font-size: 0.9rem;
    margin: 0;
}

.bk-small {
    font-size: 0.8rem;
    text-align: center;
    margin-top: 10px;
}

.bk-muted i {
    color: var(--accent-gold, #c5a059);
    margin-right: 4px;
}

.bk-tz {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #9a9a9a;
    font-size: 0.85rem;
    max-width: 100%;
    min-width: 0;
}

.bk-card {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.bk-tz i {
    color: var(--accent-gold, #c5a059);
}

.bk-tz select {
    min-width: 0;
    width: 100%;
    background: #111;
    color: #ddd;
    border: 1px solid rgba(197, 160, 89, 0.25);
    border-radius: 8px;
    padding: 7px 10px;
    font-family: inherit;
    font-size: 0.85rem;
    max-width: 210px;
}

/* Day strip: scrolls sideways on phones */
.bk-days {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 2px 10px;
    margin: 0 -2px 8px;
    scrollbar-width: thin;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
}

.bk-day {
    flex: 0 0 auto;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 62px;
    padding: 10px 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: #bbb;
    cursor: pointer;
    font-family: inherit;
    transition: border-color 0.2s, background 0.2s;
}

.bk-day:hover {
    border-color: rgba(197, 160, 89, 0.5);
}

.bk-day.is-active {
    background: rgba(197, 160, 89, 0.15);
    border-color: var(--accent-gold, #c5a059);
    color: #fff;
}

.bk-day__wd,
.bk-day__mon {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bk-day__num {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.2;
}

.bk-times {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
    gap: 10px;
}

.bk-time {
    padding: 12px 6px;
    background: transparent;
    border: 1px solid rgba(197, 160, 89, 0.4);
    border-radius: 10px;
    color: var(--accent-gold, #c5a059);
    font-family: inherit;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.bk-time:hover,
.bk-time.is-active {
    background: var(--accent-gold, #c5a059);
    color: #0a0a0a;
}

.bk-chosen {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 14px 16px;
    margin-bottom: 18px;
    background: rgba(197, 160, 89, 0.08);
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 12px;
    color: #eee;
}

.bk-chosen i {
    color: var(--accent-gold, #c5a059);
}

.bk-link {
    background: none;
    border: none;
    color: var(--accent-gold, #c5a059);
    text-decoration: underline;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    padding: 6px 0;
}

.bk-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.bk-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.bk-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    border: none;
    padding: 0;
    margin: 0;
    min-width: 0;
}

.bk-field>span {
    font-size: 0.82rem;
    color: #aaa;
    letter-spacing: 0.3px;
}

.bk-field input,
.bk-field textarea {
    width: 100%;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 12px 14px;
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    /* 16px stops iOS from zooming into the field */
    transition: border-color 0.2s;
}

.bk-field input {
    min-height: 46px;
}

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

.bk-field input::placeholder,
.bk-field textarea::placeholder {
    color: #6b6b6b;
}

.bk-field input:focus,
.bk-field textarea:focus {
    outline: none;
    border-color: var(--accent-gold, #c5a059);
}

.bk-chips {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.bk-chip {
    display: block;
    position: relative;
}

.bk-chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.bk-chip>span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 6px 10px;
    box-sizing: border-box;
    text-align: center;
    line-height: 1.2;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: #ccc;
    font-size: 0.9rem;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.bk-chip>span:hover {
    border-color: rgba(197, 160, 89, 0.5);
}

.bk-chip input:checked+span {
    background: rgba(197, 160, 89, 0.15);
    border-color: var(--accent-gold, #c5a059);
    color: var(--accent-gold, #c5a059);
    font-weight: 600;
}

.bk-chip input:focus-visible+span {
    outline: 2px solid var(--accent-gold, #c5a059);
    outline-offset: 2px;
}

.bk-more {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding-top: 12px;
}

.bk-more summary {
    cursor: pointer;
    color: var(--accent-gold, #c5a059);
    font-size: 0.9rem;
    padding: 4px 0 10px;
    list-style: none;
}

.bk-more summary::-webkit-details-marker {
    display: none;
}

.bk-more summary::before {
    content: "+";
    display: inline-block;
    width: 18px;
    font-weight: 700;
}

.bk-more[open] summary::before {
    content: "−";
}

.bk-more[open] summary {
    margin-bottom: 4px;
}

/* spacing between stacked blocks only - a sibling selector on .bk-field also
   matched the second column of .bk-row and pushed it 14px down */
.bk-more>.bk-row+.bk-field,
.bk-more>.bk-field+.bk-field {
    margin-top: 14px;
}

.bk-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.bk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 22px;
    background: linear-gradient(135deg, var(--accent-gold, #c5a059), #b8934e);
    color: #0a0a0a;
    border: none;
    border-radius: 12px;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}

.bk-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(197, 160, 89, 0.3);
}

.bk-btn[disabled] {
    opacity: 0.6;
    cursor: wait;
    transform: none;
}

.bk-btn--ghost {
    background: transparent;
    color: var(--accent-gold, #c5a059);
    border: 1px solid rgba(197, 160, 89, 0.5);
}

.bk-error {
    color: #ff8a80;
    background: rgba(255, 82, 82, 0.08);
    border: 1px solid rgba(255, 82, 82, 0.3);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 0.9rem;
    margin: 12px 0 0;
}

.bk-state {
    text-align: center;
    padding: 30px 10px;
}

.bk-state p {
    margin: 0 0 10px;
}

.bk-state__icon {
    font-size: 2rem;
    color: var(--accent-gold, #c5a059);
    margin-bottom: 14px;
}

.bk-state .bk-btn {
    margin-top: 10px;
}

.bk-spinner {
    width: 34px;
    height: 34px;
    margin: 20px auto;
    border: 3px solid rgba(197, 160, 89, 0.2);
    border-top-color: var(--accent-gold, #c5a059);
    border-radius: 50%;
    animation: bk-spin 0.8s linear infinite;
}

@keyframes bk-spin {
    to {
        transform: rotate(360deg);
    }
}

.bk-done {
    text-align: center;
    padding: 10px 0;
}

.bk-done__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(76, 217, 100, 0.12);
    border: 1px solid rgba(76, 217, 100, 0.5);
    color: #4cd964;
    font-size: 1.6rem;
}

.bk-done__when {
    font-size: 1.15rem;
    color: #fff;
    margin: 4px 0 8px;
    font-weight: 600;
}

.bk-done__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

@media (max-width: 600px) {
    .bk-card {
        padding: 20px 16px;
        border-radius: 14px;
    }

    .bk-row {
        grid-template-columns: 1fr;
    }

    .bk-chips {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bk-head {
        flex-direction: column;
        gap: 10px;
    }

    .bk-tz select {
        max-width: 100%;
    }

    .bk-times {
        grid-template-columns: repeat(3, 1fr);
    }

    .bk-form .bk-btn,
    .bk-done__links .bk-btn {
        width: 100%;
    }
}
