/* ===================================================
   Plan Feature Styles — scoped under #plan-scope
   =================================================== */

#plan-scope {
    --primary-navy: #0b162a;
    --primary-blue: #1a2b4b;
    --accent-gold: #fbbf24;
    --accent-gold-hover: #f59e0b;
    --text-white: #ffffff;
    --text-light: #e5e7eb;
    --text-muted: #6b7280;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-pill: 50px;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--primary-navy);
    background-color: #f3f4f6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0;
    margin: 0;
}

#plan-scope * {
    box-sizing: border-box;
}

/* ===== ANIMATIONS ===== */

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

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

@keyframes progress-fill {
    from { width: 0%; }
    to   { width: 100%; }
}

@keyframes shimmer {
    0%   { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ===== HERO ===== */

#plan-scope .plan-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 20px 60px;
    text-align: center;
    color: var(--text-white);
}

#plan-scope .plan-hero-compact {
    padding: 60px 20px 40px;
}

#plan-scope .plan-hero-content {
    max-width: 700px;
    margin: 0 auto;
}

#plan-scope .plan-hero-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

#plan-scope .plan-hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin: 0 0 12px;
    line-height: 1.15;
}

#plan-scope .plan-hero-title-sm {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
}

#plan-scope .plan-hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 300;
    opacity: 0.9;
    margin: 0;
}

/* ===== STEP INDICATOR ===== */

#plan-scope .plan-step-indicator {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 24px 0 8px;
}

#plan-scope .plan-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d1d5db;
    transition: background 0.3s;
}

#plan-scope .plan-dot-active {
    background: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.25);
}

/* ===== STEP VISIBILITY ===== */

#plan-scope .plan-step {
    display: none;
}

#plan-scope .plan-step-active {
    display: block;
    animation: fadeIn 0.4s ease;
}

/* ===== CARD ===== */

#plan-scope .plan-card-container {
    max-width: 800px;
    margin: -20px auto 40px;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

#plan-scope .plan-card {
    background: var(--glass-bg);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    padding: 36px;
    border: 1px solid white;
}

/* ===== MAD-LIBS SENTENCE ===== */

#plan-scope .plan-madlib {
    font-size: 1.25rem;
    line-height: 2.4;
    font-weight: 500;
    color: var(--primary-navy);
    margin: 0 0 8px;
}

#plan-scope .plan-slot {
    display: inline-flex;
    align-items: center;
    background: #f0f4ff;
    border: 2px solid #667eea;
    border-radius: var(--radius-md);
    padding: 4px 14px;
    margin: 0 4px;
    cursor: pointer;
    transition: all 0.2s;
    vertical-align: middle;
}

#plan-scope .plan-slot:hover {
    background: #e0e7ff;
    border-color: #4f46e5;
}

#plan-scope .plan-slot-city {
    color: #667eea;
    font-weight: 700;
    min-width: 160px;
    justify-content: center;
}

#plan-scope .plan-slot-city.has-value {
    color: var(--primary-navy);
    background: #e0e7ff;
}

#plan-scope .plan-slot-date {
    padding: 2px 8px;
}

#plan-scope .plan-date-input {
    border: none;
    background: transparent;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-navy);
    font-family: inherit;
    outline: none;
    cursor: pointer;
    width: 150px;
}

#plan-scope .plan-slot-days {
    gap: 10px;
    padding: 4px 12px;
}

#plan-scope .plan-range-input {
    width: 100px;
    accent-color: #667eea;
    cursor: pointer;
}

#plan-scope .plan-days-value {
    font-weight: 800;
    color: #667eea;
    font-size: 1.1rem;
    min-width: 24px;
    text-align: center;
}

#plan-scope .plan-slot-passengers {
    gap: 8px;
    padding: 2px 8px;
}

#plan-scope .plan-stepper-btn {
    width: 28px;
    height: 28px;
    border: none;
    background: #e0e7ff;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1rem;
    color: #667eea;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

#plan-scope .plan-stepper-btn:hover {
    background: #c7d2fe;
}

#plan-scope .plan-stepper-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

#plan-scope .plan-pax-value {
    font-weight: 800;
    color: #667eea;
    font-size: 1.1rem;
    min-width: 18px;
    text-align: center;
}

#plan-scope .plan-date-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0 0 20px;
}

/* ===== FIELD ERRORS ===== */

#plan-scope .field-error {
    color: #dc2626;
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 6px;
}

/* ===== STEP ACTIONS ===== */

#plan-scope .plan-step-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 24px;
}

#plan-scope .plan-step-actions-split {
    justify-content: space-between;
}

/* ===== BUTTONS ===== */

#plan-scope .plan-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border: none;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
}

#plan-scope .plan-btn-primary {
    background: #667eea;
    color: white;
    box-shadow: 0 4px 6px -1px rgba(102, 126, 234, 0.3);
}

#plan-scope .plan-btn-primary:hover {
    background: #5a6fd6;
    transform: translateY(-1px);
    box-shadow: 0 8px 15px -3px rgba(102, 126, 234, 0.4);
}

#plan-scope .plan-btn-primary:disabled {
    background: #d1d5db;
    color: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

#plan-scope .plan-btn-secondary {
    background: white;
    color: var(--primary-navy);
    border: 1px solid #e5e7eb;
}

#plan-scope .plan-btn-secondary:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

#plan-scope .plan-btn-gold {
    background: var(--accent-gold);
    color: var(--primary-navy);
    box-shadow: 0 4px 6px -1px rgba(251, 191, 36, 0.3);
}

#plan-scope .plan-btn-gold:hover {
    background: var(--accent-gold-hover);
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(251, 191, 36, 0.4);
}

#plan-scope .plan-btn-success {
    background: #059669;
    color: white;
    cursor: default;
    box-shadow: 0 4px 6px -1px rgba(5, 150, 105, 0.3);
}

#plan-scope .plan-btn-gold:disabled {
    background: #e5e7eb;
    color: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ===== FIELD GROUPS ===== */

#plan-scope .plan-field-group {
    margin-bottom: 28px;
}

#plan-scope .plan-field-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 12px;
}

/* Side-by-side row for Days + Passengers */
#plan-scope .plan-field-row {
    display: flex;
    gap: 20px;
    margin-bottom: 0;
}

#plan-scope .plan-field-half {
    flex: 1;
    min-width: 0;
}

/* Make slots block-level inside field groups */
#plan-scope .plan-field-group > .plan-slot {
    display: flex;
    width: 100%;
}

/* Days unit label */
#plan-scope .plan-days-unit {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

#plan-scope .plan-field-hint {
    font-size: 0.8rem;
    color: #9ca3af;
    margin: -8px 0 10px;
}

/* ===== OPTION CARDS (Pace / Budget) ===== */

#plan-scope .plan-option-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

#plan-scope .plan-option-card {
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-lg);
    padding: 18px 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

#plan-scope .plan-option-card:hover {
    border-color: #c7d2fe;
    background: #f0f4ff;
}

#plan-scope .plan-option-card.plan-option-selected {
    border-color: #667eea;
    background: #e0e7ff;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
}

#plan-scope .plan-option-icon {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

#plan-scope .plan-option-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary-navy);
    margin-bottom: 4px;
}

#plan-scope .plan-option-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===== TOGGLE BUTTONS (Visa) ===== */

#plan-scope .plan-toggle-group {
    display: flex;
    gap: 10px;
}

#plan-scope .plan-toggle-btn {
    padding: 10px 24px;
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-pill);
    background: #f9fafb;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    color: var(--primary-navy);
    cursor: pointer;
    transition: all 0.2s;
}

#plan-scope .plan-toggle-btn:hover {
    border-color: #c7d2fe;
}

#plan-scope .plan-toggle-btn.plan-toggle-active {
    background: #e0e7ff;
    border-color: #667eea;
    color: #667eea;
}

/* ===== CITY TAGS ===== */

#plan-scope .plan-city-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
    min-height: 4px;
}

#plan-scope .plan-city-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e0e7ff;
    color: #4338ca;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    animation: fadeIn 0.2s ease;
}

#plan-scope .plan-city-tag-remove {
    width: 18px;
    height: 18px;
    border: none;
    background: rgba(67, 56, 202, 0.15);
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.75rem;
    color: #4338ca;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

#plan-scope .plan-city-tag-remove:hover {
    background: rgba(67, 56, 202, 0.3);
}

/* ===== CITY SEARCH DROPDOWN ===== */

#plan-scope .plan-city-search-wrap {
    position: relative;
}

#plan-scope .plan-city-search {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}

#plan-scope .plan-city-search:focus {
    border-color: #667eea;
}

#plan-scope .plan-city-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    max-height: 240px;
    overflow-y: auto;
    z-index: 50;
    margin-top: 4px;
}

#plan-scope .plan-city-dropdown.open {
    display: block;
}

#plan-scope .plan-city-dropdown-item {
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.1s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#plan-scope .plan-city-dropdown-item:hover {
    background: #fef3c7;
}

#plan-scope .plan-city-dropdown-item-name {
    font-weight: 600;
    color: var(--primary-navy);
}

#plan-scope .plan-city-dropdown-item-country {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===== SUMMARY ===== */

#plan-scope .plan-summary {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 8px;
}

#plan-scope .plan-summary-title {
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin: 0 0 12px;
}

#plan-scope .plan-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

#plan-scope .plan-summary-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

#plan-scope .plan-summary-item-label {
    font-size: 0.75rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#plan-scope .plan-summary-item-value {
    font-weight: 700;
    color: var(--primary-navy);
    font-size: 0.95rem;
}

/* ===== CITY PICKER MODAL ===== */

#plan-scope .plan-city-modal {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 22, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    justify-content: center;
    align-items: flex-start;
    padding-top: 10vh;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

#plan-scope .plan-city-modal.show {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

#plan-scope .plan-city-modal-content {
    background: white;
    width: 90%;
    max-width: 480px;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    animation: slideDown 0.3s ease;
}

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

#plan-scope .plan-city-modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin: 0;
}

#plan-scope .plan-city-modal-close {
    width: 36px;
    height: 36px;
    border: none;
    background: #f3f4f6;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.5rem;
    transition: all 0.2s;
}

#plan-scope .plan-city-modal-close:hover {
    background: #e5e7eb;
    color: var(--primary-navy);
}

#plan-scope .plan-city-modal-search {
    padding: 16px 24px;
}

#plan-scope .plan-city-modal-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}

#plan-scope .plan-city-modal-input:focus {
    border-color: #667eea;
}

#plan-scope .plan-city-modal-list {
    max-height: 350px;
    overflow-y: auto;
    padding: 0 12px 12px;
}

#plan-scope .plan-city-modal-section {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #9ca3af;
    font-weight: 600;
    padding: 12px 12px 8px;
    margin: 0;
}

#plan-scope .plan-city-modal-item {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.15s;
    gap: 12px;
}

#plan-scope .plan-city-modal-item:hover {
    background: #fef3c7;
}

#plan-scope .plan-city-modal-item-icon {
    width: 40px;
    height: 40px;
    background: #f3f4f6;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

#plan-scope .plan-city-modal-item-info {
    flex: 1;
}

#plan-scope .plan-city-modal-item-name {
    font-weight: 600;
    color: var(--primary-navy);
    font-size: 0.95rem;
}

#plan-scope .plan-city-modal-item-country {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===== LOADING OVERLAY ===== */

#plan-scope .plan-loading-overlay {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 22, 42, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#plan-scope .plan-loading-overlay.show {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

#plan-scope .plan-loading-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    max-width: 520px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: slideDown 0.4s ease;
}

#plan-scope .plan-loading-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin: 0 0 24px;
}

#plan-scope .plan-loading-progress {
    width: 100%;
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 20px;
}

#plan-scope .plan-loading-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 3px;
    width: 0%;
}

#plan-scope .progress-bar-animated {
    animation: progress-fill 15s linear forwards;
}

#plan-scope .plan-loading-tip {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0 0 28px;
    min-height: 24px;
    transition: opacity 0.3s;
}

/* Skeleton */

#plan-scope .plan-skeleton-row {
    display: flex;
    gap: 12px;
}

#plan-scope .plan-skeleton-card {
    flex: 1;
    height: 80px;
    border-radius: var(--radius-md);
}

#plan-scope .skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-md);
}

/* Loading error */

#plan-scope .plan-loading-error {
    display: block;
    text-align: center;
    margin-top: 20px;
    visibility: hidden;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: opacity 0.2s ease;
}

#plan-scope .plan-loading-error.show {
    visibility: visible;
    opacity: 1;
    height: auto;
    overflow: visible;
}

#plan-scope .plan-loading-error-msg {
    color: #dc2626;
    font-size: 1rem;
    font-weight: 500;
    margin: 0 0 16px;
}

/* ===== RESULT PAGE ===== */

#plan-scope .plan-result-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

#plan-scope .plan-result-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

#plan-scope .plan-result-card {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    border: 2px solid transparent;
    transition: transform 0.2s, box-shadow 0.2s;
}

#plan-scope .plan-result-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

#plan-scope .plan-result-card-recommended {
    border-color: var(--accent-gold);
}

#plan-scope .plan-result-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--accent-gold);
    color: var(--primary-navy);
    padding: 4px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#plan-scope .plan-result-card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 24px 24px 20px;
    color: white;
}

#plan-scope .plan-result-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
}

#plan-scope .plan-result-card-body {
    padding: 20px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#plan-scope .plan-result-route {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-navy);
    line-height: 1.6;
}

#plan-scope .plan-result-stats {
    display: flex;
    gap: 24px;
}

#plan-scope .plan-result-stat {
    display: flex;
    flex-direction: column;
}

#plan-scope .plan-result-stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-navy);
}

#plan-scope .plan-result-stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

#plan-scope .plan-result-price {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

#plan-scope .plan-result-price-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#plan-scope .plan-result-price-value {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-navy);
}

/* Risk badges */

#plan-scope .plan-result-risk {
    display: inline-block;
    padding: 4px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 600;
    width: fit-content;
}

#plan-scope .plan-risk-low {
    background: #d1fae5;
    color: #065f46;
}

#plan-scope .plan-risk-medium {
    background: #fef3c7;
    color: #92400e;
}

#plan-scope .plan-risk-high {
    background: #fee2e2;
    color: #991b1b;
}

/* Why section */

#plan-scope .plan-result-why {
    border-top: 1px solid #f3f4f6;
    padding-top: 12px;
}

#plan-scope .plan-result-why-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

#plan-scope .plan-result-why-text {
    font-size: 0.85rem;
    color: #4b5563;
    line-height: 1.5;
    margin: 6px 0 0;
}

#plan-scope .plan-result-card-footer {
    padding: 16px 24px 24px;
}

#plan-scope .plan-btn-select {
    width: 100%;
    justify-content: center;
}

#plan-scope .plan-result-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
    font-size: 1.1rem;
}

#plan-scope .plan-result-back {
    text-align: center;
}

#plan-scope .plan-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

#plan-scope .plan-link:hover {
    color: #5a6fd6;
    text-decoration: none;
}

/* ===== TRIP DETAIL PAGE ===== */

#plan-scope .plan-trip-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

#plan-scope .plan-trip-summary {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    padding: 28px 32px;
    margin-bottom: 40px;
}

#plan-scope .plan-trip-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

#plan-scope .plan-trip-summary-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

#plan-scope .plan-trip-summary-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    font-weight: 600;
}

#plan-scope .plan-trip-summary-value {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-navy);
}

/* Timeline */

#plan-scope .plan-trip-timeline {
    position: relative;
    padding-left: 0;
}

#plan-scope .plan-trip-stay {
    display: flex;
    gap: 20px;
    margin-bottom: 0;
    position: relative;
}

#plan-scope .plan-trip-stay-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 20px;
    flex-shrink: 0;
    padding-top: 24px;
}

#plan-scope .plan-trip-stay-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #667eea;
    border: 3px solid white;
    box-shadow: 0 0 0 2px #667eea;
    flex-shrink: 0;
    z-index: 1;
}

#plan-scope .plan-trip-stay-line {
    width: 2px;
    flex: 1;
    background: #e5e7eb;
    margin-top: 8px;
}

#plan-scope .plan-trip-stay-card {
    flex: 1;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    margin-bottom: 16px;
}

#plan-scope .plan-trip-stay-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 18px 24px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
#plan-scope .plan-trip-stay-header-left {
    display: flex;
    align-items: baseline;
    gap: 8px;
}
#plan-scope .plan-trip-stay-header-right {
    flex-shrink: 0;
}

#plan-scope .plan-trip-stay-city {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
}

#plan-scope .plan-trip-stay-country {
    font-size: 0.85rem;
    opacity: 0.8;
}

#plan-scope .plan-trip-stay-body {
    padding: 18px 24px;
}

#plan-scope .plan-trip-stay-dates {
    font-size: 0.95rem;
    color: var(--primary-navy);
    font-weight: 600;
}

#plan-scope .plan-trip-stay-notes {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 8px;
    line-height: 1.5;
}

/* Transport segment */

#plan-scope .plan-trip-segment {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 8px 0 8px 40px;
    padding: 14px 20px;
    background: #f9fafb;
    border: 1px dashed #d1d5db;
    border-radius: 12px;
}

#plan-scope .plan-trip-segment-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

#plan-scope .plan-trip-segment-route {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary-navy);
}

#plan-scope .plan-trip-segment-details {
    display: flex;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

#plan-scope .plan-trip-segment-stations {
    font-size: 0.8rem;
    color: #9ca3af;
    margin-top: 2px;
}

#plan-scope .plan-trip-actions {
    text-align: center;
    margin-top: 32px;
}

@media (max-width: 768px) {
    #plan-scope .plan-trip-summary-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    #plan-scope .plan-trip-segment {
        margin-left: 40px;
    }

    #plan-scope .plan-trip-stay-header {
        flex-direction: column;
        align-items: flex-start;
    }
    #plan-scope .plan-trip-segment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    #plan-scope .plan-trip-alternative-item {
        flex-direction: column;
        align-items: flex-start;
    }
    #plan-scope .plan-trip-alternative-actions {
        width: 100%;
        justify-content: space-between;
        margin-top: 8px;
    }
}

@media (max-width: 480px) {
    #plan-scope .plan-trip-summary-grid {
        grid-template-columns: 1fr;
    }

    #plan-scope .plan-hero-pills {
        justify-content: center;
    }
    #plan-scope .plan-trip-activity {
        flex-direction: column;
        gap: 4px;
    }
    #plan-scope .plan-trip-activity-time {
        min-width: auto;
    }
    #plan-scope .plan-trip-segment-actions {
        flex-direction: column;
    }
    #plan-scope .plan-trip-segment-actions .plan-btn {
        width: 100%;
        text-align: center;
    }
}

/* ===== TRIP DETAIL — INTERACTIVE COMPONENTS ===== */

/* Hero pills */
#plan-scope .plan-hero-pills {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}
#plan-scope .plan-hero-pill {
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    color: rgba(255,255,255,0.9);
}

/* Nights control */
#plan-scope .plan-trip-nights-control {
    display: flex;
    align-items: center;
    gap: 4px;
}
#plan-scope .plan-btn-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid #d0d5dd;
    background: #fff;
    color: #344054;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    padding: 0;
    line-height: 1;
}
#plan-scope .plan-btn-icon:hover:not(:disabled) {
    border-color: #7c3aed;
    color: #7c3aed;
    background: #f5f3ff;
}
#plan-scope .plan-btn-icon:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}
#plan-scope .plan-trip-nights-value {
    font-size: 18px;
    font-weight: 700;
    color: #1d2939;
    min-width: 24px;
    text-align: center;
}
#plan-scope .plan-trip-nights-unit {
    font-size: 13px;
    color: #667085;
    margin-left: 2px;
}

/* Stay card enhancements */
#plan-scope .plan-trip-stay-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    flex-wrap: wrap;
}
#plan-scope .plan-trip-stay-regenerate {
    margin-top: 8px;
}
#plan-scope .plan-trip-stay.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Button variants */
#plan-scope .plan-btn-xs {
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 6px;
}
#plan-scope .plan-btn-sm {
    padding: 6px 14px;
    font-size: 13px;
    border-radius: 8px;
}
#plan-scope .plan-btn-outline {
    background: transparent;
    border: 1.5px solid #d0d5dd;
    color: #344054;
    cursor: pointer;
    transition: all 0.2s;
}
#plan-scope .plan-btn-outline:hover {
    border-color: #7c3aed;
    color: #7c3aed;
    background: #f5f3ff;
}
#plan-scope .plan-btn-danger-outline {
    background: transparent;
    border: 1.5px solid #fda29b;
    color: #b42318;
    cursor: pointer;
    transition: all 0.2s;
}
#plan-scope .plan-btn-danger-outline:hover {
    background: #fef3f2;
    border-color: #f04438;
}

/* Segment card enhancements */
#plan-scope .plan-trip-segment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}
#plan-scope .plan-trip-status-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
#plan-scope .plan-trip-status-planned {
    background: #f2f4f7;
    color: #667085;
}
#plan-scope .plan-trip-status-priced {
    background: #eff8ff;
    color: #175cd3;
}
#plan-scope .plan-trip-status-booked {
    background: #ecfdf3;
    color: #027a48;
}
#plan-scope .plan-trip-status-unsupported {
    background: #fffaeb;
    color: #b54708;
}
#plan-scope .plan-trip-segment-risk {
    font-size: 12px;
    margin-top: 4px;
    padding: 2px 0;
}
#plan-scope .plan-trip-risk-low { color: #027a48; }
#plan-scope .plan-trip-risk-medium { color: #b54708; }
#plan-scope .plan-trip-risk-high { color: #b42318; }
#plan-scope .plan-trip-segment-booking-ref {
    font-size: 12px;
    color: #027a48;
    margin-top: 4px;
}
#plan-scope .plan-trip-segment-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    align-items: center;
}
#plan-scope .plan-trip-booked-badge {
    color: #027a48;
    font-weight: 600;
    font-size: 13px;
}

/* Daily plans accordion */
#plan-scope .plan-trip-daily-plans {
    margin-top: 12px;
    border-top: 1px solid #f2f4f7;
    padding-top: 12px;
}
#plan-scope .plan-trip-day-card {
    border: 1px solid #e4e7ec;
    border-radius: 8px;
    margin-bottom: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}
#plan-scope .plan-trip-day-card:hover {
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
#plan-scope .plan-trip-day-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    cursor: pointer;
    background: #f9fafb;
    user-select: none;
    transition: background 0.2s;
}
#plan-scope .plan-trip-day-header:hover {
    background: #f2f4f7;
}
#plan-scope .plan-trip-day-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    min-width: 0;
}
#plan-scope .plan-trip-day-number {
    font-weight: 700;
    font-size: 14px;
    color: #1d2939;
}
#plan-scope .plan-trip-day-date {
    font-size: 13px;
    color: #667085;
}
#plan-scope .plan-trip-day-theme {
    font-size: 13px;
    color: #7c3aed;
    font-weight: 500;
}
#plan-scope .plan-trip-transit-badge {
    background: #eff8ff;
    color: #175cd3;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}
#plan-scope .plan-trip-day-toggle {
    color: #98a2b3;
    font-size: 14px;
    transition: transform 0.2s;
}
#plan-scope .plan-trip-day-card.expanded .plan-trip-day-toggle {
    transform: rotate(180deg);
}
#plan-scope .plan-trip-day-body {
    display: none;
    padding: 0 14px 14px;
}
#plan-scope .plan-trip-day-card.expanded .plan-trip-day-body {
    display: block;
}
#plan-scope .plan-trip-no-plans {
    text-align: center;
    padding: 20px;
    color: #98a2b3;
    font-size: 14px;
}

/* Activity rows */
#plan-scope .plan-trip-activity {
    display: flex;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #f2f4f7;
}
#plan-scope .plan-trip-activity:last-child {
    border-bottom: none;
}
#plan-scope .plan-trip-activity-time {
    font-size: 13px;
    color: #667085;
    min-width: 48px;
    font-weight: 500;
    flex-shrink: 0;
    padding-top: 1px;
}
#plan-scope .plan-trip-activity-content {
    flex: 1;
    min-width: 0;
}
#plan-scope .plan-trip-activity-name {
    font-size: 14px;
    font-weight: 600;
    color: #1d2939;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
#plan-scope .plan-trip-activity-type {
    display: inline-block;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2px;
}
#plan-scope .plan-trip-activity-type-landmark { background: #eff8ff; color: #175cd3; }
#plan-scope .plan-trip-activity-type-museum { background: #f4f3ff; color: #5925dc; }
#plan-scope .plan-trip-activity-type-dining { background: #fffaeb; color: #b54708; }
#plan-scope .plan-trip-activity-type-shopping { background: #ecfdf3; color: #027a48; }
#plan-scope .plan-trip-activity-type-neighborhood { background: #f0fdf9; color: #107569; }
#plan-scope .plan-trip-activity-type-day_trip { background: #eef4ff; color: #3538cd; }
#plan-scope .plan-trip-activity-duration {
    font-size: 12px;
    color: #98a2b3;
    margin-top: 2px;
}
#plan-scope .plan-trip-activity-desc {
    font-size: 13px;
    color: #475467;
    margin-top: 4px;
    line-height: 1.5;
}
#plan-scope .plan-trip-activity-tip {
    font-size: 12px;
    color: #7c3aed;
    margin-top: 4px;
    padding: 4px 8px;
    background: #f9f5ff;
    border-radius: 4px;
    line-height: 1.4;
}

/* Modal (alternatives) */
#plan-scope .plan-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s, opacity 0.3s;
}
#plan-scope .plan-modal.show {
    visibility: visible;
    opacity: 1;
}
#plan-scope .plan-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}
#plan-scope .plan-modal-content {
    position: relative;
    background: #fff;
    border-radius: 16px;
    width: 90%;
    max-width: 480px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    transform: translateY(20px);
    transition: transform 0.3s;
}
#plan-scope .plan-modal.show .plan-modal-content {
    transform: translateY(0);
}
#plan-scope .plan-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #e4e7ec;
}
#plan-scope .plan-modal-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1d2939;
    margin: 0;
}
#plan-scope .plan-modal-close {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: transparent;
    font-size: 20px;
    color: #667085;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
#plan-scope .plan-modal-close:hover {
    background: #f2f4f7;
}
#plan-scope .plan-modal-body {
    padding: 16px 20px;
}

/* Alternative items */
#plan-scope .plan-trip-alternative-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f2f4f7;
    gap: 12px;
}
#plan-scope .plan-trip-alternative-item:last-child {
    border-bottom: none;
}
#plan-scope .plan-trip-alternative-info {
    flex: 1;
    min-width: 0;
}
#plan-scope .plan-trip-alternative-name {
    font-size: 15px;
    font-weight: 600;
    color: #1d2939;
}
#plan-scope .plan-trip-alternative-reason {
    font-size: 13px;
    color: #667085;
    margin-top: 4px;
    line-height: 1.4;
}
#plan-scope .plan-trip-alternative-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
#plan-scope .plan-trip-price-badge {
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
}
#plan-scope .plan-trip-price-increase { background: #fffaeb; color: #b54708; }
#plan-scope .plan-trip-price-decrease { background: #ecfdf3; color: #027a48; }
#plan-scope .plan-trip-price-same { background: #f2f4f7; color: #667085; }
#plan-scope .plan-trip-loading-text {
    text-align: center;
    padding: 20px;
    color: #667085;
    font-size: 14px;
}

/* Toast notifications (scoped) */
#plan-scope .plan-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
#plan-scope .plan-toast {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.3s, transform 0.3s;
    max-width: 320px;
}
#plan-scope .plan-toast.show {
    opacity: 1;
    transform: translateX(0);
}
#plan-scope .plan-toast-success {
    background: #ecfdf3;
    color: #027a48;
    border: 1px solid #a6f4c5;
}
#plan-scope .plan-toast-error {
    background: #fef3f2;
    color: #b42318;
    border: 1px solid #fecdca;
}
#plan-scope .plan-toast-info {
    background: #eff8ff;
    color: #175cd3;
    border: 1px solid #b2ddff;
}

/* Map container (placeholder for Phase 4) */
#plan-scope .plan-trip-map-container {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
    border: 1px solid #e4e7ec;
}
#plan-scope .plan-trip-map {
    width: 100%;
    height: 350px;
    background: #f2f4f7;
}

/* ===== SUCCESS BANNER ===== */

#plan-scope .plan-success-banner {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: white;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    margin-bottom: 32px;
    box-shadow: 0 10px 25px -5px rgba(5, 150, 105, 0.3);
}

#plan-scope .plan-success-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 16px;
}

#plan-scope .plan-success-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 8px;
}

#plan-scope .plan-success-text {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0 0 24px;
}

#plan-scope .plan-success-banner .plan-btn-primary {
    background: white;
    color: #059669;
    text-decoration: none;
}

#plan-scope .plan-success-banner .plan-btn-primary:hover {
    background: #f0fdf4;
    transform: translateY(-1px);
}

/* ===== TOAST ===== */

.plan-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Inter', system-ui, sans-serif;
    z-index: 3000;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
    display: none;
}

.plan-toast-success {
    background: #059669;
    color: white;
}

.plan-toast-error {
    background: #dc2626;
    color: white;
}

.plan-toast-info {
    background: #1e40af;
    color: white;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1024px) {
    #plan-scope .plan-result-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    #plan-scope .plan-hero {
        padding: 60px 16px 40px;
    }

    #plan-scope .plan-card {
        padding: 24px 20px;
    }

    #plan-scope .plan-madlib {
        font-size: 1.05rem;
        line-height: 2.6;
    }

    #plan-scope .plan-slot-city {
        min-width: 120px;
    }

    #plan-scope .plan-date-input {
        width: 130px;
    }

    #plan-scope .plan-range-input {
        width: 70px;
    }

    #plan-scope .plan-field-row {
        flex-direction: column;
        gap: 0;
    }

    #plan-scope .plan-option-group {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    #plan-scope .plan-option-card {
        display: flex;
        align-items: center;
        gap: 12px;
        text-align: left;
        padding: 14px 16px;
    }

    #plan-scope .plan-option-icon {
        margin-bottom: 0;
        font-size: 1.3rem;
    }

    #plan-scope .plan-result-grid {
        grid-template-columns: 1fr;
        overflow-x: auto;
        display: flex;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding-bottom: 8px;
    }

    #plan-scope .plan-result-card {
        min-width: 280px;
        scroll-snap-align: center;
        flex-shrink: 0;
    }

    #plan-scope .plan-result-container {
        padding: 24px 16px 40px;
    }

    #plan-scope .plan-btn {
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    #plan-scope .plan-skeleton-row {
        gap: 8px;
    }

    #plan-scope .plan-skeleton-card {
        height: 60px;
    }
}

@media (max-width: 480px) {
    #plan-scope .plan-madlib {
        font-size: 0.95rem;
    }

    #plan-scope .plan-slot {
        padding: 3px 10px;
        margin: 0 2px;
    }

    #plan-scope .plan-slot-city {
        min-width: 100px;
    }
}

/* ==============================
   TRIP LIST PAGE
   ============================== */
#plan-scope .plan-trips-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
#plan-scope .plan-trips-card {
    display: block;
    background: #fff;
    border: 1px solid #e4e7ec;
    border-radius: 12px;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}
#plan-scope .plan-trips-card:hover {
    border-color: #7c3aed;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.1);
    transform: translateY(-1px);
}
#plan-scope .plan-trips-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
#plan-scope .plan-trips-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #1d2939;
    margin: 0;
}
#plan-scope .plan-trips-card-route {
    font-size: 14px;
    color: #667085;
    margin-bottom: 8px;
}
#plan-scope .plan-trips-card-meta {
    font-size: 13px;
    color: #98a2b3;
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}
#plan-scope .plan-trips-card-progress {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}
#plan-scope .plan-trips-card-progress-bar {
    flex: 1;
    height: 4px;
    background: #f2f4f7;
    border-radius: 2px;
    overflow: hidden;
}
#plan-scope .plan-trips-card-progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    border-radius: 2px;
    transition: width 0.3s;
}
#plan-scope .plan-trips-card-progress-text {
    font-size: 12px;
    color: #667085;
    white-space: nowrap;
}
#plan-scope .plan-trips-empty {
    text-align: center;
    padding: 60px 20px;
}
#plan-scope .plan-trips-empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
}
#plan-scope .plan-trips-empty h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1d2939;
    margin: 0 0 8px;
}
#plan-scope .plan-trips-empty p {
    font-size: 14px;
    color: #667085;
    margin: 0 0 24px;
}

/* Map markers */
#plan-scope .plan-map-marker {
    background: none;
    border: none;
}
#plan-scope .plan-map-marker-inner {
    width: 30px;
    height: 30px;
    background: #7c3aed;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.4);
    border: 3px solid #fff;
}

/* Stay highlight when clicked from map */
#plan-scope .plan-trip-stay.highlighted .plan-trip-stay-card {
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
    transition: all 0.3s;
}

/* Map container responsive */
@media (max-width: 480px) {
    #plan-scope .plan-trip-map {
        height: 250px;
    }
}
