/* Estilos para badges de roles de administración */

/* Badge base */
.role-badge {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-left: 4px;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Admin badge */
.admin-badge {
    background: linear-gradient(135deg, #dc3545, #c82333);
    border: 1px solid #bd2130;
}

/* Moderator badge */
.mod-badge {
    background: linear-gradient(135deg, #fd7e14, #e55a00);
    border: 1px solid #d63384;
}

/* Janitor badge */
.janitor-badge {
    background: linear-gradient(135deg, #6f42c1, #5a2d91);
    border: 1px solid #4c1d95;
}

/* Estilos para nombres de usuario con roles */
.author-name.admin {
    color: #dc3545;
    font-weight: 600;
}

.author-name.mod {
    color: #fd7e14;
    font-weight: 600;
}

.author-name.janitor {
    color: #6f42c1;
    font-weight: 600;
}

/* Hover effects */
.role-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .role-badge {
        font-size: 0.7rem;
        padding: 1px 4px;
    }
}
