/* =============================================================
   performer-styles.css
   Styles for new_troubadours_performers.html
   Depends on shared-styles.css being loaded first.
   ============================================================= */

/* =============================================================
   1. PAGE HEADER / NAV
   ============================================================= */

.page-header {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    margin-bottom: 20px;
}

.back-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9em;
}

.back-link:hover {
    background-color: #45a049;
}


/* =============================================================
   2. LOADING / NOT FOUND STATES
   ============================================================= */

.loading-state,
.not-found-state {
    text-align: center;
    padding: 40px 20px;
    color: #777;
    font-style: italic;
}

.not-found-state a {
    color: #2e7d32;
}


/* =============================================================
   3. PERFORMER HERO
   ============================================================= */

.performer-hero {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.performer-hero-main {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.performer-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #e8f5e9;
    border: 2px solid #a5d6a7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: #2e7d32;
    flex-shrink: 0;
}

.performer-hero-text h1 {
    text-align: left;
    margin: 0 0 6px 0;
    font-size: 26px;
    color: #333;
}

.performer-website a {
    color: #185FA5;
    font-size: 14px;
    text-decoration: none;
}

.performer-website a:hover {
    text-decoration: underline;
}

.performer-bio {
    font-size: 14px;
    line-height: 1.7;
    color: #444;
    border-top: 1px solid #eee;
    padding-top: 16px;
}

.performer-bio p {
    margin: 0 0 10px 0;
}

.performer-bio p:last-child {
    margin-bottom: 0;
}


/* =============================================================
   4. STATS ROW
   ============================================================= */

.stats-row {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.stat-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 16px 20px;
    flex: 1;
    min-width: 100px;
    text-align: center;
}

.stat-n {
    font-size: 28px;
    font-weight: bold;
    color: #2e7d32;
}

.stat-l {
    font-size: 12px;
    color: #777;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}


/* =============================================================
   5. CONTENT SECTIONS
   ============================================================= */

.content-section {
    background: white;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.section-heading {
    margin: 0 0 16px 0;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    text-align: left;
    font-style: normal;
}


/* =============================================================
   6. TOUR CARDS
   ============================================================= */

.tour-card {
    border: 1px solid #e0e0e0;
    border-left: 4px solid #4CAF50;
    border-radius: 4px;
    padding: 16px;
    margin-bottom: 12px;
    background: #fafafa;
}

.tour-card:last-child {
    margin-bottom: 0;
}

.tour-card-music {
    border-left-color: #1006c6;
    background: #f5f6ff;
}

.tour-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.tour-card-name {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    flex: 1;
}

.tour-card-music .tour-card-name {
    color: #1006c6;
}

.tour-remaining-badge {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
    border-radius: 20px;
    padding: 2px 10px;
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
}

.tour-card-music .tour-remaining-badge {
    background: #e8eaf6;
    color: #1a237e;
    border-color: #9fa8da;
}

.tour-completed-badge {
    background: #f5f5f5;
    color: #888;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 2px 10px;
    font-size: 12px;
    white-space: nowrap;
}

.tour-card-desc {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 8px;
}

.tour-card-meta {
    font-size: 12px;
    color: #888;
    margin-bottom: 8px;
    font-style: italic;
}

.tour-date-pips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.date-pip {
    font-size: 12px;
    background: #e8f5e9;
    color: #2e7d32;
    padding: 3px 9px;
    border-radius: 20px;
    border: 1px solid #c8e6c9;
}

.tour-card-music .date-pip {
    background: #e8eaf6;
    color: #3949ab;
    border-color: #c5caf5;
}

.date-pip-more {
    background: #f5f5f5;
    color: #777;
    border-color: #ddd;
    font-style: italic;
}

.tour-card-footer {
    border-top: 1px solid #eee;
    padding-top: 10px;
    margin-top: 4px;
}

.tour-view-link {
    color: #2e7d32;
    font-size: 13px;
    font-weight: bold;
    text-decoration: none;
}

.tour-view-link:hover {
    text-decoration: underline;
}

.tour-card-music .tour-view-link {
    color: #1006c6;
}


/* =============================================================
   7. EVENT ROWS (other appearances, festival rows)
   ============================================================= */

.event-row {
    display: flex;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    align-items: flex-start;
}

.event-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.event-row-past {
    opacity: 0.65;
}

.event-row-date {
    font-size: 12px;
    color: #666;
    min-width: 120px;
    flex-shrink: 0;
    padding-top: 2px;
    line-height: 1.5;
}

.event-row-date.muted {
    color: #aaa;
}

.event-row-detail {
    flex: 1;
}

.event-row-title {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 3px;
}

.event-row-time {
    font-size: 12px;
    color: #888;
    font-style: italic;
    margin-right: 8px;
}

.event-row-venue {
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}

.event-row-venue a {
    color: #2e7d32;
    text-decoration: none;
}

.event-row-venue a:hover {
    text-decoration: underline;
}

.badge-row {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 6px;
    align-items: center;
}

.badge {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: bold;
}

.badge-special {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.badge-music {
    background: #e8eaf6;
    color: #1a237e;
    border: 1px solid #9fa8da;
}

.badge-past {
    background: #f5f5f5;
    color: #888;
    border: 1px solid #ddd;
}

.ticket-link {
    font-size: 12px;
    color: #2e7d32;
    font-weight: bold;
    text-decoration: none;
    border-bottom: 1px solid #4CAF50;
    padding-bottom: 1px;
}

.ticket-link:hover {
    color: #1b5e20;
    border-bottom-color: #1b5e20;
}


/* =============================================================
   8. COLOPHON
   ============================================================= */

.about {
    margin-top: 40px;
    padding: 20px;
    font-size: 13px;
    color: #888;
    border-top: 1px solid #e0e0e0;
}

.about p {
    margin: 0 0 8px 0;
}


/* =============================================================
   9. RESPONSIVE
   ============================================================= */

@media (max-width: 600px) {
    .performer-hero-main {
        flex-direction: column;
        gap: 12px;
    }

    .stats-row {
        gap: 8px;
    }

    .stat-card {
        min-width: 80px;
        padding: 12px;
    }

    .stat-n {
        font-size: 22px;
    }

    .event-row {
        flex-direction: column;
        gap: 4px;
    }

    .event-row-date {
        min-width: auto;
    }
}


/* =============================================================
   REPERTOIRE CARD
   Variant of .tour-card where the show description is the focus.
   ============================================================= */

.repertoire-card {
    border-left-color: #795548;
}

.repertoire-desc {
    line-height: 1.65;
}

.repertoire-desc p {
    margin: 0 0 8px 0;
}

.repertoire-desc p:last-child {
    margin-bottom: 0;
}

.repertoire-dates-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #888;
    margin: 10px 0 6px 0;
}