/* ── Yard House Locations Plugin ── */
.yhl-wrap {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    color: #222;
}

/* Controls */
.yhl-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

#yhl-search {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    width: 240px;
    max-width: 100%;
}

#yhl-search:focus {
    outline: none;
    border-color: #b5121b;
    box-shadow: 0 0 0 2px rgba(181,18,27,0.15);
}

#yhl-state {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    background: #fff;
    cursor: pointer;
}

#yhl-state:focus {
    outline: none;
    border-color: #b5121b;
}

#yhl-count {
    margin-left: auto;
    font-size: 13px;
    color: #666;
    font-style: italic;
}

/* Table wrapper */
.yhl-table-wrap {
    overflow-x: auto;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}

/* Table */
.yhl-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
}

.yhl-table thead th {
    background: #b5121b;
    color: #fff;
    padding: 11px 12px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
    position: sticky;
    top: 0;
}

.yhl-table tbody tr {
    border-bottom: 1px solid #eee;
    transition: background 0.15s;
}

.yhl-table tbody tr:last-child {
    border-bottom: none;
}

.yhl-table tbody tr:hover {
    background: #fff5f5;
}

.yhl-table tbody td {
    padding: 10px 12px;
    vertical-align: top;
    line-height: 1.45;
}

.yhl-table tbody td:first-child {
    color: #999;
    font-size: 12px;
    white-space: nowrap;
}

.yhl-table tbody td a {
    color: #b5121b;
    text-decoration: none;
}

.yhl-table tbody td a:hover {
    text-decoration: underline;
}

/* Happy hour columns */
.yhl-hh  { color: #2a7a2a; font-weight: 500; }
.yhl-lnhh { color: #1a4a8a; font-size: 12px; }

/* Coming soon row */
.yhl-coming-soon td {
    color: #888;
    font-style: italic;
}

.yhl-badge {
    display: inline-block;
    background: #f0a500;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 3px;
    margin-left: 5px;
    vertical-align: middle;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* No results */
#yhl-no-results {
    text-align: center;
    color: #888;
    padding: 24px;
    font-style: italic;
}

/* Mobile */
@media (max-width: 600px) {
    .yhl-controls {
        flex-direction: column;
        align-items: stretch;
    }
    #yhl-search,
    #yhl-state {
        width: 100%;
    }
    #yhl-count {
        margin-left: 0;
    }
}
