/* ═══════════════════════════════════════════════════════════════════
   SMART ROUTE CREATOR - Konsolidiertes CSS
   Vereint Smart Route + Route Builder Features
   Developed by Toni Sciacca - mail@tonisciacca.com
   ═══════════════════════════════════════════════════════════════════ */

/* ══ OVERLAY ══ */
#smartRouteModal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9500;
    background: rgba(15,15,20,0.7);
    backdrop-filter: blur(6px);
}
#smartRouteModal.active {
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    padding: 0;
}

/* ══ SHELL ══ */
#smartRouteModal .sr-shell {
    position: relative;
    width: 100vw;
    height: 100vh;
    max-width: none;
    max-height: none;
    background: #fff;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: none;
    animation: srSlideIn 0.3s ease-out;
}
@keyframes srSlideIn {
    from { opacity: 0; transform: scale(0.96) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

/* ══ HEADER ══ */
#smartRouteModal .sr-header {
    flex-shrink: 0;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
}
#smartRouteModal .sr-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 12px;
}
#smartRouteModal .sr-header-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin: 0;
}
#smartRouteModal .sr-header-title i {
    width: 24px;
    height: 24px;
    color: #FF385C;
}

/* Close Button */
#smartRouteModal .modal-close {
    position: relative;
    top: auto;
    right: auto;
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    transition: all 0.2s ease;
    cursor: pointer;
    flex-shrink: 0;
}
#smartRouteModal .modal-close:hover {
    border-color: #aaa;
    background: #fafafa;
}
#smartRouteModal .modal-close [data-lucide] {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}
#smartRouteModal .modal-close:hover [data-lucide] {
    transform: rotate(90deg);
}

/* ══ STEP NAVIGATION ══ */
#smartRouteModal .step-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 0 24px 16px;
    padding: 12px 20px;
    flex-shrink: 0;
    background: #fafafa;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}
#smartRouteModal .btn-nav-back,
#smartRouteModal .btn-nav-next {
    display: flex !important;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 130px;
    justify-content: center;
}
#smartRouteModal .btn-nav-back {
    background: white;
    border: 1px solid #ddd;
    color: #222;
}
#smartRouteModal .btn-nav-back:hover:not(:disabled) {
    background: #f5f5f5;
    border-color: #aaa;
}
#smartRouteModal .btn-nav-next {
    background: #FF385C;
    border: 2px solid #FF385C;
    color: white;
}
#smartRouteModal .btn-nav-next:hover:not(:disabled) {
    background: #e62e52;
    border-color: #e62e52;
}
#smartRouteModal .btn-nav-back:disabled,
#smartRouteModal .btn-nav-next:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
#smartRouteModal .btn-nav-back i,
#smartRouteModal .btn-nav-next i { width: 18px; height: 18px; }

/* Step Indicator */
#smartRouteModal .step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex: 1;
}
#smartRouteModal .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    opacity: 0.4;
    transition: opacity 0.15s;
    min-width: 50px;
    cursor: pointer;
}
#smartRouteModal .step.active { opacity: 1; }
#smartRouteModal .step.completed { opacity: 1; }
#smartRouteModal .step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.15s;
}
#smartRouteModal .step.active .step-number { background: #FF385C; color: white; }
#smartRouteModal .step.completed .step-number { background: #10b981; color: white; }
#smartRouteModal .step-label {
    font-size: 11px;
    color: #717171;
    white-space: nowrap;
}
#smartRouteModal .step.active .step-label { color: #222; font-weight: 500; }
#smartRouteModal .step-line {
    flex: 1;
    height: 2px;
    background: #eee;
    margin: 0 6px;
    margin-bottom: 20px;
    max-width: 40px;
}

/* ══ MAIN LAYOUT ══ */
#smartRouteModal .sr-main {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 460px;
    min-height: 0;
    overflow: hidden;
    padding: 0 24px 24px 24px;
    gap: 24px;
    background: #fff;
}

/* ══ MAP SIDE ══ */
#smartRouteModal .sr-map-side {
    position: relative;
    background: #f5f5f5;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
}
#smartRouteModal .sr-map-container {
    flex: 1;
    min-height: 0;
    position: relative;
}
#smartRouteModal .sr-map-hint {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(34,34,34,0.85);
    color: #fff;
    border-radius: 24px;
    font-size: 13px;
    z-index: 1000;
    pointer-events: none;
}
#smartRouteModal .sr-map-hint i { width: 16px; height: 16px; }

/* ══ ELEVATION WIDGET ══ */
#smartRouteModal .sr-elevation-widget {
    position: absolute;
    bottom: 80px;
    right: 16px;
    width: 340px;
    background: rgba(255,255,255,0.97);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.18);
    z-index: 1000;
    overflow: hidden;
    transition: all 0.35s ease;
}
#smartRouteModal .sr-elevation-widget.expanded {
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    border-radius: 0;
    height: 50%;
}
#smartRouteModal .sr-elevation-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    min-height: 36px;
}
#smartRouteModal .sr-elevation-toolbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}
#smartRouteModal .sr-elevation-switcher {
    display: flex;
    gap: 2px;
    background: #f0f0f0;
    border-radius: 8px;
    padding: 2px;
}
#smartRouteModal .sr-elev-view-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background: transparent;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
#smartRouteModal .sr-elev-view-btn.active {
    background: #fff;
    color: #222;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
#smartRouteModal .sr-elev-view-btn i { width: 14px; height: 14px; }
#smartRouteModal .sr-elevation-info {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #666;
    font-weight: 500;
}
#smartRouteModal .sr-ele-sep { color: #ccc; }
#smartRouteModal .sr-elevation-expand-btn {
    width: 28px;
    height: 28px;
    background: #f0f0f0;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}
#smartRouteModal .sr-elevation-expand-btn:hover { background: #FF385C; color: #fff; }
#smartRouteModal .sr-elevation-expand-btn i { width: 14px; height: 14px; transition: transform 0.3s; }
#smartRouteModal .sr-elevation-widget.expanded .sr-elevation-expand-btn i { transform: rotate(180deg); }
#smartRouteModal .sr-elevation-chart {
    position: relative;
    height: 90px;
    transition: height 0.35s ease;
}
#smartRouteModal .sr-elevation-widget.expanded .sr-elevation-chart {
    height: calc(100% - 36px);
}
#smartRouteModal .sr-elevation-widget.expanded.has-legend .sr-elevation-chart {
    height: calc(100% - 36px - 50px);
}
#smartRouteModal .sr-elevation-cursor {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #FF385C;
    display: none;
    pointer-events: none;
}
#smartRouteModal .sr-cut-markers-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
#smartRouteModal .sr-surface-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 10px 14px;
    background: #fafafa;
    border-top: 1px solid rgba(0,0,0,0.06);
}
#smartRouteModal .sr-surface-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #555;
}
#smartRouteModal .sr-surface-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

/* ══ FORM SIDE ══ */
#smartRouteModal .sr-form-side {
    background: #f5f5f5;
    border-radius: 16px;
    overflow-y: auto;
    padding: 20px;
}
#smartRouteModal .sr-step {
    display: none;
}
#smartRouteModal .sr-step.active {
    display: block;
}
#smartRouteModal .sr-step-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ══ CARD (Insel) ══ */
#smartRouteModal .sr-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ══ ANALYSIS CARD (Route analysiert) ══ */
#smartRouteModal .sr-analysis-card {
    gap: 0;
}
#smartRouteModal .sr-analysis-main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 16px;
}
#smartRouteModal .sr-analysis-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #222;
}
#smartRouteModal .sr-analysis-title i {
    width: 20px;
    height: 20px;
    color: #10b981;
}
#smartRouteModal .sr-gpx-file-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #555;
}
#smartRouteModal .sr-gpx-file-info i {
    width: 16px;
    height: 16px;
    color: #10b981;
}
#smartRouteModal .sr-file-name {
    font-weight: 500;
}
#smartRouteModal .sr-file-meta {
    color: #888;
}

/* Analysis Stats Row */
#smartRouteModal .sr-analysis-stats {
    display: flex;
    gap: 16px;
    padding: 14px;
    background: linear-gradient(135deg, rgba(16,185,129,0.08) 0%, rgba(16,185,129,0.02) 100%);
    border-radius: 12px;
    margin-bottom: 16px;
}
#smartRouteModal .sr-analysis-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #222;
}
#smartRouteModal .sr-analysis-stat i {
    width: 18px;
    height: 18px;
    color: #10b981;
}
#smartRouteModal .sr-country-stat {
    margin-left: auto;
    padding-left: 16px;
    border-left: 1px solid rgba(16,185,129,0.2);
}

/* Analysis Box */
#smartRouteModal .sr-analysis-box {
    background: #fafafa;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
}
#smartRouteModal .sr-analysis-box:last-child {
    margin-bottom: 0;
}
#smartRouteModal .sr-analysis-box-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    background: #f0f0f0;
    font-size: 13px;
    font-weight: 600;
    color: #222;
}
#smartRouteModal .sr-analysis-box-header i {
    width: 16px;
    height: 16px;
    color: #FF385C;
}
#smartRouteModal .sr-analysis-box-content {
    padding: 14px;
}
#smartRouteModal .sr-loading-indicator {
    margin-left: auto;
}
#smartRouteModal .sr-loading-indicator i {
    color: #888;
}
#smartRouteModal .sr-header-country-badge {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: #fff;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

/* Route Endpoints */
#smartRouteModal .sr-route-endpoints {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
#smartRouteModal .sr-endpoint-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
#smartRouteModal .sr-endpoint-row > i {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    flex-shrink: 0;
}
#smartRouteModal .sr-endpoint-row.start > i { color: #FF385C; }
#smartRouteModal .sr-endpoint-row.end > i { color: #22C55E; }
#smartRouteModal .sr-endpoint-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
#smartRouteModal .sr-endpoint-label {
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
}
#smartRouteModal .sr-endpoint-name {
    font-size: 14px;
    font-weight: 500;
    color: #222;
}
#smartRouteModal .sr-endpoint-coords {
    font-size: 11px;
    color: #999;
    font-family: monospace;
}
#smartRouteModal .sr-endpoint-arrow {
    display: flex;
    justify-content: center;
    padding-left: 8px;
}
#smartRouteModal .sr-endpoint-arrow i {
    width: 16px;
    height: 16px;
    color: #ccc;
}

/* Waytype Info */
#smartRouteModal .sr-waytype-info {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
    font-size: 12px;
    color: #555;
}
#smartRouteModal .sr-waytype-label {
    font-weight: 500;
    margin-right: 6px;
}

/* Suitability Grid */
#smartRouteModal .sr-suitability-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
#smartRouteModal .sr-suitability-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 8px;
    background: #f5f5f5;
    border-radius: 8px;
    text-align: center;
}
#smartRouteModal .sr-suitability-item > i {
    width: 20px;
    height: 20px;
    color: #888;
    margin-bottom: 4px;
}
#smartRouteModal .sr-suitability-item.suitable > i {
    color: #22c55e;
}
#smartRouteModal .sr-suitability-item.warning > i {
    color: #f59e0b;
}
#smartRouteModal .sr-suitability-item.unsuitable > i {
    color: #888;
    opacity: 0.5;
}
#smartRouteModal .sr-suitability-label {
    font-size: 11px;
    color: #555;
    margin-bottom: 2px;
}
#smartRouteModal .sr-suitability-stars {
    font-size: 10px;
    color: #f59e0b;
    letter-spacing: 1px;
}

/* Difficulty Bars */
#smartRouteModal .sr-difficulty-bars {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
#smartRouteModal .sr-difficulty-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
#smartRouteModal .sr-difficulty-label {
    min-width: 70px;
    font-size: 12px;
    color: #555;
}
#smartRouteModal .sr-difficulty-bar-track {
    flex: 1;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}
#smartRouteModal .sr-difficulty-fill {
    height: 100%;
    background: #FF385C;
    border-radius: 4px;
    transition: width 0.5s ease;
}
#smartRouteModal .sr-difficulty-value {
    min-width: 50px;
    text-align: right;
    font-size: 12px;
    font-weight: 600;
    color: #222;
}

/* Warnings Box */
#smartRouteModal .sr-warnings-box .sr-analysis-box-header i {
    color: #f59e0b;
}
#smartRouteModal .sr-warnings-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
#smartRouteModal .sr-warnings-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: #555;
}
#smartRouteModal .sr-warnings-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #f59e0b;
    border-radius: 50%;
    margin-top: 6px;
    flex-shrink: 0;
}
#smartRouteModal .sr-equipment-suggestions {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
}
#smartRouteModal .sr-equipment-label {
    font-size: 12px;
    color: #888;
    display: block;
    margin-bottom: 8px;
}
#smartRouteModal .sr-equipment-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
#smartRouteModal .sr-equipment-tags span {
    padding: 5px 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    font-size: 12px;
    color: #555;
}

/* ══ ACTION ROW (Buttons nebeneinander) ══ */
#smartRouteModal .sr-action-row {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

/* ══ PILL BUTTONS ══ */
#smartRouteModal .sr-btn-pill {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    background: #FF385C;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s;
}
#smartRouteModal .sr-btn-pill:hover:not(:disabled) { background: #e62e52; }
#smartRouteModal .sr-btn-pill:disabled {
    background: #e0e0e0;
    color: #999;
    cursor: not-allowed;
}
#smartRouteModal .sr-btn-pill i { width: 18px; height: 18px; }

#smartRouteModal .sr-btn-pill-next {
    background: #FF385C;
}
#smartRouteModal .sr-btn-pill-next:disabled {
    background: #e0e0e0;
    color: #999;
}

/* ══ FORM ELEMENTS ══ */
#smartRouteModal .sr-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
#smartRouteModal .sr-label {
    font-size: 13px;
    font-weight: 600;
    color: #222;
    display: flex;
    align-items: center;
    gap: 6px;
}
#smartRouteModal .sr-hint {
    font-size: 12px;
    color: #888;
    margin: 0;
}
#smartRouteModal .sr-input,
#smartRouteModal .sr-textarea {
    padding: 10px 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.2s;
    background: #fff;
}
#smartRouteModal .sr-input:focus,
#smartRouteModal .sr-textarea:focus {
    outline: none;
    border-color: #FF385C;
    box-shadow: 0 0 0 3px rgba(255,56,92,0.1);
}
.sr-coords {
    font-size: 11px;
    color: #888;
    font-family: monospace;
}

/* ══ TYPE CHIPS ══ */
#smartRouteModal .sr-type-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
#smartRouteModal .sr-type-chip {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #fff;
    border: 1.5px solid #e0e0e0;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 500;
    color: #222;
    cursor: pointer;
    transition: all 0.2s;
}
#smartRouteModal .sr-type-chip i { width: 16px; height: 16px; color: #222; }
#smartRouteModal .sr-type-chip:hover { background: #f5f5f5; }
#smartRouteModal .sr-type-chip.active {
    background: rgba(255,56,92,0.1);
    border-color: #FF385C;
    color: #FF385C;
}
#smartRouteModal .sr-type-chip.active i { color: #FF385C; }

/* ══ E-BIKE SUB-TOGGLE ══ */
#smartRouteModal .sr-ebike-toggle {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed #e5e5e5;
    animation: sr-slide-down 0.2s ease;
}
@keyframes sr-slide-down {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
#smartRouteModal .sr-toggle-group {
    display: inline-flex;
    background: #f0f0f0;
    border-radius: 10px;
    padding: 3px;
    gap: 2px;
}
#smartRouteModal .sr-toggle-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: transparent;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
}
#smartRouteModal .sr-toggle-btn i { width: 16px; height: 16px; }
#smartRouteModal .sr-toggle-btn:hover { color: #333; }
#smartRouteModal .sr-toggle-btn.active {
    background: #fff;
    color: #FF385C;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
#smartRouteModal .sr-toggle-btn.active i { color: #FF385C; }

/* ══ INPUT TABS ══ */
#smartRouteModal .sr-input-tabs {
    display: flex;
    gap: 4px;
    background: #f5f5f5;
    padding: 4px;
    border-radius: 10px;
}
#smartRouteModal .sr-input-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    background: transparent;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
}
#smartRouteModal .sr-input-tab.active {
    background: #fff;
    color: #222;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
#smartRouteModal .sr-input-tab i { width: 16px; height: 16px; }

/* ══ INPUT WITH BUTTON ══ */
#smartRouteModal .sr-input-with-btn {
    display: flex;
    gap: 8px;
}
#smartRouteModal .sr-input-with-btn .sr-input { flex: 1; }
#smartRouteModal .sr-icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1.5px solid #e5e7eb;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}
#smartRouteModal .sr-icon-btn:hover { background: #f5f5f5; border-color: #ccc; }
#smartRouteModal .sr-icon-btn i { width: 18px; height: 18px; color: #555; }
#smartRouteModal .sr-btn-start i { color: #FF385C; }
#smartRouteModal .sr-btn-end i { color: #22C55E; }
#smartRouteModal .sr-icon-start { color: #FF385C; width: 14px; height: 14px; }
#smartRouteModal .sr-icon-end { color: #22C55E; width: 14px; height: 14px; }

/* ══ WAYPOINTS ══ */
#smartRouteModal .sr-waypoints-container { display: flex; flex-direction: column; gap: 8px; }
#smartRouteModal .sr-waypoint-add-row { display: flex; justify-content: center; }
#smartRouteModal .sr-btn-add-waypoint {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #f5f5f5;
    border: 1px dashed #ccc;
    border-radius: 20px;
    font-size: 13px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
}
#smartRouteModal .sr-btn-add-waypoint:hover { background: #eee; border-color: #aaa; }
#smartRouteModal .sr-btn-add-waypoint i { width: 14px; height: 14px; }
#smartRouteModal .sr-swap-row { display: flex; justify-content: center; margin: 4px 0; }
#smartRouteModal .sr-swap-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}
#smartRouteModal .sr-swap-btn:hover { background: #f5f5f5; border-color: #aaa; }
#smartRouteModal .sr-swap-btn i { width: 16px; height: 16px; color: #666; }

/* ══ GPX UPLOAD ══ */
#smartRouteModal .sr-gpx-upload { position: relative; }
#smartRouteModal .sr-gpx-dropzone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 40px 20px;
    border: 2px dashed #ddd;
    border-radius: 12px;
    background: #fafafa;
    cursor: pointer;
    transition: all 0.2s;
}
#smartRouteModal .sr-gpx-dropzone:hover,
#smartRouteModal .sr-gpx-dropzone.dragover {
    border-color: #FF385C;
    background: rgba(255,56,92,0.05);
}
#smartRouteModal .sr-gpx-dropzone i { width: 40px; height: 40px; color: #aaa; }
#smartRouteModal .sr-gpx-dropzone span { font-size: 14px; font-weight: 500; color: #555; }
#smartRouteModal .sr-gpx-dropzone small { font-size: 12px; color: #888; }
#smartRouteModal .sr-gpx-badge {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(16,185,129,0.1);
    border: 1px solid rgba(16,185,129,0.3);
    border-radius: 10px;
}
#smartRouteModal .sr-gpx-badge.visible { display: flex; }
#smartRouteModal .sr-gpx-badge i { width: 20px; height: 20px; color: #10b981; }
#smartRouteModal .sr-gpx-badge span { flex: 1; font-size: 14px; font-weight: 500; color: #222; }
#smartRouteModal .sr-gpx-badge button {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}
#smartRouteModal .sr-gpx-badge button:hover { background: rgba(239,68,68,0.2); }
#smartRouteModal .sr-gpx-badge button i { width: 14px; height: 14px; color: #555; }

/* ══ AUTO STATS ══ */
#smartRouteModal .sr-auto-stats {
    display: flex;
    gap: 12px;
    padding: 14px;
    background: linear-gradient(135deg, rgba(255,56,92,0.08) 0%, rgba(255,56,92,0.02) 100%);
    border-radius: 12px;
    border: 1px solid rgba(255,56,92,0.15);
}
#smartRouteModal .sr-auto-stat { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; }
#smartRouteModal .sr-auto-val { font-size: 20px; font-weight: 700; color: #FF385C; }
#smartRouteModal .sr-auto-lbl { font-size: 11px; color: #888; text-transform: uppercase; }

/* ══ BUTTONS ══ */
#smartRouteModal .sr-btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: #FF385C;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s;
}
#smartRouteModal .sr-btn-primary:hover:not(:disabled) { background: #e62e52; }
#smartRouteModal .sr-btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }
#smartRouteModal .sr-btn-primary i { width: 18px; height: 18px; }

#smartRouteModal .sr-btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    transition: all 0.2s;
}
#smartRouteModal .sr-btn-secondary:hover { background: #f5f5f5; border-color: #ccc; }
#smartRouteModal .sr-btn-secondary i { width: 16px; height: 16px; }

#smartRouteModal .sr-btn-small {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 12px;
    background: #f5f5f5;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    transition: all 0.2s;
}
#smartRouteModal .sr-btn-small:hover { background: #eee; }
#smartRouteModal .sr-btn-small i { width: 14px; height: 14px; }

#smartRouteModal .sr-btn-ghost {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    background: transparent;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
}
#smartRouteModal .sr-btn-ghost:hover { background: #f5f5f5; }
#smartRouteModal .sr-btn-ghost i { width: 16px; height: 16px; }
#smartRouteModal .sr-btn-danger { color: #ef4444; }
#smartRouteModal .sr-btn-danger:hover { background: rgba(239,68,68,0.1); }

/* ══ ANALYSIS BOXES (Step 2) ══ */
#smartRouteModal .sr-analysis-box {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
}
#smartRouteModal .sr-analysis-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    background: #fafafa;
    border-bottom: 1px solid #e5e7eb;
    font-size: 13px;
    font-weight: 600;
    color: #222;
}
#smartRouteModal .sr-analysis-header i { width: 16px; height: 16px; color: #FF385C; }
#smartRouteModal .sr-analysis-content { padding: 14px; }
#smartRouteModal .sr-loading i { animation: srSpin 1s linear infinite; color: #888; }
#smartRouteModal .sr-country-badge {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: #fff;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

/* Endpoints */
#smartRouteModal .sr-endpoints { display: flex; flex-direction: column; gap: 10px; }
#smartRouteModal .sr-endpoint { display: flex; align-items: center; gap: 10px; }
#smartRouteModal .sr-endpoint i { width: 18px; height: 18px; }
#smartRouteModal .sr-endpoint.start i { color: #FF385C; }
#smartRouteModal .sr-endpoint.end i { color: #22C55E; }
#smartRouteModal .sr-endpoint-info { display: flex; flex-direction: column; gap: 2px; }
#smartRouteModal .sr-endpoint-label { font-size: 11px; color: #888; }
#smartRouteModal .sr-endpoint-name { font-size: 14px; font-weight: 500; color: #222; }
#smartRouteModal .sr-endpoint-arrow { display: flex; justify-content: center; padding-left: 6px; }
#smartRouteModal .sr-endpoint-arrow i { width: 16px; height: 16px; color: #ccc; }

/* Surface Bars */
#smartRouteModal .sr-surface-bars { display: flex; flex-direction: column; gap: 8px; }
#smartRouteModal .sr-surface-bar { display: flex; align-items: center; gap: 10px; }
#smartRouteModal .sr-bar-label { min-width: 80px; font-size: 12px; color: #555; }
#smartRouteModal .sr-bar-track { flex: 1; height: 8px; background: #eee; border-radius: 4px; overflow: hidden; }
#smartRouteModal .sr-bar-fill { height: 100%; border-radius: 4px; transition: width 0.5s ease; }
#smartRouteModal .sr-bar-fill.asphalt { background: #555555; }
#smartRouteModal .sr-bar-fill.gravel { background: #c87830; }
#smartRouteModal .sr-bar-fill.dirt { background: #a06030; }
#smartRouteModal .sr-bar-fill.grass { background: #5a9040; }
#smartRouteModal .sr-bar-fill.rock { background: #888888; }
#smartRouteModal .sr-bar-pct { min-width: 36px; text-align: right; font-size: 12px; font-weight: 600; color: #555; }

/* Suitability Grid */
#smartRouteModal .sr-suitability-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
#smartRouteModal .sr-suit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 8px;
    background: #fafafa;
    border-radius: 10px;
    text-align: center;
}
#smartRouteModal .sr-suit-item i { width: 22px; height: 22px; color: #555; }
#smartRouteModal .sr-suit-item span { font-size: 11px; color: #555; }
#smartRouteModal .sr-suit-stars { display: flex; gap: 2px; }
#smartRouteModal .sr-suit-stars i { width: 12px; height: 12px; color: #ddd; }
#smartRouteModal .sr-suit-stars i.filled { color: #f59e0b; fill: #f59e0b; }

/* Score Bars */
#smartRouteModal .sr-score-bars { display: flex; flex-direction: column; gap: 10px; }
#smartRouteModal .sr-score-bar { display: flex; align-items: center; gap: 10px; }
#smartRouteModal .sr-score-label { display: flex; align-items: center; gap: 6px; min-width: 100px; font-size: 12px; color: #555; }
#smartRouteModal .sr-score-label i { width: 14px; height: 14px; }
#smartRouteModal .sr-score-bar[data-cat="kultur"] .sr-score-label i { color: #8B5CF6; }
#smartRouteModal .sr-score-bar[data-cat="natur"] .sr-score-label i { color: #22C55E; }
#smartRouteModal .sr-score-bar[data-cat="aktivitaet"] .sr-score-label i { color: #3B82F6; }
#smartRouteModal .sr-score-bar[data-cat="genuss"] .sr-score-label i { color: #EC4899; }
#smartRouteModal .sr-score-bar[data-cat="familie"] .sr-score-label i { color: #F59E0B; }
#smartRouteModal .sr-score-track { flex: 1; height: 8px; background: #eee; border-radius: 4px; overflow: hidden; }
#smartRouteModal .sr-score-fill { height: 100%; border-radius: 4px; background: #FF385C; transition: width 0.5s ease; }
#smartRouteModal .sr-score-bar[data-cat="kultur"] .sr-score-fill { background: #8B5CF6; }
#smartRouteModal .sr-score-bar[data-cat="natur"] .sr-score-fill { background: #22C55E; }
#smartRouteModal .sr-score-bar[data-cat="aktivitaet"] .sr-score-fill { background: #3B82F6; }
#smartRouteModal .sr-score-bar[data-cat="genuss"] .sr-score-fill { background: #EC4899; }
#smartRouteModal .sr-score-bar[data-cat="familie"] .sr-score-fill { background: #F59E0B; }
#smartRouteModal .sr-score-val { min-width: 36px; text-align: right; font-size: 12px; font-weight: 600; color: #555; }

/* Warnings Box */
#smartRouteModal .sr-warnings-box .sr-analysis-header i { color: #f59e0b; }
#smartRouteModal .sr-warnings-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
#smartRouteModal .sr-warnings-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: #555; }
#smartRouteModal .sr-warnings-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #f59e0b;
    border-radius: 50%;
    margin-top: 6px;
    flex-shrink: 0;
}
#smartRouteModal .sr-equipment { margin-top: 12px; padding-top: 12px; border-top: 1px solid #eee; }
#smartRouteModal .sr-equipment-label { font-size: 12px; color: #888; margin-bottom: 8px; display: block; }
#smartRouteModal .sr-equipment-tags { display: flex; flex-wrap: wrap; gap: 6px; }
#smartRouteModal .sr-equipment-tags span { padding: 4px 10px; background: #f5f5f5; border-radius: 20px; font-size: 11px; color: #555; }

/* ══ STAGES (Step 2) ══ */

/* Route Header Card */
#smartRouteModal .sr-route-header-card {
    background: linear-gradient(135deg, #FF385C 0%, #e0314f 100%);
    border-radius: 16px;
    padding: 20px;
    color: #fff;
    margin-bottom: 16px;
}
#smartRouteModal .sr-route-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#smartRouteModal .sr-route-stats {
    display: flex;
    gap: 16px;
    justify-content: space-between;
}
#smartRouteModal .sr-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
#smartRouteModal .sr-stat i {
    width: 18px;
    height: 18px;
    opacity: 0.8;
}
#smartRouteModal .sr-stat span {
    font-size: 20px;
    font-weight: 700;
}
#smartRouteModal .sr-stat small {
    font-size: 11px;
    opacity: 0.7;
    text-transform: uppercase;
}

/* Days Picker Card */
#smartRouteModal .sr-days-picker-card {
    background: #fff;
    border: 2px solid #FF385C;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    margin-bottom: 16px;
}
#smartRouteModal .sr-days-label {
    font-size: 13px;
    font-weight: 600;
    color: #FF385C;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

/* Wheel Picker */
#smartRouteModal .sr-wheel-picker {
    position: relative;
    height: 140px;
    overflow: hidden;
    margin: 0 auto 16px;
    max-width: 100px;
}
#smartRouteModal .sr-wheel-scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.15s ease-out;
    padding: 50px 0;
}
#smartRouteModal .sr-wheel-item {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 600;
    color: #ddd;
    cursor: pointer;
    transition: all 0.15s;
    user-select: none;
}
#smartRouteModal .sr-wheel-item.active {
    font-size: 38px;
    font-weight: 800;
    color: #FF385C;
    transform: scale(1.05);
}
#smartRouteModal .sr-wheel-item:hover:not(.active) {
    color: #ffb3c1;
}
#smartRouteModal .sr-wheel-overlay-top,
#smartRouteModal .sr-wheel-overlay-bottom {
    position: absolute;
    left: 0;
    right: 0;
    height: 50px;
    pointer-events: none;
    z-index: 2;
}
#smartRouteModal .sr-wheel-overlay-top {
    top: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}
#smartRouteModal .sr-wheel-overlay-bottom {
    bottom: 0;
    background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}
#smartRouteModal .sr-wheel-highlight {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 44px;
    transform: translateY(-50%);
    border-top: 2px solid rgba(255,56,92,0.2);
    border-bottom: 2px solid rgba(255,56,92,0.2);
    background: rgba(255,56,92,0.05);
    pointer-events: none;
    z-index: 1;
}

/* Days Info */
#smartRouteModal .sr-days-info {
    display: flex;
    justify-content: center;
    gap: 24px;
    font-size: 14px;
    color: #666;
    margin-bottom: 16px;
}
#smartRouteModal .sr-days-info span {
    display: flex;
    align-items: center;
    gap: 6px;
}
#smartRouteModal .sr-days-info i {
    width: 16px;
    height: 16px;
    color: #FF385C;
}
#smartRouteModal .sr-days-info span span {
    font-weight: 700;
    color: #333;
}

/* Apply Button */
#smartRouteModal .sr-btn-apply {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #FF385C 0%, #e0314f 100%);
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(255,56,92,0.3);
}
#smartRouteModal .sr-btn-apply:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(255,56,92,0.4);
}
#smartRouteModal .sr-btn-apply i {
    width: 20px;
    height: 20px;
}

/* Stages Editor Card */
#smartRouteModal .sr-stages-editor {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 16px;
}
#smartRouteModal .sr-stages-editor-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}
#smartRouteModal .sr-stages-editor-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #333;
}
#smartRouteModal .sr-stages-editor-title i {
    width: 18px;
    height: 18px;
    color: #FF385C;
}
#smartRouteModal .sr-stages-editor-hint {
    font-size: 12px;
    color: #888;
    margin-bottom: 12px;
}
#smartRouteModal .sr-btn-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}
#smartRouteModal .sr-btn-icon:hover {
    background: #FF385C;
    color: #fff;
}
#smartRouteModal .sr-btn-icon i {
    width: 18px;
    height: 18px;
}

/* Profile Wrap */
#smartRouteModal .sr-profile-wrap {
    position: relative;
    background: linear-gradient(180deg, #fafafa 0%, #f0f0f0 100%);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
}
#smartRouteModal #stageProfileCanvas {
    display: block;
    width: 100%;
    height: 120px;
}
#smartRouteModal .sr-profile-markers {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}
#smartRouteModal .sr-profile-marker {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 24px;
    transform: translateX(-50%);
    cursor: ew-resize;
    pointer-events: auto;
    z-index: 10;
}
#smartRouteModal .sr-profile-marker::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    transform: translateX(-50%);
    background: #FF385C;
    border-radius: 2px;
}
#smartRouteModal .sr-profile-marker::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 28px;
    transform: translate(-50%, -50%);
    background: #FF385C;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(255,56,92,0.4);
}
#smartRouteModal .sr-profile-marker:hover::after,
#smartRouteModal .sr-profile-marker.dragging::after {
    background: #e0314f;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Stages Items List */
#smartRouteModal .sr-stages-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 280px;
    overflow-y: auto;
}
#smartRouteModal .sr-stage-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: #fafafa;
    border-radius: 10px;
    transition: all 0.2s;
}
#smartRouteModal .sr-stage-row:hover {
    background: #f0f0f0;
}
#smartRouteModal .sr-stage-color {
    width: 8px;
    height: 36px;
    border-radius: 4px;
    flex-shrink: 0;
}
#smartRouteModal .sr-stage-content {
    flex: 1;
    min-width: 0;
}
#smartRouteModal .sr-stage-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
}
#smartRouteModal .sr-stage-details {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: #888;
}
#smartRouteModal .sr-stage-details span {
    display: flex;
    align-items: center;
    gap: 4px;
}
#smartRouteModal .sr-stage-details i {
    width: 12px;
    height: 12px;
}
#smartRouteModal .sr-stage-delete {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 6px;
    color: #ccc;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}
#smartRouteModal .sr-stage-delete:hover {
    background: #fee2e2;
    color: #ef4444;
}
#smartRouteModal .sr-stage-delete i {
    width: 16px;
    height: 16px;
}

/* Fullscreen Overlay */
#smartRouteModal .sr-fullscreen-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 10001;
    display: flex;
    flex-direction: column;
}
#smartRouteModal .sr-fullscreen-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background: linear-gradient(135deg, #FF385C 0%, #e0314f 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}
#smartRouteModal .sr-fullscreen-header span {
    display: flex;
    align-items: center;
    gap: 10px;
}
#smartRouteModal .sr-fullscreen-header i {
    width: 20px;
    height: 20px;
}
#smartRouteModal .sr-fullscreen-header .sr-btn-icon {
    background: rgba(255,255,255,0.2);
    color: #fff;
}
#smartRouteModal .sr-fullscreen-header .sr-btn-icon:hover {
    background: rgba(255,255,255,0.3);
}
#smartRouteModal .sr-fullscreen-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
#smartRouteModal .sr-fullscreen-map {
    flex: 1;
    min-height: 40%;
    background: #e5e7eb;
}
#smartRouteModal .sr-fullscreen-editor {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 16px;
    overflow: hidden;
}
#smartRouteModal .sr-fullscreen-profile-wrap {
    position: relative;
    background: linear-gradient(180deg, #fafafa 0%, #f0f0f0 100%);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
    flex-shrink: 0;
}
#smartRouteModal #fullscreenProfileCanvas {
    display: block;
    width: 100%;
    height: 180px;
}
#smartRouteModal .sr-fullscreen-stages {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
#smartRouteModal .sr-stages-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 30px; color: #888; text-align: center; }
#smartRouteModal .sr-stages-empty i { width: 32px; height: 32px; color: #ccc; }
#smartRouteModal .sr-stages-empty p { margin: 0; font-size: 14px; font-weight: 500; }
#smartRouteModal .sr-stages-empty span { font-size: 12px; }
#smartRouteModal .sr-stage-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}
#smartRouteModal .sr-stage-item:hover { border-color: #FF385C; box-shadow: 0 2px 8px rgba(255,56,92,0.1); }
#smartRouteModal .sr-stage-num {
    width: 32px;
    height: 32px;
    background: #FF385C;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}
#smartRouteModal .sr-stage-info { flex: 1; }
#smartRouteModal .sr-stage-info input {
    width: 100%;
    padding: 6px 8px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #222;
    background: transparent;
    font-family: inherit;
}
#smartRouteModal .sr-stage-info input:hover { background: #f5f5f5; }
#smartRouteModal .sr-stage-info input:focus { outline: none; border-color: #FF385C; background: #fff; }
#smartRouteModal .sr-stage-title { font-size: 14px; font-weight: 500; color: #222; }
#smartRouteModal .sr-stage-meta { display: flex; gap: 12px; font-size: 12px; color: #888; margin-top: 4px; }
#smartRouteModal .sr-stage-meta span { display: flex; align-items: center; gap: 4px; }
#smartRouteModal .sr-stage-meta i { width: 12px; height: 12px; }
#smartRouteModal .sr-stage-actions { display: flex; gap: 6px; }
#smartRouteModal .sr-btn-icon-small {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}
#smartRouteModal .sr-btn-icon-small:hover { background: #eee; }
#smartRouteModal .sr-btn-icon-small i { width: 14px; height: 14px; color: #555; }
#smartRouteModal .sr-stage-delete:hover { background: #fee2e2; }
#smartRouteModal .sr-stage-delete:hover i { color: #ef4444; }
#smartRouteModal .sr-stages-actions { display: flex; gap: 10px; margin-top: 8px; }


/* ══════════════════════════════════════════════════════════════════════════
   POIs (Step 3) - Mit Tab-Wechsel
   ══════════════════════════════════════════════════════════════════════════ */

/* Ausgewaehlte POIs - oben */
#smartRouteModal .sr-selected-section {
    margin-bottom: 16px;
    padding: 12px;
    background: rgba(16,185,129,0.06);
    border: 1px solid rgba(16,185,129,0.2);
    border-radius: 10px;
}
#smartRouteModal .sr-selected-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #10b981;
}
#smartRouteModal .sr-selected-header i { width: 16px; height: 16px; }
#smartRouteModal .sr-selected-pois { display: flex; flex-wrap: wrap; gap: 6px; }
#smartRouteModal .sr-selected-poi {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 12px;
}
#smartRouteModal .sr-selected-poi .poi-icon {
    width: 18px; height: 18px;
    border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
}
#smartRouteModal .sr-selected-poi .poi-icon i { width: 10px; height: 10px; color: #fff; }
#smartRouteModal .sr-selected-poi button {
    width: 18px; height: 18px;
    border-radius: 50%;
    border: none;
    background: #f0f0f0;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
}
#smartRouteModal .sr-selected-poi button:hover { background: #fee2e2; }
#smartRouteModal .sr-selected-poi button i { width: 10px; height: 10px; color: #888; }
#smartRouteModal .sr-selected-poi button:hover i { color: #ef4444; }

/* Filter Pills */
#smartRouteModal .sr-poi-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}
#smartRouteModal .sr-filter-pill {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    transition: all 0.2s;
}
#smartRouteModal .sr-filter-pill i { width: 14px; height: 14px; }
#smartRouteModal .sr-filter-pill:hover { border-color: #ccc; }
#smartRouteModal .sr-filter-pill.active {
    background: rgba(255,56,92,0.08);
    border-color: #FF385C;
    color: #FF385C;
}
#smartRouteModal .sr-filter-pill .pill-count {
    background: #f0f0f0;
    padding: 1px 5px;
    border-radius: 8px;
    font-size: 10px;
}
#smartRouteModal .sr-filter-pill.active .pill-count { background: rgba(255,56,92,0.15); }

/* Radius Row */
#smartRouteModal .sr-radius-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 12px;
    color: #666;
}
#smartRouteModal .sr-radius-btns {
    display: flex;
    background: #f0f0f0;
    border-radius: 6px;
    padding: 2px;
}
#smartRouteModal .sr-radius-btn {
    padding: 5px 10px;
    background: transparent;
    border: none;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
}
#smartRouteModal .sr-radius-btn:hover { color: #333; }
#smartRouteModal .sr-radius-btn.active {
    background: #fff;
    color: #FF385C;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* POI Liste */
#smartRouteModal .sr-poi-list {
    max-height: 280px;
    overflow-y: auto;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fafafa;
}
#smartRouteModal .sr-poi-loading,
#smartRouteModal .sr-poi-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 30px;
    color: #888;
    text-align: center;
    font-size: 13px;
}
#smartRouteModal .sr-poi-loading i,
#smartRouteModal .sr-poi-empty i { width: 24px; height: 24px; color: #ccc; }
#smartRouteModal .sr-poi-loading i { color: #FF385C; }

/* POI Item */
#smartRouteModal .sr-poi-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.15s;
}
#smartRouteModal .sr-poi-item:last-child { border-bottom: none; }
#smartRouteModal .sr-poi-item:hover { background: #f8f8f8; }
#smartRouteModal .sr-poi-item.added { background: rgba(16,185,129,0.06); }

#smartRouteModal .sr-poi-icon {
    width: 36px; height: 36px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
#smartRouteModal .sr-poi-icon i { width: 18px; height: 18px; color: #fff; }
#smartRouteModal .sr-poi-icon.viewpoint { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
#smartRouteModal .sr-poi-icon.restaurant { background: linear-gradient(135deg, #f59e0b, #ef4444); }
#smartRouteModal .sr-poi-icon.nature { background: linear-gradient(135deg, #10b981, #059669); }
#smartRouteModal .sr-poi-icon.historic { background: linear-gradient(135deg, #8b5cf6, #a855f7); }
#smartRouteModal .sr-poi-icon.default { background: linear-gradient(135deg, #6b7280, #9ca3af); }

#smartRouteModal .sr-poi-content { flex: 1; min-width: 0; }
#smartRouteModal .sr-poi-name {
    font-size: 13px; font-weight: 600; color: #222;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
#smartRouteModal .sr-poi-meta {
    display: flex; align-items: center; gap: 6px;
    font-size: 11px; color: #888; margin-top: 2px;
}
#smartRouteModal .sr-poi-meta i { width: 10px; height: 10px; }

#smartRouteModal .sr-poi-add {
    width: 32px; height: 32px;
    border-radius: 6px;
    border: none;
    background: #FF385C;
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}
#smartRouteModal .sr-poi-add:hover { background: #e0314f; }
#smartRouteModal .sr-poi-add.added { background: #10b981; }
#smartRouteModal .sr-poi-add i { width: 16px; height: 16px; }

/* ══════════════════════════════════════════════════════════════════════════
   Custom POI Panel (wie modal-smart-poi.php)
   ══════════════════════════════════════════════════════════════════════════ */

/* Suggestions Dropdown */
#smartRouteModal .sr-suggestions {
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    max-height: 200px;
    overflow-y: auto;
    z-index: 100;
    display: none;
}
#smartRouteModal .sr-suggestions.visible { display: block; }
#smartRouteModal .sr-suggestion-item {
    padding: 10px 12px;
    font-size: 13px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
}
#smartRouteModal .sr-suggestion-item:last-child { border-bottom: none; }
#smartRouteModal .sr-suggestion-item:hover { background: #f8f8f8; }

#smartRouteModal .smart-poi-address-group { position: relative; }

/* Kompakte Koordinaten */
#smartRouteModal .sr-coords-compact {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 12px 0;
    padding: 10px 12px;
    background: #f8f8f8;
    border-radius: 8px;
}
#smartRouteModal .sr-coord-mini {
    display: flex;
    align-items: center;
    gap: 6px;
}
#smartRouteModal .sr-coord-mini label {
    font-size: 11px;
    font-weight: 500;
    color: #888;
}
#smartRouteModal .sr-coord-mini input {
    width: 90px;
    padding: 6px 8px;
    font-size: 12px;
    font-family: monospace;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    color: #333;
}
#smartRouteModal .sr-coord-hint {
    flex: 1;
    text-align: right;
    font-size: 11px;
    color: #999;
    font-style: italic;
}

/* Divider Line */
#smartRouteModal .sr-divider-line {
    border: none;
    border-top: 1px solid #e5e5e5;
    margin: 16px 0;
}

/* Required */
#smartRouteModal .sr-required { color: #FF385C; }

/* Category Grid */
#smartRouteModal .sr-category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
#smartRouteModal .sr-cat-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 8px;
    background: #f5f5f5;
    border: 1.5px solid transparent;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
}
#smartRouteModal .sr-cat-chip i { width: 20px; height: 20px; }
#smartRouteModal .sr-cat-chip:hover { background: #eee; }
#smartRouteModal .sr-cat-chip.active {
    background: rgba(255,56,92,0.1);
    border-color: #FF385C;
    color: #FF385C;
}

/* Extras Accordion */
#smartRouteModal .sr-extras {
    margin-top: 16px;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    overflow: hidden;
}
#smartRouteModal .sr-extras summary {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    background: #f8f8f8;
    font-size: 13px;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    list-style: none;
}
#smartRouteModal .sr-extras summary::-webkit-details-marker { display: none; }
#smartRouteModal .sr-extras summary i { width: 16px; height: 16px; }
#smartRouteModal .sr-extras[open] summary { border-bottom: 1px solid #e5e5e5; }
#smartRouteModal .sr-extras-content { padding: 14px; }
#smartRouteModal .sr-extras-content .sr-field { margin-bottom: 12px; }
#smartRouteModal .sr-extras-content .sr-field:last-child { margin-bottom: 0; }

/* Full Width Button */
#smartRouteModal .sr-btn-full {
    width: 100%;
    margin-top: 16px;
}

/* Pulse Animation */
@keyframes sr-pulse {
    0% { box-shadow: 0 0 0 0 rgba(255,56,92,0.5); }
    70% { box-shadow: 0 0 0 15px rgba(255,56,92,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,56,92,0); }
}
/* ══ DIFFICULTY CHIPS ══ */
#smartRouteModal .sr-difficulty-chips { display: flex; gap: 8px; }
#smartRouteModal .sr-diff-chip { flex: 1; padding: 10px; background: #f5f5f5; border: 1.5px solid transparent; border-radius: 10px; font-size: 13px; font-weight: 500; color: #555; cursor: pointer; text-align: center; transition: all 0.2s; }
#smartRouteModal .sr-diff-chip:hover { background: #eee; }
#smartRouteModal .sr-diff-chip.active { background: rgba(255,56,92,0.1); border-color: #FF385C; color: #FF385C; }

/* ══ COVER & GALLERY ══ */
#smartRouteModal .sr-cover-upload { display: flex; flex-direction: column; gap: 10px; }
#smartRouteModal .sr-cover-preview { width: 100%; aspect-ratio: 16/9; background: #f5f5f5; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background-size: cover; background-position: center; color: #aaa; overflow: hidden; }
#smartRouteModal .sr-cover-preview.has-image { background-color: transparent; }
#smartRouteModal .sr-cover-preview.has-image i, #smartRouteModal .sr-cover-preview.has-image span { display: none; }
#smartRouteModal .sr-cover-preview i { width: 32px; height: 32px; }
#smartRouteModal .sr-gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
#smartRouteModal .sr-gallery-item { aspect-ratio: 1; border-radius: 8px; background-size: cover; background-position: center; position: relative; }
#smartRouteModal .sr-gallery-item button { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; border: none; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; transition: opacity 0.2s; }
#smartRouteModal .sr-gallery-item:hover button { opacity: 1; }
#smartRouteModal .sr-gallery-item button i { width: 12px; height: 12px; color: #fff; }
#smartRouteModal .sr-gallery-add { display: flex; gap: 8px; margin-top: 8px; }
#smartRouteModal .sr-gallery-add .sr-input { flex: 1; }

/* ══ HAZARDS ══ */
#smartRouteModal .sr-hazard-actions { display: flex; gap: 8px; }
#smartRouteModal .sr-hazards-list { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
#smartRouteModal .sr-hazard-item { display: flex; align-items: flex-start; gap: 10px; padding: 10px; background: rgba(245,158,11,0.08); border: 1px solid rgba(245,158,11,0.2); border-radius: 10px; }
#smartRouteModal .sr-hazard-item input { flex: 1; padding: 8px; border: 1px solid #e5e7eb; border-radius: 6px; font-size: 13px; }
#smartRouteModal .sr-hazard-coords { font-size: 11px; color: #888; }
#smartRouteModal .sr-hazard-remove { width: 28px; height: 28px; border-radius: 50%; border: none; background: transparent; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s; }
#smartRouteModal .sr-hazard-remove:hover { background: rgba(239,68,68,0.1); }
#smartRouteModal .sr-hazard-remove i { width: 16px; height: 16px; color: #888; }

/* ══ PREVIEW CARD (Step 6) ══ */
#smartRouteModal .sr-preview-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.12); }
#smartRouteModal .sr-card-image { position: relative; aspect-ratio: 16/9; overflow: hidden; }
#smartRouteModal .sr-card-image img { width: 100%; height: 100%; object-fit: cover; }
#smartRouteModal .sr-card-badge { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; background: #fff; border-radius: 20px; font-size: 13px; font-weight: 500; color: #222; box-shadow: 0 2px 8px rgba(0,0,0,0.12); }
#smartRouteModal .sr-card-badge i { width: 16px; height: 16px; }
#smartRouteModal .sr-card-body { padding: 16px; }
#smartRouteModal .sr-card-title { font-size: 18px; font-weight: 600; color: #222; margin: 0 0 8px 0; }
#smartRouteModal .sr-card-location { display: flex; align-items: center; gap: 6px; font-size: 14px; color: #555; margin-bottom: 12px; }
#smartRouteModal .sr-flag { width: 20px; height: 14px; border-radius: 2px; object-fit: cover; }
#smartRouteModal .sr-location-divider { color: #999; margin: 0 2px; }
#smartRouteModal .sr-card-stats { display: flex; align-items: center; gap: 16px; font-size: 14px; color: #555; margin-bottom: 14px; }
#smartRouteModal .sr-card-stats span { display: inline-flex; align-items: center; gap: 4px; }
#smartRouteModal .sr-card-stats i { width: 16px; height: 16px; color: #888; }
#smartRouteModal .sr-card-scores { display: flex; gap: 10px; }
#smartRouteModal .sr-score-badge { display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px; border-radius: 20px; font-size: 13px; font-weight: 500; }
#smartRouteModal .sr-score-badge i { width: 16px; height: 16px; }
#smartRouteModal .sr-score-badge.culture { background: rgba(139, 92, 246, 0.12); color: #8B5CF6; }
#smartRouteModal .sr-score-badge.nature { background: rgba(34, 197, 94, 0.12); color: #22C55E; }
#smartRouteModal .sr-score-badge.enjoyment { background: rgba(236, 72, 153, 0.12); color: #EC4899; }

/* ══ CHECKLIST ══ */
#smartRouteModal .sr-checklist { background: #fafafa; border-radius: 12px; overflow: hidden; margin-top: 16px; }
#smartRouteModal .sr-checklist-header { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid #eee; font-size: 14px; font-weight: 600; color: #222; }
#smartRouteModal .sr-checklist-header i { width: 18px; height: 18px; color: #10b981; }
#smartRouteModal .sr-checklist-items { padding: 12px 14px; }
#smartRouteModal .sr-check-item { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 13px; color: #555; }
#smartRouteModal .sr-check-item i { width: 18px; height: 18px; }
#smartRouteModal .sr-check-item.valid i { color: #10b981; }
#smartRouteModal .sr-check-item.invalid i { color: #ef4444; }

/* ══ VISIBILITY OPTIONS ══ */
#smartRouteModal .sr-visibility-options { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
#smartRouteModal .sr-radio-option { cursor: pointer; }
#smartRouteModal .sr-radio-option input { display: none; }
#smartRouteModal .sr-radio-content { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #fafafa; border: 1.5px solid #e5e7eb; border-radius: 10px; transition: all 0.2s; }
#smartRouteModal .sr-radio-option:hover .sr-radio-content { border-color: #ccc; }
#smartRouteModal .sr-radio-option input:checked + .sr-radio-content { border-color: #FF385C; background: rgba(255,56,92,0.05); }
#smartRouteModal .sr-radio-content i { width: 20px; height: 20px; color: #888; }
#smartRouteModal .sr-radio-option input:checked + .sr-radio-content i { color: #FF385C; }
#smartRouteModal .sr-radio-text { flex: 1; }
#smartRouteModal .sr-radio-title { font-size: 14px; font-weight: 500; color: #222; display: block; }
#smartRouteModal .sr-radio-desc { font-size: 12px; color: #888; }

/* ══ SAVE ROW ══ */
#smartRouteModal .sr-save-row { display: flex; gap: 12px; margin-top: 20px; }
#smartRouteModal .sr-btn-save-final { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; background: #FF385C; border: none; border-radius: 50px; font-size: 15px; font-weight: 600; color: #fff; cursor: pointer; transition: all 0.2s; }
#smartRouteModal .sr-btn-save-final:hover:not(:disabled) { background: #e62e52; }
#smartRouteModal .sr-btn-save-final:disabled { opacity: 0.5; cursor: not-allowed; }
#smartRouteModal .sr-btn-save-final i { width: 18px; height: 18px; }
#smartRouteModal .sr-download-row { display: flex; justify-content: center; margin-top: 12px; }

/* ══ POI CREATOR PANEL ══ */
.sr-poi-creator { position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid #eee; padding: 20px; box-shadow: 0 -4px 20px rgba(0,0,0,0.1); z-index: 10001; }
.sr-poi-creator h4 { margin: 0 0 16px; font-size: 16px; font-weight: 600; }
.sr-poi-creator-content { display: flex; flex-direction: column; gap: 12px; }
.sr-poi-creator-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; }

/* ══ STAGE EDITOR ══ */
#smartRouteModal .sr-stage-editor { position: fixed; inset: 0; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; z-index: 10002; padding: 20px; }
#smartRouteModal .sr-stage-editor-content { background: #fff; border-radius: 16px; width: 100%; max-width: 480px; max-height: 90vh; overflow-y: auto; padding: 20px; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
#smartRouteModal .sr-stage-editor-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
#smartRouteModal .sr-stage-editor-header h4 { font-size: 18px; font-weight: 600; color: #222; margin: 0; }
#smartRouteModal .sr-btn-icon-small { width: 32px; height: 32px; border-radius: 50%; border: 1px solid #ddd; background: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
#smartRouteModal .sr-btn-icon-small:hover { background: #f5f5f5; }
#smartRouteModal .sr-btn-icon-small i { width: 16px; height: 16px; }
#smartRouteModal .sr-stage-editor-row { display: flex; gap: 16px; }
#smartRouteModal .sr-field-half { flex: 1; }
#smartRouteModal .sr-auto-badge { display: inline-block; padding: 2px 6px; background: #e5e7eb; border-radius: 4px; font-size: 10px; color: #888; margin-left: 6px; font-weight: 400; }
#smartRouteModal .sr-duration-input { display: flex; align-items: center; gap: 6px; }
#smartRouteModal .sr-input-tiny { width: 60px; text-align: center; }
#smartRouteModal .sr-stage-editor-stats { display: flex; gap: 16px; padding: 14px; background: #f5f5f5; border-radius: 10px; margin: 16px 0; }
#smartRouteModal .sr-stage-stat { flex: 1; display: flex; flex-direction: column; align-items: center; }
#smartRouteModal .sr-stage-stat-val { font-size: 18px; font-weight: 700; color: #FF385C; }
#smartRouteModal .sr-stage-stat-lbl { font-size: 11px; color: #888; text-transform: uppercase; }
#smartRouteModal .sr-stage-editor-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 20px; padding-top: 16px; border-top: 1px solid #eee; }

/* ══ ADDRESS DROPDOWN ══ */
#smartRouteModal .sr-address-dropdown { position: absolute; top: 100%; left: 0; right: 44px; background: #fff; border: 1px solid #ddd; border-radius: 10px; box-shadow: 0 4px 16px rgba(0,0,0,0.12); z-index: 100; display: none; max-height: 200px; overflow-y: auto; }
#smartRouteModal .sr-address-item { padding: 10px 14px; cursor: pointer; border-bottom: 1px solid #f0f0f0; font-size: 13px; transition: background 0.15s; }
#smartRouteModal .sr-address-item:last-child { border-bottom: none; }
#smartRouteModal .sr-address-item:hover { background: #f8f8f8; }

/* ══ SUCCESS OVERLAY ══ */
.sr-success-overlay { position: fixed; inset: 0; z-index: 10050; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; transition: opacity 0.4s ease; }
.sr-success-content { text-align: center; animation: srSuccessPop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) both; }
.sr-success-icon-wrap { width: 80px; height: 80px; background: linear-gradient(135deg, #10b981 0%, #059669 100%); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4); animation: srIconPulse 2s infinite; }
.sr-success-icon { width: 40px; height: 40px; color: #fff; }
.sr-success-content h2 { font-size: 28px; font-weight: 700; color: #222; margin: 0 0 10px; }
.sr-success-content p { font-size: 16px; color: #666; margin: 0; }

@keyframes srSuccessPop { 0% { transform: scale(0.8) translateY(20px); opacity: 0; } 100% { transform: scale(1) translateY(0); opacity: 1; } }
@keyframes srIconPulse { 0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); } 70% { box-shadow: 0 0 0 20px rgba(16, 185, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } }

/* ══ ANIMATIONS ══ */
#smartRouteModal .sr-spin { animation: srSpin 1s linear infinite; }
@keyframes srSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
#smartRouteModal .sr-pulse-marker::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; background: rgba(255,56,92,0.3); border-radius: 50%; animation: srPulse 1.5s ease-out infinite; }
@keyframes srPulse { 0% { transform: translate(-50%, -50%) scale(0.5); opacity: 1; } 100% { transform: translate(-50%, -50%) scale(2); opacity: 0; } }

/* ══ RESPONSIVE ══ */
@media (max-width: 1100px) { #smartRouteModal .sr-main { grid-template-columns: 1fr 400px; } }
@media (max-width: 900px) { #smartRouteModal .sr-main { grid-template-columns: 1fr; grid-template-rows: 300px 1fr; padding: 0 16px 16px 16px; gap: 16px; } #smartRouteModal .sr-elevation-widget { width: 280px; bottom: 70px; right: 10px; } }
@media (max-width: 600px) { #smartRouteModal .sr-shell { width: 100%; height: 100%; max-width: none; max-height: none; border-radius: 0; } #smartRouteModal .step-navigation { margin: 0 12px 12px; padding: 10px 12px; gap: 12px; } #smartRouteModal .btn-nav-back, #smartRouteModal .btn-nav-next { min-width: 90px; padding: 10px 16px; font-size: 13px; } #smartRouteModal .step-label { display: none; } #smartRouteModal .sr-main { padding: 0 12px 12px 12px; gap: 12px; } #smartRouteModal .sr-form-side { padding: 16px; } #smartRouteModal .sr-suitability-grid { grid-template-columns: repeat(2, 1fr); } #smartRouteModal .sr-gallery-grid { grid-template-columns: repeat(3, 1fr); } }
