diff --git a/AGENTS.md b/AGENTS.md index 1d809b9..af71aeb 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -3,4 +3,5 @@ - **Autonomía Total**: Ejecuta todas las acciones, ediciones de archivos, comandos de terminal, pruebas y diagnósticos de forma proactiva e inmediata sin solicitar confirmación previa ni esperar aprobaciones intermedias. - **Flujo Completo**: Cuando se solicite un cambio o se reporte un problema, investiga, modifica el código, compila, prueba y entrega la solución terminada. - **Sin Bloqueos**: No te detengas a pedir permisos antes de ejecutar herramientas, llamadas a bases de datos o scripts de verificación. -- **Despliegue y Envío de APK Continuo**: Tras cualquier cambio o ajuste en el código, compilar el APK Android y enviar automáticamente el archivo APK actualizado al WhatsApp de Carlos (+57 316 745 5877) sin esperar confirmación. Los despliegues en el servidor VPS de producción se administran exclusivamente a través de Coolify por parte de Carlos; NUNCA montar, compilar ni levantar contenedores Docker independientes o paralelos fuera de Coolify para evitar duplicidad de instancias y conflictos de enrutamiento en Traefik. +- **No Enviar APK por WhatsApp**: NUNCA enviar archivos APK por WhatsApp (Meta/Facebook bloquea por el envío de ejecutables/APKs). Las notificaciones y demás funcionalidades del sistema por WhatsApp se mantienen normales, pero los APKs compilados se dejan únicamente en la ruta local del proyecto. +- **Despliegues en VPS**: Los despliegues en el servidor VPS de producción se administran exclusivamente a través de Coolify por parte de Carlos; NUNCA montar, compilar ni levantar contenedores Docker independientes o paralelos fuera de Coolify para evitar duplicidad de instancias y conflictos de enrutamiento en Traefik. diff --git a/pacifictrans-app/android/app/capacitor.build.gradle b/pacifictrans-app/android/app/capacitor.build.gradle index d2f3951..115e84f 100644 --- a/pacifictrans-app/android/app/capacitor.build.gradle +++ b/pacifictrans-app/android/app/capacitor.build.gradle @@ -9,7 +9,14 @@ android { apply from: "../capacitor-cordova-android-plugins/cordova.variables.gradle" dependencies { + implementation project(':capacitor-app') implementation project(':capacitor-app-launcher') + implementation project(':capacitor-dialog') + implementation project(':capacitor-geolocation') + implementation project(':capacitor-haptics') + implementation project(':capacitor-network') + implementation project(':capacitor-splash-screen') + implementation project(':capacitor-status-bar') } diff --git a/pacifictrans-app/android/app/src/main/AndroidManifest.xml b/pacifictrans-app/android/app/src/main/AndroidManifest.xml index 4d7ca38..f64bcb9 100644 --- a/pacifictrans-app/android/app/src/main/AndroidManifest.xml +++ b/pacifictrans-app/android/app/src/main/AndroidManifest.xml @@ -7,6 +7,7 @@ android:label="@string/app_name" android:roundIcon="@mipmap/ic_launcher_round" android:supportsRtl="true" + android:hardwareAccelerated="true" android:theme="@style/AppTheme"> @@ -36,6 +38,11 @@ - + + + + + + diff --git a/pacifictrans-app/android/capacitor.settings.gradle b/pacifictrans-app/android/capacitor.settings.gradle index 9797f21..8f6962e 100644 --- a/pacifictrans-app/android/capacitor.settings.gradle +++ b/pacifictrans-app/android/capacitor.settings.gradle @@ -2,5 +2,26 @@ include ':capacitor-android' project(':capacitor-android').projectDir = new File('../node_modules/@capacitor/android/capacitor') +include ':capacitor-app' +project(':capacitor-app').projectDir = new File('../node_modules/@capacitor/app/android') + include ':capacitor-app-launcher' project(':capacitor-app-launcher').projectDir = new File('../node_modules/@capacitor/app-launcher/android') + +include ':capacitor-dialog' +project(':capacitor-dialog').projectDir = new File('../node_modules/@capacitor/dialog/android') + +include ':capacitor-geolocation' +project(':capacitor-geolocation').projectDir = new File('../node_modules/@capacitor/geolocation/android') + +include ':capacitor-haptics' +project(':capacitor-haptics').projectDir = new File('../node_modules/@capacitor/haptics/android') + +include ':capacitor-network' +project(':capacitor-network').projectDir = new File('../node_modules/@capacitor/network/android') + +include ':capacitor-splash-screen' +project(':capacitor-splash-screen').projectDir = new File('../node_modules/@capacitor/splash-screen/android') + +include ':capacitor-status-bar' +project(':capacitor-status-bar').projectDir = new File('../node_modules/@capacitor/status-bar/android') diff --git a/pacifictrans-app/capacitor.config.ts b/pacifictrans-app/capacitor.config.ts index 2727c97..9ee63a4 100644 --- a/pacifictrans-app/capacitor.config.ts +++ b/pacifictrans-app/capacitor.config.ts @@ -5,20 +5,29 @@ const config: CapacitorConfig = { appName: 'Pacific Trans GO', webDir: 'public', server: { - url: 'https://pacifictrans.almeira.com.co', - cleartext: true, androidScheme: 'https', + cleartext: true, }, android: { appendUserAgent: 'CapacitorApp/PacifictransGo', + allowMixedContent: true, + backgroundColor: '#080c14', }, plugins: { SplashScreen: { - launchShowDuration: 3000, + launchShowDuration: 2500, launchAutoHide: true, - backgroundColor: '#0f172a', + launchFadeOutDuration: 500, + backgroundColor: '#080c14', androidScaleType: 'CENTER_CROP', showSpinner: false, + splashFullScreen: true, + splashImmersive: true, + }, + StatusBar: { + style: 'DARK', + backgroundColor: '#080c14', + overlaysWebView: false, }, }, }; diff --git a/pacifictrans-app/package-lock.json b/pacifictrans-app/package-lock.json index 263f049..d9b1856 100644 --- a/pacifictrans-app/package-lock.json +++ b/pacifictrans-app/package-lock.json @@ -9,8 +9,15 @@ "version": "1.0.0", "dependencies": { "@capacitor/android": "^6.2.0", + "@capacitor/app": "^6.0.0", "@capacitor/app-launcher": "^6.0.2", - "@capacitor/core": "^6.2.0" + "@capacitor/core": "^6.2.0", + "@capacitor/dialog": "^6.0.0", + "@capacitor/geolocation": "^6.0.0", + "@capacitor/haptics": "^6.0.0", + "@capacitor/network": "^6.0.0", + "@capacitor/splash-screen": "^6.0.0", + "@capacitor/status-bar": "^6.0.0" }, "devDependencies": { "@capacitor/cli": "^6.2.0" @@ -25,6 +32,15 @@ "@capacitor/core": "^6.2.0" } }, + "node_modules/@capacitor/app": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/@capacitor/app/-/app-6.0.0.tgz", + "integrity": "sha512-X5UGd90Jh5p9rmoPyMqFyFWqOypdJgVJhYcM5X1YyDVJJGzmJ5MuYv1+ajj5DW9Qyh+5a3th9WYptdGby8jidA==", + "license": "MIT", + "peerDependencies": { + "@capacitor/core": "^6.0.0" + } + }, "node_modules/@capacitor/app-launcher": { "version": "6.0.4", "resolved": "https://registry.npmjs.org/@capacitor/app-launcher/-/app-launcher-6.0.4.tgz", @@ -76,6 +92,60 @@ "tslib": "^2.1.0" } }, + "node_modules/@capacitor/dialog": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/@capacitor/dialog/-/dialog-6.0.0.tgz", + "integrity": "sha512-TnkfngkfB+t9m6wM/NDCyOjencSHHFBB1rqTDgrcAyoyP+Fjmykg6iRD5W7j9v52vNY2BESPmp692uWNbh88zA==", + "license": "MIT", + "peerDependencies": { + "@capacitor/core": "^6.0.0" + } + }, + "node_modules/@capacitor/geolocation": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/@capacitor/geolocation/-/geolocation-6.0.0.tgz", + "integrity": "sha512-8wrZe6gqfZmsCdvOvrqmezi2Pa8Nz6bQUFbDWsjUKHRzs+qreYNXngzhgKO83GEhHvodiJMnoDJrD2JeQt7FZg==", + "license": "MIT", + "peerDependencies": { + "@capacitor/core": "^6.0.0" + } + }, + "node_modules/@capacitor/haptics": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/@capacitor/haptics/-/haptics-6.0.0.tgz", + "integrity": "sha512-z2TmB+pTbd98Il2I1xpZGClCFwORxxP2m9f1a0rh70c2ubj2atVyZctgxrx1fuoExZTNGSxHaylWfrmjmtelVg==", + "license": "MIT", + "peerDependencies": { + "@capacitor/core": "^6.0.0" + } + }, + "node_modules/@capacitor/network": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/@capacitor/network/-/network-6.0.0.tgz", + "integrity": "sha512-igGbz3VZuchnfQ/kSFxMsQjLGvKYmEKYzK5RD5S7leLaoBox0B3ueW04yRI2HcGC+PSIo9F52qDL8J6qb1N0vg==", + "license": "MIT", + "peerDependencies": { + "@capacitor/core": "^6.0.0" + } + }, + "node_modules/@capacitor/splash-screen": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/@capacitor/splash-screen/-/splash-screen-6.0.0.tgz", + "integrity": "sha512-ZGgbT1j6opz1xCnMHnERnBd33aQTuepOXuDHMiKgZGlOluviBFOyOcnMnWjEwavg8PSiYSPSmVSwjxW7L6mXsg==", + "license": "MIT", + "peerDependencies": { + "@capacitor/core": "^6.0.0" + } + }, + "node_modules/@capacitor/status-bar": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/@capacitor/status-bar/-/status-bar-6.0.0.tgz", + "integrity": "sha512-Wo0ILugYlmENegKDgTzVCPjbvP8h1ObgHslLdgeVG643ViMS/diausHIq8e104WIKCXtKIELmQeYVp9mX7932g==", + "license": "MIT", + "peerDependencies": { + "@capacitor/core": "^6.0.0" + } + }, "node_modules/@ionic/cli-framework-output": { "version": "2.2.8", "resolved": "https://registry.npmjs.org/@ionic/cli-framework-output/-/cli-framework-output-2.2.8.tgz", diff --git a/pacifictrans-app/package.json b/pacifictrans-app/package.json index de84986..37167ec 100644 --- a/pacifictrans-app/package.json +++ b/pacifictrans-app/package.json @@ -9,8 +9,15 @@ }, "dependencies": { "@capacitor/android": "^6.2.0", + "@capacitor/app": "^6.0.0", "@capacitor/app-launcher": "^6.0.2", - "@capacitor/core": "^6.2.0" + "@capacitor/core": "^6.2.0", + "@capacitor/dialog": "^6.0.0", + "@capacitor/geolocation": "^6.0.0", + "@capacitor/haptics": "^6.0.0", + "@capacitor/network": "^6.0.0", + "@capacitor/splash-screen": "^6.0.0", + "@capacitor/status-bar": "^6.0.0" }, "devDependencies": { "@capacitor/cli": "^6.2.0" diff --git a/pacifictrans-app/public/css/leaflet.css b/pacifictrans-app/public/css/leaflet.css new file mode 100644 index 0000000..9ade8dc --- /dev/null +++ b/pacifictrans-app/public/css/leaflet.css @@ -0,0 +1,661 @@ +/* required styles */ + +.leaflet-pane, +.leaflet-tile, +.leaflet-marker-icon, +.leaflet-marker-shadow, +.leaflet-tile-container, +.leaflet-pane > svg, +.leaflet-pane > canvas, +.leaflet-zoom-box, +.leaflet-image-layer, +.leaflet-layer { + position: absolute; + left: 0; + top: 0; + } +.leaflet-container { + overflow: hidden; + } +.leaflet-tile, +.leaflet-marker-icon, +.leaflet-marker-shadow { + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; + -webkit-user-drag: none; + } +/* Prevents IE11 from highlighting tiles in blue */ +.leaflet-tile::selection { + background: transparent; +} +/* Safari renders non-retina tile on retina better with this, but Chrome is worse */ +.leaflet-safari .leaflet-tile { + image-rendering: -webkit-optimize-contrast; + } +/* hack that prevents hw layers "stretching" when loading new tiles */ +.leaflet-safari .leaflet-tile-container { + width: 1600px; + height: 1600px; + -webkit-transform-origin: 0 0; + } +.leaflet-marker-icon, +.leaflet-marker-shadow { + display: block; + } +/* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */ +/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */ +.leaflet-container .leaflet-overlay-pane svg { + max-width: none !important; + max-height: none !important; + } +.leaflet-container .leaflet-marker-pane img, +.leaflet-container .leaflet-shadow-pane img, +.leaflet-container .leaflet-tile-pane img, +.leaflet-container img.leaflet-image-layer, +.leaflet-container .leaflet-tile { + max-width: none !important; + max-height: none !important; + width: auto; + padding: 0; + } + +.leaflet-container img.leaflet-tile { + /* See: https://bugs.chromium.org/p/chromium/issues/detail?id=600120 */ + mix-blend-mode: plus-lighter; +} + +.leaflet-container.leaflet-touch-zoom { + -ms-touch-action: pan-x pan-y; + touch-action: pan-x pan-y; + } +.leaflet-container.leaflet-touch-drag { + -ms-touch-action: pinch-zoom; + /* Fallback for FF which doesn't support pinch-zoom */ + touch-action: none; + touch-action: pinch-zoom; +} +.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom { + -ms-touch-action: none; + touch-action: none; +} +.leaflet-container { + -webkit-tap-highlight-color: transparent; +} +.leaflet-container a { + -webkit-tap-highlight-color: rgba(51, 181, 229, 0.4); +} +.leaflet-tile { + filter: inherit; + visibility: hidden; + } +.leaflet-tile-loaded { + visibility: inherit; + } +.leaflet-zoom-box { + width: 0; + height: 0; + -moz-box-sizing: border-box; + box-sizing: border-box; + z-index: 800; + } +/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */ +.leaflet-overlay-pane svg { + -moz-user-select: none; + } + +.leaflet-pane { z-index: 400; } + +.leaflet-tile-pane { z-index: 200; } +.leaflet-overlay-pane { z-index: 400; } +.leaflet-shadow-pane { z-index: 500; } +.leaflet-marker-pane { z-index: 600; } +.leaflet-tooltip-pane { z-index: 650; } +.leaflet-popup-pane { z-index: 700; } + +.leaflet-map-pane canvas { z-index: 100; } +.leaflet-map-pane svg { z-index: 200; } + +.leaflet-vml-shape { + width: 1px; + height: 1px; + } +.lvml { + behavior: url(#default#VML); + display: inline-block; + position: absolute; + } + + +/* control positioning */ + +.leaflet-control { + position: relative; + z-index: 800; + pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */ + pointer-events: auto; + } +.leaflet-top, +.leaflet-bottom { + position: absolute; + z-index: 1000; + pointer-events: none; + } +.leaflet-top { + top: 0; + } +.leaflet-right { + right: 0; + } +.leaflet-bottom { + bottom: 0; + } +.leaflet-left { + left: 0; + } +.leaflet-control { + float: left; + clear: both; + } +.leaflet-right .leaflet-control { + float: right; + } +.leaflet-top .leaflet-control { + margin-top: 10px; + } +.leaflet-bottom .leaflet-control { + margin-bottom: 10px; + } +.leaflet-left .leaflet-control { + margin-left: 10px; + } +.leaflet-right .leaflet-control { + margin-right: 10px; + } + + +/* zoom and fade animations */ + +.leaflet-fade-anim .leaflet-popup { + opacity: 0; + -webkit-transition: opacity 0.2s linear; + -moz-transition: opacity 0.2s linear; + transition: opacity 0.2s linear; + } +.leaflet-fade-anim .leaflet-map-pane .leaflet-popup { + opacity: 1; + } +.leaflet-zoom-animated { + -webkit-transform-origin: 0 0; + -ms-transform-origin: 0 0; + transform-origin: 0 0; + } +svg.leaflet-zoom-animated { + will-change: transform; +} + +.leaflet-zoom-anim .leaflet-zoom-animated { + -webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1); + -moz-transition: -moz-transform 0.25s cubic-bezier(0,0,0.25,1); + transition: transform 0.25s cubic-bezier(0,0,0.25,1); + } +.leaflet-zoom-anim .leaflet-tile, +.leaflet-pan-anim .leaflet-tile { + -webkit-transition: none; + -moz-transition: none; + transition: none; + } + +.leaflet-zoom-anim .leaflet-zoom-hide { + visibility: hidden; + } + + +/* cursors */ + +.leaflet-interactive { + cursor: pointer; + } +.leaflet-grab { + cursor: -webkit-grab; + cursor: -moz-grab; + cursor: grab; + } +.leaflet-crosshair, +.leaflet-crosshair .leaflet-interactive { + cursor: crosshair; + } +.leaflet-popup-pane, +.leaflet-control { + cursor: auto; + } +.leaflet-dragging .leaflet-grab, +.leaflet-dragging .leaflet-grab .leaflet-interactive, +.leaflet-dragging .leaflet-marker-draggable { + cursor: move; + cursor: -webkit-grabbing; + cursor: -moz-grabbing; + cursor: grabbing; + } + +/* marker & overlays interactivity */ +.leaflet-marker-icon, +.leaflet-marker-shadow, +.leaflet-image-layer, +.leaflet-pane > svg path, +.leaflet-tile-container { + pointer-events: none; + } + +.leaflet-marker-icon.leaflet-interactive, +.leaflet-image-layer.leaflet-interactive, +.leaflet-pane > svg path.leaflet-interactive, +svg.leaflet-image-layer.leaflet-interactive path { + pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */ + pointer-events: auto; + } + +/* visual tweaks */ + +.leaflet-container { + background: #ddd; + outline-offset: 1px; + } +.leaflet-container a { + color: #0078A8; + } +.leaflet-zoom-box { + border: 2px dotted #38f; + background: rgba(255,255,255,0.5); + } + + +/* general typography */ +.leaflet-container { + font-family: "Helvetica Neue", Arial, Helvetica, sans-serif; + font-size: 12px; + font-size: 0.75rem; + line-height: 1.5; + } + + +/* general toolbar styles */ + +.leaflet-bar { + box-shadow: 0 1px 5px rgba(0,0,0,0.65); + border-radius: 4px; + } +.leaflet-bar a { + background-color: #fff; + border-bottom: 1px solid #ccc; + width: 26px; + height: 26px; + line-height: 26px; + display: block; + text-align: center; + text-decoration: none; + color: black; + } +.leaflet-bar a, +.leaflet-control-layers-toggle { + background-position: 50% 50%; + background-repeat: no-repeat; + display: block; + } +.leaflet-bar a:hover, +.leaflet-bar a:focus { + background-color: #f4f4f4; + } +.leaflet-bar a:first-child { + border-top-left-radius: 4px; + border-top-right-radius: 4px; + } +.leaflet-bar a:last-child { + border-bottom-left-radius: 4px; + border-bottom-right-radius: 4px; + border-bottom: none; + } +.leaflet-bar a.leaflet-disabled { + cursor: default; + background-color: #f4f4f4; + color: #bbb; + } + +.leaflet-touch .leaflet-bar a { + width: 30px; + height: 30px; + line-height: 30px; + } +.leaflet-touch .leaflet-bar a:first-child { + border-top-left-radius: 2px; + border-top-right-radius: 2px; + } +.leaflet-touch .leaflet-bar a:last-child { + border-bottom-left-radius: 2px; + border-bottom-right-radius: 2px; + } + +/* zoom control */ + +.leaflet-control-zoom-in, +.leaflet-control-zoom-out { + font: bold 18px 'Lucida Console', Monaco, monospace; + text-indent: 1px; + } + +.leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out { + font-size: 22px; + } + + +/* layers control */ + +.leaflet-control-layers { + box-shadow: 0 1px 5px rgba(0,0,0,0.4); + background: #fff; + border-radius: 5px; + } +.leaflet-control-layers-toggle { + background-image: url(images/layers.png); + width: 36px; + height: 36px; + } +.leaflet-retina .leaflet-control-layers-toggle { + background-image: url(images/layers-2x.png); + background-size: 26px 26px; + } +.leaflet-touch .leaflet-control-layers-toggle { + width: 44px; + height: 44px; + } +.leaflet-control-layers .leaflet-control-layers-list, +.leaflet-control-layers-expanded .leaflet-control-layers-toggle { + display: none; + } +.leaflet-control-layers-expanded .leaflet-control-layers-list { + display: block; + position: relative; + } +.leaflet-control-layers-expanded { + padding: 6px 10px 6px 6px; + color: #333; + background: #fff; + } +.leaflet-control-layers-scrollbar { + overflow-y: scroll; + overflow-x: hidden; + padding-right: 5px; + } +.leaflet-control-layers-selector { + margin-top: 2px; + position: relative; + top: 1px; + } +.leaflet-control-layers label { + display: block; + font-size: 13px; + font-size: 1.08333em; + } +.leaflet-control-layers-separator { + height: 0; + border-top: 1px solid #ddd; + margin: 5px -10px 5px -6px; + } + +/* Default icon URLs */ +.leaflet-default-icon-path { /* used only in path-guessing heuristic, see L.Icon.Default */ + background-image: url(images/marker-icon.png); + } + + +/* attribution and scale controls */ + +.leaflet-container .leaflet-control-attribution { + background: #fff; + background: rgba(255, 255, 255, 0.8); + margin: 0; + } +.leaflet-control-attribution, +.leaflet-control-scale-line { + padding: 0 5px; + color: #333; + line-height: 1.4; + } +.leaflet-control-attribution a { + text-decoration: none; + } +.leaflet-control-attribution a:hover, +.leaflet-control-attribution a:focus { + text-decoration: underline; + } +.leaflet-attribution-flag { + display: inline !important; + vertical-align: baseline !important; + width: 1em; + height: 0.6669em; + } +.leaflet-left .leaflet-control-scale { + margin-left: 5px; + } +.leaflet-bottom .leaflet-control-scale { + margin-bottom: 5px; + } +.leaflet-control-scale-line { + border: 2px solid #777; + border-top: none; + line-height: 1.1; + padding: 2px 5px 1px; + white-space: nowrap; + -moz-box-sizing: border-box; + box-sizing: border-box; + background: rgba(255, 255, 255, 0.8); + text-shadow: 1px 1px #fff; + } +.leaflet-control-scale-line:not(:first-child) { + border-top: 2px solid #777; + border-bottom: none; + margin-top: -2px; + } +.leaflet-control-scale-line:not(:first-child):not(:last-child) { + border-bottom: 2px solid #777; + } + +.leaflet-touch .leaflet-control-attribution, +.leaflet-touch .leaflet-control-layers, +.leaflet-touch .leaflet-bar { + box-shadow: none; + } +.leaflet-touch .leaflet-control-layers, +.leaflet-touch .leaflet-bar { + border: 2px solid rgba(0,0,0,0.2); + background-clip: padding-box; + } + + +/* popup */ + +.leaflet-popup { + position: absolute; + text-align: center; + margin-bottom: 20px; + } +.leaflet-popup-content-wrapper { + padding: 1px; + text-align: left; + border-radius: 12px; + } +.leaflet-popup-content { + margin: 13px 24px 13px 20px; + line-height: 1.3; + font-size: 13px; + font-size: 1.08333em; + min-height: 1px; + } +.leaflet-popup-content p { + margin: 17px 0; + margin: 1.3em 0; + } +.leaflet-popup-tip-container { + width: 40px; + height: 20px; + position: absolute; + left: 50%; + margin-top: -1px; + margin-left: -20px; + overflow: hidden; + pointer-events: none; + } +.leaflet-popup-tip { + width: 17px; + height: 17px; + padding: 1px; + + margin: -10px auto 0; + pointer-events: auto; + + -webkit-transform: rotate(45deg); + -moz-transform: rotate(45deg); + -ms-transform: rotate(45deg); + transform: rotate(45deg); + } +.leaflet-popup-content-wrapper, +.leaflet-popup-tip { + background: white; + color: #333; + box-shadow: 0 3px 14px rgba(0,0,0,0.4); + } +.leaflet-container a.leaflet-popup-close-button { + position: absolute; + top: 0; + right: 0; + border: none; + text-align: center; + width: 24px; + height: 24px; + font: 16px/24px Tahoma, Verdana, sans-serif; + color: #757575; + text-decoration: none; + background: transparent; + } +.leaflet-container a.leaflet-popup-close-button:hover, +.leaflet-container a.leaflet-popup-close-button:focus { + color: #585858; + } +.leaflet-popup-scrolled { + overflow: auto; + } + +.leaflet-oldie .leaflet-popup-content-wrapper { + -ms-zoom: 1; + } +.leaflet-oldie .leaflet-popup-tip { + width: 24px; + margin: 0 auto; + + -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)"; + filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678); + } + +.leaflet-oldie .leaflet-control-zoom, +.leaflet-oldie .leaflet-control-layers, +.leaflet-oldie .leaflet-popup-content-wrapper, +.leaflet-oldie .leaflet-popup-tip { + border: 1px solid #999; + } + + +/* div icon */ + +.leaflet-div-icon { + background: #fff; + border: 1px solid #666; + } + + +/* Tooltip */ +/* Base styles for the element that has a tooltip */ +.leaflet-tooltip { + position: absolute; + padding: 6px; + background-color: #fff; + border: 1px solid #fff; + border-radius: 3px; + color: #222; + white-space: nowrap; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + pointer-events: none; + box-shadow: 0 1px 3px rgba(0,0,0,0.4); + } +.leaflet-tooltip.leaflet-interactive { + cursor: pointer; + pointer-events: auto; + } +.leaflet-tooltip-top:before, +.leaflet-tooltip-bottom:before, +.leaflet-tooltip-left:before, +.leaflet-tooltip-right:before { + position: absolute; + pointer-events: none; + border: 6px solid transparent; + background: transparent; + content: ""; + } + +/* Directions */ + +.leaflet-tooltip-bottom { + margin-top: 6px; +} +.leaflet-tooltip-top { + margin-top: -6px; +} +.leaflet-tooltip-bottom:before, +.leaflet-tooltip-top:before { + left: 50%; + margin-left: -6px; + } +.leaflet-tooltip-top:before { + bottom: 0; + margin-bottom: -12px; + border-top-color: #fff; + } +.leaflet-tooltip-bottom:before { + top: 0; + margin-top: -12px; + margin-left: -6px; + border-bottom-color: #fff; + } +.leaflet-tooltip-left { + margin-left: -6px; +} +.leaflet-tooltip-right { + margin-left: 6px; +} +.leaflet-tooltip-left:before, +.leaflet-tooltip-right:before { + top: 50%; + margin-top: -6px; + } +.leaflet-tooltip-left:before { + right: 0; + margin-right: -12px; + border-left-color: #fff; + } +.leaflet-tooltip-right:before { + left: 0; + margin-left: -12px; + border-right-color: #fff; + } + +/* Printing */ + +@media print { + /* Prevent printers from removing background-images of controls. */ + .leaflet-control { + -webkit-print-color-adjust: exact; + print-color-adjust: exact; + } + } diff --git a/pacifictrans-app/public/css/style.css b/pacifictrans-app/public/css/style.css new file mode 100644 index 0000000..0ae49cc --- /dev/null +++ b/pacifictrans-app/public/css/style.css @@ -0,0 +1,2770 @@ +@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@500;600;700;800;900&display=swap'); + +:root { + --bg-primary: #080c14; + --bg-secondary: #0f172a; + --bg-card: rgba(15, 23, 42, 0.75); + --bg-card-hover: rgba(30, 41, 59, 0.85); + --border-glass: rgba(255, 255, 255, 0.08); + --border-focus: rgba(6, 182, 212, 0.5); + + --accent-cyan: #06b6d4; + --accent-cyan-glow: rgba(6, 182, 212, 0.35); + --accent-emerald: #10b981; + --accent-emerald-glow: rgba(16, 185, 129, 0.3); + --accent-amber: #f59e0b; + --accent-amber-glow: rgba(245, 158, 11, 0.35); + --accent-purple: #8b5cf6; + + --text-main: #f8fafc; + --text-muted: #94a3b8; + --text-dim: #64748b; + + --radius-sm: 8px; + --radius-md: 14px; + --radius-lg: 22px; + --radius-full: 9999px; + + --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.5); + --shadow-glow: 0 0 25px var(--accent-cyan-glow); +} + +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + +body { + font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; + background-color: var(--bg-primary); + color: var(--text-main); + line-height: 1.6; + overflow-x: hidden; + background-image: + radial-gradient(circle at 15% 20%, rgba(6, 182, 212, 0.08) 0%, transparent 40%), + radial-gradient(circle at 85% 60%, rgba(245, 158, 11, 0.06) 0%, transparent 45%), + radial-gradient(circle at 50% 90%, rgba(16, 185, 129, 0.07) 0%, transparent 50%); + background-attachment: fixed; +} + +h1, h2, h3, h4, .brand-title { + font-family: 'Outfit', sans-serif; + letter-spacing: -0.02em; +} + +/* NAVBAR */ +.navbar { + position: sticky; + top: 0; + z-index: 100; + backdrop-filter: blur(20px); + -webkit-backdrop-filter: blur(20px); + background: rgba(8, 12, 20, 0.85); + border-bottom: 1px solid var(--border-glass); + padding: 1rem 2rem; + display: flex; + justify-content: space-between; + align-items: center; +} + +.brand { + display: flex; + align-items: center; + gap: 0.75rem; + text-decoration: none; +} + +.brand-badge { + background: linear-gradient(135deg, var(--accent-cyan), var(--accent-emerald)); + color: #000; + font-weight: 900; + font-size: 1.1rem; + width: 42px; + height: 42px; + border-radius: 12px; + display: flex; + align-items: center; + justify-content: center; + box-shadow: 0 0 20px var(--accent-cyan-glow); +} + +.brand-text h1 { + font-size: 1.35rem; + color: #fff; + line-height: 1.1; + display: flex; + align-items: center; + gap: 0.4rem; +} + +.brand-text span { + font-size: 0.72rem; + color: var(--accent-amber); + font-weight: 600; + text-transform: uppercase; + letter-spacing: 0.08em; +} + +.nav-links { + display: flex; + gap: 1.5rem; + align-items: center; +} + +.nav-links a { + color: var(--text-muted); + text-decoration: none; + font-weight: 500; + font-size: 0.95rem; + transition: all 0.2s ease; +} + +.nav-links a:hover, .nav-links a.active { + color: var(--accent-cyan); +} + +.btn-apk-header { + background: linear-gradient(135deg, #22c55e, #10b981); + color: #052e16; + font-weight: 700; + padding: 0.6rem 1.25rem; + border-radius: var(--radius-full); + display: inline-flex; + align-items: center; + gap: 0.5rem; + text-decoration: none; + font-size: 0.9rem; + transition: all 0.25s ease; + box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3); +} + +.btn-apk-header:hover { + transform: translateY(-2px); + box-shadow: 0 6px 20px rgba(34, 197, 94, 0.5); +} + +/* HERO SECTION */ +.hero { + max-width: 1280px; + margin: 0 auto; + padding: 3.5rem 1.5rem 2rem; + display: grid; + grid-template-columns: 1.1fr 0.9fr; + gap: 3rem; + align-items: center; +} + +.hero-pill { + display: inline-flex; + align-items: center; + gap: 0.5rem; + padding: 0.35rem 0.9rem; + background: rgba(6, 182, 212, 0.1); + border: 1px solid rgba(6, 182, 212, 0.3); + border-radius: var(--radius-full); + color: var(--accent-cyan); + font-size: 0.8rem; + font-weight: 600; + margin-bottom: 1.25rem; +} + +.hero-title { + font-size: 3.2rem; + line-height: 1.15; + color: #fff; + margin-bottom: 1.25rem; +} + +.hero-title span { + background: linear-gradient(135deg, var(--accent-cyan), var(--accent-amber)); + -webkit-background-clip: text; + -webkit-text-fill-color: transparent; +} + +.hero-desc { + font-size: 1.15rem; + color: var(--text-muted); + margin-bottom: 2rem; + max-width: 600px; +} + +.hero-badges { + display: flex; + flex-wrap: wrap; + gap: 1rem; + margin-bottom: 2rem; +} + +.badge-item { + display: flex; + align-items: center; + gap: 0.5rem; + background: var(--bg-card); + padding: 0.5rem 1rem; + border-radius: var(--radius-md); + border: 1px solid var(--border-glass); + font-size: 0.88rem; +} + +.badge-item svg { + color: var(--accent-emerald); +} + +/* HERO CARD VISUAL */ +.hero-visual { + position: relative; +} + +.visual-container { + position: relative; + border-radius: var(--radius-lg); + overflow: hidden; + border: 1px solid var(--border-glass); + box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6); +} + +.hero-image { + width: 100%; + height: 480px; + object-fit: cover; + display: block; + filter: brightness(0.95); +} + +.floating-pool-card { + position: absolute; + bottom: 20px; + left: 20px; + right: 20px; + background: rgba(15, 23, 42, 0.88); + backdrop-filter: blur(16px); + -webkit-backdrop-filter: blur(16px); + border: 1px solid rgba(255, 255, 255, 0.12); + border-radius: var(--radius-md); + padding: 1.25rem; + box-shadow: 0 10px 30px rgba(0,0,0,0.5); +} + +.pool-status-row { + display: flex; + justify-content: space-between; + align-items: center; + margin-bottom: 0.75rem; +} + +.pool-seats { + display: flex; + gap: 0.4rem; +} + +.seat-dot { + width: 22px; + height: 22px; + border-radius: 6px; + display: flex; + align-items: center; + justify-content: center; + font-size: 0.75rem; + font-weight: 700; + background: #334155; + color: #94a3b8; + transition: all 0.3s ease; +} + +.seat-dot.active { + background: var(--accent-emerald); + color: #022c22; + box-shadow: 0 0 12px var(--accent-emerald-glow); +} + +.seat-dot.pending { + background: var(--accent-amber); + color: #451a03; + animation: pulse-seat 1.5s infinite; +} + +@keyframes pulse-seat { + 0% { transform: scale(1); } + 50% { transform: scale(1.08); } + 100% { transform: scale(1); } +} + +/* SECTION TABS INTERACTION */ +.main-wrapper { + max-width: 1280px; + margin: 0 auto; + padding: 2rem 1.5rem 5rem; +} + +.tab-nav { + display: flex; + gap: 0.75rem; + background: var(--bg-secondary); + padding: 0.4rem; + border-radius: var(--radius-md); + border: 1px solid var(--border-glass); + margin-bottom: 2.5rem; + max-width: 820px; + margin-left: auto; + margin-right: auto; + overflow-x: auto; +} + +.tab-btn { + flex: 1; + background: transparent; + border: none; + color: var(--text-muted); + padding: 0.75rem 1rem; + border-radius: var(--radius-sm); + font-size: 0.95rem; + font-weight: 600; + cursor: pointer; + display: flex; + align-items: center; + justify-content: center; + gap: 0.5rem; + transition: all 0.25s ease; + white-space: nowrap; +} + +.tab-btn:hover { + color: #fff; + background: rgba(255, 255, 255, 0.04); +} + +.tab-btn.active { + background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(16, 185, 129, 0.2)); + color: #fff; + border: 1px solid rgba(6, 182, 212, 0.4); + box-shadow: 0 4px 15px rgba(6, 182, 212, 0.15); +} + +/* TAB PANELS */ +.tab-content { + display: none; + animation: fadeIn 0.35s ease forwards; +} + +.tab-content.active { + display: block; +} + +@keyframes fadeIn { + from { opacity: 0; transform: translateY(8px); } + to { opacity: 1; transform: translateY(0); } +} + +/* GLASS CONTAINER CARDS */ +.glass-panel { + background: var(--bg-card); + backdrop-filter: blur(16px); + -webkit-backdrop-filter: blur(16px); + border: 1px solid var(--border-glass); + border-radius: var(--radius-lg); + padding: 2.5rem; + box-shadow: var(--shadow-card); +} + +.panel-header { + margin-bottom: 2rem; + text-align: center; +} + +.panel-header h2 { + font-size: 2rem; + color: #fff; + margin-bottom: 0.5rem; +} + +.panel-header p { + color: var(--text-muted); + max-width: 600px; + margin: 0 auto; +} + +/* BOOKING GRID */ +.grid-2col { + display: grid; + grid-template-columns: 1fr 1fr; + gap: 2.5rem; +} + +.form-group { + margin-bottom: 1.25rem; +} + +.form-label { + display: block; + font-size: 0.85rem; + font-weight: 600; + color: var(--text-muted); + margin-bottom: 0.45rem; + text-transform: uppercase; + letter-spacing: 0.05em; +} + +.form-input, .form-select { + width: 100%; + padding: 0.85rem 1.15rem; + background: rgba(15, 23, 42, 0.9); + border: 1px solid var(--border-glass); + border-radius: var(--radius-sm); + color: #fff; + font-size: 0.98rem; + font-family: inherit; + transition: all 0.2s ease; +} + +.form-input:focus, .form-select:focus { + outline: none; + border-color: var(--accent-cyan); + box-shadow: 0 0 12px var(--accent-cyan-glow); +} + +/* TRIP SUMMARY & BOLD PREVIEW */ +.summary-box { + background: rgba(11, 17, 32, 0.8); + border: 1px solid var(--border-glass); + border-radius: var(--radius-md); + padding: 1.75rem; + display: flex; + flex-direction: column; + justify-content: space-between; +} + +.summary-item { + display: flex; + justify-content: space-between; + padding: 0.65rem 0; + border-bottom: 1px solid rgba(255, 255, 255, 0.05); +} + +.summary-item:last-child { + border-bottom: none; +} + +.summary-total { + margin-top: 1.25rem; + padding-top: 1.25rem; + border-top: 1px solid rgba(255, 255, 255, 0.15); + display: flex; + justify-content: space-between; + align-items: baseline; +} + +.total-price { + font-size: 2.2rem; + font-weight: 800; + font-family: 'Outfit', sans-serif; + color: var(--accent-emerald); +} + +.bold-gateway-badge { + display: flex; + align-items: center; + gap: 0.5rem; + background: rgba(245, 158, 11, 0.1); + border: 1px solid rgba(245, 158, 11, 0.25); + border-radius: var(--radius-sm); + padding: 0.5rem 0.75rem; + margin: 1rem 0; + font-size: 0.8rem; + color: var(--accent-amber); +} + +.btn-primary { + width: 100%; + background: linear-gradient(135deg, var(--accent-cyan), var(--accent-emerald)); + color: #042f2e; + border: none; + font-weight: 700; + font-size: 1.05rem; + padding: 1rem; + border-radius: var(--radius-sm); + cursor: pointer; + transition: all 0.25s ease; + box-shadow: 0 4px 20px rgba(6, 182, 212, 0.3); + display: flex; + align-items: center; + justify-content: center; + gap: 0.6rem; +} + +.btn-primary:hover { + transform: translateY(-2px); + box-shadow: 0 6px 25px rgba(6, 182, 212, 0.5); +} + +/* RADAR VISUALIZER */ +.radar-screen { + background: #050810; + border: 1px solid var(--border-glass); + border-radius: var(--radius-md); + height: 380px; + position: relative; + overflow: hidden; + margin-bottom: 2rem; +} + +.radar-grid { + position: absolute; + inset: 0; + background-image: + linear-gradient(rgba(6, 182, 212, 0.05) 1px, transparent 1px), + linear-gradient(90deg, rgba(6, 182, 212, 0.05) 1px, transparent 1px); + background-size: 40px 40px; +} + +.radar-sweep { + position: absolute; + width: 200%; + height: 200%; + top: -50%; + left: -50%; + background: conic-gradient(from 0deg, transparent 0deg, rgba(6, 182, 212, 0.15) 60deg, transparent 61deg); + animation: radar-spin 6s linear infinite; + pointer-events: none; +} + +@keyframes radar-spin { + from { transform: rotate(0deg); } + to { transform: rotate(360deg); } +} + +.corridor-line { + position: absolute; + top: 50%; + left: 10%; + right: 10%; + height: 4px; + background: linear-gradient(90deg, #10b981 0%, #06b6d4 50%, #f59e0b 100%); + border-radius: 2px; + box-shadow: 0 0 15px rgba(6, 182, 212, 0.6); +} + +.corridor-point { + position: absolute; + top: 50%; + transform: translate(-50%, -50%); + width: 14px; + height: 14px; + border-radius: 50%; + border: 2px solid #fff; +} + +.corridor-point.cali { + left: 10%; + background: #10b981; +} + +.corridor-point.dagua { + left: 35%; + background: #06b6d4; +} + +.corridor-point.lobo { + left: 65%; + background: #06b6d4; +} + +.corridor-point.buena { + left: 90%; + background: #f59e0b; +} + +.radar-vehicle { + position: absolute; + width: 32px; + height: 32px; + border-radius: 50%; + background: rgba(6, 182, 212, 0.2); + border: 1px solid var(--accent-cyan); + display: flex; + align-items: center; + justify-content: center; + font-size: 0.9rem; + box-shadow: 0 0 15px var(--accent-cyan-glow); + cursor: pointer; + transition: transform 0.2s ease; +} + +.radar-vehicle:hover { + transform: scale(1.3); + z-index: 10; +} + +/* DRIVER RESIDENCE CARD */ +.driver-card { + background: rgba(15, 23, 42, 0.85); + border: 1px solid var(--border-glass); + border-radius: var(--radius-sm); + padding: 1.25rem; + display: flex; + justify-content: space-between; + align-items: center; + margin-bottom: 0.75rem; + transition: all 0.2s ease; +} + +.driver-card:hover { + border-color: var(--accent-cyan); + background: rgba(30, 41, 59, 0.85); +} + +.driver-tag { + display: inline-block; + font-size: 0.72rem; + padding: 0.2rem 0.5rem; + border-radius: 4px; + background: rgba(16, 185, 129, 0.15); + color: var(--accent-emerald); + font-weight: 600; + margin-top: 0.25rem; +} + +/* DOWNLOAD SECTION */ +.download-card { + background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.8)); + border: 1px solid rgba(34, 197, 94, 0.3); + border-radius: var(--radius-lg); + padding: 3rem; + display: flex; + align-items: center; + justify-content: space-between; + gap: 2rem; + box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5); + margin-top: 3rem; +} + +.btn-apk-large { + background: linear-gradient(135deg, #22c55e, #10b981); + color: #052e16; + font-weight: 800; + font-size: 1.15rem; + padding: 1.1rem 2rem; + border-radius: var(--radius-full); + text-decoration: none; + display: inline-flex; + align-items: center; + gap: 0.75rem; + box-shadow: 0 6px 25px rgba(34, 197, 94, 0.4); + transition: all 0.25s ease; +} + +.btn-apk-large:hover { + transform: translateY(-3px); + box-shadow: 0 10px 30px rgba(34, 197, 94, 0.6); +} + +/* FOOTER */ +.footer { + border-top: 1px solid var(--border-glass); + padding: 3rem 2rem 2rem; + background: #050810; + color: var(--text-dim); + font-size: 0.88rem; + text-align: center; +} + +/* RESPONSIVE */ +@media (max-width: 900px) { + .hero { + grid-template-columns: 1fr; + padding-top: 2rem; + } + .grid-2col { + grid-template-columns: 1fr; + } + .download-card { + flex-direction: column; + text-align: center; + } +} + +/* ADMIN PANEL & SECURITY GATE */ +.badge-admin { + display: inline-block; + padding: 0.35rem 0.85rem; + border-radius: var(--radius-full); + background: rgba(245, 158, 11, 0.15); + border: 1px solid rgba(245, 158, 11, 0.4); + color: #fbbf24; + font-size: 0.78rem; + font-weight: 700; + text-transform: uppercase; + letter-spacing: 0.05em; +} + +.tab-btn-admin { + background: rgba(245, 158, 11, 0.08) !important; + border: 1px solid rgba(245, 158, 11, 0.25) !important; + color: #fbbf24 !important; +} + +.tab-btn-admin:hover, .tab-btn-admin.active { + background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(217, 119, 6, 0.25)) !important; + border-color: rgba(245, 158, 11, 0.6) !important; + color: #fff !important; +} + +.admin-pill-btn { + background: rgba(15, 23, 42, 0.8); + border: 1px solid var(--border-glass); + color: var(--text-muted); + font-size: 0.88rem; + font-weight: 600; + padding: 0.55rem 1.15rem; + border-radius: var(--radius-sm); + cursor: pointer; + transition: all 0.2s ease; +} + +.admin-pill-btn:hover { + color: #fff; + border-color: var(--accent-cyan); +} + +.admin-pill-btn.active { + background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(16, 185, 129, 0.2)); + border-color: var(--accent-cyan); + color: #fff; +} + +.btn-admin-nav { + color: #fbbf24 !important; + font-weight: 600; + display: inline-flex; + align-items: center; + gap: 0.4rem; + padding: 0.35rem 0.75rem; + border-radius: 6px; + background: rgba(245, 158, 11, 0.1); + border: 1px solid rgba(245, 158, 11, 0.3); + text-decoration: none; + font-size: 0.88rem; + transition: all 0.2s ease; +} + +.btn-admin-nav:hover { + background: rgba(245, 158, 11, 0.2); + border-color: #fbbf24; +} + +/* LEAFLET RADAR MAP & VEHICLE MARKERS */ +.radar-map-wrapper { + background: rgba(11, 17, 32, 0.95); + border: 1px solid var(--border-glass); + border-radius: var(--radius-md); + overflow: hidden; + box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6); + margin-bottom: 2rem; +} + +.radar-map-header { + padding: 1rem 1.5rem; + background: rgba(15, 23, 42, 0.9); + border-bottom: 1px solid var(--border-glass); + display: flex; + justify-content: space-between; + align-items: center; + flex-wrap: wrap; + gap: 0.75rem; +} + +.radar-live-indicator { + display: flex; + align-items: center; + gap: 0.65rem; + font-size: 0.92rem; + color: #fff; +} + +.live-dot { + width: 10px; + height: 10px; + background: #10b981; + border-radius: 50%; + display: inline-block; + box-shadow: 0 0 10px #10b981; + animation: pulseDot 2s infinite; +} + +@keyframes pulseDot { + 0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); } + 70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); } + 100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } +} + +.radar-stats-quick { + display: flex; + gap: 0.75rem; + font-size: 0.85rem; + color: var(--text-muted); +} + +#fleet-live-map { + width: 100%; + height: 480px; + z-index: 10; + background: #0b1120; +} + +/* Custom Leaflet Vehicle Marker */ +.vehicle-marker-icon { + background: transparent; + border: none; +} + +.vehicle-pin { + width: 44px; + height: 44px; + border-radius: 50%; + background: linear-gradient(135deg, #0284c7, #06b6d4); + display: flex; + align-items: center; + justify-content: center; + font-size: 1.35rem; + color: #fff; + border: 2px solid #38bdf8; + box-shadow: 0 0 20px rgba(6, 182, 212, 0.8), 0 4px 10px rgba(0,0,0,0.5); + cursor: pointer; + position: relative; + transition: transform 0.2s ease; +} + +.vehicle-pin:hover { + transform: scale(1.2); + border-color: #fff; +} + +.vehicle-pin::after { + content: ''; + position: absolute; + width: 100%; + height: 100%; + border-radius: 50%; + border: 2px solid #06b6d4; + animation: radarPing 2.2s infinite; +} + +@keyframes radarPing { + 0% { transform: scale(1); opacity: 0.9; } + 100% { transform: scale(2.2); opacity: 0; } +} + +/* City landmark map pin */ +.city-marker-pin { + background: rgba(15, 23, 42, 0.9); + border: 1px solid var(--accent-cyan); + border-radius: 8px; + padding: 3px 8px; + color: #fff; + font-size: 0.75rem; + font-weight: 700; + white-space: nowrap; + box-shadow: 0 4px 12px rgba(0,0,0,0.4); +} + +/* TOOLTIP ESTILO ELEGANTE */ +.leaflet-tooltip.custom-vehicle-tooltip { + background: rgba(11, 17, 32, 0.96) !important; + border: 1px solid var(--accent-cyan) !important; + border-radius: 10px !important; + color: #fff !important; + box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7) !important; + padding: 0 !important; + font-family: inherit !important; +} + +.leaflet-tooltip.custom-vehicle-tooltip::before { + border-top-color: var(--accent-cyan) !important; +} + +.vehicle-tooltip-card { + padding: 0.85rem 1rem; + min-width: 220px; +} + +.vehicle-tooltip-header { + display: flex; + align-items: center; + justify-content: space-between; + gap: 0.5rem; + margin-bottom: 0.35rem; +} + +.vehicle-tooltip-name { + font-weight: 700; + color: #fff; + font-size: 0.95rem; +} + +.vehicle-tooltip-car { + color: #38bdf8; + font-size: 0.85rem; + margin-bottom: 0.3rem; + font-weight: 600; +} + +.vehicle-tooltip-residence { + font-size: 0.78rem; + color: #94a3b8; + margin-bottom: 0.4rem; +} + +.vehicle-tooltip-status { + display: inline-block; + padding: 2px 7px; + border-radius: 4px; + font-size: 0.72rem; + font-weight: 700; + text-transform: uppercase; +} + +.status-badge-disponible { + background: rgba(16, 185, 129, 0.2); + color: #10b981; +} + +.status-badge-en_ruta, .status-badge-asignado { + background: rgba(245, 158, 11, 0.2); + color: #fbbf24; +} + +/* PWA NAVBAR BUTTON & MODAL */ +.btn-pwa-install { + display: inline-flex; + align-items: center; + gap: 0.45rem; + padding: 0.45rem 0.95rem; + background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(16, 185, 129, 0.15)); + border: 1px solid var(--accent-cyan); + border-radius: var(--radius-sm); + color: #38bdf8; + font-size: 0.86rem; + font-weight: 600; + cursor: pointer; + transition: all 0.2s ease; +} + +.btn-pwa-install:hover { + background: linear-gradient(135deg, rgba(6, 182, 212, 0.3), rgba(16, 185, 129, 0.3)); + color: #fff; + box-shadow: 0 0 14px var(--accent-cyan-glow); + transform: translateY(-1px); +} + +/* MODAL DE INSTALACIÓN PWA */ +.pwa-modal-overlay { + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: rgba(0, 0, 0, 0.8); + backdrop-filter: blur(8px); + -webkit-backdrop-filter: blur(8px); + display: flex; + align-items: center; + justify-content: center; + z-index: 99999; + opacity: 0; + visibility: hidden; + transition: all 0.3s ease; + padding: 1.25rem; +} + +.pwa-modal-overlay.active { + opacity: 1; + visibility: visible; +} + +.pwa-modal-card { + background: #0f172a; + border: 1px solid var(--border-glass); + border-radius: 20px; + max-width: 520px; + width: 100%; + box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9); + padding: 2rem; + position: relative; + transform: scale(0.95); + transition: transform 0.3s ease; +} + +.pwa-modal-overlay.active .pwa-modal-card { + transform: scale(1); +} + +.pwa-modal-close { + position: absolute; + top: 1rem; + right: 1.25rem; + background: transparent; + border: none; + color: #94a3b8; + font-size: 1.5rem; + cursor: pointer; +} + +.pwa-modal-close:hover { + color: #fff; +} + +.pwa-step-box { + display: flex; + gap: 1rem; + align-items: flex-start; + margin-bottom: 1.15rem; + background: rgba(30, 41, 59, 0.6); + padding: 1rem; + border-radius: 12px; + border: 1px solid rgba(255, 255, 255, 0.05); +} + +.pwa-step-num { + width: 32px; + height: 32px; + background: var(--accent-cyan); + color: #0b1120; + font-weight: 800; + border-radius: 50%; + display: flex; + align-items: center; + justify-content: center; + flex-shrink: 0; +} + +.pwa-step-content { + font-size: 0.92rem; + color: #cbd5e1; + line-height: 1.45; +} + +.pwa-step-content strong { + color: #fff; +} + +/* AUTHENTICATION DRIPZONE STYLE & NAVBAR */ +.btn-auth-nav { + display: inline-flex; + align-items: center; + gap: 0.45rem; + padding: 0.45rem 1rem; + background: rgba(16, 185, 129, 0.15); + border: 1px solid var(--accent-emerald); + color: #10b981; + font-size: 0.88rem; + font-weight: 700; + border-radius: var(--radius-sm); + cursor: pointer; + transition: all 0.2s ease; +} + +.btn-auth-nav:hover { + background: rgba(16, 185, 129, 0.28); + color: #fff; + box-shadow: 0 0 12px rgba(16, 185, 129, 0.4); +} + +.user-pill-nav { + display: inline-flex; + align-items: center; + gap: 0.65rem; + padding: 0.35rem 0.85rem; + background: rgba(15, 23, 42, 0.9); + border: 1px solid var(--border-glass); + border-radius: var(--radius-full); + font-size: 0.86rem; + color: #fff; +} + +.badge-verified { + background: rgba(16, 185, 129, 0.2); + color: #10b981; + font-size: 0.72rem; + padding: 2px 6px; + border-radius: 4px; + font-weight: 700; + margin-left: 4px; +} + +.btn-logout-small { + background: transparent; + border: 1px solid rgba(239, 68, 68, 0.4); + color: #f87171; + font-size: 0.72rem; + padding: 2px 7px; + border-radius: 4px; + cursor: pointer; + transition: all 0.2s ease; +} + +.btn-logout-small:hover { + background: rgba(239, 68, 68, 0.2); + color: #fff; +} + +/* OTP 6-DIGIT INPUTS */ +.otp-boxes-wrapper { + display: flex; + gap: 0.65rem; + justify-content: center; + margin: 1.5rem 0; +} + +.otp-box { + width: 48px; + height: 56px; + text-align: center; + font-size: 1.6rem; + font-weight: 800; + color: var(--accent-cyan); + background: rgba(15, 23, 42, 0.95); + border: 2px solid var(--border-glass); + border-radius: 12px; + transition: all 0.2s ease; +} + +.otp-box:focus { + outline: none; + border-color: var(--accent-cyan); + box-shadow: 0 0 16px var(--accent-cyan-glow); + background: #090e1a; +} + +/* ESTADÍSTICAS & KPIS DE VIAJES */ +.stats-overview-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); + gap: 1.25rem; + margin-bottom: 2rem; +} + +.stat-kpi-card { + background: rgba(15, 23, 42, 0.8); + border: 1px solid var(--border-glass); + border-radius: 16px; + padding: 1.5rem; + position: relative; + overflow: hidden; + transition: transform 0.2s ease, border-color 0.2s ease; +} + +.stat-kpi-card:hover { + transform: translateY(-2px); + border-color: var(--accent-cyan); +} + +.stat-kpi-card::before { + content: ''; + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 3px; + background: linear-gradient(90deg, var(--accent-cyan), var(--accent-emerald)); +} + +.stat-kpi-icon { + font-size: 1.75rem; + margin-bottom: 0.5rem; +} + +.stat-kpi-val { + font-size: 1.9rem; + font-weight: 800; + color: #fff; + line-height: 1.1; + margin-bottom: 0.35rem; +} + +.stat-kpi-label { + font-size: 0.85rem; + color: var(--text-muted); + text-transform: uppercase; + letter-spacing: 0.05em; + font-weight: 600; +} + +.stat-kpi-sub { + font-size: 0.78rem; + color: var(--accent-emerald); + margin-top: 0.35rem; +} + +/* SISTEMA DE CALIFICACIONES Y COMENTARIOS */ +.reviews-container { + margin-top: 2rem; +} + +.reviews-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); + gap: 1.25rem; + margin-top: 1.25rem; +} + +.review-card { + background: rgba(15, 23, 42, 0.85); + border: 1px solid var(--border-glass); + border-radius: 14px; + padding: 1.4rem; + display: flex; + flex-direction: column; + justify-content: space-between; + transition: all 0.2s ease; +} + +.review-card:hover { + border-color: rgba(6, 182, 212, 0.4); + box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4); +} + +.review-card-header { + display: flex; + justify-content: space-between; + align-items: flex-start; + margin-bottom: 0.75rem; +} + +.review-author { + font-weight: 700; + color: #fff; + font-size: 0.98rem; +} + +.review-role-badge { + font-size: 0.72rem; + padding: 2px 6px; + border-radius: 4px; + font-weight: 600; +} + +.review-role-pasajero { + background: rgba(6, 182, 212, 0.15); + color: #38bdf8; +} + +.review-role-conductor { + background: rgba(245, 158, 11, 0.15); + color: #fbbf24; +} + +.review-stars-row { + color: #f59e0b; + font-size: 1rem; + letter-spacing: 2px; +} + +.review-text { + font-size: 0.92rem; + color: #cbd5e1; + line-height: 1.5; + margin-bottom: 1rem; + font-style: italic; +} + +.review-tags-list { + display: flex; + flex-wrap: wrap; + gap: 0.4rem; +} + +.review-tag-pill { + font-size: 0.74rem; + background: rgba(30, 41, 59, 0.8); + border: 1px solid rgba(255, 255, 255, 0.08); + padding: 2px 8px; + border-radius: 20px; + color: #94a3b8; +} + +/* MODAL STARS SELECTOR */ +.star-rating-select { + display: flex; + gap: 0.5rem; + font-size: 2rem; + color: #64748b; + cursor: pointer; + margin: 0.75rem 0; +} + +.star-rating-select span { + transition: transform 0.1s ease, color 0.1s ease; +} + +.star-rating-select span:hover, +.star-rating-select span.selected { + color: #fbbf24; + transform: scale(1.15); +} + +/* NOTIFICATION CENTER & UNREAD COUNTER BADGE */ +.notification-wrapper { + position: relative; + display: inline-flex; + align-items: center; +} + +.btn-notif-bell { + position: relative; + background: rgba(15, 23, 42, 0.85); + border: 1px solid var(--border-glass); + color: #cbd5e1; + width: 40px; + height: 40px; + border-radius: 10px; + display: flex; + align-items: center; + justify-content: center; + cursor: pointer; + transition: all 0.2s ease; +} + +.btn-notif-bell:hover { + background: rgba(30, 41, 59, 0.9); + color: #fff; + border-color: var(--accent-cyan); + box-shadow: 0 0 12px var(--accent-cyan-glow); +} + +.notif-badge { + position: absolute; + top: -6px; + right: -6px; + background: #ef4444; + color: #fff; + font-size: 0.72rem; + font-weight: 800; + min-width: 19px; + height: 19px; + border-radius: 10px; + display: flex; + align-items: center; + justify-content: center; + padding: 0 4px; + box-shadow: 0 0 10px rgba(239, 68, 68, 0.8); + border: 2px solid #080c14; + animation: notifPulse 2.5s infinite; +} + +@keyframes notifPulse { + 0% { transform: scale(1); } + 50% { transform: scale(1.15); box-shadow: 0 0 14px rgba(239, 68, 68, 1); } + 100% { transform: scale(1); } +} + +.notif-dropdown { + position: absolute; + top: calc(100% + 12px); + right: 0; + width: 360px; + max-width: 90vw; + background: #0f172a; + border: 1px solid var(--border-glass); + border-radius: 16px; + box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85); + z-index: 1000; + display: none; + overflow: hidden; + animation: fadeIn 0.2s ease; +} + +.notif-dropdown.active { + display: block; +} + +.notif-header { + padding: 0.85rem 1.15rem; + background: rgba(15, 23, 42, 0.95); + border-bottom: 1px solid rgba(255, 255, 255, 0.08); + display: flex; + justify-content: space-between; + align-items: center; +} + +.notif-header strong { + color: #fff; + font-size: 0.95rem; +} + +.notif-header-badge { + background: rgba(239, 68, 68, 0.2); + color: #f87171; + font-size: 0.72rem; + font-weight: 700; + padding: 2px 7px; + border-radius: 10px; +} + +.btn-mark-all-read { + background: transparent; + border: none; + color: #38bdf8; + font-size: 0.78rem; + cursor: pointer; +} + +.btn-mark-all-read:hover { + text-decoration: underline; +} + +.notif-list { + max-height: 380px; + overflow-y: auto; +} + +.notif-item { + padding: 0.9rem 1.15rem; + border-bottom: 1px solid rgba(255, 255, 255, 0.05); + display: flex; + gap: 0.85rem; + cursor: pointer; + transition: background 0.15s ease; +} + +.notif-item:hover { + background: rgba(30, 41, 59, 0.5); +} + +.notif-item.unread { + background: rgba(6, 182, 212, 0.07); + border-left: 3px solid var(--accent-cyan); +} + +.notif-item-icon { + font-size: 1.35rem; + flex-shrink: 0; + margin-top: 2px; +} + +.notif-item-content { + flex: 1; +} + +.notif-item-title { + font-size: 0.88rem; + font-weight: 700; + color: #fff; + margin-bottom: 0.2rem; +} + +.notif-item-desc { + font-size: 0.8rem; + color: #94a3b8; + line-height: 1.35; + margin-bottom: 0.35rem; +} + +.notif-item-time { + font-size: 0.72rem; + color: #64748b; +} + +.notif-footer { + padding: 0.75rem; + background: rgba(11, 17, 32, 0.95); + border-top: 1px solid rgba(255, 255, 255, 0.08); + text-align: center; +} + +/* ========================================================================== + ESTILOS CONTROL DE PAGOS, COMISIONES & BRE-B (SISTEMA INTEROPERABLE BANREP) + ========================================================================== */ + +.badge-payment { + display: inline-flex; + align-items: center; + gap: 0.35rem; + padding: 0.28rem 0.65rem; + border-radius: 9999px; + font-size: 0.78rem; + font-weight: 700; + text-transform: uppercase; + letter-spacing: 0.03em; +} + +.badge-payment-online { + background: rgba(6, 182, 212, 0.15); + color: #38bdf8; + border: 1px solid rgba(6, 182, 212, 0.4); +} + +.badge-payment-breb { + background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(236, 72, 153, 0.25)); + color: #f472b6; + border: 1px solid rgba(217, 70, 239, 0.4); +} + +.badge-payment-cash-pending { + background: rgba(245, 158, 11, 0.15); + color: #fbbf24; + border: 1px solid rgba(245, 158, 11, 0.4); +} + +.badge-payment-cash-paid { + background: rgba(16, 185, 129, 0.15); + color: #34d399; + border: 1px solid rgba(16, 185, 129, 0.4); +} + +.breb-brand-badge { + display: inline-flex; + align-items: center; + gap: 0.4rem; + background: linear-gradient(135deg, #7c3aed, #db2777); + color: #fff; + font-weight: 800; + padding: 0.25rem 0.75rem; + border-radius: 20px; + font-size: 0.8rem; + letter-spacing: 0.05em; + box-shadow: 0 2px 10px rgba(219, 39, 119, 0.3); +} + +.passenger-payment-card { + background: rgba(15, 23, 42, 0.8); + border: 1px solid var(--border-glass); + border-radius: var(--radius-sm); + padding: 1rem; + margin-bottom: 0.75rem; + display: flex; + justify-content: space-between; + align-items: center; + flex-wrap: wrap; + gap: 0.85rem; + transition: all 0.2s ease; +} + +.passenger-payment-card:hover { + border-color: rgba(6, 182, 212, 0.4); + background: rgba(15, 23, 42, 0.95); +} + +.passenger-payment-card.pending-cash { + border-left: 4px solid #f59e0b; +} + +.passenger-payment-card.paid-online { + border-left: 4px solid #06b6d4; +} + +.passenger-payment-card.paid-cash { + border-left: 4px solid #10b981; +} + +.btn-toggle-payment { + background: rgba(15, 23, 42, 0.9); + border: 1px solid var(--border-glass); + color: #fff; + padding: 0.45rem 0.85rem; + border-radius: 6px; + font-size: 0.8rem; + font-weight: 600; + cursor: pointer; + transition: all 0.2s ease; + display: inline-flex; + align-items: center; + gap: 0.35rem; +} + +.btn-toggle-payment:hover { + background: rgba(16, 185, 129, 0.2); + border-color: #10b981; + color: #34d399; +} + +.btn-toggle-payment.revert:hover { + background: rgba(245, 158, 11, 0.2); + border-color: #f59e0b; + color: #fbbf24; +} + +.financial-summary-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); + gap: 1rem; + margin: 1.25rem 0; +} + +.fin-metric-card { + background: rgba(15, 23, 42, 0.85); + border: 1px solid var(--border-glass); + border-radius: var(--radius-sm); + padding: 1rem; + text-align: center; +} + +.fin-metric-val { + font-size: 1.45rem; + font-weight: 800; + margin-top: 0.35rem; +} + +.fin-metric-label { + font-size: 0.76rem; + color: var(--text-muted); + text-transform: uppercase; + letter-spacing: 0.05em; +} + +.driver-wallet-container { + background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 27, 75, 0.75)); + border: 1px solid rgba(139, 92, 246, 0.3); + border-radius: var(--radius-md); + padding: 1.75rem; + margin-bottom: 2rem; + position: relative; + overflow: hidden; +} + +.driver-wallet-container::before { + content: ''; + position: absolute; + top: -40px; + right: -40px; + width: 140px; + height: 140px; + background: radial-gradient(circle, rgba(236, 72, 153, 0.2) 0%, rgba(139, 92, 246, 0) 70%); + pointer-events: none; +} + +.wallet-balance-display { + display: flex; + align-items: baseline; + gap: 0.5rem; + margin: 0.5rem 0 1rem; +} + +.wallet-balance-amount { + font-size: 2.5rem; + font-weight: 900; + background: linear-gradient(135deg, #38bdf8, #a855f7, #ec4899); + -webkit-background-clip: text; + -webkit-text-fill-color: transparent; + line-height: 1; +} + +.wallet-balance-currency { + font-size: 1rem; + color: #94a3b8; + font-weight: 700; +} + +.btn-breb-action { + background: linear-gradient(135deg, #7c3aed, #db2777); + color: #fff; + border: none; + font-weight: 700; + padding: 0.85rem 1.75rem; + border-radius: var(--radius-sm); + cursor: pointer; + display: inline-flex; + align-items: center; + justify-content: center; + gap: 0.5rem; + font-size: 0.95rem; + transition: all 0.25s ease; + box-shadow: 0 4px 15px rgba(219, 39, 119, 0.35); +} + +.btn-breb-action:hover { + transform: translateY(-2px); + box-shadow: 0 6px 20px rgba(219, 39, 119, 0.5); + filter: brightness(1.1); +} + +/* MODAL COMPROBANTE OFICIAL BRE-B */ +.breb-modal-overlay { + position: fixed; + inset: 0; + background: rgba(0, 0, 0, 0.85); + backdrop-filter: blur(8px); + z-index: 10000; + display: flex; + align-items: center; + justify-content: center; + padding: 1rem; + animation: fadeIn 0.2s ease; +} + +.breb-receipt-container { + background: #0f172a; + border: 1px solid rgba(139, 92, 246, 0.4); + border-radius: 16px; + width: 100%; + max-width: 480px; + max-height: 90vh; + overflow-y: auto; + box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 30px rgba(139, 92, 246, 0.2); + position: relative; +} + +.breb-receipt-header { + background: linear-gradient(135deg, #4c1d95, #831843); + padding: 1.5rem; + border-top-left-radius: 16px; + border-top-right-radius: 16px; + text-align: center; + position: relative; +} + +.breb-receipt-body { + padding: 1.75rem; +} + +.receipt-row { + display: flex; + justify-content: space-between; + align-items: center; + padding: 0.65rem 0; + border-bottom: 1px dashed rgba(255, 255, 255, 0.08); + font-size: 0.88rem; +} + +.receipt-row:last-child { + border-bottom: none; +} + +.receipt-label { + color: #94a3b8; +} + +.receipt-val { + color: #fff; + font-weight: 600; + text-align: right; +} + +/* CARDS DE SOLICITUDES DE TRANSFERENCIA BRE-B */ +.payout-request-card { + background: rgba(15, 23, 42, 0.85); + border: 1px solid var(--border-glass); + border-radius: var(--radius-sm); + padding: 1.15rem; + margin-bottom: 0.85rem; + display: flex; + justify-content: space-between; + align-items: center; + flex-wrap: wrap; + gap: 1rem; + transition: all 0.2s ease; +} + +.payout-request-card:hover { + background: rgba(15, 23, 42, 0.98); + border-color: rgba(236, 72, 153, 0.4); +} + +.payout-request-card.status-pending { + border-left: 4px solid #f59e0b; +} + +.payout-request-card.status-transferred { + border-left: 4px solid #10b981; +} + +.payout-request-card.status-rejected { + border-left: 4px solid #ef4444; +} + +.btn-approve-breb { + background: linear-gradient(135deg, #7c3aed, #db2777); + color: #fff; + border: none; + font-size: 0.82rem; + font-weight: 700; + padding: 0.5rem 1rem; + border-radius: 6px; + cursor: pointer; + display: inline-flex; + align-items: center; + gap: 0.35rem; + transition: all 0.2s ease; + box-shadow: 0 2px 8px rgba(219, 39, 119, 0.3); +} + +.btn-approve-breb:hover { + filter: brightness(1.1); + transform: translateY(-1px); +} + +.btn-reject-payout { + background: rgba(239, 68, 68, 0.1); + border: 1px solid rgba(239, 68, 68, 0.35); + color: #f87171; + font-size: 0.82rem; + font-weight: 600; + padding: 0.5rem 0.85rem; + border-radius: 6px; + cursor: pointer; + transition: all 0.2s ease; +} + +.btn-reject-payout:hover { + background: rgba(239, 68, 68, 0.2); + color: #fff; +} + +/* ========================================================================== + SELECTORES DE SERVICIO PÚBLICO (HOME LIMPIO) + ========================================================================== */ +.public-service-switcher { + display: flex; + gap: 0.75rem; + background: rgba(15, 23, 42, 0.85); + padding: 0.45rem; + border-radius: var(--radius-full); + border: 1px solid var(--border-glass); + margin-bottom: 2rem; + max-width: 580px; + margin-left: auto; + margin-right: auto; + box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4); +} + +.service-pill-btn { + flex: 1; + background: transparent; + border: none; + color: var(--text-muted); + padding: 0.85rem 1.4rem; + border-radius: var(--radius-full); + font-size: 0.95rem; + font-weight: 700; + cursor: pointer; + display: flex; + align-items: center; + justify-content: center; + gap: 0.5rem; + transition: all 0.25s ease; + white-space: nowrap; +} + +.service-pill-btn:hover { + color: #fff; + background: rgba(255, 255, 255, 0.05); +} + +.service-pill-btn.active { + background: linear-gradient(135deg, var(--accent-cyan), var(--accent-emerald)); + color: #042f2e; + box-shadow: 0 4px 20px var(--accent-cyan-glow); +} + +/* ========================================================================== + DASHBOARD ADMINISTRATIVO DEDICADO & CONSOLA EJECUTIVA + ========================================================================== */ +.admin-dashboard-container { + max-width: 1400px; + margin: 0 auto; + padding: 1.5rem 1.5rem 5rem; + animation: fadeIn 0.4s ease forwards; +} + +.admin-topbar { + background: linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(30, 41, 59, 0.95)); + border: 1px solid rgba(139, 92, 246, 0.35); + border-radius: var(--radius-md); + padding: 1.25rem 1.75rem; + margin-bottom: 2rem; + display: flex; + justify-content: space-between; + align-items: center; + flex-wrap: wrap; + gap: 1rem; + box-shadow: 0 10px 40px rgba(0, 0, 0, 0.55); +} + +.admin-topbar-title { + display: flex; + align-items: center; + gap: 0.75rem; +} + +.admin-status-indicator { + display: inline-flex; + align-items: center; + gap: 0.4rem; + background: rgba(16, 185, 129, 0.15); + color: #34d399; + border: 1px solid rgba(16, 185, 129, 0.3); + padding: 0.3rem 0.75rem; + border-radius: 9999px; + font-size: 0.75rem; + font-weight: 700; +} + +.admin-wa-badge { + display: inline-flex; + align-items: center; + gap: 0.4rem; + background: rgba(37, 211, 102, 0.15); + color: #25d366; + border: 1px solid rgba(37, 211, 102, 0.35); + padding: 0.3rem 0.75rem; + border-radius: 9999px; + font-size: 0.75rem; + font-weight: 700; +} + +.btn-open-dashboard-header { + background: linear-gradient(135deg, #ec4899, #8b5cf6); + color: #fff; + font-weight: 800; + padding: 0.55rem 1.15rem; + border-radius: var(--radius-full); + border: none; + display: inline-flex; + align-items: center; + gap: 0.45rem; + font-size: 0.85rem; + cursor: pointer; + box-shadow: 0 0 20px rgba(236, 72, 153, 0.4); + transition: all 0.25s ease; +} + +.btn-open-dashboard-header:hover { + transform: translateY(-2px); + box-shadow: 0 0 30px rgba(236, 72, 153, 0.6); +} + +.btn-open-driver-header { + background: linear-gradient(135deg, #06b6d4, #10b981); + color: #042f2e; + font-weight: 800; + padding: 0.55rem 1.15rem; + border-radius: var(--radius-full); + border: none; + display: inline-flex; + align-items: center; + gap: 0.45rem; + font-size: 0.85rem; + cursor: pointer; + box-shadow: 0 0 20px rgba(6, 182, 212, 0.3); + transition: all 0.25s ease; +} + +.btn-open-driver-header:hover { + transform: translateY(-2px); + box-shadow: 0 0 30px rgba(6, 182, 212, 0.5); +} + +.btn-return-public { + background: rgba(255, 255, 255, 0.08); + border: 1px solid var(--border-glass); + color: #fff; + padding: 0.5rem 1.15rem; + border-radius: var(--radius-sm); + font-size: 0.85rem; + font-weight: 600; + cursor: pointer; + display: inline-flex; + align-items: center; + gap: 0.4rem; + transition: all 0.2s ease; +} + +.btn-return-public:hover { + background: rgba(255, 255, 255, 0.15); + color: var(--accent-cyan); +} + +/* ========================================================================== + ESCUDO DE SEGURIDAD / ACCESO DENEGADO + ========================================================================== */ +.security-shield-card { + max-width: 580px; + margin: 4rem auto; + text-align: center; + background: rgba(15, 23, 42, 0.95); + border: 1px solid rgba(239, 68, 68, 0.35); + border-radius: var(--radius-lg); + padding: 3rem 2rem; + box-shadow: 0 20px 60px rgba(0, 0, 0, 0.65); +} + +.security-shield-icon { + font-size: 4rem; + margin-bottom: 1rem; + display: inline-block; + animation: pulse-shield 2s infinite ease-in-out; +} + +@keyframes pulse-shield { + 0% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(239, 68, 68, 0.3)); } + 50% { transform: scale(1.08); filter: drop-shadow(0 0 25px rgba(239, 68, 68, 0.6)); } + 100% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(239, 68, 68, 0.3)); } +} + +.btn-role-quick-login { + transition: all 0.2s ease; +} + +.btn-role-quick-login:hover { + transform: translateY(-2px); + filter: brightness(1.2); +} + +/* ========================================================================== + MULTI-SEATS & DYNAMIC PASSENGER FORM STYLES + ========================================================================== */ +.badge-seats-counter { + background: rgba(6, 182, 212, 0.15); + border: 1px solid var(--accent-cyan); + color: var(--accent-cyan); + font-size: 0.78rem; + padding: 3px 10px; + border-radius: 9999px; + font-weight: 700; + letter-spacing: 0.02em; +} + +.seat-qty-selector { + display: grid; + grid-template-columns: repeat(4, 1fr); + gap: 0.6rem; + margin-top: 0.4rem; +} + +@media (max-width: 640px) { + .seat-qty-selector { + grid-template-columns: repeat(2, 1fr); + } +} + +.btn-qty-seat { + background: rgba(15, 23, 42, 0.7); + border: 1px solid var(--border-glass); + border-radius: var(--radius-md); + padding: 0.75rem 0.5rem; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + gap: 0.2rem; + cursor: pointer; + transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1); + color: var(--text-main); + outline: none; +} + +.btn-qty-seat:hover { + background: rgba(30, 41, 59, 0.85); + border-color: rgba(6, 182, 212, 0.4); + transform: translateY(-2px); +} + +.btn-qty-seat.active { + background: linear-gradient(135deg, rgba(6, 182, 212, 0.25) 0%, rgba(14, 165, 233, 0.15) 100%); + border-color: var(--accent-cyan); + box-shadow: 0 0 15px rgba(6, 182, 212, 0.3); + transform: translateY(-2px); +} + +.seat-qty-number { + font-size: 1.35rem; + font-weight: 800; + font-family: 'Outfit', sans-serif; + color: #fff; + line-height: 1; +} + +.btn-qty-seat.active .seat-qty-number { + color: var(--accent-cyan); +} + +.seat-qty-desc { + font-size: 0.72rem; + color: var(--text-muted); + font-weight: 500; + text-align: center; +} + +.btn-qty-seat.active .seat-qty-desc { + color: #e2e8f0; + font-weight: 600; +} + +/* Tarjetas individuales de Pasajeros */ +.passenger-card { + background: rgba(15, 23, 42, 0.65); + border: 1px solid var(--border-glass); + border-radius: var(--radius-md); + padding: 1.15rem; + position: relative; + transition: all 0.25s ease; + backdrop-filter: blur(10px); +} + +.passenger-card:hover { + border-color: rgba(6, 182, 212, 0.3); + box-shadow: 0 6px 20px -5px rgba(0, 0, 0, 0.4); +} + +.passenger-card.titular { + border-left: 3px solid var(--accent-cyan); +} + +.passenger-card.companion { + border-left: 3px solid #a855f7; +} + +.passenger-card-header { + display: flex; + justify-content: space-between; + align-items: center; + margin-bottom: 0.85rem; + padding-bottom: 0.5rem; + border-bottom: 1px solid rgba(255, 255, 255, 0.05); +} + +.passenger-card-title { + display: flex; + align-items: center; + gap: 0.5rem; + font-size: 0.95rem; + font-weight: 700; + color: #fff; +} + +.passenger-card-badge { + font-size: 0.7rem; + padding: 2px 8px; + border-radius: 9999px; + font-weight: 700; + text-transform: uppercase; + letter-spacing: 0.04em; +} + +.passenger-card-badge.titular { + background: rgba(6, 182, 212, 0.18); + color: var(--accent-cyan); + border: 1px solid rgba(6, 182, 212, 0.4); +} + +.passenger-card-badge.companion { + background: rgba(168, 85, 247, 0.18); + color: #c084fc; + border: 1px solid rgba(168, 85, 247, 0.4); +} + +.passenger-grid-2 { + display: grid; + grid-template-columns: 1fr 1fr; + gap: 0.75rem; + margin-bottom: 0.75rem; +} + +@media (max-width: 580px) { + .passenger-grid-2 { + grid-template-columns: 1fr; + } +} + +.same-address-toggle { + display: flex; + align-items: center; + gap: 0.5rem; + font-size: 0.82rem; + color: #cbd5e1; + background: rgba(2, 6, 23, 0.4); + padding: 0.5rem 0.75rem; + border-radius: var(--radius-sm); + margin-bottom: 0.75rem; + cursor: pointer; + border: 1px solid rgba(255, 255, 255, 0.04); +} + +.same-address-toggle input[type="checkbox"] { + accent-color: var(--accent-cyan); + width: 16px; + height: 16px; + cursor: pointer; +} + +/* Selector de Métodos de Pago */ +.payment-method-selector { + display: grid; + grid-template-columns: repeat(3, 1fr); + gap: 0.6rem; + margin-top: 0.4rem; +} + +@media (max-width: 640px) { + .payment-method-selector { + grid-template-columns: 1fr; + } +} + +.payment-method-card { + background: rgba(15, 23, 42, 0.7); + border: 1px solid var(--border-glass); + border-radius: var(--radius-md); + padding: 0.8rem; + display: flex; + align-items: flex-start; + gap: 0.6rem; + cursor: pointer; + transition: all 0.2s ease; +} + +.payment-method-card:hover { + background: rgba(30, 41, 59, 0.8); + border-color: rgba(6, 182, 212, 0.3); +} + +.payment-method-card.active { + background: rgba(6, 182, 212, 0.1); + border-color: var(--accent-cyan); + box-shadow: 0 0 12px rgba(6, 182, 212, 0.2); +} + +.payment-method-card input[type="radio"] { + accent-color: var(--accent-cyan); + margin-top: 3px; + cursor: pointer; +} + +.payment-card-body { + display: flex; + flex-direction: column; +} + +.payment-title { + font-size: 0.88rem; + font-weight: 700; + color: #fff; + line-height: 1.2; +} + +.payment-sub { + font-size: 0.72rem; + color: var(--text-muted); + margin-top: 2px; +}/* ========================================================================== + SISTEMA DE BONOS Y CUPONES DE DESCUENTO (VIAJES Y ENCOMIENDAS) + ========================================================================== */ +.coupon-input-group { + background: rgba(15, 23, 42, 0.65); + border: 1px solid var(--border-glass); + border-radius: var(--radius-md); + padding: 0.9rem; + transition: all 0.2s ease; +} + +.coupon-input-group:focus-within { + border-color: rgba(6, 182, 212, 0.5); + box-shadow: 0 0 14px rgba(6, 182, 212, 0.15); +} + +.coupon-feedback-pill { + font-size: 0.8rem; + padding: 0.45rem 0.75rem; + border-radius: var(--radius-sm); + margin-top: 0.5rem; + display: flex; + align-items: center; + gap: 0.4rem; + animation: fadeIn 0.2s ease; +} + +.coupon-feedback-success { + background: rgba(16, 185, 129, 0.15); + color: #34d399; + border: 1px solid rgba(16, 185, 129, 0.35); +} + +.coupon-feedback-error { + background: rgba(239, 68, 68, 0.15); + color: #f87171; + border: 1px solid rgba(239, 68, 68, 0.35); +} + +.summary-discount-row { + display: flex; + justify-content: space-between; + align-items: center; + padding: 0.4rem 0; + font-size: 0.88rem; + color: #34d399; + font-weight: 700; + border-bottom: 1px dashed rgba(52, 211, 153, 0.25); + margin-bottom: 0.5rem; +} + +.coupon-code-badge { + display: inline-flex; + align-items: center; + gap: 0.35rem; + background: rgba(14, 165, 233, 0.18); + color: #38bdf8; + border: 1px solid rgba(14, 165, 233, 0.4); + padding: 0.2rem 0.6rem; + border-radius: 6px; + font-family: monospace; + font-weight: 700; + font-size: 0.85rem; + letter-spacing: 0.05em; +} + +.coupon-type-badge { + display: inline-block; + padding: 0.18rem 0.55rem; + border-radius: 12px; + font-size: 0.72rem; + font-weight: 700; + text-transform: uppercase; +} + +.coupon-type-porcentaje { + background: rgba(168, 85, 247, 0.2); + color: #c084fc; + border: 1px solid rgba(168, 85, 247, 0.4); +} + +.coupon-type-fijo { + background: rgba(245, 158, 11, 0.2); + color: #fbbf24; + border: 1px solid rgba(245, 158, 11, 0.4); +} + +.coupon-service-pill { + display: inline-block; + padding: 0.15rem 0.5rem; + border-radius: 10px; + font-size: 0.7rem; + font-weight: 600; +} + +.coupon-service-todos { + background: rgba(56, 189, 248, 0.15); + color: #7dd3fc; +} + +.coupon-service-viajes { + background: rgba(34, 197, 94, 0.15); + color: #86efac; +} + +.coupon-service-encomiendas { + background: rgba(251, 146, 60, 0.15); + color: #fdba74; +} + +.coupons-table-responsive { + width: 100%; + overflow-x: auto; + border-radius: 12px; + border: 1px solid var(--border-glass); +} + +.coupons-table { + width: 100%; + border-collapse: collapse; + font-size: 0.86rem; + text-align: left; +} + +.coupons-table th { + background: rgba(15, 23, 42, 0.9); + color: #94a3b8; + padding: 0.85rem 1rem; + font-weight: 600; + text-transform: uppercase; + font-size: 0.72rem; + letter-spacing: 0.05em; + border-bottom: 1px solid var(--border-glass); +} + +.coupons-table td { + padding: 0.85rem 1rem; + border-bottom: 1px solid rgba(255, 255, 255, 0.05); + color: #cbd5e1; + vertical-align: middle; +} + +.coupons-table tr:hover { + background: rgba(30, 41, 59, 0.45); +} + +.btn-coupon-toggle { + padding: 0.3rem 0.65rem; + border-radius: 8px; + font-size: 0.75rem; + font-weight: 700; + cursor: pointer; + border: none; + transition: all 0.2s; +} + +.btn-coupon-toggle.active { + background: rgba(16, 185, 129, 0.2); + color: #34d399; + border: 1px solid rgba(16, 185, 129, 0.4); +} + +.btn-coupon-toggle.inactive { + background: rgba(148, 163, 184, 0.15); + color: #94a3b8; + border: 1px solid rgba(148, 163, 184, 0.3); +} + +.btn-coupon-delete { + background: rgba(239, 68, 68, 0.15); + color: #f87171; + border: 1px solid rgba(239, 68, 68, 0.35); + padding: 0.3rem 0.6rem; + border-radius: 6px; + cursor: pointer; + font-size: 0.75rem; + transition: all 0.2s; +} + +.btn-coupon-delete:hover { + background: rgba(239, 68, 68, 0.3); + color: #fff; +} + +/* ========================================================================== + SUPERADMIN & EQUIPO DE ADMINISTRADORES & PERFIL INMUTABLE + ========================================================================== */ +.superadmin-badge { + display: inline-flex; + align-items: center; + gap: 0.35rem; + background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(217, 119, 6, 0.35)); + color: #fbbf24; + border: 1px solid rgba(245, 158, 11, 0.5); + padding: 0.2rem 0.65rem; + border-radius: 9999px; + font-size: 0.72rem; + font-weight: 800; + text-transform: uppercase; + letter-spacing: 0.04em; + box-shadow: 0 0 10px rgba(245, 158, 11, 0.2); +} + +.admin-role-badge { + display: inline-block; + padding: 0.2rem 0.6rem; + border-radius: 8px; + font-size: 0.72rem; + font-weight: 700; +} + +.admin-role-super { + background: rgba(245, 158, 11, 0.2); + color: #fbbf24; + border: 1px solid rgba(245, 158, 11, 0.4); +} + +.admin-role-admin { + background: rgba(14, 165, 233, 0.2); + color: #38bdf8; + border: 1px solid rgba(14, 165, 233, 0.4); +} + +.admin-role-operador { + background: rgba(168, 85, 247, 0.2); + color: #c084fc; + border: 1px solid rgba(168, 85, 247, 0.4); +} + +.input-locked { + background: rgba(15, 23, 42, 0.85) !important; + color: #94a3b8 !important; + border-color: rgba(255, 255, 255, 0.08) !important; + cursor: not-allowed !important; +} + +.input-locked-note { + display: flex; + align-items: center; + gap: 0.35rem; + font-size: 0.73rem; + color: #fbbf24; + margin-top: 4px; + line-height: 1.3; +} + +.btn-admin-action { + padding: 0.3rem 0.65rem; + border-radius: 6px; + font-size: 0.75rem; + font-weight: 600; + cursor: pointer; + border: none; + transition: all 0.2s; +} + +.btn-admin-edit { + background: rgba(6, 182, 212, 0.15); + color: #38bdf8; + border: 1px solid rgba(6, 182, 212, 0.3); +} + +.btn-admin-edit:hover { + background: rgba(6, 182, 212, 0.3); + color: #fff; +} + +.btn-admin-immutable { + background: rgba(245, 158, 11, 0.12); + color: #fbbf24; + border: 1px solid rgba(245, 158, 11, 0.3); + font-size: 0.72rem; + padding: 0.3rem 0.6rem; + border-radius: 6px; + cursor: not-allowed; + display: inline-flex; + align-items: center; + gap: 0.25rem; +} + +/* ========================================================================== + NATIVE ANDROID EXPERIENCE & HARDWARE ADAPTATIONS + ========================================================================== */ +:root { + --safe-area-inset-top: env(safe-area-inset-top, 0px); + --safe-area-inset-bottom: env(safe-area-inset-bottom, 0px); +} + +body { + padding-top: var(--safe-area-inset-top); + padding-bottom: var(--safe-area-inset-bottom); + -webkit-tap-highlight-color: transparent !important; + -webkit-touch-callout: none !important; + overscroll-behavior-y: contain; +} + +/* Evitar selección accidental de texto en elementos interactivos al pulsar */ +button, a, .tab-btn, .service-pill-btn, .btn-qty-seat, .chip-payment, .brand, .badge-item, .notif-badge, .btn-auth-nav, .user-pill-nav { + user-select: none; + -webkit-user-select: none; +} + +/* Micro-animación háptica nativa al pulsar cualquier botón interactivo */ +button:active, .service-pill-btn:active, .btn-qty-seat:active, .chip-payment:active, .btn-primary:active, .btn-secondary:active { + transform: scale(0.975); + transition: transform 0.08s ease; +} + +/* Botón Chip de Ubicación GPS Satelital */ +.btn-gps-chip { + background: rgba(6, 182, 212, 0.16); + border: 1px solid rgba(6, 182, 212, 0.4); + color: #38bdf8; + padding: 0.35rem 0.75rem; + border-radius: 9999px; + font-size: 0.78rem; + font-weight: 600; + cursor: pointer; + display: inline-flex; + align-items: center; + gap: 0.35rem; + transition: all 0.2s ease; +} +.btn-gps-chip:hover, .btn-gps-chip:active { + background: rgba(6, 182, 212, 0.3); + color: #fff; + border-color: #38bdf8; +} + +/* Banner Nativo de Desconexión / Pérdida de Cobertura en Carretera */ +.native-offline-banner { + position: fixed; + top: calc(var(--safe-area-inset-top) + 68px); + left: 1rem; + right: 1rem; + z-index: 9999; + background: rgba(15, 23, 42, 0.95); + border: 1px solid rgba(239, 68, 68, 0.6); + box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 20px rgba(239, 68, 68, 0.25); + backdrop-filter: blur(12px); + -webkit-backdrop-filter: blur(12px); + color: #fca5a5; + padding: 0.75rem 1rem; + border-radius: 14px; + font-size: 0.82rem; + font-weight: 500; + animation: slideDownFade 0.3s ease-out; +} +.offline-banner-content { + display: flex; + align-items: center; + gap: 0.6rem; +} +.offline-dot { + width: 9px; + height: 9px; + border-radius: 50%; + background: #ef4444; + box-shadow: 0 0 8px #ef4444; + animation: pulseDot 1.4s infinite; + flex-shrink: 0; +} +@keyframes pulseDot { + 0% { opacity: 0.4; transform: scale(0.85); } + 50% { opacity: 1; transform: scale(1.15); } + 100% { opacity: 0.4; transform: scale(0.85); } +} +@keyframes slideDownFade { + from { opacity: 0; transform: translateY(-12px); } + to { opacity: 1; transform: translateY(0); } +} + +/* Toast Nativo Android */ +.native-toast { + position: fixed; + bottom: calc(var(--safe-area-inset-bottom) + 30px); + left: 50%; + transform: translateX(-50%); + background: rgba(15, 23, 42, 0.96); + border: 1px solid rgba(6, 182, 212, 0.45); + box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(6, 182, 212, 0.25); + color: #f8fafc; + padding: 0.75rem 1.35rem; + border-radius: 9999px; + font-size: 0.85rem; + font-weight: 500; + z-index: 10000; + backdrop-filter: blur(12px); + -webkit-backdrop-filter: blur(12px); + pointer-events: none; + white-space: nowrap; + animation: toastPop 0.25s cubic-bezier(0.16, 1, 0.3, 1); +} +@keyframes toastPop { + from { opacity: 0; transform: translate(-50%, 15px) scale(0.95); } + to { opacity: 1; transform: translate(-50%, 0) scale(1); } +} + +/* Marcador GPS de Usuario en Vivo en Radar Map */ +.pulse-user-dot { + width: 32px; + height: 32px; + border-radius: 50%; + background: rgba(6, 182, 212, 0.25); + border: 2px solid #38bdf8; + display: flex; + align-items: center; + justify-content: center; + font-size: 1.1rem; + box-shadow: 0 0 15px rgba(6, 182, 212, 0.8); + animation: pulseUserLocation 1.8s infinite; +} +@keyframes pulseUserLocation { + 0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.6); } + 70% { transform: scale(1.05); box-shadow: 0 0 0 12px rgba(6, 182, 212, 0); } + 100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(6, 182, 212, 0); } +} + +/* ========================================================================== + ROLE-BASED NAVIGATION MENU BAR (BARRA DE MENÚ POR ROLES) + ========================================================================== */ +.role-nav-menubar { + background: rgba(15, 23, 42, 0.75); + border: 1px solid rgba(255, 255, 255, 0.08); + border-radius: var(--radius-lg); + padding: 0.6rem; + margin-bottom: 2rem; + backdrop-filter: blur(20px); + -webkit-backdrop-filter: blur(20px); + box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); +} + +.menubar-items { + display: flex; + align-items: center; + gap: 0.5rem; + overflow-x: auto; + scrollbar-width: none; + -webkit-overflow-scrolling: touch; + padding: 0.2rem; +} +.menubar-items::-webkit-scrollbar { + display: none; +} + +.menu-item-btn { + position: relative; + display: inline-flex; + align-items: center; + gap: 0.65rem; + padding: 0.75rem 1.25rem; + border-radius: 14px; + background: transparent; + color: var(--text-muted); + font-family: 'Outfit', sans-serif; + font-size: 0.92rem; + font-weight: 600; + border: 1px solid transparent; + cursor: pointer; + white-space: nowrap; + transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1); +} + +.menu-item-btn:hover { + background: rgba(255, 255, 255, 0.05); + color: #fff; + border-color: rgba(255, 255, 255, 0.08); +} + +.menu-item-btn.active { + background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(16, 185, 129, 0.12)); + color: #38bdf8; + border-color: rgba(6, 182, 212, 0.4); + box-shadow: 0 4px 20px rgba(6, 182, 212, 0.2); +} + +.menu-item-icon { + font-size: 1.15rem; +} + +.menu-item-label { + letter-spacing: -0.01em; +} + +.menu-item-indicator { + position: absolute; + bottom: 0; + left: 50%; + transform: translateX(-50%); + width: 0; + height: 2.5px; + background: linear-gradient(90deg, #06b6d4, #10b981); + border-radius: 2px; + transition: width 0.25s ease; +} + +.menu-item-btn.active .menu-item-indicator { + width: 50%; +} + +.menu-badge { + background: #ec4899; + color: #fff; + font-size: 0.72rem; + font-weight: 700; + padding: 2px 7px; + border-radius: 9999px; + margin-left: 2px; + box-shadow: 0 0 10px rgba(236, 72, 153, 0.5); +} + +.admin-panel-section { + display: block; + animation: fadeInPanel 0.25s ease-out; +} +@keyframes fadeInPanel { + from { opacity: 0; transform: translateY(6px); } + to { opacity: 1; transform: translateY(0); } +} + + + + diff --git a/pacifictrans-app/public/icons/apple-touch-icon.png b/pacifictrans-app/public/icons/apple-touch-icon.png new file mode 100644 index 0000000..7bd3f58 Binary files /dev/null and b/pacifictrans-app/public/icons/apple-touch-icon.png differ diff --git a/pacifictrans-app/public/icons/icon-180.png b/pacifictrans-app/public/icons/icon-180.png new file mode 100644 index 0000000..7bd3f58 Binary files /dev/null and b/pacifictrans-app/public/icons/icon-180.png differ diff --git a/pacifictrans-app/public/icons/icon-192.png b/pacifictrans-app/public/icons/icon-192.png new file mode 100644 index 0000000..1c93586 Binary files /dev/null and b/pacifictrans-app/public/icons/icon-192.png differ diff --git a/pacifictrans-app/public/icons/icon-512.png b/pacifictrans-app/public/icons/icon-512.png new file mode 100644 index 0000000..1b95f50 Binary files /dev/null and b/pacifictrans-app/public/icons/icon-512.png differ diff --git a/pacifictrans-app/public/images/hero-banner.jpg b/pacifictrans-app/public/images/hero-banner.jpg new file mode 100644 index 0000000..d66a336 Binary files /dev/null and b/pacifictrans-app/public/images/hero-banner.jpg differ diff --git a/pacifictrans-app/public/index.html b/pacifictrans-app/public/index.html index 9d60165..e2e1ae5 100644 --- a/pacifictrans-app/public/index.html +++ b/pacifictrans-app/public/index.html @@ -21,13 +21,20 @@ - - - - + + + + + +