/* Franja fina de pie legal (backoffice y candidato) */
.footer.footer-legal-strip {
    width: 100%;
    background-color: #5c5c5c;
    padding: 5px 14px;
    margin: 0;
    position: relative;
    bottom: 0;
    flex-shrink: 0;
    z-index: 100;
    display: block !important;
    flex-direction: row !important;
}

.footer-legal-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    text-align: center;
}

.footer-legal-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0;
    line-height: 1.35;
    max-width: 100%;
}

.footer-legal-content .footer-sep {
    color: #f1efec;
    margin: 0 2px;
    font-size: 13px;
    user-select: none;
}

.footer.footer-legal-strip .txt,
.footer.footer-legal-strip a.txt {
    color: #f1efec !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    margin: 0 2px;
    text-decoration: none;
    white-space: nowrap;
}

.footer.footer-legal-strip a.txt:hover {
    color: #ecb41b !important;
}

.footer-legal-brand {
    color: #ecb41b;
    font-size: 13px;
    font-weight: 400;
    white-space: nowrap;
    line-height: 1.35;
}

.footer-legal-brand .footer-version {
    margin-left: 0.25em;
}

/* Login candidato: pie solo dentro de la columna blanca (login-container-right) */
.login-container-right .footer.login.footer-legal-strip {
    width: 100%;
    max-width: 100%;
    position: relative !important;
    bottom: auto;
    left: auto;
    right: auto;
    box-sizing: border-box;
}

.login-container-right .footer.login.footer-legal-strip .footer-legal-content {
    font-size: 12px;
}

.login-container-right .footer.login.footer-legal-strip .txt,
.login-container-right .footer.login.footer-legal-strip a.txt {
    font-size: 12px !important;
    white-space: normal;
}

@media (min-width: 1024px) {
    body.bg-candidato .footer.footer-legal-strip.candidato:not(.login) {
        display: none !important;
    }
}

/* Login backoffice: franja legal centrada al pie de la pantalla */
.login-admin {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.login-admin .main-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.login-admin .main {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.login-admin .footer.login-admin-footer.footer-legal-strip {
    width: 100%;
    max-width: 100%;
    position: relative !important;
    bottom: auto;
    margin-top: auto;
    box-sizing: border-box;
}

.login-admin .box-register-login {
    flex: 1;
}

@media (max-width: 768px) {
    .footer.footer-legal-strip {
        padding: 5px 10px;
    }

    .footer-legal-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-legal-content {
        justify-content: center;
    }
}
