.ubi-modulo {
min-width: 0;
container-type: inline-size;
}
.ubi-cabecera {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 8px 10px;
margin-bottom: 12px;
}
.ubi-cabecera .footer-col-title {
margin: 0;
}
.ubi-estado {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 3px 10px;
border-radius: 20px;
font-size: 0.68rem;
font-weight: 800;
letter-spacing: 0.4px;
white-space: nowrap;
color: #cbd5e1;
background: rgba(148, 163, 184, 0.12);
border: 1px solid rgba(148, 163, 184, 0.35);
}
.ubi-estado-texto {
font-weight: 800;
}
.ubi-estado-punto {
width: 7px;
height: 7px;
border-radius: 50%;
background: currentColor;
flex-shrink: 0;
}
.ubi-estado.ubi-abierto {
color: #4ade80;
background: rgba(34, 197, 94, 0.12);
border-color: rgba(34, 197, 94, 0.45);
}
.ubi-estado.ubi-abierto .ubi-estado-punto {
box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
animation: ubi-latido 2s infinite;
}
.ubi-estado.ubi-por-cerrar {
color: #fbbf24;
background: rgba(251, 191, 36, 0.12);
border-color: rgba(251, 191, 36, 0.45);
}
.ubi-estado.ubi-cerrado {
color: #fca5a5;
background: rgba(239, 68, 68, 0.1);
border-color: rgba(239, 68, 68, 0.4);
}
@keyframes ubi-latido {
0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); }
70% { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}
.ubi-mapa {
position: relative;
height: 130px;
border-radius: 12px;
overflow: hidden;
border: 1px solid rgba(255, 183, 3, 0.35);
box-shadow: 0 0 14px rgba(255, 183, 3, 0.12), 0 6px 18px rgba(0, 0, 0, 0.45);
background:
linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 22px 22px,
linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 22px 22px,
#0d0818;
}
.ubi-mapa-portada {
position: absolute;
inset: 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 6px;
color: #ffb703;
font-size: 0.78rem;
text-decoration: none;
}
.ubi-mapa-portada i {
font-size: 1.6rem;
text-shadow: 0 0 12px rgba(255, 183, 3, 0.5);
}
.ubi-mapa-portada b {
color: #e2e8f0;
font-weight: 700;
}
.ubi-mapa iframe {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
border: 0;
display: block;
filter: invert(0.9) hue-rotate(180deg) saturate(0.85) brightness(0.95);
}
.ubi-datos {
margin-top: 12px;
gap: 8px;
}
.ubi-datos .footer-info-item {
font-size: 0.8rem;
line-height: 1.4;
}
.ubi-datos .footer-info-item i {
margin-top: 2px;
}
.ubi-datos .footer-info-link,
.ubi-datos .footer-info-text {
min-width: 0;
overflow-wrap: anywhere;
}
.ubi-acciones {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 8px;
margin-top: 12px;
}
.ubi-btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
min-width: 0;
padding: 7px 8px;
border-radius: 25px;
font-size: 0.76rem;
font-weight: 700;
letter-spacing: 0.3px;
white-space: nowrap;
text-decoration: none;
color: #ffffff;
box-sizing: border-box;
transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.ubi-btn span {
overflow: hidden;
text-overflow: ellipsis;
}
.ubi-btn-llegar {
background: rgba(255, 183, 3, 0.12);
border: 1.5px solid #ffb703;
box-shadow: 0 0 14px rgba(255, 183, 3, 0.22);
}
.ubi-btn-llegar:hover {
background: rgba(255, 183, 3, 0.28);
box-shadow: 0 0 22px rgba(255, 183, 3, 0.5);
transform: translateY(-2px);
color: #ffffff;
}
.ubi-btn-maps {
background: rgba(6, 182, 212, 0.12);
border: 1.5px solid #06b6d4;
box-shadow: 0 0 14px rgba(6, 182, 212, 0.22);
}
.ubi-btn-maps:hover {
background: rgba(6, 182, 212, 0.28);
border-color: #22d3ee;
box-shadow: 0 0 22px rgba(6, 182, 212, 0.5);
transform: translateY(-2px);
color: #ffffff;
}
.ubi-btn-opinar {
background: rgba(168, 85, 247, 0.12);
border: 1.5px solid #a855f7;
box-shadow: 0 0 14px rgba(168, 85, 247, 0.22);
}
.ubi-btn-opinar:hover {
background: rgba(168, 85, 247, 0.28);
border-color: #c084fc;
box-shadow: 0 0 22px rgba(168, 85, 247, 0.5);
transform: translateY(-2px);
color: #ffffff;
}
.ubi-btn-llegar i { color: #ffb703; }
.ubi-btn-maps i { color: #22d3ee; }
.ubi-btn-opinar i { color: #facc15; }
@media (max-width: 900px) {
.ubi-mapa {
height: 170px;
}
.ubi-datos .footer-info-item {
font-size: 0.78rem;
}
.ubi-btn {
font-size: 0.74rem;
padding: 7px 6px;
gap: 5px;
}
}
@container (max-width: 340px) {
.ubi-btn {
font-size: 0.72rem;
padding: 7px 4px;
}
.ubi-btn i {
display: none;
}
}
@media (prefers-reduced-motion: reduce) {
.ubi-estado.ubi-abierto .ubi-estado-punto {
animation: none;
}
}
body.light-mode .ubi-estado {
color: #475569 !important;
background: #f1f5f9 !important;
border-color: #cbd5e1 !important;
}
body.light-mode .ubi-estado.ubi-abierto {
color: #15803d !important;
background: #f0fdf4 !important;
border-color: #86efac !important;
}
body.light-mode .ubi-estado.ubi-por-cerrar {
color: #b45309 !important;
background: #fffbeb !important;
border-color: #fcd34d !important;
}
body.light-mode .ubi-estado.ubi-cerrado {
color: #b91c1c !important;
background: #fef2f2 !important;
border-color: #fca5a5 !important;
}
body.light-mode .ubi-mapa {
border: 1px solid #e2e8f0 !important;
box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08) !important;
background:
linear-gradient(#e2e8f0 1px, transparent 1px) 0 0 / 22px 22px,
linear-gradient(90deg, #e2e8f0 1px, transparent 1px) 0 0 / 22px 22px,
#f8fafc !important;
}
body.light-mode .ubi-mapa iframe {
filter: none !important;
}
body.light-mode .ubi-mapa-portada {
color: #d97706 !important;
}
body.light-mode .ubi-mapa-portada i {
text-shadow: none !important;
}
body.light-mode .ubi-mapa-portada b {
color: #1e293b !important;
}
body.light-mode .ubi-btn {
box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06) !important;
}
body.light-mode .ubi-btn-llegar {
background: #fffbeb !important;
border: 1.5px solid #d97706 !important;
color: #92400e !important;
}
body.light-mode .ubi-btn-llegar:hover {
background: #fef3c7 !important;
color: #78350f !important;
box-shadow: 0 4px 14px rgba(217, 119, 6, 0.25) !important;
}
body.light-mode .ubi-btn-maps {
background: #f0f9ff !important;
border: 1.5px solid #0284c7 !important;
color: #0369a1 !important;
}
body.light-mode .ubi-btn-maps:hover {
background: #e0f2fe !important;
color: #075985 !important;
box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25) !important;
}
body.light-mode .ubi-btn-opinar {
background: #f5f3ff !important;
border: 1.5px solid #7c3aed !important;
color: #581c87 !important;
}
body.light-mode .ubi-btn-opinar:hover {
background: #ede9fe !important;
color: #4c1d95 !important;
box-shadow: 0 4px 14px rgba(124, 58, 237, 0.25) !important;
}
body.light-mode .ubi-btn-llegar i { color: #d97706 !important; }
body.light-mode .ubi-btn-maps i { color: #0284c7 !important; }
body.light-mode .ubi-btn-opinar i { color: #eab308 !important; }
