.slimstop-courts__search {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.slimstop-courts__intro {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

.slimstop-courts__status {
    min-height: 1.2rem;
    font-size: 0.85rem;
    color: #555;
}

.slimstop-courts__status--loading {
    position: relative;
    padding-left: 1.5rem;
}

.slimstop-courts__status--loading::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 1rem;
    height: 1rem;
    margin-top: -0.5rem;
    border-radius: 50%;
    border: 2px solid rgba(187, 51, 85, 0.25);
    border-top-color: rgba(187, 51, 85, 0.9);
    animation: slimstop-courts-spin 0.8s linear infinite;
}

.slimstop-courts__results {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.slimstop-courts__result {
    background: #f7f7f7;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0.75rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    cursor: pointer;
}

.slimstop-courts__result:hover,
.slimstop-courts__result[aria-selected="true"] {
    border-color: #b35;
    box-shadow: 0 0 0 2px rgba(187,51,85,0.2);
}

.slimstop-courts__result-name {
    font-weight: 600;
}

.slimstop-courts__result-types,
.slimstop-courts__result-codes,
.slimstop-courts__result-address {
    font-size: 0.85rem;
    color: #555;
}

.slimstop-courts__more {
    font-size: 0.85rem;
    color: #666;
    padding: 0.25rem 0;
}


.slimstop-courts__detail {
    margin-top: 1.75rem;
    padding: 1.5rem;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.94), rgba(30, 41, 59, 0.82));
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.35);
    color: #e5ebf7;
}

.slimstop-courts__detail-title {
    margin: 0 0 1rem 0;
    font-size: 1.2rem;
    color: #f8fafc;
    letter-spacing: 0.01em;
}

.slimstop-courts__detail-meta {
    display: grid;
    grid-template-columns: minmax(140px, 30%) 1fr;
    gap: 0.75rem 1.25rem;
    margin: 0 0 1.5rem 0;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    background: rgba(30, 41, 59, 0.75);
    border: 1px solid rgba(59, 130, 246, 0.25);
}

.slimstop-courts__detail-meta dt {
    margin: 0;
    font-weight: 600;
    color: #bfdbfe;
    font-size: 0.8rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.slimstop-courts__detail-meta dd {
    margin: 0;
    color: #f1f5f9;
    font-size: 0.95rem;
}

.slimstop-courts__addresses {
    display: grid;
    gap: 1.1rem;
}

.slimstop-courts__address {
    background: rgba(17, 24, 39, 0.7);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    color: #e2e8f0;
    box-shadow: inset 0 1px 0 rgba(148, 163, 184, 0.05);
}

.slimstop-courts__address strong {
    display: block;
    color: #dbeafe;
    margin-bottom: 0.35rem;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

.slimstop-courts__address p {
    margin: 0.35rem 0 0;
    font-size: 0.95rem;
}

.slimstop-courts__address p:first-of-type {
    margin-top: 0;
}

.slimstop-courts__address-desc {
    font-size: 0.85rem;
    color: #cbd5f5;
}

.slimstop-courts__actions {
    margin-top: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.slimstop-courts__actions .slimstop-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.18);
    border: 1px solid rgba(96, 165, 250, 0.4);
    color: #e0f2ff;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.slimstop-courts__actions .slimstop-link:hover,
.slimstop-courts__actions .slimstop-link:focus-visible {
    background: #2563eb;
    border-color: #1d4ed8;
    color: #ffffff;
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.35);
    transform: translateY(-1px);
}

.slimstop-courts__actions .slimstop-link:focus-visible {
    outline: 3px solid rgba(191, 219, 254, 0.65);
    outline-offset: 2px;
}

.slimstop-courts__empty {
    padding: 0.75rem;
    border-radius: 6px;
    background: #f3f3f3;
    color: #555;
}

@keyframes slimstop-courts-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 640px) {
    .slimstop-courts__detail {
        padding: 1.25rem;
    }

    .slimstop-courts__detail-meta {
        grid-template-columns: 1fr;
        padding: 0.9rem 1rem;
    }

    .slimstop-courts__detail-meta dt {
        font-size: 0.75rem;
        letter-spacing: 0.04em;
    }

    .slimstop-courts__detail-meta dd {
        font-size: 0.95rem;
    }

    .slimstop-courts__actions {
        gap: 0.65rem;
    }

    .slimstop-courts__actions .slimstop-link {
        width: 100%;
    }
}
