
.bfm-tp-wrap {
    max-width: 1120px;
    margin: 30px auto;
    padding: 0 16px;
    font-family: inherit;
}

.bfm-tp-card {
    background: #ffffff;
    border-radius: 26px;
    box-shadow: 0 18px 45px rgba(10, 37, 64, 0.14);
    padding: 28px;
    border: 1px solid rgba(11, 94, 215, 0.08);
}

.bfm-tp-header {
    text-align: center;
    margin-bottom: 24px;
}

.bfm-tp-eyebrow {
    display: inline-block;
    color: #0B5ED7;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: 13px;
    margin-bottom: 8px;
}

.bfm-tp-header h2 {
    margin: 0 0 8px;
    font-size: clamp(30px, 4vw, 48px);
    color: #0A2540;
}

.bfm-tp-header p {
    margin: 0 auto;
    max-width: 720px;
    color: #5b6777;
    font-size: 17px;
}

.bfm-tp-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.bfm-tp-form label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-weight: 700;
    color: #0A2540;
    font-size: 14px;
}

.bfm-tp-form input,
.bfm-tp-form select,
.bfm-tp-form textarea {
    width: 100%;
    border: 1px solid #d8e0ea;
    border-radius: 14px;
    padding: 14px 15px;
    font-size: 15px;
    background: #f8fafc;
    color: #0A2540;
    box-sizing: border-box;
}

.bfm-tp-form textarea {
    min-height: 110px;
    resize: vertical;
}

.bfm-tp-full {
    margin-top: 16px;
}

.bfm-tp-button {
    margin-top: 22px;
    width: 100%;
    border: 0;
    border-radius: 16px;
    padding: 17px 22px;
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    background: #0B5ED7;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease;
}

.bfm-tp-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(11, 94, 215, .28);
}

.bfm-tp-loading {
    text-align: center;
    padding: 30px;
    color: #0A2540;
    font-weight: 700;
}

.bfm-tp-spinner {
    width: 42px;
    height: 42px;
    border: 4px solid #d8e0ea;
    border-top-color: #0B5ED7;
    border-radius: 50%;
    margin: 0 auto 12px;
    animation: bfmspin .9s linear infinite;
}

@keyframes bfmspin {
    to { transform: rotate(360deg); }
}

.bfm-tp-result {
    margin-top: 26px;
}

.bfm-tp-result h2,
.bfm-tp-result h3 {
    color: #0A2540;
}

.bfm-tp-result h2 {
    border-bottom: 3px solid #D9B431;
    padding-bottom: 10px;
}

.bfm-tp-result ul {
    padding-left: 22px;
}

.bfm-tp-result > div,
.bfm-tp-result section,
.bfm-tp-result .card {
    background: #f8fafc;
    border: 1px solid #e5ecf5;
    border-radius: 18px;
    padding: 18px;
    margin: 14px 0;
}

.bfm-tp-booking-buttons {
    margin-top: 24px;
    background: #0A2540 !important;
    color: #fff;
    border-radius: 20px;
    padding: 22px;
}

.bfm-tp-booking-buttons h3,
.bfm-tp-booking-buttons p {
    color: #fff;
}

.bfm-tp-book-btn {
    display: inline-block;
    margin: 8px 8px 0 0;
    background: #D9B431;
    color: #0A2540 !important;
    padding: 13px 18px;
    border-radius: 999px;
    text-decoration: none !important;
    font-weight: 800;
}

.bfm-tp-disclaimer {
    margin-top: 20px;
    font-size: 13px;
    color: #5b6777;
    background: #fff8df;
    border: 1px solid #f2df91;
    border-radius: 14px;
    padding: 14px;
}

.bfm-tp-error {
    margin-top: 18px;
    background: #fff0f0;
    border: 1px solid #ffb4b4;
    color: #8a1f1f;
    border-radius: 14px;
    padding: 14px;
    font-weight: 700;
}

@media (max-width: 900px) {
    .bfm-tp-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .bfm-tp-card {
        padding: 18px;
        border-radius: 20px;
    }

    .bfm-tp-grid {
        grid-template-columns: 1fr;
    }
}
