* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    min-height: 100vh;
    color: #e0e0e0;
}

.container {
    max-width: 95%;
    margin: 0 auto;
    padding: 20px 30px;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

h1 {
    font-size: 1.8rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

h1::before {
    content: '🎸';
}

/* Header Tab Slider */
.header-tab-slider {
    display: flex;
    position: relative;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 3px;
    margin: 0 auto;
}

.header-tab-slider input[type="radio"] {
    display: none;
}

.header-tab-label {
    padding: 6px 18px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #888;
    cursor: pointer;
    z-index: 1;
    position: relative;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.header-tab-label:hover {
    color: #ccc;
}

#planningTab:checked ~ label[for="planningTab"],
#myShowsTab:checked ~ label[for="myShowsTab"] {
    color: white;
}

.header-tab-indicator {
    position: absolute;
    top: 3px;
    left: 3px;
    width: calc(50% - 3px);
    height: calc(100% - 6px);
    background: linear-gradient(135deg, #e94560 0%, #c23a51 100%);
    border-radius: 17px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(233, 69, 96, 0.3);
}

#myShowsTab:checked ~ .header-tab-indicator {
    transform: translateX(100%);
}

/* Header Data Menu Dropdown */
.header-data-menu {
    position: relative;
}

.data-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    color: #9ca3af;
    cursor: pointer;
    transition: all 0.15s ease;
}

.data-menu-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #4b5563;
    color: #e5e7eb;
}

.data-menu-dropdown {
    position: fixed;
    min-width: 180px;
    background: #1f2937;
    border: 1px solid #374151;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.15s ease;
}

.data-menu-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.data-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
    background: transparent;
    border: none;
    color: #e5e7eb;
    font-size: 0.9rem;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s;
}

.data-menu-item:first-child {
    border-radius: 9px 9px 0 0;
}

.data-menu-item:last-child {
    border-radius: 0 0 9px 9px;
}

.data-menu-item:hover {
    background: #374151;
}

.data-menu-item .menu-icon {
    font-size: 1rem;
    opacity: 0.7;
}

.data-menu-divider {
    height: 1px;
    background: #374151;
    margin: 4px 0;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #e94560 0%, #c23a51 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(233, 69, 96, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #e0e0e0;
    border: 1px solid #444;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: background 0.2s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Filters */
.filters {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filters input,
.filters select {
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #333;
    background: #1a1a2e;
    color: #e0e0e0;
    font-size: 0.9rem;
}

.filters input {
    flex: 1;
    min-width: 200px;
}

.search-input-wrapper {
    position: relative;
    flex: 1;
    min-width: 200px;
}

.search-input-wrapper input {
    width: 100%;
    padding-right: 36px;
}

.clear-search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #666;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
}

.clear-search-btn:hover {
    color: #e94560;
    background: rgba(233, 69, 96, 0.1);
}

.filters select {
    min-width: 140px;
}

.filters input:focus,
.filters select:focus {
    outline: none;
    border-color: #e94560;
}

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.stat {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    border: 1px solid #333;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #e94560;
}

.stat-label {
    font-size: 0.85rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Table */
table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    overflow: hidden;
}

thead {
    background: rgba(255, 255, 255, 0.05);
}

th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    user-select: none;
    transition: color 0.2s;
}

th:hover {
    color: #e94560;
}

th[data-sort]::after {
    content: ' ↕';
    opacity: 0.3;
}

th.sort-asc::after {
    content: ' ↑';
    opacity: 1;
}

th.sort-desc::after {
    content: ' ↓';
    opacity: 1;
}

td {
    padding: 14px 16px;
    border-top: 1px solid #2a2a3e;
}

tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.artist-cell {
    font-weight: 500;
    color: #fff;
}

.date-cell {
    color: #f3f4f6;
    font-weight: 500;
    white-space: nowrap;
}

.venue-cell {
    color: #4ecdc4;
}

.actions {
    display: flex;
    gap: 8px;
}

.actions button {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.2s;
}

.actions button:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nearby-btn {
    color: #f59e0b;
}

.edit-btn {
    color: #4ecdc4;
}

.delete-btn {
    color: #e94560;
}

/* Status dropdown in table */
.status-select {
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid transparent;
    background: transparent;
    color: #888;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

.status-select:hover {
    border-color: #444;
    background: rgba(255, 255, 255, 0.05);
}

.status-select:focus {
    outline: none;
    border-color: #e94560;
}

.status-select.status-interested {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
}

.status-select.status-committed {
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
}

.status-select.status-ticketed {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.empty-state.hidden {
    display: none;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #1a1a2e;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid #333;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #333;
}

.modal-header h2 {
    font-size: 1.2rem;
    color: #fff;
}

.close-btn {
    background: transparent;
    border: none;
    color: #888;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.close-btn:hover {
    color: #e94560;
}

/* Form */
form {
    padding: 20px;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: #888;
}

input[type="text"],
input[type="date"],
textarea {
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #333;
    background: #16213e;
    color: #e0e0e0;
    font-size: 0.95rem;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #e94560;
}

textarea {
    min-height: 80px;
    resize: vertical;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
}

/* Modal Views */
.modal-view {
    padding: 20px;
}

.search-section {
    margin-bottom: 16px;
}

.search-section .form-group {
    margin-bottom: 0;
}

.search-section input {
    font-size: 1.1rem;
    padding: 14px 16px;
}

.search-events-section {
    margin-top: 20px;
    border-top: 1px solid #333;
    padding-top: 16px;
}

.selected-artist-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding: 12px 16px;
    background: rgba(233, 69, 96, 0.1);
    border-radius: 8px;
    border-left: 3px solid #e94560;
}

.selected-artist-header span {
    font-weight: 600;
    color: #fff;
}

.btn-text {
    background: transparent;
    border: none;
    color: #e94560;
    cursor: pointer;
    font-size: 0.85rem;
    padding: 4px 8px;
}

.btn-text:hover {
    text-decoration: underline;
}

.search-events-section .events-list {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 16px;
}

.search-events-section .events-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid #333;
}

.search-events-section .events-select-all {
    justify-content: flex-start;
    margin-bottom: 0;
}

.search-events-section .events-select-all #searchSelectedCount {
    margin-left: 16px;
}

.manual-entry-divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
    color: #666;
}

.manual-entry-divider::before,
.manual-entry-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #333;
}

.manual-entry-divider span {
    padding: 0 16px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-manual-entry {
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 1px dashed #444;
    color: #888;
}

.btn-manual-entry:hover {
    border-color: #666;
    color: #ccc;
    background: rgba(255, 255, 255, 0.02);
}

#backToSearchBtn {
    margin-right: auto;
}

/* Header actions */
.header-actions {
    display: flex;
    gap: 10px;
}

/* View Toggle */
.view-toggle {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px;
    border-radius: 8px;
    width: fit-content;
}

.view-btn {
    padding: 8px 20px;
    border: none;
    background: transparent;
    color: #888;
    cursor: pointer;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.view-btn:hover {
    color: #e0e0e0;
}

.view-btn.active {
    background: #e94560;
    color: white;
}

/* Calendar View */
.calendar-view {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 15px;
    border: 1px solid #333;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 320px);
    min-height: 350px;
}

.calendar-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    flex-shrink: 0;
}

.calendar-header h2 {
    color: #fff;
    font-size: 1.4rem;
    min-width: 200px;
    text-align: center;
}

.calendar-filters {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.calendar-filters input[type="text"] {
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #333;
    background: #16213e;
    color: #e0e0e0;
    font-size: 0.9rem;
    width: 160px;
}

.calendar-filters input[type="text"]:focus {
    outline: none;
    border-color: #e94560;
}

.calendar-filters select {
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #333;
    background: #16213e;
    color: #e0e0e0;
    font-size: 0.9rem;
    cursor: pointer;
}

.calendar-filters select:focus {
    outline: none;
    border-color: #e94560;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #e0e0e0;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.2s;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    margin-bottom: 1px;
    flex-shrink: 0;
}

.calendar-day-header {
    padding: 8px;
    text-align: center;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: repeat(6, 1fr);
    gap: 1px;
    background: #333;
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
    flex: 1;
    min-height: 0;
}

.calendar-day {
    background: #1a1a2e;
    min-height: 0;
    padding: 8px;
    position: relative;
    overflow: hidden;
}

.calendar-day.other-month {
    background: rgba(26, 26, 46, 0.5);
}

.calendar-day.other-month .day-number {
    color: #444;
}

.calendar-day.today {
    background: rgba(233, 69, 96, 0.1);
}

.calendar-day.today .day-number {
    background: #e94560;
    color: white;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.day-number {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 6px;
    font-weight: 500;
}

.calendar-concert {
    background: linear-gradient(135deg, #e94560 0%, #c23a51 100%);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    margin-bottom: 4px;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: transform 0.1s, box-shadow 0.1s;
}

.calendar-concert:hover {
    transform: translateX(2px);
    box-shadow: 0 2px 8px rgba(233, 69, 96, 0.4);
}

.calendar-concert.past {
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
}

.calendar-concert.status-interested {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.calendar-concert.status-interested:hover {
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}

.calendar-concert.status-committed {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.calendar-concert.status-committed:hover {
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
}

.calendar-concert.status-ticketed {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.calendar-concert.status-ticketed:hover {
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

.more-concerts {
    font-size: 0.7rem;
    color: #888;
    text-align: center;
    cursor: pointer;
}

.more-concerts:hover {
    color: #e94560;
}

/* Map View */
.map-view {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #333;
}

.map-controls {
    margin-bottom: 16px;
}

.date-range-filter {
    display: flex;
    align-items: center;
    gap: 12px;
}

.date-range-filter .map-stats {
    margin-left: auto;
    white-space: nowrap;
}

.date-range-filter label {
    color: #888;
    font-size: 0.9rem;
    margin: 0;
}

.date-range-filter input[type="text"] {
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #333;
    background: #16213e;
    color: #e0e0e0;
    font-size: 0.9rem;
    width: 160px;
}

.date-range-filter input[type="date"] {
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #333;
    background: #16213e;
    color: #e0e0e0;
    font-size: 0.9rem;
}

.date-range-filter input[type="text"]:focus,
.date-range-filter input[type="date"]:focus {
    outline: none;
    border-color: #e94560;
}

.date-range-filter select {
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #333;
    background: #16213e;
    color: #e0e0e0;
    font-size: 0.9rem;
    cursor: pointer;
}

.date-range-filter select:focus {
    outline: none;
    border-color: #e94560;
}

.map-stats {
    color: #888;
    font-size: 0.9rem;
}

.map-stats span {
    color: #e94560;
    font-weight: 600;
}

#concertMap {
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
    background: #16213e;
}

.map-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(26, 26, 46, 0.95);
    padding: 16px 24px;
    border-radius: 8px;
    color: #e0e0e0;
    z-index: 1000;
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #333;
    border-top-color: #e94560;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Leaflet popup customization */
.leaflet-popup-content-wrapper {
    background: #1a1a2e;
    color: #e0e0e0;
    border-radius: 8px;
}

.leaflet-popup-tip {
    background: #1a1a2e;
}

.leaflet-popup-content {
    margin: 12px;
}

.concert-popup {
    min-width: 180px;
}

.concert-popup h4 {
    color: #e94560;
    margin: 0 0 8px 0;
    font-size: 1rem;
}

.concert-popup p {
    margin: 4px 0;
    font-size: 0.85rem;
    color: #aaa;
}

.concert-popup .venue {
    color: #4ecdc4;
}

.concert-popup .date {
    color: #888;
}

.popup-edit-btn {
    margin-top: 10px;
    padding: 6px 12px;
    background: #e94560;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    width: 100%;
}

.popup-edit-btn:hover {
    background: #c23a51;
}

/* Cluster markers */
.marker-cluster {
    background: rgba(233, 69, 96, 0.4);
    border-radius: 50%;
}

.marker-cluster div {
    background: #e94560;
    color: white;
    border-radius: 50%;
    font-weight: bold;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Autocomplete Styles */
.autocomplete-wrapper {
    position: relative;
}

.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #16213e;
    border: 1px solid #444;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 250px;
    overflow-y: auto;
    z-index: 100;
    display: none;
}

.autocomplete-dropdown.active {
    display: block;
}

.autocomplete-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    cursor: pointer;
    transition: background 0.15s;
}

.autocomplete-item:hover,
.autocomplete-item.selected {
    background: rgba(233, 69, 96, 0.2);
}

.autocomplete-item img {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    object-fit: cover;
    background: #333;
}

.autocomplete-item-info {
    flex: 1;
    min-width: 0;
}

.autocomplete-item-name {
    color: #fff;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.autocomplete-item-genre {
    font-size: 0.8rem;
    color: #888;
}

.autocomplete-loading {
    padding: 12px;
    text-align: center;
    color: #888;
    font-size: 0.9rem;
}

.autocomplete-empty {
    padding: 12px;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

/* Browse Events Button */
.browse-events-btn {
    margin-top: 8px;
    padding: 6px 12px;
    background: transparent;
    border: 1px solid #4ecdc4;
    color: #4ecdc4;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.browse-events-btn:hover {
    background: #4ecdc4;
    color: #1a1a2e;
}

/* Events Modal */
.events-modal-content {
    max-width: 700px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}

.events-body {
    padding: 0;
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.events-loading,
.events-empty {
    padding: 40px 20px;
    text-align: center;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.events-list {
    flex: 1;
    overflow-y: auto;
    max-height: 400px;
}

.event-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 20px;
    border-bottom: 1px solid #333;
    transition: background 0.15s;
}

.event-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.event-item input[type="checkbox"] {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #e94560;
}

.event-info {
    flex: 1;
    min-width: 0;
}

.event-artist {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 4px;
}

.event-date {
    color: #e94560;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.event-venue {
    color: #4ecdc4;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.event-location {
    color: #888;
    font-size: 0.85rem;
}

.event-price {
    color: #666;
    font-size: 0.8rem;
    margin-top: 4px;
}

.ticket-link {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    background: transparent;
    border: 1px solid #4ecdc4;
    border-radius: 4px;
    color: #4ecdc4;
    font-size: 0.8rem;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s;
    margin-left: auto;
    align-self: center;
}

.ticket-link:hover {
    background: #4ecdc4;
    color: #1a1a2e;
}

.events-actions {
    padding: 16px 20px;
    border-top: 1px solid #333;
    background: rgba(0, 0, 0, 0.2);
}

.events-select-all {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.events-select-all label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #e0e0e0;
    margin: 0;
}

.events-select-all input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #e94560;
}

#selectedCount,
#nearbySelectedCount {
    color: #888;
    font-size: 0.9rem;
}

/* Nearby Shows Modal */
.nearby-modal-content {
    max-width: 700px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}

.nearby-body {
    padding: 0;
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.nearby-context {
    padding: 16px 20px;
    background: rgba(245, 158, 11, 0.1);
    border-bottom: 1px solid #333;
    font-size: 0.9rem;
    color: #e0e0e0;
}

.nearby-context strong {
    color: #f59e0b;
}

.nearby-context .nearby-details {
    margin-top: 8px;
    color: #888;
    font-size: 0.85rem;
}

.nearby-filter {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-bottom: 1px solid #333;
    background: rgba(0, 0, 0, 0.2);
}

.nearby-filter label {
    color: #888;
    font-size: 0.9rem;
    margin: 0;
}

.nearby-filter select {
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #333;
    background: #16213e;
    color: #e0e0e0;
    font-size: 0.9rem;
    cursor: pointer;
}

.nearby-filter select:focus {
    outline: none;
    border-color: #e94560;
}

.date-range-input {
    width: 50px;
    padding: 8px 8px;
    border-radius: 6px;
    border: 1px solid #333;
    background: #16213e;
    color: #e0e0e0;
    font-size: 0.9rem;
    text-align: center;
}

.date-range-input:focus {
    outline: none;
    border-color: #e94560;
}

.date-range-input::-webkit-inner-spin-button,
.date-range-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.date-range-input {
    -moz-appearance: textfield;
}

.nearby-filter span {
    color: #888;
    font-size: 0.9rem;
}

.nearby-body .events-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nearby-body .events-select-all {
    justify-content: flex-start;
    margin-bottom: 0;
}

/* Import Modal Styles */
.import-body {
    padding: 20px;
}

.import-instructions {
    color: #888;
    text-align: center;
    padding: 20px;
}

.column-mapping h3 {
    color: #fff;
    margin-bottom: 8px;
    font-size: 1rem;
}

.mapping-hint {
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.mapping-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mapping-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mapping-row label {
    width: 100px;
    margin-bottom: 0;
    color: #e0e0e0;
}

.map-select {
    flex: 1;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #333;
    background: #16213e;
    color: #e0e0e0;
    font-size: 0.9rem;
}

.map-select:focus {
    outline: none;
    border-color: #e94560;
}

.import-summary {
    margin-top: 20px;
    padding: 12px;
    background: rgba(233, 69, 96, 0.1);
    border-radius: 8px;
    text-align: center;
    color: #e94560;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    table {
        font-size: 0.85rem;
    }

    th, td {
        padding: 10px 8px;
    }

    .filters {
        flex-direction: column;
    }

    .filters input,
    .filters select {
        width: 100%;
    }
}

/* Auth Modal */
.auth-modal-content {
    max-width: 400px;
}

.auth-body {
    padding: 24px;
}

.auth-form .form-group {
    margin-bottom: 16px;
}

.auth-error {
    color: #e94560;
    font-size: 0.9rem;
    margin-bottom: 16px;
    min-height: 1.2em;
}

.auth-message {
    color: #888;
    margin-bottom: 16px;
    text-align: center;
}

.btn-full {
    width: 100%;
    padding: 12px;
}

.auth-switch {
    margin-top: 20px;
    text-align: center;
    color: #888;
}

.auth-switch .btn-text {
    margin-left: 4px;
}

/* User Menu */
.user-menu {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 16px;
    padding-left: 16px;
    border-left: 1px solid #333;
}

#userEmail {
    color: #888;
    font-size: 0.9rem;
}

.btn-text {
    background: none;
    border: none;
    color: #e94560;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0;
}

.btn-text:hover {
    text-decoration: underline;
}

/* Loading Overlay */
.loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);
}

.loading-overlay.active {
    display: flex;
}

.loading-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 40px 60px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
}

.loading-content .loading-spinner {
    width: 48px;
    height: 48px;
    border-width: 4px;
}

.loading-content span {
    color: #e0e0e0;
    font-size: 1.1rem;
}

/* Venue Modal */
.venue-modal-content {
    max-width: 700px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}

.venue-body {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

.venue-actions-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-top: 1px solid #333;
    background: rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.venue-actions-footer .events-select-all {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0;
}

/* Clickable venue link in table */
.venue-link {
    color: #9ca3af;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.15s;
}

.venue-link:hover {
    color: #d1d5db;
    text-decoration: underline;
}

/* Clickable artist link in table */
.artist-link {
    color: #f3f4f6;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.15s;
}

.artist-link:hover {
    color: #fff;
    text-decoration: underline;
}

/* Setlist Analytics Modal */
.setlist-modal-content {
    max-width: 600px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}

.setlist-body {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
    padding: 20px;
}

.setlist-summary {
    text-align: center;
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #333;
}

.setlist-chart {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.setlist-song {
    display: flex;
    align-items: center;
    gap: 12px;
}

.setlist-rank {
    width: 28px;
    font-size: 0.85rem;
    color: #888;
    text-align: right;
    flex-shrink: 0;
}

.setlist-song-info {
    flex: 1;
    min-width: 0;
}

.setlist-song-name {
    font-size: 0.95rem;
    color: #e0e0e0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.setlist-bar-container {
    width: 120px;
    height: 20px;
    background: #1a1a2e;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.setlist-bar {
    height: 100%;
    background: linear-gradient(90deg, #e94560 0%, #4a9eff 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.setlist-count {
    width: 70px;
    font-size: 0.85rem;
    color: #888;
    text-align: right;
    flex-shrink: 0;
}

/* Nearby filter responsive */
.nearby-filter {
    flex-wrap: wrap;
}

/* Welcome Modal */
.welcome-modal-content {
    max-width: 550px;
    animation: welcomeSlideIn 0.3s ease-out;
}

@keyframes welcomeSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.welcome-header {
    text-align: center;
    padding: 28px 24px 20px;
    border-bottom: 1px solid #333;
    background: linear-gradient(180deg, rgba(233, 69, 96, 0.1) 0%, transparent 100%);
}

.welcome-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 12px;
}

.welcome-header h2 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.welcome-version {
    display: inline-block;
    margin-top: 8px;
    padding: 4px 12px;
    background: linear-gradient(135deg, #e94560 0%, #c23a51 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 12px;
    letter-spacing: 0.5px;
}

.welcome-body {
    padding: 20px 24px;
}

.welcome-intro {
    color: #a0a0a0;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
    text-align: center;
}

.welcome-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.welcome-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    transition: background 0.2s;
}

.welcome-feature:hover {
    background: rgba(255, 255, 255, 0.06);
}

.feature-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    width: 32px;
    text-align: center;
}

.feature-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.feature-text strong {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
}

.feature-text span {
    color: #888;
    font-size: 0.8rem;
    line-height: 1.4;
}

.welcome-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px 20px;
    border-top: 1px solid #333;
    background: rgba(0, 0, 0, 0.2);
}

.welcome-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #888;
    font-size: 0.85rem;
}

.welcome-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #e94560;
    cursor: pointer;
}

.welcome-checkbox:hover {
    color: #a0a0a0;
}

#welcomeGetStartedBtn {
    padding: 12px 28px;
    font-size: 1rem;
}

/* Settings Button */
.settings-btn {
    background: none !important;
    background-color: transparent !important;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px 8px;
    opacity: 0.7;
    transition: opacity 0.2s;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.settings-btn:hover {
    opacity: 1;
    background: none !important;
}

/* Settings Modal */
.settings-modal-content {
    max-width: 500px;
    max-height: 85vh;
    overflow-y: auto;
}

.settings-body {
    padding: 20px 24px;
}

.settings-section {
    margin-bottom: 24px;
}

.settings-section:last-child {
    margin-bottom: 0;
}

.settings-section h3 {
    color: #e94560;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #333;
}

.settings-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.settings-row label {
    color: #e0e0e0;
    font-size: 0.9rem;
}

.settings-row select {
    padding: 8px 12px;
    background: #2a2a2a;
    border: 1px solid #3a3a3a;
    border-radius: 6px;
    color: #e0e0e0;
    font-size: 0.85rem;
    min-width: 150px;
}

.settings-row select:focus {
    outline: none;
    border-color: #e94560;
}

.settings-toggle {
    width: 20px;
    height: 20px;
    accent-color: #e94560;
    cursor: pointer;
}

.settings-checkboxes {
    display: flex;
    gap: 16px;
}

.settings-checkboxes label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #aaa;
    cursor: pointer;
}

.settings-checkboxes input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #e94560;
    cursor: pointer;
}

.settings-days-input {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #aaa;
    font-size: 0.85rem;
}

.settings-number-input {
    width: 60px;
    padding: 8px 10px;
    background: #2a2a2a;
    border: 1px solid #3a3a3a;
    border-radius: 6px;
    color: #e0e0e0;
    font-size: 0.85rem;
    text-align: center;
}

.settings-number-input:focus {
    outline: none;
    border-color: #e94560;
}

.settings-footer {
    display: flex;
    justify-content: space-between;
    padding: 16px 24px;
    border-top: 1px solid #333;
    background: rgba(0, 0, 0, 0.2);
}

/* Help Button */
.help-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #e94560;
    background: transparent;
    color: #e94560;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: 12px;
    flex-shrink: 0;
}

.help-btn:hover {
    background: #e94560;
    color: white;
    box-shadow: 0 4px 16px rgba(233, 69, 96, 0.4);
}

/* Tour Overlay */
.tour-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
}

.tour-overlay.active {
    display: block;
}

.tour-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1;
}

.tour-highlight {
    position: relative;
    z-index: 2001 !important;
    box-shadow: 0 0 0 4px #e94560, 0 0 30px 8px rgba(233, 69, 96, 0.4);
    border-radius: 8px;
}

.tour-highlight-bg {
    background: #16213e !important;
}

/* Tour modal handling */
.modal.tour-active {
    z-index: 2001 !important;
    background: transparent !important;
    backdrop-filter: none !important;
    pointer-events: none;
}

.modal.tour-active .modal-content {
    box-shadow: 0 0 0 4px #e94560, 0 0 30px 8px rgba(233, 69, 96, 0.4);
    pointer-events: auto;
}

/* Tour Tooltip */
.tour-tooltip {
    position: absolute;
    z-index: 2002;
    background: linear-gradient(180deg, rgba(22, 33, 62, 0.98) 0%, rgba(26, 26, 46, 1) 100%);
    border-radius: 12px;
    border: 1px solid rgba(233, 69, 96, 0.3);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 40px rgba(233, 69, 96, 0.15);
    min-width: 320px;
    max-width: 400px;
}

.tour-tooltip::before {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    background: #16213e;
    border: 1px solid rgba(233, 69, 96, 0.3);
    transform: rotate(45deg);
    border-right: none;
    border-bottom: none;
}

.tour-tooltip.arrow-top::before {
    top: -8px;
    left: 30px;
}

.tour-tooltip.arrow-bottom::before {
    bottom: -8px;
    left: 30px;
    transform: rotate(225deg);
}

.tour-tooltip.arrow-left::before {
    left: -8px;
    top: 30px;
    transform: rotate(-45deg);
}

.tour-tooltip.arrow-right::before {
    right: -8px;
    top: 30px;
    transform: rotate(135deg);
}

.tour-tooltip-content {
    padding: 24px 24px 16px;
}

.tour-tooltip-content h3 {
    color: #e94560;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.tour-tooltip-content p {
    color: #e0e0e0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.tour-tooltip-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0 0 12px 12px;
}

.tour-progress {
    color: #888;
    font-size: 0.8rem;
    font-weight: 500;
}

.tour-buttons {
    display: flex;
    gap: 8px;
}

.tour-btn {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.tour-btn.skip {
    background: transparent;
    color: #888;
}

.tour-btn.skip:hover {
    color: #e0e0e0;
}

.tour-btn.prev {
    background: rgba(255, 255, 255, 0.08);
    color: #e0e0e0;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.tour-btn.prev:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #e94560;
}

.tour-btn.prev.hidden {
    display: none;
}

.tour-btn.next {
    background: linear-gradient(135deg, #e94560 0%, #c23a51 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(233, 69, 96, 0.3);
}

.tour-btn.next:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(233, 69, 96, 0.4);
}

/* ==================== MY SHOWS DASHBOARD ==================== */

/* View separator in toggle */
.view-separator {
    color: #444;
    margin: 0 8px;
    font-size: 1.2rem;
}

.my-shows-btn {
    background: linear-gradient(135deg, #e94560 0%, #c23a51 100%) !important;
    border-color: #e94560 !important;
    color: white !important;
}

.my-shows-btn:hover {
    background: linear-gradient(135deg, #ff5a75 0%, #e94560 100%) !important;
}

/* My Shows View Container */
.my-shows-view {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #121212;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Header */
.my-shows-header {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    background: #1a1a1a;
    border-bottom: 1px solid #2a2a2a;
    gap: 24px;
}

.my-shows-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: #e94560;
    white-space: nowrap;
}

.my-shows-filters {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    flex-wrap: wrap;
}

/* Status Toggle Buttons */
.status-toggles {
    display: flex;
    gap: 8px;
}

.status-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #2a2a2a;
    border: 1px solid #3a3a3a;
    border-radius: 20px;
    color: #888;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.status-toggle:hover {
    border-color: #4a4a4a;
    color: #aaa;
}

.status-toggle.active {
    background: #252525;
    border-color: #4a4a4a;
    color: #e0e0e0;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-dot.interested {
    background: #3b82f6;
}

.status-dot.committed {
    background: #22c55e;
}

.status-dot.ticketed {
    background: #eab308;
}

.status-toggle:not(.active) .status-dot {
    opacity: 0.4;
}

/* Filter Inputs */
.my-shows-filters select,
.my-shows-filters input[type="text"] {
    padding: 8px 12px;
    background: #2a2a2a;
    border: 1px solid #3a3a3a;
    border-radius: 6px;
    color: #e0e0e0;
    font-size: 0.9rem;
}

.my-shows-filters select:focus,
.my-shows-filters input[type="text"]:focus {
    outline: none;
    border-color: #e94560;
}

#myShowsSearch {
    width: 200px;
}

.custom-date-range {
    display: flex;
    align-items: center;
    gap: 8px;
}

.custom-date-range input[type="date"] {
    padding: 7px 10px;
    background: #2a2a2a;
    border: 1px solid #3a3a3a;
    border-radius: 6px;
    color: #e0e0e0;
    font-size: 0.85rem;
}

.custom-date-range input[type="date"]:focus {
    outline: none;
    border-color: #e94560;
}

.custom-date-range .date-separator {
    color: #888;
    font-size: 0.85rem;
}

.close-my-shows-btn {
    margin-left: auto;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid #3a3a3a;
    border-radius: 6px;
    color: #888;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.close-my-shows-btn:hover {
    background: #e94560;
    border-color: #e94560;
    color: white;
}

/* Dashboard Grid */
.my-shows-dashboard {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 16px;
    padding: 16px;
    flex: 1;
    overflow: hidden;
}

/* Panel Styles */
.my-shows-table-panel,
.my-shows-map-panel,
.my-shows-calendar-panel {
    background: #1a1a1a;
    border-radius: 12px;
    border: 1px solid #2a2a2a;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #1e1e1e;
    border-bottom: 1px solid #2a2a2a;
}

.panel-title {
    font-weight: 600;
    color: #e0e0e0;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.panel-count {
    color: #888;
    font-size: 0.85rem;
}

/* Table Panel */
.my-shows-table-panel {
    min-height: 0;
}

.my-shows-table-container {
    flex: 1;
    overflow-y: auto;
    position: relative;
}

.my-shows-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.my-shows-table thead {
    position: sticky;
    top: 0;
    background: #1e1e1e;
    z-index: 1;
}

.my-shows-table th {
    padding: 12px 16px;
    text-align: left;
    color: #888;
    font-weight: 500;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #2a2a2a;
}

.my-shows-table th.sortable {
    cursor: pointer;
}

.my-shows-table th.sortable:hover {
    color: #e94560;
}

.my-shows-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #252525;
    color: #e0e0e0;
}

.my-shows-table td:first-child {
    white-space: nowrap;
}

.my-shows-table tbody tr {
    transition: background 0.15s ease;
}

.my-shows-table tbody tr:hover {
    background: #252525;
}

.my-shows-table tbody tr.highlighted {
    background: rgba(233, 69, 96, 0.15);
}

/* Countdown Badge */
.countdown-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-left: 8px;
}

.countdown-badge.soon {
    background: rgba(234, 179, 8, 0.2);
    color: #eab308;
}

.countdown-badge.imminent {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

/* Status Badge (replaces select dropdown) - compact pill design */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    border: 1px solid transparent;
    white-space: nowrap;
    width: fit-content;
}

.status-badge:hover {
    filter: brightness(1.15);
    transform: scale(1.02);
}

.status-badge .status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Status column - tight width */
.my-shows-table th:nth-child(5),
.my-shows-table td:nth-child(5) {
    width: 1%;
    white-space: nowrap;
}

/* Actions column - tight width */
.my-shows-table th:nth-child(6),
.my-shows-table td:nth-child(6) {
    width: 1%;
    white-space: nowrap;
}

.status-badge.status-none {
    background: rgba(107, 114, 128, 0.15);
    color: #9ca3af;
    border-color: #4b5563;
}

/* Untracked status - subtle "Track" button */
.status-badge.status-untracked {
    background: transparent;
    color: #6b7280;
    border: 1px dashed #4b5563;
    font-size: 0.7rem;
}

.status-badge.status-untracked:hover {
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    border-color: #3b82f6;
    border-style: solid;
}

.status-badge.status-none .status-dot {
    background: #6b7280;
}

.status-badge.status-interested {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border-color: rgba(59, 130, 246, 0.3);
}

.status-badge.status-interested .status-dot {
    background: #3b82f6;
}

.status-badge.status-committed {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border-color: rgba(34, 197, 94, 0.3);
}

.status-badge.status-committed .status-dot {
    background: #22c55e;
}

.status-badge.status-ticketed {
    background: rgba(234, 179, 8, 0.15);
    color: #facc15;
    border-color: rgba(234, 179, 8, 0.3);
}

.status-badge.status-ticketed .status-dot {
    background: #eab308;
}

/* Legacy status select (keep for My Shows tab) */
.my-shows-table .status-select {
    padding: 4px 8px;
    background: #2a2a2a;
    border: 1px solid #3a3a3a;
    border-radius: 4px;
    color: #e0e0e0;
    font-size: 0.85rem;
    cursor: pointer;
}

.my-shows-table .status-select.status-interested {
    border-color: #3b82f6;
    color: #3b82f6;
}

.my-shows-table .status-select.status-committed {
    border-color: #22c55e;
    color: #22c55e;
}

.my-shows-table .status-select.status-ticketed {
    border-color: #eab308;
    color: #eab308;
}

/* Action Menu (More Button) */
.action-menu-container {
    position: relative;
}

.action-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: transparent;
    border: 1px solid #3a3a3a;
    border-radius: 6px;
    color: #9ca3af;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.15s ease;
}

.action-more-btn:hover {
    background: #2a2a2a;
    border-color: #4b5563;
    color: #e5e7eb;
}

.action-dropdown {
    position: fixed;
    min-width: 160px;
    background: #1f2937;
    border: 1px solid #374151;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.15s ease;
}

/* Status picker - compact width */
.status-picker {
    min-width: auto;
    width: fit-content;
}

.status-picker .action-dropdown-item {
    padding: 8px 12px;
    font-size: 0.8rem;
    gap: 8px;
    white-space: nowrap;
}

.action-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.action-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    background: transparent;
    border: none;
    color: #e5e7eb;
    font-size: 0.875rem;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s;
}

.action-dropdown-item:first-child {
    border-radius: 7px 7px 0 0;
}

.action-dropdown-item:last-child {
    border-radius: 0 0 7px 7px;
}

.action-dropdown-item:hover {
    background: #374151;
}

.action-dropdown-item.danger {
    color: #f87171;
}

.action-dropdown-item.danger:hover {
    background: rgba(239, 68, 68, 0.15);
}

.action-dropdown-divider {
    height: 1px;
    background: #374151;
    margin: 4px 0;
}

/* Legacy Action Buttons (keep for compatibility) */
.my-shows-actions {
    display: flex;
    gap: 8px;
}

.my-shows-action-btn {
    padding: 4px 8px;
    background: transparent;
    border: 1px solid #3a3a3a;
    border-radius: 4px;
    color: #888;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.my-shows-action-btn:hover {
    border-color: #10b981;
    color: #10b981;
}

/* Empty States */
.my-shows-empty {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #888;
    padding: 40px;
}

.my-shows-empty p {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
}

.my-shows-empty .empty-hint {
    font-size: 0.9rem;
    color: #666;
    max-width: 300px;
    margin: 0 auto 20px auto;
}

/* Right Panel */
.my-shows-right-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 0;
    overflow: hidden;
}

/* Map Panel */
.my-shows-map-panel {
    flex: 1;
    min-height: 200px;
}

#myShowsMap {
    flex: 1;
    min-height: 180px;
}

/* Calendar Panel */
.my-shows-calendar-panel {
    flex-shrink: 0;
    min-height: 320px;
}

.my-shows-calendar {
    padding: 8px 12px;
}

.my-shows-calendar .calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    background: transparent;
    border: none;
}

.my-shows-calendar .calendar-day {
    aspect-ratio: 1;
    min-width: 0;
    min-height: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 0.8rem;
    color: #888;
    background: transparent;
    cursor: default;
    transition: all 0.15s ease;
    position: relative;
}

.calendar-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cal-nav-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2a2a2a;
    border: 1px solid #3a3a3a;
    border-radius: 4px;
    color: #888;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cal-nav-btn:hover {
    border-color: #e94560;
    color: #e94560;
}

#myShowsCalendarTitle {
    color: #e0e0e0;
    font-size: 0.9rem;
    min-width: 120px;
    text-align: center;
}

.my-shows-calendar .calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 8px;
}

.my-shows-calendar .calendar-weekdays span {
    color: #666;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
}

.my-shows-calendar .calendar-day.other-month {
    color: #444;
}

.my-shows-calendar .calendar-day.today {
    background: #2a2a2a;
    color: #e0e0e0;
}

.my-shows-calendar .calendar-day.has-shows {
    cursor: pointer;
}

.my-shows-calendar .calendar-day.has-shows:hover {
    background: #252525;
}

.my-shows-calendar .calendar-day.highlighted {
    background: rgba(233, 69, 96, 0.2);
}

.my-shows-calendar .calendar-day .show-dots {
    display: flex;
    gap: 2px;
    margin-top: 2px;
}

.my-shows-calendar .calendar-day .show-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
}

.my-shows-calendar .calendar-day .show-dot.interested {
    background: #3b82f6;
}

.my-shows-calendar .calendar-day .show-dot.committed {
    background: #22c55e;
}

.my-shows-calendar .calendar-day .show-dot.ticketed {
    background: #eab308;
}

/* Map Markers */
.my-shows-marker {
    transition: transform 0.15s ease;
}

.my-shows-marker.highlighted {
    transform: scale(1.3);
    z-index: 1000 !important;
}

/* Tooltip for map */
.my-shows-tooltip {
    background: #1a1a1a;
    border: 1px solid #3a3a3a;
    border-radius: 6px;
    padding: 8px 12px;
    color: #e0e0e0;
    font-size: 0.85rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.my-shows-tooltip .tooltip-artist {
    font-weight: 600;
    color: #e94560;
}

.my-shows-tooltip .tooltip-venue {
    color: #888;
    font-size: 0.8rem;
}

/* Keyboard shortcut hint */
.my-shows-btn::after {
    content: '⌘M';
    margin-left: 8px;
    font-size: 0.75rem;
    opacity: 0.6;
}

.my-shows-btn.hide-shortcut::after {
    display: none;
}

/* ==================== TAB SLIDER ==================== */
.tab-slider-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.tab-slider {
    display: flex;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    padding: 4px;
    border: 1px solid #333;
}

.tab-slider input[type="radio"] {
    display: none;
}

.tab-label {
    padding: 12px 32px;
    cursor: pointer;
    color: #888;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
    z-index: 1;
    border-radius: 26px;
    user-select: none;
}

.tab-label:hover {
    color: #e0e0e0;
}

.tab-slider input[type="radio"]:checked + .tab-label,
#planningTab:checked ~ label[for="planningTab"],
#myShowsTab:checked ~ label[for="myShowsTab"] {
    color: white;
}

.tab-slider-indicator {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(50% - 4px);
    height: calc(100% - 8px);
    background: linear-gradient(135deg, #e94560 0%, #c23a51 100%);
    border-radius: 26px;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 8px rgba(233, 69, 96, 0.3);
}

#myShowsTab:checked ~ .tab-slider-indicator {
    transform: translateX(100%);
}

/* ==================== TAB CONTENT ==================== */
.tab-content {
    display: none;
}

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

/* ==================== DASHBOARD LAYOUT (matches prod My Shows) ==================== */
.my-shows-dashboard {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 16px;
    padding: 16px 0;
    flex: 1;
    overflow: hidden;
    min-height: 500px;
}

/* Panel Styles */
.my-shows-table-panel,
.my-shows-map-panel,
.my-shows-calendar-panel {
    background: #1a1a1a;
    border-radius: 12px;
    border: 1px solid #2a2a2a;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #1e1e1e;
    border-bottom: 1px solid #2a2a2a;
}

.panel-title {
    font-weight: 600;
    color: #e0e0e0;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.panel-count {
    color: #888;
    font-size: 0.85rem;
}

/* Table Panel */
.my-shows-table-panel {
    min-height: 0;
}

.my-shows-table-container {
    flex: 1;
    overflow-y: auto;
    position: relative;
}

/* Right Panel */
.my-shows-right-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 0;
    overflow: hidden;
}

/* Map Panel */
.my-shows-map-panel {
    flex: 1;
    min-height: 200px;
}

#planningMap,
#myShowsTabMap {
    flex: 1;
    min-height: 180px;
}

/* Calendar Panel */
.my-shows-calendar-panel {
    flex-shrink: 0;
    min-height: 320px;
}

.my-shows-calendar {
    padding: 8px 12px;
}

.my-shows-calendar .calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    background: transparent;
    border: none;
}

.my-shows-calendar .calendar-day {
    aspect-ratio: 1;
    min-width: 0;
    min-height: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 0.8rem;
    color: #888;
    background: transparent;
    cursor: default;
    transition: all 0.15s ease;
    position: relative;
}

.my-shows-calendar .calendar-day.today {
    background: rgba(233, 69, 96, 0.2);
    color: #e94560;
    font-weight: 600;
}

.my-shows-calendar .calendar-day.has-shows {
    color: #e0e0e0;
    cursor: pointer;
}

.my-shows-calendar .calendar-day.has-shows:hover {
    background: rgba(255, 255, 255, 0.1);
}

.my-shows-calendar .calendar-day.highlighted {
    background: rgba(233, 69, 96, 0.3);
}

.my-shows-calendar .calendar-day.other-month {
    color: #444;
}

.calendar-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cal-nav-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2a2a2a;
    border: 1px solid #3a3a3a;
    border-radius: 4px;
    color: #888;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cal-nav-btn:hover {
    border-color: #e94560;
    color: #e94560;
}

#planningCalendarTitle,
#myShowsTabCalendarTitle {
    color: #e0e0e0;
    font-size: 0.9rem;
    min-width: 120px;
    text-align: center;
}

.my-shows-calendar .calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin-bottom: 4px;
}

.my-shows-calendar .calendar-weekdays span {
    text-align: center;
    font-size: 0.75rem;
    color: #666;
    padding: 8px 0;
}

/* Show dots on calendar */
.show-dots {
    display: flex;
    gap: 2px;
    margin-top: 2px;
}

.show-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #e94560;
}

.show-dot.interested { background: #3b82f6; }
.show-dot.committed { background: #22c55e; }
.show-dot.ticketed { background: #eab308; }

/* Responsive */
@media (max-width: 1024px) {
    .my-shows-dashboard {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
    }

    .my-shows-right-panel {
        flex-direction: row;
    }

    .my-shows-map-panel,
    .my-shows-calendar-panel {
        flex: 1;
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .my-shows-right-panel {
        flex-direction: column;
    }
}

/* ==================== PLANNING SEARCH (styled as primary action) ==================== */
.planning-search-container {
    position: relative;
    flex: 0 0 auto;
    z-index: 100;
}

.planning-search-input {
    width: 160px;
    padding: 8px 14px;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 8px;
    border: none;
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    color: #fff;
    cursor: pointer;
    transition: all 0.2s;
}

.planning-search-input:hover {
    background: linear-gradient(135deg, #5b52f0 0%, #7073f5 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.planning-search-input:focus {
    outline: none;
    width: 280px;
    background: #1e1e2e;
    border: 2px solid #6366f1;
    color: #e0e0e0;
    cursor: text;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.planning-search-input::placeholder {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.planning-search-input:focus::placeholder {
    color: #6b7280;
    font-weight: 400;
}

/* ==================== SEARCH RESULTS DROPDOWN ==================== */
.planning-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #16213e;
    border: 1px solid #444;
    border-top: none;
    border-radius: 0 0 12px 12px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.planning-search-results.active {
    display: block;
}

.search-result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid #333;
    transition: background 0.15s;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.search-result-info {
    flex: 1;
    min-width: 0;
}

.search-result-artist {
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-date {
    color: #e94560;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.search-result-venue {
    color: #4ecdc4;
    font-size: 0.85rem;
}

.search-result-location {
    color: #888;
    font-size: 0.8rem;
}

.search-result-add-btn {
    padding: 8px 16px;
    background: linear-gradient(135deg, #e94560 0%, #c23a51 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
    margin-left: 12px;
}

.search-result-add-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(233, 69, 96, 0.4);
}

.search-result-add-btn.added {
    background: #10b981;
    cursor: default;
}

.search-result-add-btn.added:hover {
    transform: none;
    box-shadow: none;
}

.search-results-loading {
    padding: 30px;
    text-align: center;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.search-results-empty {
    padding: 30px;
    text-align: center;
    color: #666;
}

/* ==================== SELECTED ARTIST EVENTS ==================== */
.planning-selected-artist {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid #444;
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
}

.selected-artist-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: rgba(233, 69, 96, 0.1);
    border-bottom: 1px solid #444;
}

.selected-artist-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: #e94560;
}

.clear-artist-btn {
    padding: 6px 14px;
    background: transparent;
    border: 1px solid #666;
    border-radius: 6px;
    color: #888;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

.clear-artist-btn:hover {
    border-color: #e94560;
    color: #e94560;
}

.planning-events-list {
    max-height: 350px;
    overflow-y: auto;
}

.planning-events-loading {
    padding: 40px;
    text-align: center;
    color: #888;
}

.planning-events-empty {
    padding: 40px;
    text-align: center;
    color: #666;
}

.planning-event-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid #333;
    transition: background 0.15s;
}

.planning-event-item:last-child {
    border-bottom: none;
}

.planning-event-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.planning-event-info {
    flex: 1;
    min-width: 0;
}

.planning-event-date {
    color: #e94560;
    font-weight: 500;
    margin-bottom: 4px;
}

.planning-event-venue {
    color: #4ecdc4;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.planning-event-location {
    color: #888;
    font-size: 0.85rem;
}

/* Artist autocomplete items */
.artist-autocomplete-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    cursor: pointer;
    border-bottom: 1px solid #333;
    transition: background 0.15s;
}

.artist-autocomplete-item:last-child {
    border-bottom: none;
}

.artist-autocomplete-item:hover,
.artist-autocomplete-item.selected {
    background: rgba(233, 69, 96, 0.1);
}

.artist-autocomplete-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    background: #333;
}

.artist-autocomplete-info {
    flex: 1;
}

.artist-autocomplete-name {
    font-weight: 600;
    color: #fff;
    margin-bottom: 2px;
}

.artist-autocomplete-genre {
    font-size: 0.85rem;
    color: #888;
}

/* ==================== COMPACT FILTER BAR ==================== */
.tab-filters {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #1a1a1a;
    border-radius: 10px;
    border: 1px solid #2a2a2a;
    margin-bottom: 16px;
}

.filter-divider {
    width: 1px;
    height: 20px;
    background: #3a3a3a;
    flex-shrink: 0;
}

.filter-group {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Planning tab filter input - expands to fill space */
.planning-filter-input {
    flex: 1;
    min-width: 200px;
    padding: 8px 14px;
    font-size: 0.85rem;
    border-radius: 8px;
    border: 1px solid #3a3a3a;
    background: #1e1e2e;
    color: #e0e0e0;
    transition: all 0.2s;
}

.planning-filter-input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.15);
}

.planning-filter-input::placeholder {
    color: #666;
}

/* Filter dropdowns - 25% of row */
.filter-dropdowns {
    flex: 2;
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: flex-end;
}

.filter-input {
    padding: 5px 10px;
    font-size: 0.8rem;
    border-radius: 5px;
    border: 1px solid #3a3a3a;
    background: #252525;
    color: #e0e0e0;
    width: 140px;
    flex-shrink: 0;
    transition: border-color 0.2s;
}

.filter-input:focus {
    outline: none;
    border-color: #e94560;
}

.filter-input::placeholder {
    color: #666;
}

/* My Shows filter bar layout */
.myshows-filter-group {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.myshows-search-input {
    flex: 1.5;
    padding: 5px 10px;
    font-size: 0.8rem;
    border-radius: 5px;
    border: 1px solid #3a3a3a;
    background: #252525;
    color: #e0e0e0;
    transition: border-color 0.2s;
}

.myshows-search-input:focus {
    outline: none;
    border-color: #e94560;
}

.myshows-search-input::placeholder {
    color: #666;
}

.filter-select {
    padding: 5px 8px;
    font-size: 0.8rem;
    border-radius: 5px;
    border: 1px solid #3a3a3a;
    background: #252525;
    color: #e0e0e0;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color 0.2s;
}

.filter-select:focus {
    outline: none;
    border-color: #e94560;
}

.btn-clear {
    padding: 5px 10px;
    font-size: 0.75rem;
    border-radius: 5px;
    border: 1px solid #3a3a3a;
    background: transparent;
    color: #888;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-clear:hover {
    border-color: #e94560;
    color: #e94560;
}

/* Status toggles compact */
.tab-filters .status-toggles {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
}

.tab-filters .status-toggle {
    padding: 4px 8px;
    font-size: 0.75rem;
    border-radius: 12px;
    border: 1px solid #3a3a3a;
    background: transparent;
    color: #888;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.tab-filters .status-toggle.active {
    background: rgba(255, 255, 255, 0.08);
    color: #e0e0e0;
    border-color: #4a4a4a;
}

.tab-filters .status-toggle:hover {
    border-color: #666;
}

.tab-filters .status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.tab-filters .status-dot.interested { background: #3b82f6; }
.tab-filters .status-dot.committed { background: #22c55e; }
.tab-filters .status-dot.ticketed { background: #eab308; }

/* Custom date range compact */
.tab-filters .custom-date-range {
    display: flex;
    align-items: center;
    gap: 6px;
}

.tab-filters .custom-date-range input[type="date"] {
    padding: 4px 8px;
    font-size: 0.8rem;
    border-radius: 4px;
    border: 1px solid #3a3a3a;
    background: #252525;
    color: #e0e0e0;
}

.tab-filters .date-separator {
    color: #666;
    font-size: 0.8rem;
}

/* Tab-specific responsive */
@media (max-width: 768px) {
    .tab-label {
        padding: 10px 24px;
        font-size: 0.9rem;
    }

    .tab-filters {
        gap: 8px;
    }

    .filter-divider {
        display: none;
    }
}

/* ==================== PLANNING DASHBOARD LAYOUT ==================== */
.planning-dashboard {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 16px;
    flex: 1;
    min-height: 0;
}

.planning-table-panel {
    display: flex;
    flex-direction: column;
    background: #1a1a1a;
    border-radius: 12px;
    border: 1px solid #2a2a2a;
    min-height: 0;
    position: relative;
    z-index: 10;
}

.planning-table-panel .panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid #2a2a2a;
    flex-shrink: 0;
}

.planning-table-panel .panel-title {
    font-weight: 600;
    font-size: 1rem;
    color: #fff;
}

.planning-table-panel .panel-count {
    font-size: 0.85rem;
    color: #888;
}

/* Planning Map Sidebar */
.planning-map-sidebar {
    display: flex;
    flex-direction: column;
    background: #1a1a1a;
    border-radius: 12px;
    border: 1px solid #2a2a2a;
    overflow: hidden;
    transition: width 0.3s ease, opacity 0.3s ease;
}

.planning-map-sidebar.collapsed {
    width: 48px;
}

.planning-map-sidebar.collapsed .planning-map,
.planning-map-sidebar.collapsed .panel-count {
    display: none;
}

.planning-map-sidebar.collapsed .sidebar-toggle-btn svg {
    transform: rotate(180deg);
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid #2a2a2a;
    flex-shrink: 0;
}

.sidebar-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: transparent;
    border: 1px solid #3a3a3a;
    border-radius: 6px;
    color: #888;
    cursor: pointer;
    transition: all 0.15s;
}

.sidebar-toggle-btn:hover {
    background: #2a2a2a;
    color: #fff;
}

.sidebar-toggle-btn svg {
    transition: transform 0.3s ease;
}

.planning-map {
    flex: 1;
    min-height: 400px;
    height: 100%;
    background: #0f172a;
}

/* Ensure Leaflet container fills parent completely - fixes white sandwich */
.planning-map .leaflet-container,
#planningMap .leaflet-container,
#myShowsTabMap .leaflet-container {
    height: 100% !important;
    min-height: 100%;
    background: #0f172a;
}

#planningMap,
#myShowsTabMap {
    background: #0f172a;
    height: 100%;
}

/* Table row improvements */
.my-shows-table td {
    padding: 14px 16px;
    vertical-align: middle;
}

.my-shows-table th {
    padding: 14px 16px;
}

/* Location cell styling */
.location-cell {
    color: #9ca3af;
    font-size: 0.9rem;
}

/* Responsive for planning dashboard */
@media (max-width: 1024px) {
    .planning-dashboard {
        grid-template-columns: 1fr;
    }
    
    .planning-map-sidebar {
        display: none;
    }
}

/* ==================== PLANNING SIDEBAR (Map + Calendar) ==================== */
.planning-sidebar {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 320px;
    flex-shrink: 0;
}

.sidebar-panel {
    background: #0f172a;
    border-radius: 12px;
    border: 1px solid #1e293b;
    overflow: hidden;
}

.sidebar-panel .sidebar-header {
    padding: 12px 14px;
    border-bottom: 1px solid #1e293b;
    background: #0f172a;
}

/* Sidebar Map */
.sidebar-map {
    height: 220px;
    background: #0f172a;
}

.sidebar-map .leaflet-container {
    height: 100% !important;
    background: #0f172a;
}

/* Sidebar Calendar */
.sidebar-calendar {
    padding: 12px;
}

.sidebar-calendar .calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    margin-bottom: 8px;
}

.sidebar-calendar .calendar-weekdays span {
    text-align: center;
    font-size: 0.7rem;
    color: #64748b;
    font-weight: 500;
}

.sidebar-calendar .calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.sidebar-calendar .calendar-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: #94a3b8;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    transition: all 0.15s;
}

.sidebar-calendar .calendar-day:hover {
    background: #1e293b;
}

.sidebar-calendar .calendar-day.other-month {
    color: #475569;
}

.sidebar-calendar .calendar-day.today {
    background: #1e293b;
    color: #fff;
    font-weight: 600;
}

.sidebar-calendar .calendar-day.has-shows {
    color: #fff;
}

.sidebar-calendar .calendar-day.highlighted {
    background: rgba(99, 102, 241, 0.3);
    border-radius: 6px;
}

.sidebar-calendar .calendar-day.highlighted .show-dot {
    transform: scale(1.5);
    box-shadow: 0 0 6px currentColor;
}

/* Calendar show dots (Planning mode - multiple colored dots) */
.sidebar-calendar .show-dots {
    display: flex;
    gap: 2px;
    margin-top: 2px;
}

.sidebar-calendar .show-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #6366f1;
}

/* Calendar highlighted days (My Shows mode - background highlight) */
.sidebar-calendar .calendar-day.has-confirmed-show {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.4);
}

.sidebar-calendar .calendar-day.has-confirmed-show:hover {
    background: rgba(34, 197, 94, 0.3);
}

/* Calendar navigation */
.calendar-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cal-nav-btn {
    width: 24px;
    height: 24px;
    background: transparent;
    border: 1px solid #334155;
    border-radius: 4px;
    color: #94a3b8;
    cursor: pointer;
    font-size: 0.75rem;
    transition: all 0.15s;
}

.cal-nav-btn:hover {
    background: #1e293b;
    color: #fff;
}

/* Compact sidebar header */
.sidebar-header.compact {
    padding: 8px 12px;
}

/* Today button */
.cal-today-btn {
    padding: 4px 10px;
    background: transparent;
    border: 1px solid #334155;
    border-radius: 4px;
    color: #94a3b8;
    font-size: 0.7rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
}

.cal-today-btn:hover {
    background: #1e293b;
    color: #fff;
    border-color: #475569;
}

#planningCalendarTitle,
#myShowsCalendarTitle,
#myShowsTabCalendarTitle {
    font-size: 0.8rem;
    font-weight: 500;
    color: #e2e8f0;
    min-width: 100px;
    text-align: center;
}

/* ==================== NEW STATUS COLORS ==================== */
/* Confirmed - Green */
.status-badge.status-confirmed,
.status-dot.confirmed {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border-color: rgba(34, 197, 94, 0.3);
}

.status-badge.status-confirmed .status-dot,
.status-dot.confirmed {
    background: #22c55e;
}

/* Ticketed - Gold/Amber */
.status-badge.status-ticketed,
.status-dot.ticketed {
    background: rgba(234, 179, 8, 0.15);
    color: #facc15;
    border-color: rgba(234, 179, 8, 0.3);
}

.status-badge.status-ticketed .status-dot,
.status-dot.ticketed {
    background: #eab308;
}

/* Booked Travel - Purple */
.status-badge.status-booked,
.status-dot.booked {
    background: rgba(168, 85, 247, 0.15);
    color: #c084fc;
    border-color: rgba(168, 85, 247, 0.3);
}

.status-badge.status-booked .status-dot,
.status-dot.booked {
    background: #a855f7;
}

/* ==================== MOVE TO MY SHOWS BUTTON ==================== */
.move-to-myshows-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s;
}

.move-to-myshows-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
}

.move-to-myshows-btn svg {
    width: 14px;
    height: 14px;
}

/* ==================== CONFLICT WARNING ==================== */
.conflict-indicator {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 8px;
    padding: 2px 6px;
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 4px;
    color: #fbbf24;
    font-size: 0.65rem;
    font-weight: 500;
}

.conflict-indicator svg {
    width: 10px;
    height: 10px;
}

/* ==================== FIXED STATUS/ACTION COLUMN WIDTH ==================== */
.my-shows-table th:nth-child(5),
.my-shows-table td:nth-child(5) {
    width: 140px;
    min-width: 140px;
    max-width: 140px;
}

/* Update planning dashboard grid */
.planning-dashboard {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 16px;
    flex: 1;
    min-height: 0;
}

/* Responsive */
@media (max-width: 1200px) {
    .planning-sidebar {
        width: 280px;
    }
    
    .planning-dashboard {
        grid-template-columns: 1fr 280px;
    }
}

@media (max-width: 1024px) {
    .planning-dashboard {
        grid-template-columns: 1fr;
    }
    
    .planning-sidebar {
        display: none;
    }
}

/* ==================== TOAST NOTIFICATIONS ==================== */
.toast-notification {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 24px;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 8px;
    color: #e2e8f0;
    font-size: 0.9rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    z-index: 10000;
    animation: toastSlideIn 0.3s ease, toastFadeOut 0.3s ease 2.7s forwards;
}

@keyframes toastSlideIn {
    from {
        transform: translateX(-50%) translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

@keyframes toastFadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}
