@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); } }