/* ============================================
   Artist Portal — artist.css
   Additional styles on top of portal.css
   ============================================ */

/* ---- Gig cards ---- */
.artist-gig-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px 28px;
    margin-bottom: 14px;
    cursor: pointer;
    transition: box-shadow var(--ease), transform var(--ease);
    border: 2px solid transparent;
}
.artist-gig-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    border-color: var(--navy);
}
.artist-gig-main { flex: 1; min-width: 0; }
.artist-gig-name {
    font-family: var(--font-serif);
    font-size: 22px;
    color: var(--navy);
    letter-spacing: 1px;
    margin-bottom: 6px;
}
.artist-gig-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-family: var(--font-sans);
    font-size: 13px;
    color: #888;
}
.artist-gig-meta i { margin-right: 5px; color: #bbb; }
.artist-gig-right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

/* ---- Past events divider ---- */
.artist-past-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 32px 0 20px;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #bbb;
}
.artist-past-divider::before,
.artist-past-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e8e6e0;
}

/* ---- Day Schedule Timeline ---- */
.artist-timeline { padding: 8px 0; }
.artist-timeline-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 13px 28px;
    border-bottom: 1px solid #f4f3f0;
}
.artist-timeline-row:last-child { border-bottom: none; }
.artist-timeline-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: rgba(21,49,71,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    font-size: 14px;
    flex-shrink: 0;
}
.artist-timeline-label {
    flex: 1;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    color: #555;
}
.artist-timeline-val {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    min-width: 140px;
    text-align: right;
}
.artist-timeline-val.empty { color: #ccc; font-weight: 400; }

/* ---- Info grid (Logistics / Ceremony) ---- */
.artist-info-grid { padding: 4px 0; }
.artist-info-row {
    display: flex;
    gap: 20px;
    padding: 11px 28px;
    border-bottom: 1px solid #f4f3f0;
}
.artist-info-row:last-child { border-bottom: none; }
.artist-info-label {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #aaa;
    width: 170px;
    flex-shrink: 0;
    padding-top: 2px;
    line-height: 1.5;
}
.artist-info-val {
    font-family: var(--font-sans);
    font-size: 13px;
    color: #333;
    flex: 1;
    word-break: break-word;
    line-height: 1.6;
}
.artist-info-val.empty { color: #ccc; }

/* ---- Setlist ---- */
.setlist-set-block { padding: 0 24px 20px; }

.setlist-set-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 0 12px;
    border-bottom: 2px solid var(--navy);
    margin-bottom: 4px;
    flex-wrap: wrap;
}
.setlist-set-title {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--navy);
}
.setlist-set-meta {
    font-family: var(--font-sans);
    font-size: 12px;
    color: #aaa;
    flex: 1;
}

.setlist-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 4px;
    border-bottom: 1px solid #f4f3f0;
    border-radius: 6px;
    transition: background var(--ease);
    cursor: grab;
    user-select: none;
}
.setlist-row:last-child { border-bottom: none; }
.setlist-row:hover { background: #fafaf8; }
.setlist-row.dragging { opacity: 0.35; cursor: grabbing; }
.setlist-row.drag-over { background: #edf2f8; outline: 2px dashed var(--navy); outline-offset: -2px; }

.setlist-drag-handle {
    color: #d0d0d0;
    font-size: 12px;
    flex-shrink: 0;
    padding: 2px 2px;
    cursor: grab;
}
.setlist-num {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 700;
    color: #ccc;
    width: 22px;
    text-align: right;
    flex-shrink: 0;
}
.setlist-info { flex: 1; min-width: 0; }
.setlist-title {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.setlist-artist {
    font-family: var(--font-sans);
    font-size: 11px;
    color: #999;
}
.setlist-remove-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #ddd;
    font-size: 12px;
    padding: 5px 7px;
    border-radius: 4px;
    flex-shrink: 0;
    transition: color var(--ease), background var(--ease);
    line-height: 1;
}
.setlist-remove-btn:hover { color: #c0392b; background: #fde8e8; }

.setlist-empty {
    font-family: var(--font-sans);
    font-size: 13px;
    color: #ccc;
    padding: 20px 4px;
    text-align: center;
}

/* ---- Break divider ---- */
.setlist-break-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
}
.setlist-break-line { flex: 1; height: 1px; background: #e8e6e0; }
.setlist-break-label {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: #bbb;
    white-space: nowrap;
}

/* ---- Add Song Modal items ---- */
.add-song-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 16px;
    border-bottom: 1px solid #f4f3f0;
    cursor: pointer;
    transition: background var(--ease);
}
.add-song-item:last-child { border-bottom: none; }
.add-song-item:hover { background: #f4f8f8; }
.add-song-item.dim { opacity: 0.45; }

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .artist-gig-card { flex-direction: column; align-items: flex-start; gap: 14px; }
    .artist-gig-right { flex-direction: row; }
    .artist-info-label { width: 120px; }
    .artist-timeline-val { min-width: 90px; }
    .setlist-set-block { padding: 0 12px 16px; }
}
