/* Estilos para el plugin JWT Menu Authenticator */

/* Mensajes de contenido protegido */
.jwt-protected-message {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 4px;
}

.jwt-protected-message:before {
    content: "🔒 ";
    font-size: 1.2em;
    margin-right: 8px;
}

/* Información de usuario */
.jwt-user-info {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    padding: 15px 20px;
    border-radius: 4px;
    margin: 15px 0;
}

.jwt-user-info p {
    margin: 8px 0;
}

.jwt-user-info strong {
    color: #495057;
    min-width: 100px;
    display: inline-block;
}

/* Menú de Knowledge Base */
.jwt-kb-widget-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.jwt-kb-widget-menu li {
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.jwt-kb-widget-menu li:last-child {
    border-bottom: none;
}

.jwt-kb-widget-menu a {
    color: #007bff;
    text-decoration: none;
    display: block;
    padding: 5px 10px;
    transition: all 0.3s ease;
}

.jwt-kb-widget-menu a:hover {
    background-color: #f8f9fa;
    padding-left: 15px;
    color: #0056b3;
}

/* Indicador de autenticación en el body */
body.jwt-authenticated .jwt-only-authenticated {
    display: block;
}

body.jwt-not-authenticated .jwt-only-authenticated {
    display: none;
}

body.jwt-authenticated .jwt-only-not-authenticated {
    display: none;
}

body.jwt-not-authenticated .jwt-only-not-authenticated {
    display: block;
}

body.jwt-not-authenticated .entry-title {
    display: none;
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .jwt-user-info strong {
        display: block;
        margin-bottom: 5px;
    }
    
    .jwt-protected-message,
    .jwt-not-authenticated {
        padding: 12px 15px;
    }
}
