/* Buttons */
.nav-buttons button {
    padding: 12px 16px;
    font-size: 1rem;
    border-radius: var(--radius-sm);
}

/*  Statistics Page */

    .coming-soon {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 200px;               /* roughly similar to your charts */
        text-align: center;
        color: var(--text-secondary);
        background: repeating-linear-gradient(
            -45deg,
            var(--gray-100),
            var(--gray-100) 10px,
            var(--gray-200),
            var(--gray-200) 20px
        );
        border-radius: 8px;
        position: relative;
        font-family: "Segoe UI", Roboto, sans-serif;
    }
    
    .coming-icon {
        font-size: 48px;
        margin-bottom: 8px;
        margin-top: 8px;
        opacity: 0.8;
    }
    
    .coming-text strong {
        font-size: 20px;
        color: var(--text-heading);
    }
    
    .coming-text span {
        font-size: 14px;
        color: var(--text-muted)
    }
    
    
/* Ranglijsten Page */

    .trend-icon {
      font-size: 1.5em;
      font-weight: bold;
      display: inline-block;
      width: 1.2em;
      text-align: center;
    }
    .trend-up {
      color: var(--green);
    }
    .trend-down {
      color: var(--red);
    }
    .trend-neutral {
      color: var(--gray-500);
    }
    
    .badge {
        display: inline-block;
        padding: 0.2rem 0.6rem;
        font-weight: bold;
        border-radius: 6px;
        font-size: 0.9rem;
        margin: 0 0 5px 0;
    }
    

    .badge-gray {
        background-color: var(--gray-300);
        color: var(--text-secondary);
    }
    
    .badge-yellow {
        background-color: var(--gold-light);
        color: var(--text-secondary);
    }
    
    .info-icon {
      display: inline-block;
      position: relative;
      margin-left: 5px;
      cursor: pointer;
      font-weight: bold;
      color: var(--text-secondary);
      border: 1px solid var(--border-input);
      border-radius: 50%;
      width: 16px;
      height: 16px;
      font-size: 12px;
      text-align: center;
      line-height: 14px;
    }
    
    .tooltip {
      display: none;
      position: absolute;
      top: 20px;
      left: -180px;
      width: 200px;
      background-color: var(--bg-dark);
      color: var(--text-white);
      padding: 8px;
      font-size: 1em;
      font-weight:400;
      border-radius: var(--radius-md);
      z-index: 10;
      box-shadow: var(--shadow-medium)
    }
    
    .info-icon:hover .tooltip,
    .info-icon:focus .tooltip {
      display: block;
    }
    
    .highlight_old {
        background-color: var(--gray-200); /* Very soft pink background */
        border-left: 4px solid var(--gray-500); /* Pale red border for subtle alert */
    }

    .highlight_promotion {
        background-color: var(--gold-ultralight); /* Lighter gray for a cleaner look */
        border-left: 5px solid var(--gold-light); /* Darker gray stripe to differentiate */
    }
    
    
/* Stuff for home page */
    
    /* === Hero === */
    .hero {
      text-align: center;
      padding: 1rem 1rem;
    }
    .hero h1, .hero h2 {
      font-size: 2rem;
      margin-bottom: 0.5rem;
      line-height: 1.5;
    }
    .hero-sub {
      font-size: 1rem;
      color: var(--text-secondary);
      margin-bottom: 2rem;
    }
    
    
    /* === Map Section === */
    .map-section {
      padding: 2rem 1rem;
      background: var(--green-ultralight);
      text-align: center;
    }
    
    .static-map {
      display: block;
      width: 100%;
      height: 250px;
      border: 0; /* remove iframe border if any */
      object-fit: cover;  /* Cover the container, crop if needed */
      object-position: center; /* Center the image */
    }
    
    .map-overlay {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--text-white);
      background: rgba(0, 109, 119, 0.5);
      opacity: 0;
      transition: opacity 0.3s;
      font-weight: 600;
      cursor: pointer;
    }
    
    .map-link:hover .map-overlay {
      opacity: 1;
    }
    
    
    /* === Leaderboard === */
    .leaderboard-section {
      background: var(--green-ultralight);
      padding: 3rem 0 1rem 0;
    }
    
    
    /* === Responsive === */
    @media (min-width: 768px) {
        .hero h1 {
            font-size: 2.5rem;
        }
        .hero-sub {
            font-size: 1.1rem;
        }
    }
    @media (max-width: 600px) {
        .static-map {
            height: 150px;
        }
    }

/* Home page heading overrides */
.home-heading {
    margin: 0 0 1em 0;
}

/* Featured performance */
.featured-section {
    padding: 3rem 1rem;
    text-align: center;
    border-top: solid 5px var(--gold-light);
    margin-top: 1rem;
}

.featured-section h2 {
    border-top: none;
    margin: 0 0 1.5rem;
    top: 0;
    font-size: 1.8rem;
    color: var(--text-heading);
    position: relative;
    display: inline-block;
}

.featured-section h2 span {
    background: none;
    position: static;
    top: auto;
    padding: 0;
}

.featured-section h2::after {
    display: none;
}

/* Home event cards */
.home-events {
    padding: 2rem 1rem 1rem;
    border-top: solid 5px var(--gold-light);
}

.home-events .event-heading h2 {
    border-top: none;
    margin: 0 0 0.25rem;
    top: 0;
    font-size: 1.3rem;
}

.home-events .event-heading h2 span {
    background: none;
    position: static;
    top: auto;
    padding: 0;
}

.home-events .suggestions-grid {
    gap: 0.75rem;
    margin: 0.75rem auto 2rem;
}

.home-events .suggestions-card {
    padding: 1rem 1.25rem;
    border-left: 4px solid var(--gray-300);
    border-radius: var(--radius-sm);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 80px;
}

.home-events .suggestions-card:hover {
    border-left-color: var(--gold);
}

.home-events .suggestions-card .event-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--green-dark);
    line-height: 1.3;
}

.home-events .suggestions-card .event-city {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.1rem;
}

.home-events .suggestions-card .event-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.featured-card {
    display: block;
    max-width: 560px;
    margin: 1.5rem auto 0;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2rem 2.5rem;
    box-shadow: var(--shadow-medium);
    text-align: center;
    text-decoration: none;
    position: relative;
    transition: box-shadow 0.25s, transform 0.25s;
}

.featured-card:hover {
    box-shadow: var(--shadow-dark);
    transform: translateY(-4px);
}

.featured-card .featured-badge {
    display: inline-block;
    padding: 0.2rem 1rem;
    background: var(--gold);
    color: var(--text-white);
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.featured-card .featured-orkest {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-heading);
    line-height: 1.2;
}

.featured-card .featured-city {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-top: 0.15rem;
    margin-bottom: 1rem;
}

.featured-card .featured-divider {
    width: 40px;
    height: 3px;
    background: var(--gold);
    border: none;
    margin: 0 auto 0.75rem;
    border-radius: 2px;
}

.featured-card .featured-event {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.featured-card .featured-event strong {
    color: var(--text-heading);
    font-weight: 600;
}

.featured-card .featured-score-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.featured-card .featured-score {
    display: inline-block;
    padding: 0.35rem 1.25rem;
    background: var(--green);
    color: var(--text-white);
    border-radius: 999px;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.featured-card .featured-cta {
    display: inline-block;
    margin-top: 1.25rem;
    padding: 0.5rem 1.5rem;
    background: var(--gold);
    color: var(--text-white);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.2s;
}

.featured-card:hover .featured-cta {
    background: var(--gold-dark);
}

/* ============================================
   ORCHESTRA PROFILE CARDS
   ============================================ */

.back-to-search {
    display: inline-block;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.back-to-search:hover {
    color: var(--green-dark);
}

.orchestra-profile-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 0.5rem auto 1.5rem;
    max-width: 1000px;
}

@media (max-width: 736px) {
    .orchestra-profile-header {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 1rem 1rem;
    }
}

/* Profile Card (left) */
.profile-card,
.conductor-profile-card {
    background: var(--green-ultralight);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem 1.5rem;
    box-shadow: var(--shadow-soft);
    text-align: left;
    border-top: 3px solid var(--green-dark);
    position: relative;
}

.profile-card::before,
.conductor-profile-card::before {
    content: 'Profiel';
    position: absolute;
    top: -10px;
    right: 1rem;
    background: var(--green);
    color: var(--text-white);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 2px 10px;
    border-radius: 0 0 4px 4px;
}

.profile-card h2,
.conductor-profile-card h2 {
    margin: 0 0 0.25rem;
    font-size: 1.5rem;
    text-align: left;
    text-transform: none;
    color: var(--text-heading);
}

.profile-card .orchestra-city,
.conductor-profile-card .orchestra-city {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.profile-card .info-row,
.conductor-profile-card .info-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-main);
}

.profile-card .info-row .info-icon,
.conductor-profile-card .info-row .info-icon {
    width: 1.2rem;
    text-align: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.profile-card .profile-website {
    color: var(--green-dark);
    text-decoration: none;
    word-break: break-all;
}

.profile-card .profile-website:hover {
    text-decoration: underline;
}

/* Status badges */
.profile-card .status-badge {
    display: inline-block;
    padding: 0.15rem 0.6rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.profile-card .status-badge.defunct {
    background: var(--red-ultralight);
    color: var(--red-dark);
}

.profile-card .status-badge.merged {
    background: var(--gold-ultralight);
    color: var(--gold-dark);
}

/* Social icons */
.profile-card .social-row {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--gray-200);
}

.social-icon {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    margin-right: 0.5rem;
    transition: transform 0.15s ease, opacity 0.15s ease;
    opacity: 0.85;
}

.social-icon:hover {
    transform: scale(1.2);
    opacity: 1;
}

/* Stats Card (right) */
.stats-card {
    background: var(--gold-ultralight);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem 1.5rem;
    box-shadow: var(--shadow-soft);
    border-left: 4px solid var(--gold);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stats-card::before {
    content: 'Statistieken';
    position: absolute;
    top: -10px;
    right: 1rem;
    background: var(--gold);
    color: var(--text-white);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 2px 10px;
    border-radius: 0 0 4px 4px;
}

.stats-card h3 {
    margin: 0 0 1rem;
    font-size: 0.85rem;
    text-align: left;
    text-transform: uppercase;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 736px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-top: 0.15rem;
}

/* Edit button */
.profile-edit-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-decoration: none;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.profile-edit-btn:hover {
    color: var(--green-dark);
    border-color: var(--green-dark);
    background: var(--green-ultralight);
}

/* Performance detail cards */
.detail-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
    text-align: center;
    border-top: 3px solid var(--green-dark);
}

.detail-card h3 {
    margin: 0 0 0.75rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

.detail-card .card-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.15rem;
}

.detail-card .card-main {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-heading);
    line-height: 1.3;
}

.detail-card .card-sub {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.15rem;
}

.detail-card .card-action {
    display: inline-block;
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: var(--green-dark);
    font-weight: 600;
    text-decoration: none;
}

.detail-card .card-action:hover {
    text-decoration: underline;
}

.detail-card.blue { border-top-color: var(--blue); }
.detail-card.gold { border-top-color: var(--gold); }

/* Result highlight card */
.result-card {
    background: var(--green-ultralight);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
    text-align: center;
    border-left: 4px solid var(--green);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.25rem;
}

.result-card .score-big {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--green-dark);
    line-height: 1;
}

.result-card .division-badge {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    background: var(--green-light);
    color: var(--text-white);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-card .card-comment {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
    font-style: italic;
}

/* Performance piece cards */
.perf-pieces-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 0.75rem;
}

.perf-piece-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    box-shadow: var(--shadow-soft);
    border-left: 3px solid var(--gray-400);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    transition: box-shadow 0.15s;
}

.perf-piece-card:hover {
    box-shadow: var(--shadow-medium);
}

.perf-piece-card .piece-info {
    flex: 1;
    min-width: 0;
}

.perf-piece-card .piece-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-heading);
}

.perf-piece-card .piece-meta {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.15rem;
}

.perf-piece-card .piece-points {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--green-dark);
    white-space: nowrap;
    flex-shrink: 0;
}

.perf-piece-card.intro {
    border-left-color: var(--blue-light);
}

.perf-piece-card.intro .piece-points {
    color: var(--blue);
}

/* Social share buttons */
.share-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0.75rem 0 0.25rem;
}

.share-bar .share-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-right: 0.25rem;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: transform 0.15s, opacity 0.15s;
    opacity: 0.85;
}

.share-btn:hover {
    transform: scale(1.12);
    opacity: 1;
}

.share-btn i {
    font-size: 20px;
    color: #fff;
    pointer-events: none;
}

.share-btn.facebook { background: #1877F2; }
.share-btn.whatsapp { background: #25D366; }
.share-btn.copy { background: var(--gray-600); }

.share-bar .copy-wrap {
    position: relative;
    display: inline-flex;
}

.copy-confirm {
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 0.75rem;
    color: #fff;
    background: var(--green-dark);
    padding: 3px 10px;
    border-radius: 4px;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
}

.copy-confirm::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--green-dark);
}

.copy-confirm.show {
    opacity: 1;
}

/* Breadcrumb navigation */
.breadcrumb {
    max-width: 1000px;
    margin: 0.5rem auto 0.75rem;
    padding: 0 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--green-dark);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb .sep {
    color: var(--gray-400);
    margin: 0 0.35rem;
}

.breadcrumb .current {
    color: var(--text-secondary);
    font-weight: 600;
}

/* Orchestra type badge pills */
.type-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    margin: 2px 4px 2px 0;
    white-space: nowrap;
}
.type-badge.type-ha {
    background: var(--blue-ultralight);
    color: var(--blue-dark);
}
.type-badge.type-fa {
    background: var(--green-ultralight);
    color: var(--green-dark);
}
.type-badge.type-bra {
    background: var(--red-ultralight);
    color: var(--red-dark);
}

/* Composer variant cards */
.composer-variant-grid {
    display: grid;
    gap: 8px;
    grid-template-columns: 1fr;
}
@media (min-width: 736px) {
    .composer-variant-grid {
        grid-template-columns: 1fr 1fr;
    }
}
.composer-variant {
    display: block;
    padding: 10px 14px;
    background: var(--bg-white);
    border-radius: 4px;
    border-left: 3px solid var(--gray-500);
    transition: background 0.2s ease, box-shadow 0.2s ease;
    box-shadow: var(--shadow-soft);
    text-decoration: none;
    color: inherit;
}
.composer-variant:hover {
    background: var(--gray-200);
    box-shadow: var(--shadow-medium);
}
.composer-variant .variant-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}
a.composer-variant .variant-title > span:first-child {
    color: var(--green-dark);
    font-weight: 600;
}
.composer-variant .variant-meta {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 2px;
}
.composer-variant .variant-stats {
    color: var(--text-muted);
    font-size: 0.82rem;
}
.composer-variant .variant-stats span {
    margin-right: 12px;
}

