almeira-web/transporte-cali-buenaventura/backend/public/css/style.css

1306 lines
26 KiB
CSS

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