/**
 * ========================================================================
 * ARCHIVO: admin-bar.css
 * PROYECTO: MOTELWEB.VIP
 * VERSIÓN: 2.0.0
 * FECHA: 2026-09-25
 * DESCRIPCIÓN: Panel flotante de administración. Pill vertical pegado al
 *              borde derecho, centrado verticalmente. Neutro, no depende
 *              del template activo.
 * ========================================================================
 */

 #nexus-admin-pill {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px 7px;
    background: rgba(17, 17, 17, 0.92);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-right: 0;
    border-radius: 14px 0 0 14px;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.5);
    font-family: 'Urbanist', sans-serif;
}

/* Ícono de usuario (solo visual) */
.nexus-pill-user {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: #D4AF37;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding-bottom: 6px;
    margin-bottom: 2px;
}

/* Botones genéricos */
.nexus-pill-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: transparent;
    border: 1px solid transparent;
    color: #ccc;
    cursor: pointer;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.2s ease;
    padding: 0;
    font-family: inherit;
    line-height: 1;
}

.nexus-pill-btn:hover {
    background: rgba(255, 255, 255, 0.06);
}

/* MOTELPRO — dorado */
.nexus-pill-motelpro {
    color: #D4AF37;
    border-color: rgba(212, 175, 55, 0.3);
}
.nexus-pill-motelpro:hover {
    background: #D4AF37;
    color: #000;
    border-color: #D4AF37;
}

/* Editar — verde pulsante */
.nexus-pill-edit {
    color: #2ecc71;
    border-color: rgba(46, 204, 113, 0.35);
    animation: nexusPulseEdit 2.4s infinite;
}
.nexus-pill-edit:hover {
    background: #2ecc71;
    color: #000;
    border-color: #2ecc71;
    animation: none;
    box-shadow: 0 0 14px rgba(46, 204, 113, 0.6);
}

/* Logout — rojo */
.nexus-pill-logout {
    color: #ff5e57;
    border-color: rgba(255, 94, 87, 0.3);
}
.nexus-pill-logout:hover {
    background: #ff5e57;
    color: #000;
    border-color: #ff5e57;
}

@keyframes nexusPulseEdit {
    0%   { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.5); }
    70%  { box-shadow: 0 0 0 8px rgba(46, 204, 113, 0); }
    100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

/* Móvil: compacto */
@media (max-width: 767px) {
    #nexus-admin-pill {
        padding: 8px 5px;
        gap: 4px;
        border-radius: 12px 0 0 12px;
    }
    .nexus-pill-btn,
    .nexus-pill-user {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
}