﻿:root {
    --brand: #2db7b0;
    --
}

html, body {
    height: 100%;
    margin: 0;
}

body {
    --flx-loader-background-color: color-mix(in srgb, var(--color-bg) 60%, transparent);
    --flx-loader-fill-color: #EC942C;
    --flx-loader-stroke-color: #EC942C;
    min-height: 100vh;
    background: #1f1f1f;
    background-size: cover;
    background-position: center;
    color: #eaeaea;
    font-family: 'Lato','Segoe UI',Roboto,Arial,sans-serif;
}

.maint-root {
    position: relative;
    min-height: 100vh;
}
/* Footer fijo abajo, centrado y por encima del overlay */
.maint-footer {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    text-align: center;
    line-height: 1.35;
    z-index: 10001; /* por encima del overlay del loader */
    padding: 0 16px;
    opacity: .95;
}

    .maint-footer h1 {
        margin: 0 0 6px;
        font-weight: 800;
        font-size: clamp(18px, 3.6vw, 42px);
        letter-spacing: .2px;
        text-shadow: 0 2px 8px rgba(0,0,0,.45);
    }

    .maint-footer p {
        margin: 0;
        color: #cfcfcf;
        font-size: clamp(12px, 1.8vw, 16px);
        text-shadow: 0 2px 6px rgba(0,0,0,.35);
    }

    .maint-footer a {
        color: #EC942C;
        text-decoration: none;
    }

        .maint-footer a:hover {
            text-decoration: underline;
        }

/* Opcional: línea superior sutil */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #d99a00;
    opacity: .85;
    z-index: 10001;
}

/* Modal simple para /maintenance/update */
.backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10002
}

.modal {
    width: min(520px,92vw);
    background: #222;
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0,0,0,.35);
    padding: 22px
}

    .modal h2 {
        margin: 0 0 6px
    }

    .modal p {
        margin: 0 0 12px;
        color: #ccc
    }

    .modal form {
        display: grid;
        gap: .6rem
    }

    .modal input {
        padding: .6rem .8rem;
        border: 1px solid #444;
        background: #111;
        color: #eee;
        border-radius: 10px
    }

.row {
    display: flex;
    gap: .6rem;
    justify-content: flex-end;
    margin-top: .25rem
}

.btn {
    padding: .6rem .95rem;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600
}

.btn-sec {
    background: #3a3a3a;
    color: #ddd
}

.btn-pri {
    background: var(--brand);
    color: #fff
}

.msg {
    margin-top: .5rem;
    font-size: .95rem
}

    .msg.err {
        color: #ff7676
    }

    .msg.ok {
        color: #4bd27f
    }

.hidden {
    display: none
}
