/* SpeedyRC Clubs Widget */

.srcw {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #1a1a2e;
}

/* Search */
.srcw-search-wrap {
    position: relative;
    margin-bottom: 20px;
}
.srcw-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    pointer-events: none;
    font-size: 16px;
}
.srcw-search {
    width: 100%;
    padding: 11px 16px 11px 42px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 15px;
    color: #1a1a2e;
    background: #fff;
    box-sizing: border-box;
    transition: border-color 0.15s;
    outline: none;
}
.srcw-search:focus {
    border-color: #1a1a2e;
}

/* Sections */
.srcw-section {
    margin-bottom: 28px;
}
.srcw-section-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #999;
    margin: 0 0 10px 0;
}

/* My Clubs chips */
.srcw-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 34px;
}
.srcw-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px 6px 14px;
    background: #1a1a2e;
    color: #fff;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}
.srcw-chip-remove {
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    padding: 0;
    font-size: 18px;
    line-height: 1;
    display: flex;
    align-items: center;
}
.srcw-chip-remove:hover {
    color: #fff;
}
.srcw-empty {
    font-size: 14px;
    color: #bbb;
    font-style: italic;
    line-height: 34px;
}

/* State filter chips */
.srcw-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 24px;
}
.srcw-filter-chip {
    padding: 6px 16px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    background: #fff;
    color: #555;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.srcw-filter-chip:hover {
    border-color: #999;
    color: #1a1a2e;
}
.srcw-filter-chip--active {
    background: #1a1a2e;
    color: #fff;
    border-color: #1a1a2e;
}

/* Club list */
.srcw-club-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.srcw-club-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border: 1px solid #eee;
    border-radius: 10px;
    background: #fff;
    transition: box-shadow 0.15s;
}
.srcw-club-card:hover {
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
}
.srcw-club-logo {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}
.srcw-club-logo-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.5px;
}
.srcw-club-info {
    flex: 1;
    min-width: 0;
}
.srcw-club-name {
    font-weight: 600;
    font-size: 15px;
    margin: 0 0 2px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.srcw-club-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #888;
    margin-bottom: 4px;
}
.srcw-rcra-badge {
    font-size: 11px;
    background: #fef9c3;
    color: #854d0e;
    border-radius: 4px;
    padding: 1px 6px;
    font-weight: 600;
}
.srcw-class-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}
.srcw-class-tag {
    font-size: 11px;
    background: #eff6ff;
    color: #1d4ed8;
    border-radius: 4px;
    padding: 2px 7px;
}
.srcw-follow-btn {
    flex-shrink: 0;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    white-space: nowrap;
}
.srcw-follow-btn--follow {
    background: #1a1a2e;
    color: #fff;
    border-color: #1a1a2e;
}
.srcw-follow-btn--follow:hover {
    background: #2d2d4a;
}
.srcw-follow-btn--following {
    background: #fff;
    color: #1a1a2e;
    border-color: #1a1a2e;
}
.srcw-follow-btn--following:hover {
    background: #fef2f2;
    border-color: #dc2626;
    color: #dc2626;
}
.srcw-follow-btn--guest {
    background: #f8f8f8;
    color: #aaa;
    border-color: #ddd;
}
.srcw-follow-btn--guest:hover {
    background: #f0f0f0;
    color: #888;
    border-color: #ccc;
}

/* Product placeholder */
.srcw-placeholder {
    border: 2px dashed #e5e7eb;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    margin-top: 12px;
}
.srcw-placeholder h3 {
    margin: 0 0 6px 0;
    font-size: 16px;
    color: #888;
}
.srcw-placeholder p {
    margin: 0;
    font-size: 14px;
    color: #bbb;
}

/* States */
.srcw-loading {
    padding: 48px;
    text-align: center;
    color: #aaa;
    font-size: 15px;
}
.srcw-error-msg {
    padding: 12px 16px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    color: #991b1b;
    font-size: 14px;
    margin-bottom: 16px;
}
.srcw-no-results {
    padding: 20px;
    text-align: center;
    color: #bbb;
    font-size: 14px;
}
.srcw-contact-note {
    margin: 16px 0 0 0;
    text-align: center;
    font-size: 13px;
    color: #aaa;
}
.srcw-contact-note a {
    color: #1a1a2e;
    text-decoration: underline;
}
