/* Artist tour — dashboard + public poster layout */

.tour-dash-switch {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.tour-dash-switch.is-on {
    border-color: rgba(255, 193, 7, 0.45);
    box-shadow: 0 0 24px rgba(255, 193, 7, 0.12);
}

.tour-cover-preview img {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tour-features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tour-feature-chip {
    cursor: pointer;
    margin: 0;
}

.tour-feature-chip input {
    position: absolute;
    opacity: 0;
}

.tour-feature-chip span {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #adb5bd;
    transition: all 0.2s ease;
}

.tour-feature-chip input:checked + span {
    background: rgba(0, 242, 254, 0.12);
    border-color: #00f2fe;
    color: #fff;
}

.tour-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
}

.tour-list-grid--stack {
    grid-template-columns: 1fr;
}

.tour-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    text-decoration: none;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.3);
}

.tour-list-item.is-active {
    border-color: rgba(0, 242, 254, 0.6);
}

.tour-list-item--expandable {
    display: block;
    padding: 0;
    overflow: hidden;
}

.tour-expand-btn {
    width: 100%;
    background: transparent;
    border: 0;
    color: inherit;
    text-align: left;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.tour-expand-body {
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    padding: 10px 12px 12px;
}

.tour-pill {
    font-size: 0.68rem;
    padding: 5px 9px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #d1d5db;
}

.tour-create-form {
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.25);
}

.tour-state-badge {
    font-size: 0.66rem;
    font-weight: 800;
    padding: 5px 8px;
    border-radius: 999px;
    color: #fff;
}

.tour-state-badge.state-active { background: #198754; }
.tour-state-badge.state-inactive { background: #6c757d; }
.tour-state-badge.state-draft { background: #495057; }
.tour-state-badge.state-completed { background: #0d6efd; }
.tour-state-badge.state-expired { background: #fd7e14; }
.tour-state-badge.state-cancelled { background: #dc3545; }

.tour-control-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.tour-control-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 14px;
    background: rgba(0, 0, 0, 0.28);
}

.tour-control-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tour-workspace-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

.tour-workspace-kpis {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tour-wizard-step.is-active {
    border-color: #00f2fe;
    color: #fff;
    background: rgba(0, 242, 254, 0.12);
}

.tour-stop-form {
    background: linear-gradient(160deg, rgba(12, 15, 21, 0.96), rgba(18, 22, 30, 0.92));
    border: 1px solid rgba(0, 242, 254, 0.22) !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.tour-stop-form-head {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.tour-stop-index-badge {
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #00f2fe;
    border: 1px solid rgba(0, 242, 254, 0.45);
    border-radius: 999px;
    padding: 5px 10px;
    background: rgba(0, 242, 254, 0.1);
}

.tour-stop-actions {
    border-top: 1px dashed rgba(255, 255, 255, 0.16);
    padding-top: 12px;
}

.tour-countries-multi {
    min-height: 132px;
}

@media (max-width: 767.98px) {
    .tour-stop-actions .btn {
        width: 100%;
    }

    .tour-countries-multi {
        min-height: 112px;
        font-size: 0.95rem;
    }
}

.tour-price-row {
    display: grid;
    grid-template-columns: 1.4fr .8fr .8fr auto;
    gap: 8px;
    margin-bottom: 8px;
}

.tour-stop-map {
    width: 100%;
    height: 170px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #111216;
}

/* —— Public tour map —— */
.artist-tour-map-wrap {
    position: relative;
}

.artist-tour-map-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 0.75rem;
    color: #a1a1aa;
}

.artist-tour-map-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.artist-tour-map-legend i {
    color: #ffc107;
}

.artist-tour-map {
    width: 100%;
    height: 360px;
    border-radius: 16px;
    border: 1px solid rgba(0, 242, 254, 0.2);
    overflow: hidden;
    background: linear-gradient(180deg, #0d1117 0%, #0a0e14 100%);
}

/* Custom map pins (public tour + dashboard preview) */
.tour-map-pin {
    width: 48px;
    height: 48px;
    position: relative;
    cursor: pointer;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.55));
    transition: transform 0.2s ease, filter 0.2s ease;
}

.tour-map-pin:hover {
    transform: scale(1.12) translateY(-4px);
    filter: drop-shadow(0 8px 20px rgba(255, 193, 7, 0.65));
    z-index: 5;
}

.tour-map-pin__halo {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 193, 7, 0.95), rgba(255, 140, 0, 0.4) 55%, transparent 72%);
    border: 2px solid rgba(255, 193, 7, 0.85);
    box-shadow: 0 0 0 8px rgba(255, 193, 7, 0.35);
}

.tour-map-pin__core {
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    background: linear-gradient(145deg, #1a1c23 0%, #111216 100%);
    border: 2px solid rgba(0, 242, 254, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
    color: #fff;
    font-weight: 900;
}

.tour-map-pin__day {
    font-size: 1.05rem;
    letter-spacing: -0.02em;
}

.tour-map-pin__mon {
    font-size: 0.58rem;
    font-weight: 800;
    color: #ffc107;
    letter-spacing: 0.06em;
    margin-top: 1px;
}

.tour-map-pin__icon {
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00f2fe, #00c4e0);
    color: #0a0e14;
    font-size: 0.55rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 8px rgba(0, 242, 254, 0.45);
}

.tour-dash-pin {
    width: 40px;
    height: 40px;
}

.tour-dash-pin .tour-map-pin__day {
    font-size: 0.9rem;
}

.tour-dash-pin .tour-map-pin__mon {
    font-size: 0.5rem;
}

.tour-dash-pin .tour-map-pin__icon {
    width: 18px;
    height: 18px;
    font-size: 0.45rem;
}

/* Google Maps info window (tour) */
.tour-map-info {
    font-family: system-ui, -apple-system, sans-serif;
    min-width: 200px;
    max-width: 260px;
}

.tour-map-info__title {
    font-weight: 800;
    font-size: 0.95rem;
    color: #ffc107;
    margin-bottom: 4px;
}

.tour-map-info__meta {
    font-size: 0.78rem;
    color: #00f2fe;
    margin-bottom: 6px;
}

.tour-map-info__addr {
    font-size: 0.75rem;
    color: #a1a1aa;
    line-height: 1.35;
}

/* —— Public poster —— */
.artist-tour-public {
    overflow: hidden;
    border: 1px solid rgba(255, 193, 7, 0.25) !important;
    background: linear-gradient(160deg, rgba(20, 12, 8, 0.95), #111216 45%) !important;
}

.artist-tour-public__head {
    position: relative;
    margin: -24px -24px 24px;
}

.artist-tour-public__cover {
    position: relative;
    max-height: 320px;
    overflow: hidden;
}

.artist-tour-public__cover img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.artist-tour-public__cover-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #111216 8%, transparent 55%);
}

.artist-tour-public__titles {
    position: relative;
    padding: 20px 24px 0;
    margin-top: -40px;
}

.artist-tour-public__cover + .artist-tour-public__titles {
    margin-top: -80px;
}

.artist-tour-public__badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.5);
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 10px;
    background: rgba(0, 0, 0, 0.5);
}

.artist-tour-public__title {
    font-size: clamp(1.5rem, 4vw, 2.4rem);
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 0 0 8px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.artist-tour-public__desc {
    color: #a1a1aa;
    font-size: 0.95rem;
    max-width: 640px;
}

.artist-tour-public__features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.artist-tour-public__feat {
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: #e4e4e7;
}

.artist-tour-stops-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
    padding: 0 4px 8px;
}

@media (min-width: 992px) {
    .artist-tour-stops-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.artist-tour-stop-card {
    display: flex;
    gap: 12px;
    padding: 16px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 193, 7, 0.15);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.artist-tour-stop-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 193, 7, 0.45);
}

.tour-stop-card--map {
    cursor: pointer;
}

.tour-stop-card--map:focus-visible {
    outline: 2px solid #00f2fe;
    outline-offset: 2px;
}

.artist-tour-stop-card__date {
    flex-shrink: 0;
    text-align: center;
    min-width: 44px;
}

.artist-tour-stop-card__date .day {
    display: block;
    font-size: 1.75rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.artist-tour-stop-card__date .mon {
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    color: #ffc107;
    text-transform: uppercase;
}

.artist-tour-stop-card .area {
    font-size: 0.95rem;
    font-weight: 900;
    color: #ffc107;
    text-transform: uppercase;
    margin: 0 0 4px;
    letter-spacing: 0.04em;
}

.artist-tour-stop-card .venue {
    font-size: 0.82rem;
    font-weight: 700;
    color: #fde68a;
    text-transform: uppercase;
    margin: 0;
}

.artist-tour-stop-card .addr {
    font-size: 0.72rem;
    color: #71717a;
    margin: 6px 0 0;
}

.artist-tour-price-list {
    display: grid;
    gap: 6px;
}

.artist-tour-price-row {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    font-size: 0.78rem;
    color: #e4e4e7;
}

.artist-card-tour-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 5;
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 193, 7, 0.2);
    border: 1px solid #ffc107;
    color: #ffc107;
    backdrop-filter: blur(6px);
}