/* stage.hr Engine - Main Styles */

/* Event Feed */
.stage-feed-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.stage-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-select {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.stage-event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

/* Event Card */
.stage-event-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.stage-event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.event-image {
    position: relative;
    height: 200px;
    background: #f5f5f5;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 48px;
}

.genre-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
}

.event-details {
    padding: 20px;
}

.event-details h3 {
    margin: 0 0 10px 0;
    font-size: 20px;
}

.artist-name {
    color: #666;
    font-size: 14px;
    margin: 5px 0;
}

.event-meta {
    font-size: 14px;
    color: #666;
    margin: 10px 0;
    line-height: 1.6;
}

.ticket-price {
    font-size: 18px;
    font-weight: bold;
    color: #2ecc71;
    margin: 10px 0;
}

.ticket-link {
    margin: 10px 0;
}

.btn-buy-ticket {
    display: inline-block;
    padding: 10px 20px;
    background: #f39c12;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.2s;
}

.btn-buy-ticket:hover {
    background: #e67e22;
    color: white;
}

.location-tag {
    color: #7f8c8d;
    font-style: italic;
}

.event-actions {
    display: flex;
    gap: 10px;
    margin: 15px 0;
}

.btn-interested,
.btn-attending {
    flex: 1;
    padding: 10px;
    border: 2px solid #ddd;
    background: white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.btn-interested:hover {
    border-color: #e74c3c;
    background: #ffe6e6;
}

.btn-interested.active {
    background: #e74c3c;
    color: white;
    border-color: #e74c3c;
}

.btn-attending:hover {
    border-color: #2ecc71;
    background: #e6ffe6;
}

.btn-attending.active {
    background: #2ecc71;
    color: white;
    border-color: #2ecc71;
}

.btn-view {
    display: block;
    text-align: center;
    padding: 10px;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.2s;
}

.btn-view:hover {
    background: #2980b9;
}

/* Venue Dashboard */
.stage-venue-dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.dashboard-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid #ddd;
}

.nav-tab {
    padding: 10px 20px;
    text-decoration: none;
    color: #666;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
}

.nav-tab:hover {
    color: #333;
}

.nav-tab.active {
    color: #3498db;
    border-bottom-color: #3498db;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Event Table */
.stage-events-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.stage-events-table th,
.stage-events-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.stage-events-table th {
    background: #f5f5f5;
    font-weight: bold;
}

.stage-events-table tr:hover {
    background: #f9f9f9;
}

/* Analytics */
.analytics-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.stat-box {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.stat-box h3 {
    font-size: 14px;
    color: #666;
    margin: 0 0 10px 0;
}

.stat-number {
    font-size: 36px;
    font-weight: bold;
    color: #3498db;
    margin: 0;
}

/* Form Styles */
.stage-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="url"],
.form-group input[type="number"],
.form-group input[type="date"],
.form-group input[type="time"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.form-group textarea {
    resize: vertical;
}

.btn-primary {
    background: #3498db;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-primary:hover {
    background: #2980b9;
}

/* Responsive */
@media (max-width: 768px) {
    .stage-event-grid {
        grid-template-columns: 1fr;
    }
    
    .stage-filters {
        flex-direction: column;
    }
    
    .filter-select {
        width: 100%;
    }
    
    .analytics-summary {
        grid-template-columns: 1fr;
    }
}

/* User Nav Menu */
.stage-nav-user a,
.stage-nav-logout a,
.stage-nav-login a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.stage-nav-logout a,
.stage-nav-logout-link {
    color: #e74c3c !important;
}

.stage-nav-logout a:hover,
.stage-nav-logout-link:hover {
    color: #c0392b !important;
}

/* Shortcode user menu */
.stage-user-menu {
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

.stage-user-name {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
    font-weight: 600;
}

.stage-user-name img {
    border-radius: 50%;
    vertical-align: middle;
}

.stage-logout-btn {
    padding: 6px 14px;
    background: #e74c3c;
    color: white !important;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s;
}

.stage-logout-btn:hover {
    background: #c0392b;
}

.stage-login-btn {
    padding: 8px 18px;
    background: #3498db;
    color: white !important;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
}

.stage-login-btn:hover {
    background: #2980b9;
}

/* Single Event Page Styles */
.stage-single-event {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.event-header {
    margin-bottom: 30px;
}

.event-hero-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 20px;
}

.event-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-header-content {
    text-align: center;
}

.event-genres {
    margin-bottom: 15px;
}

.genre-badge {
    display: inline-block;
    padding: 5px 15px;
    background: #3498db;
    color: white;
    border-radius: 20px;
    font-size: 14px;
    margin: 0 5px;
}

.event-title {
    font-size: 36px;
    margin: 10px 0;
    color: #2c3e50;
}

.event-artist {
    font-size: 20px;
    color: #7f8c8d;
    margin: 10px 0;
}

.event-meta-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.meta-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    font-size: 18px;
}

.meta-icon {
    font-size: 24px;
    margin-right: 10px;
    width: 30px;
}

.meta-text {
    color: #2c3e50;
}

.location-detail {
    color: #7f8c8d;
    font-style: italic;
}

.meta-price .price-amount {
    font-size: 24px;
    font-weight: bold;
    color: #2ecc71;
}

.event-actions-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin: 30px 0;
    flex-wrap: wrap;
    gap: 15px;
}

.action-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.event-actions-bar .btn-interested,
.event-actions-bar .btn-attending {
    padding: 12px 25px;
    font-size: 16px;
    border: 2px solid #ddd;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-actions-bar .btn-interested:hover {
    border-color: #e74c3c;
    background: #ffe6e6;
}

.event-actions-bar .btn-interested.active {
    background: #e74c3c;
    color: white;
    border-color: #e74c3c;
}

.event-actions-bar .btn-attending:hover {
    border-color: #2ecc71;
    background: #e6ffe6;
}

.event-actions-bar .btn-attending.active {
    background: #2ecc71;
    color: white;
    border-color: #2ecc71;
}

.btn-buy-ticket-large {
    padding: 12px 30px;
    background: #f39c12;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
}

.btn-buy-ticket-large:hover {
    background: #e67e22;
    color: white;
}

.btn-share {
    padding: 12px 25px;
    background: #95a5a6;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
}

.btn-share:hover {
    background: #7f8c8d;
}

.btn-icon {
    font-size: 20px;
}

.btn-text {
    font-weight: 600;
}

.btn-count {
    font-size: 14px;
    opacity: 0.8;
}

.event-content {
    margin: 30px 0;
    padding: 20px;
    background: white;
    border-radius: 10px;
}

.event-excerpt {
    font-size: 18px;
    color: #7f8c8d;
    margin-bottom: 20px;
    font-style: italic;
}

.event-description h2 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.event-description {
    line-height: 1.6;
    color: #34495e;
}

.whos-going-section {
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.whos-going-section h3 {
    margin-bottom: 15px;
    color: #2c3e50;
}

.attendees-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.attendee-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.attendee-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.attendee-more {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #95a5a6;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .event-title {
        font-size: 28px;
    }
    
    .event-hero-image {
        height: 250px;
    }
    
    .event-actions-bar {
        flex-direction: column;
    }
    
    .action-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .action-buttons button,
    .action-buttons a {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   ADVERTISING MODULE
   ============================================ */

/* Banner Display */
.stage-ad-banner {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin: 15px 0;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
}
.stage-ad-banner a { display: block; text-decoration: none; }
.stage-ad-banner img.stage-ad-image { width: 100%; height: auto; display: block; }
.stage-ad-text-only {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #2c3e50;
}
.stage-ad-cta {
    padding: 8px 18px;
    background: #3498db;
    color: white;
    border-radius: 5px;
    font-weight: 600;
    white-space: nowrap;
}
.stage-ad-label {
    position: absolute;
    top: 6px; right: 8px;
    font-size: 10px;
    color: #999;
    background: rgba(255,255,255,0.85);
    padding: 2px 6px;
    border-radius: 3px;
}
.stage-ad-placeholder {
    padding: 20px;
    background: #f0f4ff;
    border: 2px dashed #bcd;
    border-radius: 8px;
    text-align: center;
    color: #7f8c8d;
    margin: 15px 0;
}
.stage-ad-placeholder a { color: #3498db; }

/* Advertising Panel in Dashboard */
.stage-advertising-panel { padding: 10px 0; }

.ad-credits-bar {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: white;
    padding: 20px 25px;
    border-radius: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}
.ad-credits-info { display: flex; align-items: center; gap: 10px; }
.ad-credits-icon { font-size: 28px; }
.ad-credits-number { font-size: 36px; font-weight: 700; color: #f1c40f; }
.ad-credits-label { font-size: 14px; color: #bbb; }
.ad-credits-low { color: #e74c3c; font-size: 13px; background: rgba(231,76,60,0.15); padding: 8px 14px; border-radius: 6px; }

/* Ad Cards */
.my-ads-section { margin-bottom: 30px; }
.my-ads-list { display: flex; flex-direction: column; gap: 12px; }
.ad-card {
    display: grid;
    grid-template-columns: 80px 1fr auto auto auto;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.ad-card.paused { opacity: 0.6; }
.ad-card-preview img { width: 80px; height: 50px; object-fit: cover; border-radius: 5px; }
.ad-no-image { width: 80px; height: 50px; background: #f0f0f0; border-radius: 5px; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.ad-card-info { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.ad-card-info strong { font-size: 15px; }
.ad-zone-badge { display: inline-block; padding: 2px 8px; background: #e8f4fd; color: #2980b9; border-radius: 10px; font-size: 11px; }
.ad-card-stats { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: #666; }
.ad-status-badge { padding: 4px 10px; border-radius: 12px; font-size: 12px; font-weight: 600; }
.ad-status-badge.active { background: #e6ffe6; color: #27ae60; }
.ad-status-badge.paused { background: #fff3e0; color: #e67e22; }
.ad-card-actions { display: flex; flex-direction: column; gap: 6px; }
.btn-small { padding: 5px 12px; font-size: 12px; border: 1px solid #ddd; background: white; border-radius: 4px; cursor: pointer; transition: all 0.2s; }
.btn-small:hover { background: #f5f5f5; }
.btn-delete-ad { color: #e74c3c; border-color: #e74c3c; }
.btn-delete-ad:hover { background: #ffe6e6; }

/* Create Ad Form */
.create-ad-section { background: white; border-radius: 10px; padding: 25px; border: 1px solid #e0e0e0; }
.create-ad-section h3 { margin: 0 0 20px; color: #2c3e50; }
.no-credits-message { text-align: center; padding: 30px; background: #f8f9fa; border-radius: 8px; color: #666; }

.ad-form-grid { display: grid; grid-template-columns: 280px 1fr; gap: 25px; margin-bottom: 20px; }
.ad-image-upload-area {
    border: 2px dashed #bcd;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: border-color 0.2s;
    background: #f8fbff;
}
.ad-image-upload-area:hover { border-color: #3498db; background: #edf5ff; }
.ad-image-upload-area p { margin: 8px 0 4px; color: #555; }
.ad-image-upload-area small { color: #999; font-size: 11px; }
.btn-secondary { background: white; border: 1px solid #bcd; color: #3498db; padding: 7px 14px; border-radius: 5px; cursor: pointer; font-size: 13px; }
.btn-secondary:hover { background: #edf5ff; }

.ad-form-fields .form-group { margin-bottom: 15px; }
.ad-form-fields label { display: block; font-weight: 600; margin-bottom: 5px; font-size: 13px; color: #555; }
.ad-form-fields input[type="text"],
.ad-form-fields input[type="date"],
.ad-form-fields select { width: 100%; padding: 9px 12px; border: 1px solid #ddd; border-radius: 6px; font-size: 14px; }
.ad-form-fields small { color: #999; font-size: 11px; display: block; margin-top: 4px; }

.ad-form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
}
.credits-cost { color: #666; font-size: 14px; }
.credits-cost strong { color: #f1c40f; }

@media (max-width: 768px) {
    .ad-form-grid { grid-template-columns: 1fr; }
    .ad-card { grid-template-columns: 60px 1fr; }
    .ad-card-stats, .ad-card-status, .ad-card-actions { grid-column: 1/-1; }
    .ad-form-footer { flex-direction: column; gap: 10px; }
}

/* Upload button - clear and visible */
.btn-upload-trigger {
    padding: 10px 20px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-upload-trigger:hover { background: #2980b9; }

/* Credits bar - update description */
.ad-credits-bar .credits-desc {
    font-size: 13px;
    color: #bbb;
    margin-top: 4px;
}

/* ============================================
   ARTIST DIRECTORY
   ============================================ */

.stage-artist-directory { padding: 20px 0; }

/* Filters */
.artist-filters {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.filter-group label {
    font-size: 13px;
    font-weight: 600;
    color: #555;
}

.filter-input,
.filter-select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    min-width: 150px;
}

.filter-input:focus,
.filter-select:focus {
    outline: none;
    border-color: #3498db;
}

/* Artist Grid */
.artist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.artist-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.artist-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.artist-card-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f0f0f0;
}

.artist-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.artist-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.artist-genres {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.genre-tag {
    padding: 4px 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.artist-card-content {
    padding: 20px;
}

.artist-name {
    margin: 0 0 10px;
    font-size: 20px;
}

.artist-name a {
    color: #2c3e50;
    text-decoration: none;
}

.artist-name a:hover {
    color: #3498db;
}

.artist-bio {
    font-size: 14px;
    color: #666;
    margin: 10px 0;
    line-height: 1.4;
}

.artist-social {
    display: flex;
    gap: 10px;
    margin: 12px 0;
}

.social-link {
    font-size: 13px;
    color: #7f8c8d;
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 4px;
    background: #f8f9fa;
    transition: background 0.2s;
}

.social-link:hover {
    background: #e9ecef;
    color: #3498db;
}

/* Pricing (visible only to venue managers) */
.artist-pricing-vendor {
    margin: 15px 0;
    padding: 12px;
    background: #fff9e6;
    border-radius: 6px;
    border-left: 3px solid #f1c40f;
}

.price-display {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.price-label {
    font-size: 13px;
    color: #666;
}

.price-value {
    font-size: 20px;
    font-weight: 700;
    color: #f39c12;
}

.price-negotiable {
    font-size: 11px;
    background: #3498db;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
}

.price-not-set {
    font-size: 13px;
    color: #999;
    margin: 0;
}

/* Actions */
.artist-card-actions {
    display: flex;
    gap: 8px;
    margin-top: 15px;
}

.btn-view {
    flex: 1;
    padding: 10px;
    text-align: center;
    background: white;
    border: 2px solid #3498db;
    color: #3498db;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-view:hover {
    background: #3498db;
    color: white;
}

.btn-book-artist-quick {
    flex: 1;
    padding: 10px;
    background: #2ecc71;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-book-artist-quick:hover {
    background: #27ae60;
}

.no-results {
    grid-column: 1/-1;
    text-align: center;
    padding: 40px;
    color: #999;
}

@media (max-width: 768px) {
    .artist-grid {
        grid-template-columns: 1fr;
    }
    .artist-filters {
        flex-direction: column;
    }
    .filter-input,
    .filter-select {
        width: 100%;
    }
}

/* ============================================
   FAN CONTENT MODULE
   ============================================ */

/* Upload Modal */
.stage-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: white;
    border-radius: 12px;
    padding: 30px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #999;
}

.modal-close:hover { color: #333; }

/* Fan Scrapbook */
.fan-scrapbook { padding: 20px 0; }

.scrapbook-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.scrapbook-empty {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    color: #666;
}

.scrapbook-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.scrapbook-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: #000;
    aspect-ratio: 1;
}

.scrapbook-item img,
.scrapbook-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 15px;
    transform: translateY(100%);
    transition: transform 0.3s;
    color: white;
}

.scrapbook-item:hover .item-overlay {
    transform: translateY(0);
}

.item-event, .item-artist {
    font-size: 13px;
    margin-bottom: 4px;
}

.item-caption {
    font-size: 14px;
    margin: 8px 0;
}

.item-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.btn-like-media {
    padding: 5px 12px;
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
}

.btn-like-media.liked {
    background: #e74c3c;
    border-color: #c0392b;
}

.tag-toggle {
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-delete-media {
    padding: 5px 12px;
    background: rgba(231,76,60,0.8);
    border: none;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
}

/* Reviews */
.event-reviews-section {
    margin: 30px 0;
    padding: 20px;
    background: white;
    border-radius: 10px;
}

.review-form-container {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.rating-group {
    margin-bottom: 20px;
}

.rating-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

.star-rating {
    display: flex;
    gap: 5px;
    font-size: 28px;
}

.star-rating .star {
    cursor: pointer;
    opacity: 0.3;
    transition: opacity 0.2s;
}

.star-rating .star:hover,
.star-rating .star.active {
    opacity: 1;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.reviewer-info {
    display: flex;
    gap: 12px;
    align-items: center;
}

.reviewer-info img {
    border-radius: 50%;
}

.reviewer-badges {
    display: flex;
    gap: 4px;
    margin-top: 4px;
}

.badge-icon {
    font-size: 16px;
}

.review-date {
    font-size: 12px;
    color: #999;
    display: block;
    margin-top: 2px;
}

.review-ratings {
    margin: 15px 0;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
    font-size: 14px;
}

.rating-bar span:first-child {
    width: 140px;
    color: #666;
}

.review-text {
    margin: 15px 0;
    line-height: 1.6;
    color: #333;
}

.review-actions {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.btn-helpful-review {
    padding: 6px 14px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
}

.btn-helpful-review:hover {
    background: #f0f0f0;
}

.btn-helpful-review.voted {
    background: #3498db;
    color: white;
    border-color: #2980b9;
}

/* Badges */
.user-badges-display {
    padding: 20px;
}

.badges-earned,
.badges-locked {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
}

.badge-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 15px;
    border-radius: 8px;
}

.badge-item.earned {
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
}

.badge-item.locked {
    background: #f0f0f0;
    opacity: 0.6;
}

.badge-icon-large {
    font-size: 48px;
}

.badge-icon-gray {
    font-size: 36px;
    filter: grayscale(100%);
}

.badge-mini {
    font-size: 14px;
    margin: 0 2px;
}

.badge-item strong {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
}

.badge-item p {
    font-size: 13px;
    margin: 4px 0;
}

.badge-item small {
    font-size: 11px;
    opacity: 0.8;
}

/* Band Timeline */
.band-timeline {
    padding: 20px 0;
}

.timeline-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.timeline-event {
    border-left: 3px solid #3498db;
    padding-left: 20px;
}

.timeline-event-header {
    margin-bottom: 15px;
}

.timeline-event-header h4 {
    margin: 0 0 8px;
    font-size: 20px;
}

.event-meta {
    color: #666;
    font-size: 14px;
}

.timeline-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.timeline-media-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1;
    background: #000;
}

.timeline-media-item img,
.timeline-media-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 10px;
    color: white;
    font-size: 12px;
}

.media-uploader {
    font-weight: 600;
    margin-bottom: 4px;
}

.media-caption {
    margin: 4px 0;
    font-size: 11px;
}

.btn-view-all {
    display: inline-block;
    padding: 10px 20px;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    margin-top: 15px;
}

.no-media {
    color: #999;
    font-style: italic;
}

.past-gigs-list {
    padding: 20px 0;
}

.gigs-timeline {
    list-style: none;
    padding: 0;
}

.gig-item {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.gig-date {
    font-weight: 600;
    color: #3498db;
    min-width: 100px;
}

.gig-title {
    flex: 1;
    text-decoration: none;
    color: #2c3e50;
}

.gig-venue {
    color: #7f8c8d;
    font-size: 14px;
}

.gig-media-count {
    font-size: 13px;
    color: #95a5a6;
}

@media (max-width: 768px) {
    .scrapbook-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }
    
    .timeline-media-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 10px;
    }
}

/* Event Fan Gallery */
.event-fan-gallery {
    margin: 30px 0;
    padding: 20px;
    background: white;
    border-radius: 10px;
}

.fan-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1;
    background: #000;
    cursor: pointer;
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.fan-name {
    color: white;
    font-size: 12px;
}

@media (max-width: 768px) {
    .fan-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 10px;
    }
}

/* ============================================
   SINGLE ARTIST PAGE
   ============================================ */

.stage-single-artist { max-width: 1000px; margin: 0 auto; padding: 20px; }

/* Artist Header */
.artist-header {
    margin-bottom: 30px;
}

.artist-hero-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 20px;
}

.artist-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.artist-header-info {
    text-align: center;
}

.artist-genres {
    margin-bottom: 15px;
}

/* Ratings Summary */
.artist-ratings-summary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 12px;
    margin: 20px 0;
}

.overall-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.rating-value {
    font-size: 48px;
    font-weight: 700;
}

.rating-stars {
    font-size: 24px;
}

.rating-count {
    font-size: 14px;
    opacity: 0.9;
}

.rating-breakdown {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.rating-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-size: 14px;
}

.rating-item span:last-child {
    font-size: 20px;
    font-weight: 700;
}

/* Bio */
.artist-bio {
    background: white;
    padding: 25px;
    border-radius: 10px;
    margin: 20px 0;
    line-height: 1.6;
}

/* Contact & Social */
.artist-contact {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 25px 0;
}

.social-btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.social-btn:hover {
    transform: translateY(-2px);
}

.social-btn.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.social-btn.spotify {
    background: #1DB954;
    color: white;
}

.social-btn.website {
    background: #3498db;
    color: white;
}

/* Pricing Box (Vendor Only) */
.artist-pricing-box {
    background: #fff9e6;
    border: 2px solid #f1c40f;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    margin: 30px 0;
}

.artist-pricing-box h4 {
    margin: 0 0 15px;
    font-size: 18px;
}

.price-display-large {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.price-display-large .price-amount {
    font-size: 48px;
    font-weight: 700;
    color: #f39c12;
}

.price-display-large .price-negotiable {
    padding: 6px 14px;
    background: #3498db;
    color: white;
    border-radius: 20px;
    font-size: 14px;
}

.btn-book-artist {
    margin-top: 15px;
    font-size: 18px;
    padding: 15px 40px;
}

/* Upcoming Concerts */
.artist-upcoming-concerts {
    margin: 40px 0;
}

.artist-upcoming-concerts h3 {
    margin-bottom: 20px;
    font-size: 24px;
}

.upcoming-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.upcoming-concert-card {
    display: flex;
    gap: 15px;
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s;
}

.upcoming-concert-card:hover {
    transform: translateX(5px);
}

.concert-thumb {
    flex-shrink: 0;
}

.concert-thumb img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

.concert-info {
    flex: 1;
}

.concert-info h4 {
    margin: 0 0 10px;
    font-size: 18px;
}

.concert-info h4 a {
    color: #2c3e50;
    text-decoration: none;
}

.concert-info h4 a:hover {
    color: #3498db;
}

.concert-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 14px;
    color: #7f8c8d;
}

.concert-price {
    color: #2ecc71;
    font-weight: 700;
}

@media (max-width: 768px) {
    .artist-hero-image {
        height: 250px;
    }
    
    .rating-breakdown {
        grid-template-columns: 1fr;
    }
    
    .rating-value {
        font-size: 36px;
    }
    
    .upcoming-concert-card {
        flex-direction: column;
    }
    
    .concert-thumb img {
        width: 100%;
        height: 200px;
    }
}

/* ============================================
   SINGLE ARTIST PAGE - COMPACT REDESIGN
   ============================================ */

.stage-single-artist { 
    max-width: 1000px; 
    margin: 0 auto; 
    padding: 20px; 
}

/* Compact Header */
.artist-header-compact {
    margin-bottom: 20px;
}

.artist-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.artist-genres {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.genre-badge {
    padding: 6px 14px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.artist-social-inline {
    display: flex;
    gap: 10px;
}

.social-icon {
    font-size: 24px;
    text-decoration: none;
    transition: transform 0.2s;
}

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

/* Info Cards Grid */
.artist-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.info-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    display: flex;
    gap: 15px;
}

.card-icon {
    font-size: 36px;
    flex-shrink: 0;
}

.card-content {
    flex: 1;
}

/* Ratings Card */
.ratings-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.overall-rating-compact {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
}

.rating-large {
    font-size: 42px;
    font-weight: 700;
}

.rating-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.rating-stars-small {
    font-size: 16px;
}

.rating-count-small {
    font-size: 12px;
    opacity: 0.9;
}

.rating-breakdown-compact {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    opacity: 0.95;
}

/* Pricing Card */
.pricing-card {
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    border: 2px solid #f39c12;
}

.price-compact {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.price-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    font-weight: 600;
}

.price-amount-compact {
    font-size: 36px;
    font-weight: 700;
    color: #e67e22;
}

.price-negotiable-small {
    display: inline-block;
    padding: 3px 10px;
    background: #3498db;
    color: white;
    border-radius: 12px;
    font-size: 11px;
}

.btn-book-compact {
    width: 100%;
    padding: 10px;
    background: #2ecc71;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-book-compact:hover {
    background: #27ae60;
}

/* Bio - Compact */
.artist-bio-compact {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.artist-bio-compact h3 {
    margin: 0 0 15px;
    font-size: 18px;
    color: #2c3e50;
}

/* Location Info */
.artist-location {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 12px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 25px;
    font-size: 14px;
    color: #666;
    flex-wrap: wrap;
}

.location-icon {
    font-size: 18px;
}

/* Upcoming Concerts - Compact */
.artist-upcoming-concerts {
    margin: 30px 0;
}

.artist-upcoming-concerts h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.upcoming-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.upcoming-concert-card {
    display: flex;
    gap: 15px;
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}

.upcoming-concert-card:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.concert-thumb {
    flex-shrink: 0;
}

.concert-thumb img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.concert-info {
    flex: 1;
}

.concert-info h4 {
    margin: 0 0 8px;
    font-size: 16px;
}

.concert-info h4 a {
    color: #2c3e50;
    text-decoration: none;
}

.concert-info h4 a:hover {
    color: #3498db;
}

.concert-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
    color: #7f8c8d;
}

.concert-price {
    color: #2ecc71;
    font-weight: 700;
}

@media (max-width: 768px) {
    .artist-info-grid {
        grid-template-columns: 1fr;
    }
    
    .artist-top-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .upcoming-concert-card {
        flex-direction: column;
    }
    
    .concert-thumb img {
        width: 100%;
        height: 150px;
    }
}

/* Fan Upload Section on Events */
.fan-upload-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 12px;
    margin: 25px 0;
    text-align: center;
}

.fan-upload-section h3 {
    margin: 0 0 10px;
    font-size: 22px;
}

.fan-upload-section p {
    margin: 0 0 15px;
    font-size: 15px;
    opacity: 0.95;
}

.fan-upload-section #btn-open-upload {
    background: white;
    color: #667eea;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.fan-upload-section #btn-open-upload:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255,255,255,0.3);
}

/* Past Event Notice */
.past-event-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 20px 0;
    color: #6c757d;
    font-size: 16px;
    font-weight: 600;
}

.past-icon {
    font-size: 24px;
}

/* ============================================ */
/* ARTIST BOOKING OFFERS - v2.0 */
/* ============================================ */

.artist-booking-offers {
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.booking-offers-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.booking-offer-card {
    transition: all 0.3s ease;
}

.booking-offer-card:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(233, 69, 96, 0.3);
}

.respond-booking-btn {
    transition: all 0.3s ease;
}

.respond-booking-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255,255,255,0.2);
}

.respond-booking-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* Artist Ratings Section */
.artist-ratings-section {
    margin: 30px 0;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
}

.ratings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.rating-item {
    text-align: center;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.rating-label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.rating-value {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #667eea;
}

/* Upcoming Concerts */
.artist-upcoming-concerts {
    margin: 30px 0;
}

.upcoming-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.upcoming-concert-item {
    padding: 15px;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #667eea;
    display: flex;
    gap: 15px;
    align-items: center;
}

.concert-date {
    font-weight: bold;
    color: #667eea;
    white-space: nowrap;
}

.concert-venue {
    color: #999;
    font-size: 14px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .ratings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .upcoming-concert-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .booking-offer-card > div {
        flex-direction: column !important;
    }
}
