/* Pantalla sin conexion del acceso GPS | Informatica Nacional Ltda.
 * Totalmente local: no utiliza CDNs ni fuentes externas.
 */
.gps-offline-screen[hidden] { display: none !important; }
.gps-offline-screen {
    position: fixed;
    inset: 0;
    z-index: 110000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: auto;
    color: #e9f2f8;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    background: linear-gradient(135deg, rgba(12, 22, 31, .78), rgba(12, 22, 31, .88)),
                url("back.png") center top / 1116px 573px repeat;
}
.gps-offline-screen,
.gps-offline-screen * { box-sizing: border-box; }
.gps-offline-card {
    width: 100%;
    max-width: 445px;
    margin: auto;
    text-align: center;
    padding: 34px 30px 25px;
    border-radius: 15px;
    background: rgba(15, 28, 39, .94);
    border: 1px solid rgba(179, 214, 229, .17);
    box-shadow: 0 20px 55px rgba(0,0,0,.40);
}
.gps-offline-brand {
    display: block;
    width: auto;
    max-width: 100%;
    height: 32px;
    object-fit: contain;
    margin: 0 auto 26px;
}
.gps-offline-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 92px;
    height: 92px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: rgba(79, 157, 202, .09);
    border: 1px solid rgba(99, 175, 221, .32);
}
.gps-offline-icon {
    width: 49px;
    height: 49px;
    color: #74b8e1;
}
.gps-offline-kicker {
    margin: 0 0 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    color: #74b8e1;
}
.gps-offline-title {
    margin: 0 0 13px;
    font-size: clamp(23px, 5vw, 27px);
    font-weight: 650;
    line-height: 1.3;
    color: #fff;
}
.gps-offline-description {
    max-width: 330px;
    margin: 0 auto 22px;
    font-size: 14px;
    line-height: 1.65;
    color: #c0d0dd;
}
.gps-offline-status {
    min-height: 24px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-size: 12px;
    color: #b9c9d6;
}
.gps-offline-status-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #edb85e;
    box-shadow: 0 0 0 4px rgba(237, 184, 94, .11);
}
.gps-offline-screen.is-checking .gps-offline-status-dot {
    background: #74b8e1;
    box-shadow: 0 0 0 4px rgba(116, 184, 225, .11);
    animation: gpsOfflinePulse 1.1s ease-in-out infinite;
}
.gps-offline-retry {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    width: 100%;
    min-height: 45px;
    border: 1px solid #244a66;
    border-radius: 8px;
    background: #29597b;
    color: #fff;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 650;
    padding: 11px 16px;
    text-decoration: none;
    transition: background .2s ease, border-color .2s ease;
}
.gps-offline-retry:hover { background: #346c95; border-color: #4a9aca; }
.gps-offline-retry:focus-visible { outline: 3px solid #c3e6fa; outline-offset: 3px; }
.gps-offline-retry:disabled { cursor: progress; opacity: .83; }
.gps-offline-retry svg { width: 18px; height: 18px; }
.gps-offline-screen.is-checking .gps-offline-retry svg {
    animation: gpsOfflineSpin 1s linear infinite;
}
.gps-offline-help {
    margin: 16px auto 0;
    max-width: 305px;
    color: #a5b9c6;
    font-size: 12px;
    line-height: 1.55;
}
.gps-offline-footer {
    margin: 24px 0 0;
    padding-top: 16px;
    border-top: 1px solid rgba(200,225,239,.11);
    font-size: 11px;
    line-height: 1.5;
    color: #93abb9;
}
body.gps-is-offline { overflow: hidden !important; }
@keyframes gpsOfflinePulse { 50% { opacity: .45; transform: scale(.75); } }
@keyframes gpsOfflineSpin { to { transform: rotate(360deg); } }
@media (max-width: 480px) {
    .gps-offline-screen { padding: 16px 12px; }
    .gps-offline-card { padding: 30px 21px 22px; border-radius: 12px; }
    .gps-offline-brand { height: auto; width: 265px; margin-bottom: 23px; }
    .gps-offline-icon-wrap { width: 82px; height: 82px; margin-bottom: 19px; }
}
@media (prefers-reduced-motion: reduce) {
    .gps-offline-screen *, .gps-offline-screen *::before,
    .gps-offline-screen *::after { animation: none !important; transition: none !important; }
}
