
/* Support page */
.bb-legal-header {
    text-align: center;
}

.bb-support-intro {
    margin: 16px auto 0;
}

.bb-support-intro {
    max-width: 680px;
    margin-top: 16px;
    white-space: nowrap;
    color: #657184;
    font-size: 16px;
    line-height: 1.7;
}

.bb-support-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.8fr);
    gap: 35px;
    align-items: start;
}

.bb-support-heading {
    margin-bottom: 22px;
    color: var(--bb-navy);
    font-family: var(--bb-font-heading);
    font-size: 24px;
    font-weight: 800;
}

/* Frequently asked questions */

.bb-support-faq {
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid #e5eaf0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(20, 37, 61, 0.045);
}

.bb-support-faq summary {
    position: relative;
    padding: 19px 50px 19px 21px;
    color: var(--bb-navy);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.bb-support-faq summary::-webkit-details-marker {
    display: none;
}

.bb-support-faq summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 21px;
    color: #348fc4;
    font-size: 23px;
    transform: translateY(-50%);
}

.bb-support-faq[open] summary::after {
    content: "−";
}

.bb-support-answer {
    padding: 0 21px 20px;
    color: #5e6979;
    font-size: 14px;
    line-height: 1.8;
}

.bb-support-answer p {
    margin: 0 0 13px;
}

.bb-support-answer p:last-child {
    margin-bottom: 0;
}

.bb-support-answer ul {
    margin: 10px 0 16px;
    padding-left: 22px;
}

.bb-support-answer li {
    margin-bottom: 7px;
}

.bb-support-answer a {
    color: #247eb7;
    font-weight: 700;
}

/* Contact details card */

.bb-support-contact-card {
    position: sticky;
    top: 25px;
    padding: 32px;
    border-radius: 16px;
    background: var(--bb-navy);
    color: #fff;
    box-shadow: 0 16px 35px rgba(15, 31, 52, 0.2);
}

.bb-support-label {
    display: inline-block;
    margin-bottom: 15px;
    color: #348fc4;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.bb-support-contact-card h2 {
    margin: 0 0 14px;
    color: #fff;
    font-family: var(--bb-font-heading);
    font-size: 27px;
    font-weight: 800;
}

.bb-support-contact-card > p {
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    line-height: 1.8;
}

.bb-support-contact-item {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-top: 21px;
    padding-top: 19px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.bb-support-contact-item span {
    color: rgba(255, 255, 255, 0.58);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bb-support-contact-item a {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.bb-support-contact-item a:hover {
    color: #80c9f2;
}

/* Contact form */

.bb-support-form-section {
    max-width: 900px;
    margin: 75px auto 0;
    scroll-margin-top: 35px;
}

.bb-support-form-heading {
    margin-bottom: 27px;
}

.bb-support-form-heading h2 {
    margin: 0 0 10px;
    color: var(--bb-navy);
    font-family: var(--bb-font-heading);
    font-size: clamp(27px, 4vw, 34px);
    font-weight: 800;
}

.bb-support-form-heading p {
    color: #657184;
    font-size: 15px;
    line-height: 1.7;
}

.bb-support-form {
    display: flex;
    flex-direction: column;
    gap: 23px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    background: var(--bb-navy);
    color: #fff;
    box-shadow: 0 20px 45px rgba(17, 35, 58, 0.25);
}

.bb-support-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.bb-support-field {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 9px;
}

.bb-support-field label {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.bb-support-field input,
.bb-support-field select,
.bb-support-field textarea {
    display: block;
    width: 100%;
    min-width: 0;
    border: 1px solid #dce3eb;
    border-radius: 9px;
    outline: none;
    background: #fff;
    color: #17243b;
    font-family: var(--bb-font-body);
    font-size: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.bb-support-field input,
.bb-support-field select {
    min-height: 52px;
    padding: 0 15px;
}

.bb-support-field select {
    cursor: pointer;
}

.bb-support-field textarea {
    min-height: 230px;
    padding: 15px;
    line-height: 1.7;
    resize: vertical;
}

.bb-support-field input::placeholder,
.bb-support-field textarea::placeholder {
    color: #737e8c;
    opacity: 1;
}

.bb-support-field input:focus,
.bb-support-field select:focus,
.bb-support-field textarea:focus {
    border-color: #48a5df;
    box-shadow: 0 0 0 3px rgba(72, 165, 223, 0.2);
}

.bb-support-error {
    color: #ffb5b5;
    font-size: 12px;
    font-weight: 600;
}

.bb-support-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 7px;
}

.bb-support-form-footer p {
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    line-height: 1.6;
}

.bb-support-submit {
    min-width: 175px;
    min-height: 50px;
    padding: 0 25px;
    border: 1px solid #55b5ed;
    border-radius: 9px;
    background: #348fc4;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.bb-support-submit:hover {
    transform: translateY(-2px);
    background: #247eb7;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.bb-support-success {
    margin-bottom: 22px;
    padding: 15px 18px;
    border: 1px solid #b8e6ce;
    border-radius: 10px;
    background: #effaf4;
    color: #176b3b;
    font-size: 14px;
}

/* Responsive layout */

@media (max-width: 800px) {
    .bb-support-layout {
        grid-template-columns: 1fr;
    }

    .bb-support-contact-card {
        position: static;
    }

    .bb-support-form-section {
        margin-top: 55px;
    }
}

@media (max-width: 600px) {
    .bb-support-form {
        padding: 25px 19px;
        gap: 20px;
    }

    .bb-support-form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .bb-support-form-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .bb-support-submit {
        width: 100%;
    }

    .bb-support-contact-card {
        padding: 26px;
    }
}
