/* Travel UI Styles */ .travel-container { /* Position to the right side instead of center */ position: absolute !important; top: 20px !important; right: 20px !important; left: auto !important; bottom: auto !important; width: auto !important; height: auto !important; background-color: transparent !important; justify-content: flex-start !important; align-items: flex-start !important; display: none; } .travel-panel { background-color: rgba(45, 45, 45, 0.95) !important; border-width: 2px !important; border-color: rgb(80, 80, 80) !important; border-radius: 8px !important; padding: 15px !important; width: 320px !important; min-height: 420px !important; max-height: 600px !important; flex-direction: column; flex-shrink: 0; cursor: move; } .travel-header { flex-direction: row !important; justify-content: space-between !important; align-items: center !important; margin-bottom: 10px !important; background-color: rgba(60, 60, 60, 0.8) !important; margin: -20px -20px 10px -20px !important; padding: 10px 20px !important; border-top-left-radius: 6px !important; border-top-right-radius: 6px !important; } .travel-title { font-size: 14px !important; -unity-font-style: bold !important; color: rgb(220, 220, 220) !important; margin: 0 !important; flex-grow: 1 !important; } .close-button { width: 24px !important; height: 24px !important; margin: 0 !important; padding: 0 !important; background-color: transparent !important; border-width: 0 !important; color: rgb(200, 200, 200) !important; font-size: 16px !important; -unity-font-style: bold !important; } .close-button:hover { background-color: rgba(200, 50, 50, 0.7) !important; color: white !important; } .travel-info { flex-direction: column; margin-bottom: 10px; padding: 10px; background-color: rgba(30, 30, 30, 0.8); border-radius: 5px; border-width: 1px; border-color: rgba(100, 100, 100, 0.5); height: 120px; flex-shrink: 0; overflow: hidden; } .info-label { font-size: 14px; color: rgb(240, 240, 240) !important; margin-bottom: 3px; -unity-font-style: normal; height: auto; min-height: 18px; flex-shrink: 0; } .button-container { flex-direction: row; justify-content: space-between; margin-top: auto; /* Note: gap not supported in Unity, use margins on children instead */ } .travel-button { flex: 1; padding: 8px 12px; font-size: 12px; -unity-font-style: bold; border-width: 0; border-radius: 5px; min-height: 35px; white-space: normal; -unity-text-align: middle-center; margin-left: 4px; margin-right: 4px; } .primary-button { background-color: rgb(34, 139, 34); color: rgb(255, 255, 255); } .primary-button:hover { background-color: rgb(50, 180, 50); } .primary-button:disabled { background-color: rgb(80, 80, 80) !important; color: rgb(150, 150, 150) !important; } .primary-button:disabled:hover { background-color: rgb(80, 80, 80) !important; color: rgb(150, 150, 150) !important; } .secondary-button { background-color: rgb(180, 50, 50); color: rgb(255, 255, 255); } .secondary-button:hover { background-color: rgb(220, 70, 70); } /* Route Options Section */ .route-options { flex-direction: column; margin-bottom: 15px; padding: 10px; background-color: rgba(25, 25, 35, 0.8); border-radius: 5px; border-width: 1px; border-color: rgba(100, 100, 120, 0.5); flex-grow: 1; min-height: 200px; max-height: 300px; flex-shrink: 0; overflow: hidden; } .section-title { font-size: 14px; -unity-font-style: bold; color: rgb(220, 220, 255) !important; margin-bottom: 8px; } .toggle-container { flex-direction: column; flex-grow: 1; /* Note: gap not supported in Unity, using margin-bottom on children instead */ } .route-toggle { color: rgb(240, 240, 240) !important; font-size: 13px; margin-bottom: 5px; } .route-toggle > .unity-toggle__checkmark { background-color: rgba(50, 50, 50, 0.9) !important; border-color: rgb(120, 120, 120) !important; border-width: 1px !important; border-radius: 3px !important; } .route-toggle:checked > .unity-toggle__checkmark { background-color: rgb(34, 139, 34) !important; border-color: rgb(50, 180, 50) !important; } .route-toggle > .unity-toggle__text { color: rgb(240, 240, 240) !important; } .special-costs { color: rgb(255, 200, 100); -unity-font-style: bold; white-space: normal; -unity-text-align: upper-left; overflow: visible; flex-shrink: 0; min-height: 20px; max-height: 60px; } .warning-section { flex-direction: column; margin-bottom: 10px; height: 20px; flex-shrink: 0; } .insufficient-funds { color: rgb(255, 100, 100) !important; -unity-font-style: bold !important; font-size: 12px !important; -unity-text-align: middle-center; background-color: rgba(150, 30, 30, 0.3); border-radius: 3px; padding: 3px; border-width: 1px; border-color: rgba(255, 100, 100, 0.5); height: 18px; flex-shrink: 0; } .alternative-button { background-color: rgb(100, 100, 150); color: rgb(255, 255, 255); margin-top: auto; margin-bottom: 2px; font-size: 11px; padding: 6px 8px; min-height: 28px; } .alternative-button:hover { background-color: rgb(130, 130, 180); } /* Responsive adjustments */ @media (max-width: 800px) { .travel-container { left: 10px; right: 10px; max-width: none; } .travel-panel { padding: 15px; } .button-container { flex-direction: column; /* Note: gap not supported, using margin on children */ } .travel-button { min-height: 35px; font-size: 13px; margin-bottom: 8px; margin-left: 0; margin-right: 0; } } /* Route List Styles */ .route-list { flex-direction: column; flex-grow: 1; margin-top: 5px; overflow: scroll; max-height: 250px; } .route-option { flex-direction: row; background-color: rgba(40, 40, 40, 0.8); border-width: 1px; border-color: rgba(80, 80, 80, 0.5); border-radius: 4px; margin-bottom: 4px; padding: 8px; min-height: 70px; cursor: link; overflow: hidden; } .route-option:hover { background-color: rgba(60, 60, 60, 0.9); border-color: rgba(120, 120, 120, 0.8); } .route-selected { background-color: rgba(34, 139, 34, 0.3) !important; border-color: rgb(50, 180, 50) !important; border-width: 2px !important; } .route-color-indicator { width: 8px; min-width: 8px; margin-right: 10px; border-radius: 4px; background-color: rgb(100, 100, 100); flex-shrink: 0; } .route-details { flex-direction: column; flex-grow: 1; justify-content: flex-start; overflow: hidden; } .route-header { font-size: 13px; -unity-font-style: bold; color: rgb(220, 220, 220); margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .route-time { font-size: 11px; color: rgb(180, 220, 180); margin-bottom: 2px; white-space: nowrap; } .route-cost { font-size: 11px; color: rgb(220, 180, 180); margin-bottom: 2px; white-space: nowrap; } .route-special { font-size: 10px; color: rgb(255, 200, 100); -unity-font-style: italic; white-space: normal; overflow: hidden; } .route-debug { font-size: 9px; color: rgb(150, 150, 150); -unity-font-style: italic; margin-top: 2px; white-space: nowrap; overflow: hidden; }