/* Snug Network Artist Roster — mobile-first */

/* =============================================
   ROSTER PAGE
   ============================================= */

/* Main container */
.snug-roster-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* Header */
.snug-roster-wrap h2 {
    margin: 0 0 4px;
    font-size: 22px;
    font-weight: 700;
    color: #333;
}

.snug-roster-wrap p {
    margin: 0 0 20px;
    font-size: 14px;
    color: #666;
}

/* Filter bar */
.snug-roster-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 24px;
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.snug-roster-filters input,
.snug-roster-filters select {
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    background: #fff;
    color: #333;
    box-sizing: border-box;
}

.snug-roster-filters input:focus,
.snug-roster-filters select:focus {
    outline: none;
    border-color: #2E75B6;
    box-shadow: 0 0 0 2px rgba(46, 117, 182, 0.15);
}

#snug-roster-search {
    flex: 1;
    min-width: 200px;
}

/* Results count */
.snug-roster-count {
    color: #666;
    margin-bottom: 16px;
    font-size: 14px;
}

/* Card grid */
.snug-roster-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 480px) {
    .snug-roster-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .snug-roster-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .snug-roster-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Card */
.snug-roster-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.snug-roster-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.snug-roster-card-photo {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background: #e9ecef;
    display: block;
}

.snug-roster-card-placeholder {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2E75B6;
    color: #fff;
    font-size: 2.5em;
    font-weight: bold;
}

.snug-roster-card-body {
    padding: 16px;
}

.snug-roster-card-name {
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 4px;
    color: #333;
}

.snug-roster-card-name a {
    color: inherit;
    text-decoration: none;
}

.snug-roster-card-name a:hover {
    color: #2E75B6;
}

.snug-roster-card-location {
    font-size: 0.85em;
    color: #666;
    margin-bottom: 8px;
}

.snug-roster-card-genres {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 8px;
}

.snug-roster-genre-tag,
.snug-profile-genre-badge {
    display: inline-block;
    padding: 2px 8px;
    background: #e8f0fe;
    color: #2E75B6;
    border-radius: 12px;
    font-size: 0.75em;
}

.snug-roster-card-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.85em;
    color: #555;
    margin-bottom: 12px;
}

.snug-roster-card-ctas {
    display: flex;
    gap: 6px;
    margin-top: auto;
}

.snug-roster-card-cta {
    display: block;
    flex: 1;
    text-align: center;
    padding: 8px;
    background: #2E75B6;
    color: #fff !important;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.85em;
    transition: background 0.2s;
}

.snug-roster-card-cta:hover {
    background: #1a5a8c;
    color: #fff !important;
}

.snug-roster-card-cta--secondary {
    background: #f0f0f0;
    color: #333 !important;
}

.snug-roster-card-cta--secondary:hover {
    background: #e0e0e0;
    color: #333 !important;
}

/* Load more */
.snug-roster-load-more {
    text-align: center;
    margin-top: 32px;
}

.snug-roster-load-more button {
    padding: 12px 32px;
    background: #2E75B6;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    transition: background 0.2s;
}

.snug-roster-load-more button:hover {
    background: #1a5a8c;
}

/* Empty state */
.snug-roster-empty {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-style: italic;
}

/* Loading spinner */
.snug-roster-loading {
    text-align: center;
    padding: 40px;
    color: #666;
}


/* =============================================
   ARTIST PROFILE PAGE
   ============================================= */

.snug-profile-wrap {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    overflow-x: hidden;
}

.snug-profile-wrap img {
    max-width: 100%;
    height: auto;
}

/* Tables scroll on mobile */
.snug-profile-wrap .snug-dash-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 600px) {
    .snug-profile-wrap {
        padding: 12px;
    }

    .snug-profile-name {
        font-size: 1.4em;
    }

    .snug-profile-section-title {
        font-size: 1.1em;
    }
}
    box-sizing: border-box;
}

/* Back link */
.snug-profile-back {
    margin-bottom: 20px;
}

.snug-profile-back a {
    color: #2E75B6;
    text-decoration: none;
    font-size: 14px;
}

.snug-profile-back a:hover {
    text-decoration: underline;
}

/* Hero section */
.snug-profile-hero {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
}

@media (max-width: 600px) {
    .snug-profile-hero {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

.snug-profile-photo,
.snug-profile-hero-photo {
    width: 200px;
    height: 200px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    max-width: 100%;
}

.snug-profile-hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.snug-profile-photo-placeholder {
    width: 200px;
    height: 200px;
    border-radius: 12px;
    background: #2E75B6;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4em;
    font-weight: bold;
    flex-shrink: 0;
    max-width: 100%;
}

@media (max-width: 600px) {
    .snug-profile-photo,
    .snug-profile-hero-photo,
    .snug-profile-photo-placeholder {
        width: 150px;
        height: 150px;
        font-size: 3em;
    }
}

.snug-profile-info,
.snug-profile-hero-info {
    flex: 1;
}

.snug-profile-info h1,
.snug-profile-name {
    margin: 0 0 4px;
    font-size: 1.8em;
    color: #333;
}

.snug-profile-location {
    color: #666;
    margin-bottom: 12px;
    font-size: 14px;
}

.snug-profile-genres {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.snug-profile-genres .snug-roster-genre-tag {
    font-size: 0.85em;
}

/* Stats — mirrors snug-dash-stats */
.snug-profile-stats,
.snug-profile-stats-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

@media (min-width: 480px) {
    .snug-profile-stats,
    .snug-profile-stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .snug-profile-stats,
    .snug-profile-stats-row {
        grid-template-columns: repeat(4, 1fr);
    }
}

.snug-profile-stats .snug-stat-card,
.snug-profile-stat-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 16px;
    text-align: center;
}

.snug-profile-stats .snug-stat-value,
.snug-profile-stat-value {
    font-size: 1.6em;
    font-weight: 700;
    color: #2E75B6;
    display: block;
}

.snug-profile-stats .snug-stat-label,
.snug-profile-stat-label {
    font-size: 0.85em;
    color: #666;
    margin-top: 4px;
    display: block;
}

/* Profile sections */
.snug-profile-section {
    margin-top: 32px;
}

.snug-profile-section h2,
.snug-profile-section-title {
    font-size: 1.3em;
    border-bottom: 2px solid #2E75B6;
    padding-bottom: 8px;
    margin-bottom: 16px;
    color: #333;
}

/* Details grid (dl) */
.snug-profile-details,
.snug-profile-details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 600px) {
    .snug-profile-details,
    .snug-profile-details-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.snug-profile-details dt,
.snug-profile-detail-label {
    font-weight: bold;
    color: #555;
    font-size: 0.9em;
}

.snug-profile-details dd,
.snug-profile-detail-value {
    margin: 0 0 16px;
    color: #333;
}

/* Socials */
.snug-profile-socials,
.snug-profile-social-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.snug-profile-socials a,
.snug-profile-social-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #2E75B6;
    text-decoration: none;
    font-size: 14px;
}

.snug-profile-socials a:hover,
.snug-profile-social-link:hover {
    text-decoration: underline;
}

/* Gallery */
.snug-profile-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
}

.snug-profile-gallery img {
    width: 100%;
    max-width: 100%;
    border-radius: 8px;
    aspect-ratio: 1;
    object-fit: cover;
}

/* CTA */
.snug-profile-cta {
    margin-top: 40px;
    text-align: center;
}

.snug-profile-book-btn,
.snug-profile-cta-button {
    display: inline-block;
    padding: 14px 40px;
    background: #2E75B6;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s;
}

.snug-profile-book-btn:hover,
.snug-profile-cta-button:hover {
    background: #1a5a8c;
}

/* Show list (upcoming / past shows) */
.snug-profile-show-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.snug-profile-show-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

.snug-profile-show-item:last-child {
    border-bottom: none;
}

.snug-profile-show-date {
    min-width: 100px;
    font-weight: 600;
    color: #2E75B6;
    flex-shrink: 0;
}

.snug-profile-show-venue {
    flex: 1;
}

.snug-profile-show-venue a {
    color: #333;
    text-decoration: none;
}

.snug-profile-show-venue a:hover {
    color: #2E75B6;
    text-decoration: underline;
}

/* BEM alias: detail item (grid child) */
.snug-profile-detail-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* BEM alias: status badge */
.snug-profile-status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: #28a745;
}
