.free-pass-search-enhanced {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: -3px 0 15px;
}

.free-pass-search-enhanced label {
    position: relative;
    display: flex;
    min-width: 0;
    flex: 1 1 420px;
    align-items: center;
}

.free-pass-search-enhanced label > span {
    position: absolute;
    left: 14px;
    z-index: 1;
    color: #ff004f;
    font-family: "Barlow Condensed", "Barlow", sans-serif;
    font-size: 25px;
    font-weight: 900;
    pointer-events: none;
}

.free-pass-search-enhanced input {
    width: 100%;
    min-height: 46px;
    padding: 10px 15px 10px 42px;
    border: 1px solid rgba(21, 19, 22, .12);
    border-radius: 9px;
    outline: 0;
    color: #171419;
    background: #f8f5f1;
    font-family: "Barlow", Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.free-pass-search-enhanced input:focus {
    border-color: rgba(255, 0, 79, .58);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255, 0, 79, .08);
}

.free-pass-search-count {
    flex: 0 0 auto;
    color: rgba(21, 19, 22, .46);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.free-pass-history-list > article[hidden] {
    display: none !important;
}

.free-pass-search-empty {
    display: grid;
    gap: 4px;
    margin-top: 8px;
    padding: 28px 18px;
    border: 1px dashed rgba(255, 0, 79, .25);
    border-radius: 11px;
    color: rgba(21, 19, 22, .54);
    background: rgba(255, 0, 79, .025);
    text-align: center;
    animation: free-pass-rise .2s ease both;
}

.free-pass-search-empty[hidden] {
    display: none;
}

.free-pass-search-empty strong {
    color: #171419;
    font-family: "Barlow Condensed", "Barlow", sans-serif;
    font-size: 22px;
    font-weight: 900;
    text-transform: uppercase;
}

.free-pass-search-empty span {
    font-size: 10px;
}

.free-pass-background-enhanced {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    margin-bottom: 14px;
    padding: 13px 14px;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 11px;
    background:
        linear-gradient(115deg, rgba(255, 0, 79, .09), transparent 55%),
        rgba(255, 255, 255, .045);
}

.free-pass-background-copy {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.free-pass-background-copy > span {
    color: #ff4f86;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .13em;
}

.free-pass-background-copy > strong {
    overflow: hidden;
    color: #fff;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.free-pass-background-status {
    color: rgba(255, 255, 255, .42);
    font-size: 8px;
    line-height: 1.35;
}

.free-pass-background-status.error {
    color: #ff7ba4;
}

.free-pass-background-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 7px;
}

.free-pass-background-buttons label,
.free-pass-background-buttons button {
    position: relative;
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .17);
    border-radius: 7px;
    color: #fff;
    background: rgba(255, 255, 255, .07);
    font-family: "Barlow", Arial, sans-serif;
    font-size: 8px;
    font-weight: 850;
    cursor: pointer;
    white-space: nowrap;
    transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

.free-pass-background-buttons label:hover,
.free-pass-background-buttons button:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 0, 79, .58);
    background: rgba(255, 0, 79, .16);
}

.free-pass-background-buttons input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.free-pass-background-enhanced.busy {
    opacity: .62;
    pointer-events: none;
}

@media (max-width: 680px) {
    .free-pass-search-enhanced,
    .free-pass-background-enhanced {
        grid-template-columns: 1fr;
    }

    .free-pass-search-enhanced {
        display: grid;
    }

    .free-pass-search-count {
        padding-left: 2px;
    }

    .free-pass-background-buttons {
        justify-content: stretch;
    }

    .free-pass-background-buttons label,
    .free-pass-background-buttons button {
        flex: 1 1 150px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .free-pass-search-enhanced input,
    .free-pass-background-buttons label,
    .free-pass-background-buttons button {
        transition: none;
    }
}
