.bltcad-lookup {
    margin: 0 0 24px;
    padding: 24px;
    border: 1px solid #e1e5ec;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(10, 31, 68, 0.06);
}

.bltcad-lookup h2 {
    margin: 0 0 12px;
    color: #0b56b3;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.15;
}

.bltcad-lookup__prompt {
    margin: 0 0 16px;
    color: #16191f;
    font-size: 17px;
    font-weight: 600;
}

.bltcad-lookup__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(150px, 0.42fr);
    gap: 12px;
    align-items: stretch;
}

.bltcad-lookup__row input {
    min-width: 0;
    min-height: 52px;
    margin: 0 !important;
    padding: 11px 15px !important;
    border: 1px solid #cbd2dc !important;
    border-radius: 6px !important;
    background: #fff !important;
    color: #16191f !important;
    font-size: 16px !important;
    box-shadow: none !important;
}

.bltcad-lookup__row input:focus {
    border-color: #0b56b3 !important;
    outline: 2px solid rgba(11, 86, 179, 0.18) !important;
    outline-offset: 1px;
}

.bltcad-button {
    min-height: 52px;
    padding: 10px 18px;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    transition: filter 150ms ease, transform 150ms ease;
}

.bltcad-button:hover {
    filter: brightness(0.94);
}

.bltcad-button:focus-visible {
    outline: 3px solid rgba(11, 86, 179, 0.3);
    outline-offset: 2px;
}

.bltcad-button:active {
    transform: translateY(1px);
}

.bltcad-button:disabled {
    cursor: wait;
    filter: grayscale(0.25);
    opacity: 0.72;
}

.bltcad-button--primary {
    background: #0b56e8;
    color: #fff;
}

.bltcad-button--secondary {
    display: block;
    width: auto;
    min-height: 44px;
    margin: 14px 0 0;
    padding: 9px 15px;
    background: #74777c;
    color: #fff;
    font-size: 15px;
}

.bltcad-button[hidden],
.bltcad-lookup__verify[hidden],
.bltcad-lookup__athletes[hidden] {
    display: none !important;
}

.bltcad-lookup__verify {
    margin-top: 12px;
}

.bltcad-lookup__diagnostic {
    margin-top: 10px;
    padding: 8px 10px;
    border: 1px dashed #7b8794;
    color: #4b5563;
    background: #f8fafc;
    font: 600 12px/1.4 monospace;
    overflow-wrap: anywhere;
}

.bltcad-lookup__status {
    min-height: 0;
    margin-top: 10px;
    color: #4f5661;
    font-size: 14px;
    font-weight: 600;
}

.bltcad-lookup__status:empty {
    display: none;
}

.bltcad-lookup__status.is-success {
    color: #087f23;
}

.bltcad-lookup__status.is-error {
    color: #b42318;
}

.bltcad-lookup__status.is-no-match {
    display: flex;
    align-items: baseline;
    gap: 7px;
    color: #0b56e8;
}

.bltcad-lookup__status.is-no-match::before {
    content: "➜";
    flex: 0 0 auto;
    font-size: 1.15em;
    font-weight: 800;
    line-height: 1;
}

.bltcad-lookup__athletes {
    margin-top: 14px;
}

.bltcad-lookup__athlete-heading {
    margin: 0 0 8px;
    font-weight: 700;
}

.bltcad-physical-acknowledgment {
    margin: 24px 0;
    padding: 18px 20px;
    border: 1px solid #d8e1ec;
    border-left: 4px solid #165be8;
    border-radius: 6px;
    background: #f8fbff;
}

.bltcad-physical-acknowledgment .ff-el-form-check-label {
    color: #20242b;
    font-weight: 600;
    line-height: 1.45;
}

.bltcad-physical-acknowledgment__help {
    margin: 10px 0 0 26px;
    color: #596273;
    font-size: 0.95em;
    line-height: 1.45;
}

.bltcad-age-certification {
    box-sizing: border-box;
    width: 100%;
    margin: 20px 0 26px;
    padding: 16px 18px;
    border: 1px solid #d8e1ec;
    border-left: 4px solid #165be8;
    border-radius: 6px;
    background: #f8fbff;
}

.bltcad-age-certification .ff-el-form-check {
    display: grid !important;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    margin: 0 !important;
}

.bltcad-age-certification .ff-el-form-check-input {
    width: 18px !important;
    min-width: 18px !important;
    height: 18px !important;
    margin: 2px 0 0 !important;
    padding: 0 !important;
}

.bltcad-age-certification .ff-el-form-check-label {
    display: block;
    color: #20242b;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;
}

.bltcad-age-certification .bltcad-physical-acknowledgment__help {
    margin: 10px 0 0 30px;
    max-width: 680px;
    color: #596273;
    font-size: 15px;
    line-height: 1.5;
}

.bltcad-lookup__athlete-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bltcad-duplicate-question-hidden {
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.bltcad-payment-plan {
    box-sizing: border-box;
    width: 100%;
    margin: 28px 0 24px !important;
    padding: 20px 22px !important;
    border: 1px solid #c9d9ef;
    border-left: 5px solid #165be8;
    border-radius: 7px;
    background: #f4f8ff;
    color: #20242b;
    line-height: 1.5;
}

.bltcad-payment-plan__title {
    margin-bottom: 12px;
    color: #0b56b3;
    font-size: 20px;
    font-weight: 800;
}

.bltcad-payment-plan p {
    margin: 10px 0;
}

.bltcad-payment-plan ol {
    margin: 12px 0 14px 24px;
    padding: 0;
}

.bltcad-payment-plan li {
    margin: 5px 0;
    padding-left: 4px;
    font-weight: 600;
}

.bltcad-payment-plan__total {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #b9cce5;
    font-size: 17px;
    font-weight: 800;
}

.bltcad-athlete {
    min-height: 42px;
    padding: 8px 14px;
    border: 1px solid #cbd2dc;
    border-radius: 6px;
    background: #fff;
    color: #20242b;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
}

.bltcad-athlete.is-selected {
    border-color: #0b56e8;
    background: #edf4ff;
    color: #0b56b3;
    box-shadow: inset 0 0 0 1px #0b56e8;
}

.bltcad-current-photo {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    margin: 20px 0;
    padding: 16px;
    border: 1px solid #b9cce5;
    border-left: 5px solid #0b56e8;
    border-radius: 8px;
    background: #f4f8ff;
}

.bltcad-current-photo img {
    width: 120px;
    height: 120px;
    border-radius: 7px;
    object-fit: cover;
}

.bltcad-current-photo p {
    margin: 6px 0 12px;
}

.bltcad-current-photo__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bltcad-current-photo__error {
    grid-column: 1 / -1;
    margin: 10px 0 0 !important;
    color: #b42318;
    font-weight: 700;
}

.bltcad-mobile-photo-note {
    display: none;
}

@media (max-width: 767px) {
    .bltcad-mobile-photo-note {
        display: block;
        margin: 12px 0 0;
        padding: 12px 14px;
        border-left: 4px solid #36d3fe;
        border-radius: 4px;
        background: #eefaff;
        color: #0a2446;
        font-size: 14px;
        line-height: 1.45;
    }
}

@media (max-width: 600px) {
    .bltcad-current-photo {
        grid-template-columns: 88px minmax(0, 1fr);
    }

    .bltcad-current-photo img {
        width: 88px;
        height: 88px;
    }
    .bltcad-lookup {
        padding: 18px;
    }

    .bltcad-lookup__row {
        grid-template-columns: minmax(0, 1fr) minmax(132px, 0.46fr);
        gap: 8px;
    }

    .bltcad-lookup__row input,
    .bltcad-button {
        min-height: 48px;
        font-size: 15px !important;
    }

    .bltcad-button {
        padding-right: 10px;
        padding-left: 10px;
    }
}

@media (max-width: 410px) {
    .bltcad-lookup__row {
        grid-template-columns: minmax(0, 1fr) 124px;
    }

    .bltcad-button--primary {
        font-size: 14px !important;
    }
}
