.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-lookup__athlete-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.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;
}

@media (max-width: 600px) {
    .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;
    }
}
